twitter-openapi-typescript-generated 0.0.19 → 0.0.21
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 +2 -2
- package/dist/apis/DefaultApi.d.ts +1 -0
- package/dist/apis/DefaultApi.d.ts.map +1 -1
- package/dist/apis/DefaultApi.js +122 -116
- package/dist/apis/DefaultApi.js.map +1 -1
- package/dist/apis/OtherApi.js +47 -47
- package/dist/apis/OtherApi.js.map +1 -1
- package/dist/apis/PostApi.d.ts.map +1 -1
- package/dist/apis/PostApi.js +318 -318
- package/dist/apis/PostApi.js.map +1 -1
- package/dist/apis/TweetApi.d.ts.map +1 -1
- package/dist/apis/TweetApi.js +642 -642
- package/dist/apis/TweetApi.js.map +1 -1
- package/dist/apis/UserApi.d.ts.map +1 -1
- package/dist/apis/UserApi.js +120 -120
- package/dist/apis/UserApi.js.map +1 -1
- package/dist/apis/UserListApi.d.ts.map +1 -1
- package/dist/apis/UserListApi.js +290 -290
- package/dist/apis/UserListApi.js.map +1 -1
- package/dist/apis/UsersApi.d.ts.map +1 -1
- package/dist/apis/UsersApi.js +58 -58
- package/dist/apis/UsersApi.js.map +1 -1
- package/dist/apis/V11GetApi.d.ts.map +1 -1
- package/dist/apis/V11GetApi.js +186 -186
- package/dist/apis/V11GetApi.js.map +1 -1
- package/dist/apis/V11PostApi.d.ts.map +1 -1
- package/dist/apis/V11PostApi.js +206 -206
- package/dist/apis/V11PostApi.js.map +1 -1
- package/dist/apis/V20GetApi.d.ts.map +1 -1
- package/dist/apis/V20GetApi.js +195 -195
- package/dist/apis/V20GetApi.js.map +1 -1
- package/dist/models/AdditionalMediaInfo.d.ts.map +1 -1
- package/dist/models/AdditionalMediaInfo.js +17 -21
- package/dist/models/AdditionalMediaInfo.js.map +1 -1
- package/dist/models/AdditionalMediaInfoCallToActions.d.ts.map +1 -1
- package/dist/models/AdditionalMediaInfoCallToActions.js +8 -13
- package/dist/models/AdditionalMediaInfoCallToActions.js.map +1 -1
- package/dist/models/AdditionalMediaInfoCallToActionsUrl.d.ts.map +1 -1
- package/dist/models/AdditionalMediaInfoCallToActionsUrl.js +7 -10
- package/dist/models/AdditionalMediaInfoCallToActionsUrl.js.map +1 -1
- package/dist/models/Article.d.ts +33 -0
- package/dist/models/Article.d.ts.map +1 -0
- package/dist/models/Article.js +49 -0
- package/dist/models/Article.js.map +1 -0
- package/dist/models/ArticleCoverMedia.d.ts +51 -0
- package/dist/models/ArticleCoverMedia.d.ts.map +1 -0
- package/dist/models/ArticleCoverMedia.js +61 -0
- package/dist/models/ArticleCoverMedia.js.map +1 -0
- package/dist/models/ArticleCoverMediaColorInfo.d.ts +33 -0
- package/dist/models/ArticleCoverMediaColorInfo.d.ts.map +1 -0
- package/dist/models/ArticleCoverMediaColorInfo.js +49 -0
- package/dist/models/ArticleCoverMediaColorInfo.js.map +1 -0
- package/dist/models/ArticleCoverMediaColorInfoPalette.d.ts +39 -0
- package/dist/models/ArticleCoverMediaColorInfoPalette.d.ts.map +1 -0
- package/dist/models/ArticleCoverMediaColorInfoPalette.js +53 -0
- package/dist/models/ArticleCoverMediaColorInfoPalette.js.map +1 -0
- package/dist/models/ArticleCoverMediaColorInfoPaletteRGB.d.ts +44 -0
- package/dist/models/ArticleCoverMediaColorInfoPaletteRGB.d.ts.map +1 -0
- package/dist/models/ArticleCoverMediaColorInfoPaletteRGB.js +56 -0
- package/dist/models/ArticleCoverMediaColorInfoPaletteRGB.js.map +1 -0
- package/dist/models/ArticleCoverMediaInfo.d.ts +58 -0
- package/dist/models/ArticleCoverMediaInfo.d.ts.map +1 -0
- package/dist/models/ArticleCoverMediaInfo.js +64 -0
- package/dist/models/ArticleCoverMediaInfo.js.map +1 -0
- package/dist/models/ArticleResult.d.ts +57 -0
- package/dist/models/ArticleResult.d.ts.map +1 -0
- package/dist/models/ArticleResult.js +65 -0
- package/dist/models/ArticleResult.js.map +1 -0
- package/dist/models/ArticleResults.d.ts +33 -0
- package/dist/models/ArticleResults.d.ts.map +1 -0
- package/dist/models/ArticleResults.js +49 -0
- package/dist/models/ArticleResults.js.map +1 -0
- package/dist/models/AuthorCommunityRelationship.d.ts.map +1 -1
- package/dist/models/AuthorCommunityRelationship.js +11 -15
- package/dist/models/AuthorCommunityRelationship.js.map +1 -1
- package/dist/models/BirdwatchEntity.d.ts.map +1 -1
- package/dist/models/BirdwatchEntity.js +13 -14
- package/dist/models/BirdwatchEntity.js.map +1 -1
- package/dist/models/BirdwatchEntityRef.d.ts.map +1 -1
- package/dist/models/BirdwatchEntityRef.js +13 -17
- package/dist/models/BirdwatchEntityRef.js.map +1 -1
- package/dist/models/BirdwatchPivot.d.ts.map +1 -1
- package/dist/models/BirdwatchPivot.js +29 -27
- package/dist/models/BirdwatchPivot.js.map +1 -1
- package/dist/models/BirdwatchPivotCallToAction.d.ts.map +1 -1
- package/dist/models/BirdwatchPivotCallToAction.js +13 -14
- package/dist/models/BirdwatchPivotCallToAction.js.map +1 -1
- package/dist/models/BirdwatchPivotFooter.d.ts.map +1 -1
- package/dist/models/BirdwatchPivotFooter.js +10 -12
- package/dist/models/BirdwatchPivotFooter.js.map +1 -1
- package/dist/models/BirdwatchPivotNote.d.ts.map +1 -1
- package/dist/models/BirdwatchPivotNote.js +7 -10
- package/dist/models/BirdwatchPivotNote.js.map +1 -1
- package/dist/models/BirdwatchPivotSubtitle.d.ts.map +1 -1
- package/dist/models/BirdwatchPivotSubtitle.js +10 -12
- package/dist/models/BirdwatchPivotSubtitle.js.map +1 -1
- package/dist/models/BookmarksResponse.d.ts.map +1 -1
- package/dist/models/BookmarksResponse.js +7 -10
- package/dist/models/BookmarksResponse.js.map +1 -1
- package/dist/models/BookmarksResponseData.d.ts.map +1 -1
- package/dist/models/BookmarksResponseData.js +7 -10
- package/dist/models/BookmarksResponseData.js.map +1 -1
- package/dist/models/BookmarksTimeline.d.ts.map +1 -1
- package/dist/models/BookmarksTimeline.js +7 -10
- package/dist/models/BookmarksTimeline.js.map +1 -1
- package/dist/models/Callback.d.ts.map +1 -1
- package/dist/models/Callback.js +7 -10
- package/dist/models/Callback.js.map +1 -1
- package/dist/models/ClientEventInfo.d.ts.map +1 -1
- package/dist/models/ClientEventInfo.js +10 -15
- package/dist/models/ClientEventInfo.js.map +1 -1
- package/dist/models/CommunitiesActions.d.ts.map +1 -1
- package/dist/models/CommunitiesActions.js +7 -10
- package/dist/models/CommunitiesActions.js.map +1 -1
- package/dist/models/Community.d.ts.map +1 -1
- package/dist/models/Community.js +7 -10
- package/dist/models/Community.js.map +1 -1
- package/dist/models/CommunityActions.d.ts.map +1 -1
- package/dist/models/CommunityActions.js +16 -16
- package/dist/models/CommunityActions.js.map +1 -1
- package/dist/models/CommunityData.d.ts.map +1 -1
- package/dist/models/CommunityData.js +74 -61
- package/dist/models/CommunityData.js.map +1 -1
- package/dist/models/CommunityDeleteActionResult.d.ts.map +1 -1
- package/dist/models/CommunityDeleteActionResult.js +10 -12
- package/dist/models/CommunityDeleteActionResult.js.map +1 -1
- package/dist/models/CommunityInvitesResult.d.ts.map +1 -1
- package/dist/models/CommunityInvitesResult.js +13 -14
- package/dist/models/CommunityInvitesResult.js.map +1 -1
- package/dist/models/CommunityJoinActionResult.d.ts.map +1 -1
- package/dist/models/CommunityJoinActionResult.js +7 -10
- package/dist/models/CommunityJoinActionResult.js.map +1 -1
- package/dist/models/CommunityJoinRequestsResult.d.ts.map +1 -1
- package/dist/models/CommunityJoinRequestsResult.js +7 -10
- package/dist/models/CommunityJoinRequestsResult.js.map +1 -1
- package/dist/models/CommunityLeaveActionResult.d.ts.map +1 -1
- package/dist/models/CommunityLeaveActionResult.js +13 -14
- package/dist/models/CommunityLeaveActionResult.js.map +1 -1
- package/dist/models/CommunityPinActionResult.d.ts.map +1 -1
- package/dist/models/CommunityPinActionResult.js +7 -10
- package/dist/models/CommunityPinActionResult.js.map +1 -1
- package/dist/models/CommunityRule.d.ts.map +1 -1
- package/dist/models/CommunityRule.js +12 -15
- package/dist/models/CommunityRule.js.map +1 -1
- package/dist/models/CommunityUrls.d.ts.map +1 -1
- package/dist/models/CommunityUrls.js +7 -10
- package/dist/models/CommunityUrls.js.map +1 -1
- package/dist/models/CommunityUrlsPermalink.d.ts.map +1 -1
- package/dist/models/CommunityUrlsPermalink.js +7 -10
- package/dist/models/CommunityUrlsPermalink.js.map +1 -1
- package/dist/models/ContentUnion.d.ts.map +1 -1
- package/dist/models/ContentUnion.js +3 -6
- package/dist/models/ContentUnion.js.map +1 -1
- package/dist/models/CoverCta.d.ts.map +1 -1
- package/dist/models/CoverCta.js +17 -19
- package/dist/models/CoverCta.js.map +1 -1
- package/dist/models/CreateRetweet.d.ts.map +1 -1
- package/dist/models/CreateRetweet.js +7 -10
- package/dist/models/CreateRetweet.js.map +1 -1
- package/dist/models/CreateRetweetResponse.d.ts.map +1 -1
- package/dist/models/CreateRetweetResponse.js +7 -10
- package/dist/models/CreateRetweetResponse.js.map +1 -1
- package/dist/models/CreateRetweetResponseData.d.ts.map +1 -1
- package/dist/models/CreateRetweetResponseData.js +7 -10
- package/dist/models/CreateRetweetResponseData.js.map +1 -1
- package/dist/models/CreateRetweetResponseResult.d.ts.map +1 -1
- package/dist/models/CreateRetweetResponseResult.js +7 -10
- package/dist/models/CreateRetweetResponseResult.js.map +1 -1
- package/dist/models/CreateTweet.d.ts.map +1 -1
- package/dist/models/CreateTweet.js +7 -10
- package/dist/models/CreateTweet.js.map +1 -1
- package/dist/models/CreateTweetResponse.d.ts.map +1 -1
- package/dist/models/CreateTweetResponse.js +7 -10
- package/dist/models/CreateTweetResponse.js.map +1 -1
- package/dist/models/CreateTweetResponseData.d.ts.map +1 -1
- package/dist/models/CreateTweetResponseData.js +7 -10
- package/dist/models/CreateTweetResponseData.js.map +1 -1
- package/dist/models/CreateTweetResponseResult.d.ts.map +1 -1
- package/dist/models/CreateTweetResponseResult.js +7 -10
- package/dist/models/CreateTweetResponseResult.js.map +1 -1
- package/dist/models/CtaClientEventInfo.d.ts.map +1 -1
- package/dist/models/CtaClientEventInfo.js +7 -10
- package/dist/models/CtaClientEventInfo.js.map +1 -1
- package/dist/models/DeleteRetweet.d.ts.map +1 -1
- package/dist/models/DeleteRetweet.js +7 -10
- package/dist/models/DeleteRetweet.js.map +1 -1
- package/dist/models/DeleteRetweetResponse.d.ts.map +1 -1
- package/dist/models/DeleteRetweetResponse.js +7 -10
- package/dist/models/DeleteRetweetResponse.js.map +1 -1
- package/dist/models/DeleteRetweetResponseData.d.ts.map +1 -1
- package/dist/models/DeleteRetweetResponseData.js +6 -11
- package/dist/models/DeleteRetweetResponseData.js.map +1 -1
- package/dist/models/DeleteRetweetResponseResult.d.ts.map +1 -1
- package/dist/models/DeleteRetweetResponseResult.js +6 -11
- package/dist/models/DeleteRetweetResponseResult.js.map +1 -1
- package/dist/models/DeleteTweetResponse.d.ts.map +1 -1
- package/dist/models/DeleteTweetResponse.js +7 -10
- package/dist/models/DeleteTweetResponse.js.map +1 -1
- package/dist/models/DeleteTweetResponseData.d.ts.map +1 -1
- package/dist/models/DeleteTweetResponseData.js +6 -11
- package/dist/models/DeleteTweetResponseData.js.map +1 -1
- package/dist/models/DeleteTweetResponseResult.d.ts.map +1 -1
- package/dist/models/DeleteTweetResponseResult.js +7 -10
- package/dist/models/DeleteTweetResponseResult.js.map +1 -1
- package/dist/models/DisplayTreatment.d.ts.map +1 -1
- package/dist/models/DisplayTreatment.js +7 -10
- package/dist/models/DisplayTreatment.js.map +1 -1
- package/dist/models/Entities.d.ts.map +1 -1
- package/dist/models/Entities.js +20 -21
- package/dist/models/Entities.js.map +1 -1
- package/dist/models/ErrorExtensions.d.ts.map +1 -1
- package/dist/models/ErrorExtensions.js +22 -20
- package/dist/models/ErrorExtensions.js.map +1 -1
- package/dist/models/ErrorResponse.d.ts.map +1 -1
- package/dist/models/ErrorResponse.js +7 -10
- package/dist/models/ErrorResponse.js.map +1 -1
- package/dist/models/Errors.d.ts.map +1 -1
- package/dist/models/Errors.js +7 -10
- package/dist/models/Errors.js.map +1 -1
- package/dist/models/ExtMediaAvailability.d.ts.map +1 -1
- package/dist/models/ExtMediaAvailability.js +8 -13
- package/dist/models/ExtMediaAvailability.js.map +1 -1
- package/dist/models/ExtendedEntities.d.ts.map +1 -1
- package/dist/models/ExtendedEntities.js +7 -10
- package/dist/models/ExtendedEntities.js.map +1 -1
- package/dist/models/Extensions.d.ts.map +1 -1
- package/dist/models/Extensions.js +19 -18
- package/dist/models/Extensions.js.map +1 -1
- package/dist/models/FavoriteTweet.d.ts.map +1 -1
- package/dist/models/FavoriteTweet.js +7 -10
- package/dist/models/FavoriteTweet.js.map +1 -1
- package/dist/models/FavoriteTweetResponseData.d.ts.map +1 -1
- package/dist/models/FavoriteTweetResponseData.js +7 -10
- package/dist/models/FavoriteTweetResponseData.js.map +1 -1
- package/dist/models/FeedbackInfo.d.ts.map +1 -1
- package/dist/models/FeedbackInfo.js +6 -11
- package/dist/models/FeedbackInfo.js.map +1 -1
- package/dist/models/FollowResponse.d.ts.map +1 -1
- package/dist/models/FollowResponse.js +7 -10
- package/dist/models/FollowResponse.js.map +1 -1
- package/dist/models/FollowResponseData.d.ts.map +1 -1
- package/dist/models/FollowResponseData.js +7 -10
- package/dist/models/FollowResponseData.js.map +1 -1
- package/dist/models/FollowResponseResult.d.ts.map +1 -1
- package/dist/models/FollowResponseResult.js +10 -12
- package/dist/models/FollowResponseResult.js.map +1 -1
- package/dist/models/FollowResponseUser.d.ts.map +1 -1
- package/dist/models/FollowResponseUser.js +7 -10
- package/dist/models/FollowResponseUser.js.map +1 -1
- package/dist/models/FollowTimeline.d.ts.map +1 -1
- package/dist/models/FollowTimeline.js +7 -10
- package/dist/models/FollowTimeline.js.map +1 -1
- package/dist/models/GetBookmarks200Response.d.ts.map +1 -1
- package/dist/models/GetBookmarks200Response.js +3 -6
- package/dist/models/GetBookmarks200Response.js.map +1 -1
- package/dist/models/GetFavoriters200Response.d.ts.map +1 -1
- package/dist/models/GetFavoriters200Response.js +3 -6
- package/dist/models/GetFavoriters200Response.js.map +1 -1
- package/dist/models/GetFollowers200Response.d.ts.map +1 -1
- package/dist/models/GetFollowers200Response.js +3 -6
- package/dist/models/GetFollowers200Response.js.map +1 -1
- package/dist/models/GetHomeLatestTimeline200Response.d.ts.map +1 -1
- package/dist/models/GetHomeLatestTimeline200Response.js +3 -6
- package/dist/models/GetHomeLatestTimeline200Response.js.map +1 -1
- package/dist/models/GetLikes200Response.d.ts.map +1 -1
- package/dist/models/GetLikes200Response.js +3 -6
- package/dist/models/GetLikes200Response.js.map +1 -1
- package/dist/models/GetListLatestTweetsTimeline200Response.d.ts.map +1 -1
- package/dist/models/GetListLatestTweetsTimeline200Response.js +3 -6
- package/dist/models/GetListLatestTweetsTimeline200Response.js.map +1 -1
- package/dist/models/GetProfileSpotlightsQuery200Response.d.ts.map +1 -1
- package/dist/models/GetProfileSpotlightsQuery200Response.js +3 -6
- package/dist/models/GetProfileSpotlightsQuery200Response.js.map +1 -1
- package/dist/models/GetRetweeters200Response.d.ts.map +1 -1
- package/dist/models/GetRetweeters200Response.js +3 -6
- package/dist/models/GetRetweeters200Response.js.map +1 -1
- package/dist/models/GetSearchTimeline200Response.d.ts.map +1 -1
- package/dist/models/GetSearchTimeline200Response.js +3 -6
- package/dist/models/GetSearchTimeline200Response.js.map +1 -1
- package/dist/models/GetTweetDetail200Response.d.ts.map +1 -1
- package/dist/models/GetTweetDetail200Response.js +3 -6
- package/dist/models/GetTweetDetail200Response.js.map +1 -1
- package/dist/models/GetTweetResultByRestId200Response.d.ts.map +1 -1
- package/dist/models/GetTweetResultByRestId200Response.js +3 -6
- package/dist/models/GetTweetResultByRestId200Response.js.map +1 -1
- package/dist/models/GetUserByRestId200Response.d.ts.map +1 -1
- package/dist/models/GetUserByRestId200Response.js +3 -6
- package/dist/models/GetUserByRestId200Response.js.map +1 -1
- package/dist/models/GetUserHighlightsTweets200Response.d.ts.map +1 -1
- package/dist/models/GetUserHighlightsTweets200Response.js +3 -6
- package/dist/models/GetUserHighlightsTweets200Response.js.map +1 -1
- package/dist/models/GetUsersByRestIds200Response.d.ts.map +1 -1
- package/dist/models/GetUsersByRestIds200Response.js +3 -6
- package/dist/models/GetUsersByRestIds200Response.js.map +1 -1
- package/dist/models/Highlight.d.ts.map +1 -1
- package/dist/models/Highlight.js +7 -10
- package/dist/models/Highlight.js.map +1 -1
- package/dist/models/HomeTimelineHome.d.ts.map +1 -1
- package/dist/models/HomeTimelineHome.js +7 -10
- package/dist/models/HomeTimelineHome.js.map +1 -1
- package/dist/models/HomeTimelineResponseData.d.ts.map +1 -1
- package/dist/models/HomeTimelineResponseData.js +7 -10
- package/dist/models/HomeTimelineResponseData.js.map +1 -1
- package/dist/models/InstructionUnion.d.ts.map +1 -1
- package/dist/models/InstructionUnion.js +3 -6
- package/dist/models/InstructionUnion.js.map +1 -1
- package/dist/models/ItemContentUnion.d.ts.map +1 -1
- package/dist/models/ItemContentUnion.js +3 -6
- package/dist/models/ItemContentUnion.js.map +1 -1
- package/dist/models/ItemResult.d.ts.map +1 -1
- package/dist/models/ItemResult.js +8 -13
- package/dist/models/ItemResult.js.map +1 -1
- package/dist/models/ListLatestTweetsTimelineResponse.d.ts.map +1 -1
- package/dist/models/ListLatestTweetsTimelineResponse.js +7 -10
- package/dist/models/ListLatestTweetsTimelineResponse.js.map +1 -1
- package/dist/models/ListTweetsTimeline.d.ts.map +1 -1
- package/dist/models/ListTweetsTimeline.js +6 -11
- package/dist/models/ListTweetsTimeline.js.map +1 -1
- package/dist/models/ListTweetsTimelineData.d.ts.map +1 -1
- package/dist/models/ListTweetsTimelineData.js +7 -10
- package/dist/models/ListTweetsTimelineData.js.map +1 -1
- package/dist/models/ListTweetsTimelineList.d.ts.map +1 -1
- package/dist/models/ListTweetsTimelineList.js +7 -10
- package/dist/models/ListTweetsTimelineList.js.map +1 -1
- package/dist/models/Location.d.ts.map +1 -1
- package/dist/models/Location.js +10 -12
- package/dist/models/Location.js.map +1 -1
- package/dist/models/Media.d.ts.map +1 -1
- package/dist/models/Media.js +51 -45
- package/dist/models/Media.js.map +1 -1
- package/dist/models/MediaExtended.d.ts.map +1 -1
- package/dist/models/MediaExtended.js +52 -47
- package/dist/models/MediaExtended.js.map +1 -1
- package/dist/models/MediaOriginalInfo.d.ts.map +1 -1
- package/dist/models/MediaOriginalInfo.js +12 -15
- package/dist/models/MediaOriginalInfo.js.map +1 -1
- package/dist/models/MediaOriginalInfoFocusRect.d.ts.map +1 -1
- package/dist/models/MediaOriginalInfoFocusRect.js +16 -16
- package/dist/models/MediaOriginalInfoFocusRect.js.map +1 -1
- package/dist/models/MediaSize.d.ts.map +1 -1
- package/dist/models/MediaSize.js +13 -14
- package/dist/models/MediaSize.js.map +1 -1
- package/dist/models/MediaSizes.d.ts.map +1 -1
- package/dist/models/MediaSizes.js +16 -16
- package/dist/models/MediaSizes.js.map +1 -1
- package/dist/models/MediaStats.d.ts.map +1 -1
- package/dist/models/MediaStats.js +7 -10
- package/dist/models/MediaStats.js.map +1 -1
- package/dist/models/MediaVideoInfo.d.ts.map +1 -1
- package/dist/models/MediaVideoInfo.js +12 -15
- package/dist/models/MediaVideoInfo.js.map +1 -1
- package/dist/models/MediaVideoInfoVariant.d.ts.map +1 -1
- package/dist/models/MediaVideoInfoVariant.js +12 -15
- package/dist/models/MediaVideoInfoVariant.js.map +1 -1
- package/dist/models/ModelError.d.ts.map +1 -1
- package/dist/models/ModelError.js +34 -28
- package/dist/models/ModelError.js.map +1 -1
- package/dist/models/ModuleEntry.d.ts.map +1 -1
- package/dist/models/ModuleEntry.js +11 -15
- package/dist/models/ModuleEntry.js.map +1 -1
- package/dist/models/ModuleItem.d.ts.map +1 -1
- package/dist/models/ModuleItem.js +10 -12
- package/dist/models/ModuleItem.js.map +1 -1
- package/dist/models/NoteTweet.d.ts.map +1 -1
- package/dist/models/NoteTweet.js +10 -12
- package/dist/models/NoteTweet.js.map +1 -1
- package/dist/models/NoteTweetResult.d.ts.map +1 -1
- package/dist/models/NoteTweetResult.js +7 -10
- package/dist/models/NoteTweetResult.js.map +1 -1
- package/dist/models/NoteTweetResultData.d.ts.map +1 -1
- package/dist/models/NoteTweetResultData.js +17 -19
- package/dist/models/NoteTweetResultData.js.map +1 -1
- package/dist/models/NoteTweetResultMedia.d.ts.map +1 -1
- package/dist/models/NoteTweetResultMedia.js +7 -10
- package/dist/models/NoteTweetResultMedia.js.map +1 -1
- package/dist/models/NoteTweetResultMediaInlineMedia.d.ts.map +1 -1
- package/dist/models/NoteTweetResultMediaInlineMedia.js +10 -12
- package/dist/models/NoteTweetResultMediaInlineMedia.js.map +1 -1
- package/dist/models/NoteTweetResultRichText.d.ts.map +1 -1
- package/dist/models/NoteTweetResultRichText.js +7 -10
- package/dist/models/NoteTweetResultRichText.js.map +1 -1
- package/dist/models/NoteTweetResultRichTextTag.d.ts.map +1 -1
- package/dist/models/NoteTweetResultRichTextTag.js +13 -14
- package/dist/models/NoteTweetResultRichTextTag.js.map +1 -1
- package/dist/models/OneFactorLoginEligibility.d.ts.map +1 -1
- package/dist/models/OneFactorLoginEligibility.js +7 -10
- package/dist/models/OneFactorLoginEligibility.js.map +1 -1
- package/dist/models/Other200Response.d.ts.map +1 -1
- package/dist/models/Other200Response.js +3 -6
- package/dist/models/Other200Response.js.map +1 -1
- package/dist/models/OtherResponse.d.ts.map +1 -1
- package/dist/models/OtherResponse.js +6 -11
- package/dist/models/OtherResponse.js.map +1 -1
- package/dist/models/PostCreateRetweet200Response.d.ts.map +1 -1
- package/dist/models/PostCreateRetweet200Response.js +3 -6
- package/dist/models/PostCreateRetweet200Response.js.map +1 -1
- package/dist/models/PostCreateRetweetRequest.d.ts.map +1 -1
- package/dist/models/PostCreateRetweetRequest.js +10 -12
- package/dist/models/PostCreateRetweetRequest.js.map +1 -1
- package/dist/models/PostCreateRetweetRequestVariables.d.ts.map +1 -1
- package/dist/models/PostCreateRetweetRequestVariables.js +10 -12
- package/dist/models/PostCreateRetweetRequestVariables.js.map +1 -1
- package/dist/models/PostCreateTweet200Response.d.ts.map +1 -1
- package/dist/models/PostCreateTweet200Response.js +3 -6
- package/dist/models/PostCreateTweet200Response.js.map +1 -1
- package/dist/models/PostCreateTweetRequest.d.ts.map +1 -1
- package/dist/models/PostCreateTweetRequest.js +13 -14
- package/dist/models/PostCreateTweetRequest.js.map +1 -1
- package/dist/models/PostCreateTweetRequestFeatures.d.ts.map +1 -1
- package/dist/models/PostCreateTweetRequestFeatures.js +64 -48
- package/dist/models/PostCreateTweetRequestFeatures.js.map +1 -1
- package/dist/models/PostCreateTweetRequestVariables.d.ts.map +1 -1
- package/dist/models/PostCreateTweetRequestVariables.js +18 -19
- package/dist/models/PostCreateTweetRequestVariables.js.map +1 -1
- package/dist/models/PostCreateTweetRequestVariablesMedia.d.ts.map +1 -1
- package/dist/models/PostCreateTweetRequestVariablesMedia.js +10 -12
- package/dist/models/PostCreateTweetRequestVariablesMedia.js.map +1 -1
- package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.d.ts.map +1 -1
- package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.js +10 -12
- package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.js.map +1 -1
- package/dist/models/PostCreateTweetRequestVariablesReply.d.ts.map +1 -1
- package/dist/models/PostCreateTweetRequestVariablesReply.js +10 -12
- package/dist/models/PostCreateTweetRequestVariablesReply.js.map +1 -1
- package/dist/models/PostDeleteRetweet200Response.d.ts.map +1 -1
- package/dist/models/PostDeleteRetweet200Response.js +3 -6
- package/dist/models/PostDeleteRetweet200Response.js.map +1 -1
- package/dist/models/PostDeleteRetweetRequest.d.ts.map +1 -1
- package/dist/models/PostDeleteRetweetRequest.js +10 -12
- package/dist/models/PostDeleteRetweetRequest.js.map +1 -1
- package/dist/models/PostDeleteRetweetRequestVariables.d.ts.map +1 -1
- package/dist/models/PostDeleteRetweetRequestVariables.js +10 -12
- package/dist/models/PostDeleteRetweetRequestVariables.js.map +1 -1
- package/dist/models/PostDeleteTweet200Response.d.ts.map +1 -1
- package/dist/models/PostDeleteTweet200Response.js +3 -6
- package/dist/models/PostDeleteTweet200Response.js.map +1 -1
- package/dist/models/PostDeleteTweetRequest.d.ts.map +1 -1
- package/dist/models/PostDeleteTweetRequest.js +10 -12
- package/dist/models/PostDeleteTweetRequest.js.map +1 -1
- package/dist/models/PostFavoriteTweet200Response.d.ts.map +1 -1
- package/dist/models/PostFavoriteTweet200Response.js +3 -6
- package/dist/models/PostFavoriteTweet200Response.js.map +1 -1
- package/dist/models/PostFavoriteTweetRequest.d.ts.map +1 -1
- package/dist/models/PostFavoriteTweetRequest.js +10 -12
- package/dist/models/PostFavoriteTweetRequest.js.map +1 -1
- package/dist/models/PostUnfavoriteTweet200Response.d.ts.map +1 -1
- package/dist/models/PostUnfavoriteTweet200Response.js +3 -6
- package/dist/models/PostUnfavoriteTweet200Response.js.map +1 -1
- package/dist/models/PostUnfavoriteTweetRequest.d.ts.map +1 -1
- package/dist/models/PostUnfavoriteTweetRequest.js +10 -12
- package/dist/models/PostUnfavoriteTweetRequest.js.map +1 -1
- package/dist/models/PrimaryCommunityTopic.d.ts.map +1 -1
- package/dist/models/PrimaryCommunityTopic.js +10 -12
- package/dist/models/PrimaryCommunityTopic.js.map +1 -1
- package/dist/models/ProfileResponse.d.ts.map +1 -1
- package/dist/models/ProfileResponse.js +7 -10
- package/dist/models/ProfileResponse.js.map +1 -1
- package/dist/models/ProfileResponseData.d.ts.map +1 -1
- package/dist/models/ProfileResponseData.js +7 -10
- package/dist/models/ProfileResponseData.js.map +1 -1
- package/dist/models/QuotedRefResult.d.ts.map +1 -1
- package/dist/models/QuotedRefResult.js +6 -11
- package/dist/models/QuotedRefResult.js.map +1 -1
- package/dist/models/QuotedStatusPermalink.d.ts.map +1 -1
- package/dist/models/QuotedStatusPermalink.js +13 -14
- package/dist/models/QuotedStatusPermalink.js.map +1 -1
- package/dist/models/Retweet.d.ts.map +1 -1
- package/dist/models/Retweet.js +10 -12
- package/dist/models/Retweet.js.map +1 -1
- package/dist/models/RetweetLegacy.d.ts.map +1 -1
- package/dist/models/RetweetLegacy.js +7 -10
- package/dist/models/RetweetLegacy.js.map +1 -1
- package/dist/models/SearchByRawQuery.d.ts.map +1 -1
- package/dist/models/SearchByRawQuery.js +7 -10
- package/dist/models/SearchByRawQuery.js.map +1 -1
- package/dist/models/SearchTimeline.d.ts.map +1 -1
- package/dist/models/SearchTimeline.js +7 -10
- package/dist/models/SearchTimeline.js.map +1 -1
- package/dist/models/SearchTimelineData.d.ts.map +1 -1
- package/dist/models/SearchTimelineData.js +7 -10
- package/dist/models/SearchTimelineData.js.map +1 -1
- package/dist/models/SearchTimelineResponse.d.ts.map +1 -1
- package/dist/models/SearchTimelineResponse.js +7 -10
- package/dist/models/SearchTimelineResponse.js.map +1 -1
- package/dist/models/SelfThread.d.ts.map +1 -1
- package/dist/models/SelfThread.js +7 -10
- package/dist/models/SelfThread.js.map +1 -1
- package/dist/models/SensitiveMediaWarning.d.ts.map +1 -1
- package/dist/models/SensitiveMediaWarning.js +13 -14
- package/dist/models/SensitiveMediaWarning.js.map +1 -1
- package/dist/models/Session.d.ts.map +1 -1
- package/dist/models/Session.js +45 -37
- package/dist/models/Session.js.map +1 -1
- package/dist/models/SocialContextLandingUrl.d.ts.map +1 -1
- package/dist/models/SocialContextLandingUrl.js +10 -15
- package/dist/models/SocialContextLandingUrl.js.map +1 -1
- package/dist/models/SocialContextUnion.d.ts.map +1 -1
- package/dist/models/SocialContextUnion.js +3 -6
- package/dist/models/SocialContextUnion.js.map +1 -1
- package/dist/models/SuperFollowsReplyUserResult.d.ts.map +1 -1
- package/dist/models/SuperFollowsReplyUserResult.js +7 -10
- package/dist/models/SuperFollowsReplyUserResult.js.map +1 -1
- package/dist/models/SuperFollowsReplyUserResultData.d.ts.map +1 -1
- package/dist/models/SuperFollowsReplyUserResultData.js +10 -12
- package/dist/models/SuperFollowsReplyUserResultData.js.map +1 -1
- package/dist/models/SuperFollowsReplyUserResultLegacy.d.ts.map +1 -1
- package/dist/models/SuperFollowsReplyUserResultLegacy.js +7 -10
- package/dist/models/SuperFollowsReplyUserResultLegacy.js.map +1 -1
- package/dist/models/Text.d.ts.map +1 -1
- package/dist/models/Text.js +10 -12
- package/dist/models/Text.js.map +1 -1
- package/dist/models/TextEntity.d.ts.map +1 -1
- package/dist/models/TextEntity.js +13 -14
- package/dist/models/TextEntity.js.map +1 -1
- package/dist/models/TextEntityRef.d.ts.map +1 -1
- package/dist/models/TextEntityRef.js +13 -14
- package/dist/models/TextEntityRef.js.map +1 -1
- package/dist/models/TextHighlight.d.ts.map +1 -1
- package/dist/models/TextHighlight.js +10 -12
- package/dist/models/TextHighlight.js.map +1 -1
- package/dist/models/Timeline.d.ts.map +1 -1
- package/dist/models/Timeline.js +11 -15
- package/dist/models/Timeline.js.map +1 -1
- package/dist/models/TimelineAddEntries.d.ts.map +1 -1
- package/dist/models/TimelineAddEntries.js +10 -12
- package/dist/models/TimelineAddEntries.js.map +1 -1
- package/dist/models/TimelineAddEntry.d.ts.map +1 -1
- package/dist/models/TimelineAddEntry.js +13 -14
- package/dist/models/TimelineAddEntry.js.map +1 -1
- package/dist/models/TimelineAddToModule.d.ts.map +1 -1
- package/dist/models/TimelineAddToModule.js +15 -17
- package/dist/models/TimelineAddToModule.js.map +1 -1
- package/dist/models/TimelineClearCache.d.ts.map +1 -1
- package/dist/models/TimelineClearCache.js +7 -10
- package/dist/models/TimelineClearCache.js.map +1 -1
- package/dist/models/TimelineCommunity.d.ts.map +1 -1
- package/dist/models/TimelineCommunity.js +6 -11
- package/dist/models/TimelineCommunity.js.map +1 -1
- package/dist/models/TimelineCoverBehavior.d.ts.map +1 -1
- package/dist/models/TimelineCoverBehavior.js +7 -10
- package/dist/models/TimelineCoverBehavior.js.map +1 -1
- package/dist/models/TimelineGeneralContext.d.ts.map +1 -1
- package/dist/models/TimelineGeneralContext.js +12 -17
- package/dist/models/TimelineGeneralContext.js.map +1 -1
- package/dist/models/TimelineHalfCover.d.ts.map +1 -1
- package/dist/models/TimelineHalfCover.js +25 -22
- package/dist/models/TimelineHalfCover.js.map +1 -1
- package/dist/models/TimelineMessagePrompt.d.ts.map +1 -1
- package/dist/models/TimelineMessagePrompt.js +6 -11
- package/dist/models/TimelineMessagePrompt.js.map +1 -1
- package/dist/models/TimelinePinEntry.d.ts.map +1 -1
- package/dist/models/TimelinePinEntry.js +10 -12
- package/dist/models/TimelinePinEntry.js.map +1 -1
- package/dist/models/TimelinePrompt.d.ts.map +1 -1
- package/dist/models/TimelinePrompt.js +6 -11
- package/dist/models/TimelinePrompt.js.map +1 -1
- package/dist/models/TimelineReplaceEntry.d.ts.map +1 -1
- package/dist/models/TimelineReplaceEntry.js +13 -14
- package/dist/models/TimelineReplaceEntry.js.map +1 -1
- package/dist/models/TimelineResponse.d.ts.map +1 -1
- package/dist/models/TimelineResponse.js +7 -10
- package/dist/models/TimelineResponse.js.map +1 -1
- package/dist/models/TimelineShowAlert.d.ts.map +1 -1
- package/dist/models/TimelineShowAlert.js +25 -27
- package/dist/models/TimelineShowAlert.js.map +1 -1
- package/dist/models/TimelineShowAlertRichText.d.ts.map +1 -1
- package/dist/models/TimelineShowAlertRichText.js +8 -13
- package/dist/models/TimelineShowAlertRichText.js.map +1 -1
- package/dist/models/TimelineShowCover.d.ts.map +1 -1
- package/dist/models/TimelineShowCover.js +13 -14
- package/dist/models/TimelineShowCover.js.map +1 -1
- package/dist/models/TimelineTerminateTimeline.d.ts.map +1 -1
- package/dist/models/TimelineTerminateTimeline.js +10 -12
- package/dist/models/TimelineTerminateTimeline.js.map +1 -1
- package/dist/models/TimelineTimelineCursor.d.ts.map +1 -1
- package/dist/models/TimelineTimelineCursor.js +22 -23
- package/dist/models/TimelineTimelineCursor.js.map +1 -1
- package/dist/models/TimelineTimelineItem.d.ts.map +1 -1
- package/dist/models/TimelineTimelineItem.js +17 -19
- package/dist/models/TimelineTimelineItem.js.map +1 -1
- package/dist/models/TimelineTimelineModule.d.ts.map +1 -1
- package/dist/models/TimelineTimelineModule.js +26 -27
- package/dist/models/TimelineTimelineModule.js.map +1 -1
- package/dist/models/TimelineTopicContext.d.ts.map +1 -1
- package/dist/models/TimelineTopicContext.js +10 -15
- package/dist/models/TimelineTopicContext.js.map +1 -1
- package/dist/models/TimelineTweet.d.ts +11 -1
- package/dist/models/TimelineTweet.d.ts.map +1 -1
- package/dist/models/TimelineTweet.js +32 -24
- package/dist/models/TimelineTweet.js.map +1 -1
- package/dist/models/TimelineUser.d.ts.map +1 -1
- package/dist/models/TimelineUser.js +18 -19
- package/dist/models/TimelineUser.js.map +1 -1
- package/dist/models/TimelineV2.d.ts.map +1 -1
- package/dist/models/TimelineV2.js +7 -10
- package/dist/models/TimelineV2.js.map +1 -1
- package/dist/models/Timestamp.d.ts.map +1 -1
- package/dist/models/Timestamp.js +13 -14
- package/dist/models/Timestamp.js.map +1 -1
- package/dist/models/TopicContext.d.ts.map +1 -1
- package/dist/models/TopicContext.js +18 -23
- package/dist/models/TopicContext.js.map +1 -1
- package/dist/models/Tracing.d.ts.map +1 -1
- package/dist/models/Tracing.js +7 -10
- package/dist/models/Tracing.js.map +1 -1
- package/dist/models/Tweet.d.ts +7 -0
- package/dist/models/Tweet.d.ts.map +1 -1
- package/dist/models/Tweet.js +50 -51
- package/dist/models/Tweet.js.map +1 -1
- package/dist/models/TweetCard.d.ts.map +1 -1
- package/dist/models/TweetCard.js +8 -13
- package/dist/models/TweetCard.js.map +1 -1
- package/dist/models/TweetCardLegacy.d.ts.map +1 -1
- package/dist/models/TweetCardLegacy.js +17 -19
- package/dist/models/TweetCardLegacy.js.map +1 -1
- package/dist/models/TweetCardLegacyBindingValue.d.ts.map +1 -1
- package/dist/models/TweetCardLegacyBindingValue.js +10 -12
- package/dist/models/TweetCardLegacyBindingValue.js.map +1 -1
- package/dist/models/TweetCardLegacyBindingValueData.d.ts.map +1 -1
- package/dist/models/TweetCardLegacyBindingValueData.js +19 -23
- package/dist/models/TweetCardLegacyBindingValueData.js.map +1 -1
- package/dist/models/TweetCardLegacyBindingValueDataImage.d.ts.map +1 -1
- package/dist/models/TweetCardLegacyBindingValueDataImage.js +15 -17
- package/dist/models/TweetCardLegacyBindingValueDataImage.js.map +1 -1
- package/dist/models/TweetCardPlatform.d.ts.map +1 -1
- package/dist/models/TweetCardPlatform.js +10 -12
- package/dist/models/TweetCardPlatform.js.map +1 -1
- package/dist/models/TweetCardPlatformAudience.d.ts.map +1 -1
- package/dist/models/TweetCardPlatformAudience.js +7 -10
- package/dist/models/TweetCardPlatformAudience.js.map +1 -1
- package/dist/models/TweetCardPlatformData.d.ts.map +1 -1
- package/dist/models/TweetCardPlatformData.js +7 -10
- package/dist/models/TweetCardPlatformData.js.map +1 -1
- package/dist/models/TweetCardPlatformDevice.d.ts.map +1 -1
- package/dist/models/TweetCardPlatformDevice.js +10 -12
- package/dist/models/TweetCardPlatformDevice.js.map +1 -1
- package/dist/models/TweetDetailResponse.d.ts.map +1 -1
- package/dist/models/TweetDetailResponse.js +7 -10
- package/dist/models/TweetDetailResponse.js.map +1 -1
- package/dist/models/TweetDetailResponseData.d.ts.map +1 -1
- package/dist/models/TweetDetailResponseData.js +7 -10
- package/dist/models/TweetDetailResponseData.js.map +1 -1
- package/dist/models/TweetEditControl.d.ts.map +1 -1
- package/dist/models/TweetEditControl.js +16 -21
- package/dist/models/TweetEditControl.js.map +1 -1
- package/dist/models/TweetEditControlInitial.d.ts.map +1 -1
- package/dist/models/TweetEditControlInitial.js +16 -16
- package/dist/models/TweetEditControlInitial.js.map +1 -1
- package/dist/models/TweetEditPrespective.d.ts.map +1 -1
- package/dist/models/TweetEditPrespective.js +8 -13
- package/dist/models/TweetEditPrespective.js.map +1 -1
- package/dist/models/TweetFavoritersResponse.d.ts.map +1 -1
- package/dist/models/TweetFavoritersResponse.js +7 -10
- package/dist/models/TweetFavoritersResponse.js.map +1 -1
- package/dist/models/TweetFavoritersResponseData.d.ts.map +1 -1
- package/dist/models/TweetFavoritersResponseData.js +7 -10
- package/dist/models/TweetFavoritersResponseData.js.map +1 -1
- package/dist/models/TweetInterstitial.d.ts.map +1 -1
- package/dist/models/TweetInterstitial.js +16 -16
- package/dist/models/TweetInterstitial.js.map +1 -1
- package/dist/models/TweetInterstitialRevealText.d.ts.map +1 -1
- package/dist/models/TweetInterstitialRevealText.js +13 -14
- package/dist/models/TweetInterstitialRevealText.js.map +1 -1
- package/dist/models/TweetInterstitialText.d.ts.map +1 -1
- package/dist/models/TweetInterstitialText.js +13 -14
- package/dist/models/TweetInterstitialText.js.map +1 -1
- package/dist/models/TweetInterstitialTextEntity.d.ts.map +1 -1
- package/dist/models/TweetInterstitialTextEntity.js +13 -14
- package/dist/models/TweetInterstitialTextEntity.js.map +1 -1
- package/dist/models/TweetInterstitialTextEntityRef.d.ts.map +1 -1
- package/dist/models/TweetInterstitialTextEntityRef.js +13 -14
- package/dist/models/TweetInterstitialTextEntityRef.js.map +1 -1
- package/dist/models/TweetLegacy.d.ts.map +1 -1
- package/dist/models/TweetLegacy.js +83 -71
- package/dist/models/TweetLegacy.js.map +1 -1
- package/dist/models/TweetLegacyScopes.d.ts.map +1 -1
- package/dist/models/TweetLegacyScopes.js +7 -10
- package/dist/models/TweetLegacyScopes.js.map +1 -1
- package/dist/models/TweetPreviousCounts.d.ts.map +1 -1
- package/dist/models/TweetPreviousCounts.js +19 -18
- package/dist/models/TweetPreviousCounts.js.map +1 -1
- package/dist/models/TweetResultByRestIdData.d.ts.map +1 -1
- package/dist/models/TweetResultByRestIdData.js +7 -10
- package/dist/models/TweetResultByRestIdData.js.map +1 -1
- package/dist/models/TweetResultByRestIdResponse.d.ts.map +1 -1
- package/dist/models/TweetResultByRestIdResponse.js +7 -10
- package/dist/models/TweetResultByRestIdResponse.js.map +1 -1
- package/dist/models/TweetRetweetersResponse.d.ts.map +1 -1
- package/dist/models/TweetRetweetersResponse.js +7 -10
- package/dist/models/TweetRetweetersResponse.js.map +1 -1
- package/dist/models/TweetRetweetersResponseData.d.ts.map +1 -1
- package/dist/models/TweetRetweetersResponseData.js +7 -10
- package/dist/models/TweetRetweetersResponseData.js.map +1 -1
- package/dist/models/TweetTombstone.d.ts.map +1 -1
- package/dist/models/TweetTombstone.js +6 -11
- package/dist/models/TweetTombstone.js.map +1 -1
- package/dist/models/TweetUnion.d.ts.map +1 -1
- package/dist/models/TweetUnion.js +3 -6
- package/dist/models/TweetUnion.js.map +1 -1
- package/dist/models/TweetView.d.ts.map +1 -1
- package/dist/models/TweetView.js +9 -13
- package/dist/models/TweetView.js.map +1 -1
- package/dist/models/TweetWithVisibilityResults.d.ts.map +1 -1
- package/dist/models/TweetWithVisibilityResults.js +14 -17
- package/dist/models/TweetWithVisibilityResults.js.map +1 -1
- package/dist/models/TypeName.d.ts +1 -0
- package/dist/models/TypeName.d.ts.map +1 -1
- package/dist/models/TypeName.js +2 -1
- package/dist/models/TypeName.js.map +1 -1
- package/dist/models/UnfavoriteTweet.d.ts.map +1 -1
- package/dist/models/UnfavoriteTweet.js +7 -10
- package/dist/models/UnfavoriteTweet.js.map +1 -1
- package/dist/models/UnfavoriteTweetResponseData.d.ts.map +1 -1
- package/dist/models/UnfavoriteTweetResponseData.js +7 -10
- package/dist/models/UnfavoriteTweetResponseData.js.map +1 -1
- package/dist/models/UnifiedCard.d.ts.map +1 -1
- package/dist/models/UnifiedCard.js +7 -10
- package/dist/models/UnifiedCard.js.map +1 -1
- package/dist/models/Url.d.ts.map +1 -1
- package/dist/models/Url.js +16 -16
- package/dist/models/Url.js.map +1 -1
- package/dist/models/UrtEndpointOptions.d.ts.map +1 -1
- package/dist/models/UrtEndpointOptions.js +10 -12
- package/dist/models/UrtEndpointOptions.js.map +1 -1
- package/dist/models/UrtEndpointRequestParams.d.ts.map +1 -1
- package/dist/models/UrtEndpointRequestParams.js +10 -12
- package/dist/models/UrtEndpointRequestParams.js.map +1 -1
- package/dist/models/User.d.ts.map +1 -1
- package/dist/models/User.js +52 -47
- package/dist/models/User.js.map +1 -1
- package/dist/models/UserFeatures.d.ts.map +1 -1
- package/dist/models/UserFeatures.js +7 -10
- package/dist/models/UserFeatures.js.map +1 -1
- package/dist/models/UserHighlightsInfo.d.ts.map +1 -1
- package/dist/models/UserHighlightsInfo.js +10 -12
- package/dist/models/UserHighlightsInfo.js.map +1 -1
- package/dist/models/UserHighlightsTweetsData.d.ts.map +1 -1
- package/dist/models/UserHighlightsTweetsData.js +7 -10
- package/dist/models/UserHighlightsTweetsData.js.map +1 -1
- package/dist/models/UserHighlightsTweetsResponse.d.ts.map +1 -1
- package/dist/models/UserHighlightsTweetsResponse.js +7 -10
- package/dist/models/UserHighlightsTweetsResponse.js.map +1 -1
- package/dist/models/UserHighlightsTweetsResult.d.ts.map +1 -1
- package/dist/models/UserHighlightsTweetsResult.js +10 -12
- package/dist/models/UserHighlightsTweetsResult.js.map +1 -1
- package/dist/models/UserHighlightsTweetsTimeline.d.ts.map +1 -1
- package/dist/models/UserHighlightsTweetsTimeline.js +7 -10
- package/dist/models/UserHighlightsTweetsTimeline.js.map +1 -1
- package/dist/models/UserHighlightsTweetsUser.d.ts.map +1 -1
- package/dist/models/UserHighlightsTweetsUser.js +7 -10
- package/dist/models/UserHighlightsTweetsUser.js.map +1 -1
- package/dist/models/UserLegacy.d.ts.map +1 -1
- package/dist/models/UserLegacy.js +116 -91
- package/dist/models/UserLegacy.js.map +1 -1
- package/dist/models/UserProfessional.d.ts.map +1 -1
- package/dist/models/UserProfessional.js +13 -14
- package/dist/models/UserProfessional.js.map +1 -1
- package/dist/models/UserProfessionalCategory.d.ts.map +1 -1
- package/dist/models/UserProfessionalCategory.js +13 -14
- package/dist/models/UserProfessionalCategory.js.map +1 -1
- package/dist/models/UserResponse.d.ts.map +1 -1
- package/dist/models/UserResponse.js +7 -10
- package/dist/models/UserResponse.js.map +1 -1
- package/dist/models/UserResponseData.d.ts.map +1 -1
- package/dist/models/UserResponseData.js +7 -10
- package/dist/models/UserResponseData.js.map +1 -1
- package/dist/models/UserResultByScreenName.d.ts.map +1 -1
- package/dist/models/UserResultByScreenName.js +10 -12
- package/dist/models/UserResultByScreenName.js.map +1 -1
- package/dist/models/UserResultByScreenNameLegacy.d.ts.map +1 -1
- package/dist/models/UserResultByScreenNameLegacy.js +18 -23
- package/dist/models/UserResultByScreenNameLegacy.js.map +1 -1
- package/dist/models/UserResultByScreenNameResult.d.ts.map +1 -1
- package/dist/models/UserResultByScreenNameResult.js +19 -18
- package/dist/models/UserResultByScreenNameResult.js.map +1 -1
- package/dist/models/UserResultCore.d.ts.map +1 -1
- package/dist/models/UserResultCore.js +7 -10
- package/dist/models/UserResultCore.js.map +1 -1
- package/dist/models/UserResults.d.ts.map +1 -1
- package/dist/models/UserResults.js +6 -11
- package/dist/models/UserResults.js.map +1 -1
- package/dist/models/UserTweetsData.d.ts.map +1 -1
- package/dist/models/UserTweetsData.js +7 -10
- package/dist/models/UserTweetsData.js.map +1 -1
- package/dist/models/UserTweetsResponse.d.ts.map +1 -1
- package/dist/models/UserTweetsResponse.js +7 -10
- package/dist/models/UserTweetsResponse.js.map +1 -1
- package/dist/models/UserTweetsResult.d.ts.map +1 -1
- package/dist/models/UserTweetsResult.js +10 -12
- package/dist/models/UserTweetsResult.js.map +1 -1
- package/dist/models/UserTweetsUser.d.ts.map +1 -1
- package/dist/models/UserTweetsUser.js +7 -10
- package/dist/models/UserTweetsUser.js.map +1 -1
- package/dist/models/UserUnavailable.d.ts.map +1 -1
- package/dist/models/UserUnavailable.js +12 -15
- package/dist/models/UserUnavailable.js.map +1 -1
- package/dist/models/UserUnion.d.ts.map +1 -1
- package/dist/models/UserUnion.js +3 -6
- package/dist/models/UserUnion.js.map +1 -1
- package/dist/models/UserValue.d.ts.map +1 -1
- package/dist/models/UserValue.js +7 -10
- package/dist/models/UserValue.js.map +1 -1
- package/dist/models/UserVerificationInfo.d.ts.map +1 -1
- package/dist/models/UserVerificationInfo.js +9 -13
- package/dist/models/UserVerificationInfo.js.map +1 -1
- package/dist/models/UserVerificationInfoReason.d.ts.map +1 -1
- package/dist/models/UserVerificationInfoReason.js +13 -14
- package/dist/models/UserVerificationInfoReason.js.map +1 -1
- package/dist/models/UserVerificationInfoReasonDescription.d.ts.map +1 -1
- package/dist/models/UserVerificationInfoReasonDescription.js +10 -12
- package/dist/models/UserVerificationInfoReasonDescription.js.map +1 -1
- package/dist/models/UserVerificationInfoReasonDescriptionEntities.d.ts.map +1 -1
- package/dist/models/UserVerificationInfoReasonDescriptionEntities.js +13 -14
- package/dist/models/UserVerificationInfoReasonDescriptionEntities.js.map +1 -1
- package/dist/models/UserVerificationInfoReasonDescriptionEntitiesRef.d.ts.map +1 -1
- package/dist/models/UserVerificationInfoReasonDescriptionEntitiesRef.js +10 -12
- package/dist/models/UserVerificationInfoReasonDescriptionEntitiesRef.js.map +1 -1
- package/dist/models/UsersResponse.d.ts.map +1 -1
- package/dist/models/UsersResponse.js +7 -10
- package/dist/models/UsersResponse.js.map +1 -1
- package/dist/models/UsersResponseData.d.ts.map +1 -1
- package/dist/models/UsersResponseData.js +7 -10
- package/dist/models/UsersResponseData.js.map +1 -1
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +8 -0
- package/dist/models/index.js.map +1 -1
- package/dist/runtime.d.ts +0 -1
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +1 -6
- package/dist/runtime.js.map +1 -1
- package/package.json +1 -1
- package/.openapi-generator/FILES +0 -276
- package/.openapi-generator/VERSION +0 -1
- package/.openapi-generator-ignore +0 -4
- package/src/apis/DefaultApi.ts +0 -289
- package/src/apis/OtherApi.ts +0 -132
- package/src/apis/PostApi.ts +0 -771
- package/src/apis/TweetApi.ts +0 -1465
- package/src/apis/UserApi.ts +0 -295
- package/src/apis/UserListApi.ts +0 -676
- package/src/apis/UsersApi.ts +0 -158
- package/src/apis/V11GetApi.ts +0 -438
- package/src/apis/V11PostApi.ts +0 -513
- package/src/apis/V20GetApi.ts +0 -460
- package/src/apis/index.ts +0 -12
- package/src/index.ts +0 -5
- package/src/models/AdditionalMediaInfo.ts +0 -119
- package/src/models/AdditionalMediaInfoCallToActions.ts +0 -80
- package/src/models/AdditionalMediaInfoCallToActionsUrl.ts +0 -66
- package/src/models/AuthorCommunityRelationship.ts +0 -105
- package/src/models/BirdwatchEntity.ts +0 -91
- package/src/models/BirdwatchEntityRef.ts +0 -109
- package/src/models/BirdwatchPivot.ts +0 -179
- package/src/models/BirdwatchPivotCallToAction.ts +0 -84
- package/src/models/BirdwatchPivotFooter.ts +0 -82
- package/src/models/BirdwatchPivotNote.ts +0 -66
- package/src/models/BirdwatchPivotSubtitle.ts +0 -82
- package/src/models/BookmarksResponse.ts +0 -73
- package/src/models/BookmarksResponseData.ts +0 -73
- package/src/models/BookmarksTimeline.ts +0 -73
- package/src/models/Callback.ts +0 -66
- package/src/models/ClientEventInfo.ts +0 -81
- package/src/models/CommunitiesActions.ts +0 -66
- package/src/models/Community.ts +0 -73
- package/src/models/CommunityActions.ts +0 -118
- package/src/models/CommunityData.ts +0 -358
- package/src/models/CommunityDeleteActionResult.ts +0 -92
- package/src/models/CommunityInvitesResult.ts +0 -101
- package/src/models/CommunityJoinActionResult.ts +0 -73
- package/src/models/CommunityJoinRequestsResult.ts +0 -73
- package/src/models/CommunityLeaveActionResult.ts +0 -101
- package/src/models/CommunityPinActionResult.ts +0 -73
- package/src/models/CommunityRule.ts +0 -83
- package/src/models/CommunityUrls.ts +0 -73
- package/src/models/CommunityUrlsPermalink.ts +0 -66
- package/src/models/ContentEntryType.ts +0 -39
- package/src/models/ContentItemType.ts +0 -42
- package/src/models/ContentUnion.ts +0 -83
- package/src/models/CoverCta.ts +0 -129
- package/src/models/CreateRetweet.ts +0 -73
- package/src/models/CreateRetweetResponse.ts +0 -73
- package/src/models/CreateRetweetResponseData.ts +0 -73
- package/src/models/CreateRetweetResponseResult.ts +0 -73
- package/src/models/CreateTweet.ts +0 -73
- package/src/models/CreateTweetResponse.ts +0 -73
- package/src/models/CreateTweetResponseData.ts +0 -73
- package/src/models/CreateTweetResponseResult.ts +0 -73
- package/src/models/CtaClientEventInfo.ts +0 -76
- package/src/models/CursorType.ts +0 -41
- package/src/models/DeleteRetweet.ts +0 -73
- package/src/models/DeleteRetweetResponse.ts +0 -73
- package/src/models/DeleteRetweetResponseData.ts +0 -72
- package/src/models/DeleteRetweetResponseResult.ts +0 -72
- package/src/models/DeleteTweetResponse.ts +0 -73
- package/src/models/DeleteTweetResponseData.ts +0 -72
- package/src/models/DeleteTweetResponseResult.ts +0 -66
- package/src/models/DisplayTreatment.ts +0 -66
- package/src/models/DisplayType.ts +0 -40
- package/src/models/Entities.ts +0 -128
- package/src/models/ErrorExtensions.ts +0 -118
- package/src/models/ErrorResponse.ts +0 -73
- package/src/models/Errors.ts +0 -66
- package/src/models/ExtMediaAvailability.ts +0 -84
- package/src/models/ExtendedEntities.ts +0 -73
- package/src/models/Extensions.ts +0 -109
- package/src/models/FavoriteTweet.ts +0 -66
- package/src/models/FavoriteTweetResponseData.ts +0 -73
- package/src/models/FeedbackInfo.ts +0 -65
- package/src/models/FollowResponse.ts +0 -73
- package/src/models/FollowResponseData.ts +0 -73
- package/src/models/FollowResponseResult.ts +0 -88
- package/src/models/FollowResponseUser.ts +0 -73
- package/src/models/FollowTimeline.ts +0 -73
- package/src/models/GetBookmarks200Response.ts +0 -65
- package/src/models/GetFavoriters200Response.ts +0 -65
- package/src/models/GetFollowers200Response.ts +0 -65
- package/src/models/GetHomeLatestTimeline200Response.ts +0 -65
- package/src/models/GetLikes200Response.ts +0 -65
- package/src/models/GetListLatestTweetsTimeline200Response.ts +0 -65
- package/src/models/GetProfileSpotlightsQuery200Response.ts +0 -65
- package/src/models/GetRetweeters200Response.ts +0 -65
- package/src/models/GetSearchTimeline200Response.ts +0 -65
- package/src/models/GetTweetDetail200Response.ts +0 -65
- package/src/models/GetTweetResultByRestId200Response.ts +0 -65
- package/src/models/GetUserByRestId200Response.ts +0 -65
- package/src/models/GetUserHighlightsTweets200Response.ts +0 -65
- package/src/models/GetUsersByRestIds200Response.ts +0 -65
- package/src/models/Highlight.ts +0 -73
- package/src/models/HomeTimelineHome.ts +0 -73
- package/src/models/HomeTimelineResponseData.ts +0 -73
- package/src/models/InstructionType.ts +0 -44
- package/src/models/InstructionUnion.ts +0 -138
- package/src/models/ItemContentUnion.ts +0 -116
- package/src/models/ItemResult.ts +0 -86
- package/src/models/ListLatestTweetsTimelineResponse.ts +0 -73
- package/src/models/ListTweetsTimeline.ts +0 -72
- package/src/models/ListTweetsTimelineData.ts +0 -73
- package/src/models/ListTweetsTimelineList.ts +0 -73
- package/src/models/Location.ts +0 -75
- package/src/models/Media.ts +0 -249
- package/src/models/MediaExtended.ts +0 -274
- package/src/models/MediaOriginalInfo.ts +0 -90
- package/src/models/MediaOriginalInfoFocusRect.ts +0 -93
- package/src/models/MediaSize.ts +0 -95
- package/src/models/MediaSizes.ts +0 -100
- package/src/models/MediaStats.ts +0 -66
- package/src/models/MediaVideoInfo.ts +0 -90
- package/src/models/MediaVideoInfoVariant.ts +0 -83
- package/src/models/ModelError.ts +0 -166
- package/src/models/ModuleEntry.ts +0 -101
- package/src/models/ModuleItem.ts +0 -82
- package/src/models/NoteTweet.ts +0 -82
- package/src/models/NoteTweetResult.ts +0 -73
- package/src/models/NoteTweetResultData.ts +0 -119
- package/src/models/NoteTweetResultMedia.ts +0 -73
- package/src/models/NoteTweetResultMediaInlineMedia.ts +0 -75
- package/src/models/NoteTweetResultRichText.ts +0 -73
- package/src/models/NoteTweetResultRichTextTag.ts +0 -95
- package/src/models/OneFactorLoginEligibility.ts +0 -66
- package/src/models/Other200Response.ts +0 -55
- package/src/models/OtherResponse.ts +0 -72
- package/src/models/PostCreateRetweet200Response.ts +0 -65
- package/src/models/PostCreateRetweetRequest.ts +0 -82
- package/src/models/PostCreateRetweetRequestVariables.ts +0 -75
- package/src/models/PostCreateTweet200Response.ts +0 -65
- package/src/models/PostCreateTweetRequest.ts +0 -97
- package/src/models/PostCreateTweetRequestFeatures.ts +0 -237
- package/src/models/PostCreateTweetRequestVariables.ts +0 -114
- package/src/models/PostCreateTweetRequestVariablesMedia.ts +0 -82
- package/src/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.ts +0 -75
- package/src/models/PostCreateTweetRequestVariablesReply.ts +0 -75
- package/src/models/PostDeleteRetweet200Response.ts +0 -65
- package/src/models/PostDeleteRetweetRequest.ts +0 -82
- package/src/models/PostDeleteRetweetRequestVariables.ts +0 -75
- package/src/models/PostDeleteTweet200Response.ts +0 -65
- package/src/models/PostDeleteTweetRequest.ts +0 -82
- package/src/models/PostFavoriteTweet200Response.ts +0 -65
- package/src/models/PostFavoriteTweetRequest.ts +0 -82
- package/src/models/PostUnfavoriteTweet200Response.ts +0 -65
- package/src/models/PostUnfavoriteTweetRequest.ts +0 -82
- package/src/models/PrimaryCommunityTopic.ts +0 -75
- package/src/models/ProfileResponse.ts +0 -73
- package/src/models/ProfileResponseData.ts +0 -73
- package/src/models/QuotedRefResult.ts +0 -72
- package/src/models/QuotedStatusPermalink.ts +0 -84
- package/src/models/Retweet.ts +0 -82
- package/src/models/RetweetLegacy.ts +0 -66
- package/src/models/SearchByRawQuery.ts +0 -73
- package/src/models/SearchTimeline.ts +0 -73
- package/src/models/SearchTimelineData.ts +0 -73
- package/src/models/SearchTimelineResponse.ts +0 -73
- package/src/models/SelfThread.ts +0 -66
- package/src/models/SensitiveMediaWarning.ts +0 -84
- package/src/models/Session.ts +0 -211
- package/src/models/SocialContextLandingUrl.ts +0 -100
- package/src/models/SocialContextUnion.ts +0 -72
- package/src/models/SocialContextUnionType.ts +0 -38
- package/src/models/SuperFollowsReplyUserResult.ts +0 -73
- package/src/models/SuperFollowsReplyUserResultData.ts +0 -88
- package/src/models/SuperFollowsReplyUserResultLegacy.ts +0 -66
- package/src/models/Text.ts +0 -82
- package/src/models/TextEntity.ts +0 -91
- package/src/models/TextEntityRef.ts +0 -102
- package/src/models/TextHighlight.ts +0 -75
- package/src/models/Timeline.ts +0 -89
- package/src/models/TimelineAddEntries.ts +0 -88
- package/src/models/TimelineAddEntry.ts +0 -91
- package/src/models/TimelineAddToModule.ts +0 -105
- package/src/models/TimelineClearCache.ts +0 -73
- package/src/models/TimelineCommunity.ts +0 -75
- package/src/models/TimelineCoverBehavior.ts +0 -76
- package/src/models/TimelineGeneralContext.ts +0 -118
- package/src/models/TimelineHalfCover.ts +0 -157
- package/src/models/TimelineMessagePrompt.ts +0 -75
- package/src/models/TimelinePinEntry.ts +0 -88
- package/src/models/TimelinePrompt.ts +0 -75
- package/src/models/TimelineReplaceEntry.ts +0 -97
- package/src/models/TimelineResponse.ts +0 -73
- package/src/models/TimelineShowAlert.ts +0 -169
- package/src/models/TimelineShowAlertRichText.ts +0 -73
- package/src/models/TimelineShowCover.ts +0 -103
- package/src/models/TimelineTerminateTimeline.ts +0 -94
- package/src/models/TimelineTimelineCursor.ts +0 -142
- package/src/models/TimelineTimelineItem.ts +0 -125
- package/src/models/TimelineTimelineModule.ts +0 -164
- package/src/models/TimelineTopicContext.ts +0 -104
- package/src/models/TimelineTweet.ts +0 -148
- package/src/models/TimelineUser.ts +0 -138
- package/src/models/TimelineV2.ts +0 -73
- package/src/models/Timestamp.ts +0 -84
- package/src/models/TopicContext.ts +0 -113
- package/src/models/Tracing.ts +0 -66
- package/src/models/Tweet.ts +0 -317
- package/src/models/TweetCard.ts +0 -80
- package/src/models/TweetCardLegacy.ts +0 -119
- package/src/models/TweetCardLegacyBindingValue.ts +0 -82
- package/src/models/TweetCardLegacyBindingValueData.ts +0 -127
- package/src/models/TweetCardLegacyBindingValueDataImage.ts +0 -92
- package/src/models/TweetCardPlatform.ts +0 -88
- package/src/models/TweetCardPlatformAudience.ts +0 -76
- package/src/models/TweetCardPlatformData.ts +0 -73
- package/src/models/TweetCardPlatformDevice.ts +0 -75
- package/src/models/TweetDetailResponse.ts +0 -73
- package/src/models/TweetDetailResponseData.ts +0 -73
- package/src/models/TweetEditControl.ts +0 -112
- package/src/models/TweetEditControlInitial.ts +0 -93
- package/src/models/TweetEditPrespective.ts +0 -73
- package/src/models/TweetFavoritersResponse.ts +0 -73
- package/src/models/TweetFavoritersResponseData.ts +0 -73
- package/src/models/TweetInterstitial.ts +0 -122
- package/src/models/TweetInterstitialRevealText.ts +0 -91
- package/src/models/TweetInterstitialText.ts +0 -91
- package/src/models/TweetInterstitialTextEntity.ts +0 -91
- package/src/models/TweetInterstitialTextEntityRef.ts +0 -102
- package/src/models/TweetLegacy.ts +0 -374
- package/src/models/TweetLegacyScopes.ts +0 -66
- package/src/models/TweetPreviousCounts.ts +0 -102
- package/src/models/TweetResultByRestIdData.ts +0 -73
- package/src/models/TweetResultByRestIdResponse.ts +0 -73
- package/src/models/TweetRetweetersResponse.ts +0 -73
- package/src/models/TweetRetweetersResponseData.ts +0 -73
- package/src/models/TweetTombstone.ts +0 -75
- package/src/models/TweetUnion.ts +0 -83
- package/src/models/TweetView.ts +0 -85
- package/src/models/TweetWithVisibilityResults.ts +0 -110
- package/src/models/TypeName.ts +0 -58
- package/src/models/UnfavoriteTweet.ts +0 -66
- package/src/models/UnfavoriteTweetResponseData.ts +0 -73
- package/src/models/UnifiedCard.ts +0 -76
- package/src/models/Url.ts +0 -93
- package/src/models/UrtEndpointOptions.ts +0 -82
- package/src/models/UrtEndpointRequestParams.ts +0 -75
- package/src/models/User.ts +0 -262
- package/src/models/UserFeatures.ts +0 -66
- package/src/models/UserHighlightsInfo.ts +0 -75
- package/src/models/UserHighlightsTweetsData.ts +0 -73
- package/src/models/UserHighlightsTweetsResponse.ts +0 -73
- package/src/models/UserHighlightsTweetsResult.ts +0 -88
- package/src/models/UserHighlightsTweetsTimeline.ts +0 -73
- package/src/models/UserHighlightsTweetsUser.ts +0 -73
- package/src/models/UserLegacy.ts +0 -426
- package/src/models/UserProfessional.ts +0 -102
- package/src/models/UserProfessionalCategory.ts +0 -84
- package/src/models/UserResponse.ts +0 -73
- package/src/models/UserResponseData.ts +0 -73
- package/src/models/UserResultByScreenName.ts +0 -82
- package/src/models/UserResultByScreenNameLegacy.ts +0 -113
- package/src/models/UserResultByScreenNameResult.ts +0 -115
- package/src/models/UserResultCore.ts +0 -73
- package/src/models/UserResults.ts +0 -72
- package/src/models/UserTweetsData.ts +0 -73
- package/src/models/UserTweetsResponse.ts +0 -73
- package/src/models/UserTweetsResult.ts +0 -88
- package/src/models/UserTweetsUser.ts +0 -73
- package/src/models/UserUnavailable.ts +0 -90
- package/src/models/UserUnion.ts +0 -72
- package/src/models/UserValue.ts +0 -66
- package/src/models/UserVerificationInfo.ts +0 -81
- package/src/models/UserVerificationInfoReason.ts +0 -91
- package/src/models/UserVerificationInfoReasonDescription.ts +0 -82
- package/src/models/UserVerificationInfoReasonDescriptionEntities.ts +0 -91
- package/src/models/UserVerificationInfoReasonDescriptionEntitiesRef.ts +0 -85
- package/src/models/UsersResponse.ts +0 -73
- package/src/models/UsersResponseData.ts +0 -73
- package/src/models/index.ts +0 -260
- package/src/runtime.ts +0 -431
- package/tools/openapi-generator-config.yaml +0 -10
- package/tools/win/clean.ps1 +0 -21
- package/tools/win/gen.ps1 +0 -9
- package/tools/win/init.ps1 +0 -1
- package/tools/win/replace.py +0 -49
- package/tsconfig.json +0 -22
- package/twitter-openapi/.github/workflows/test-build.yaml +0 -87
- package/twitter-openapi/.github/workflows/test-python.yaml +0 -100
- package/twitter-openapi/.vscode/extensions.json +0 -9
- package/twitter-openapi/.vscode/launch.json +0 -36
- package/twitter-openapi/.vscode/settings.json +0 -19
- package/twitter-openapi/.vscode/tasks.json +0 -47
- package/twitter-openapi/CONTRIBUTING.md +0 -13
- package/twitter-openapi/LICENSE +0 -31
- package/twitter-openapi/LICENSE.AGPL +0 -661
- package/twitter-openapi/README.md +0 -41
- package/twitter-openapi/dist/compatible/openapi-3.0.yaml +0 -6204
- package/twitter-openapi/dist/compatible_discriminator/openapi-3.0.yaml +0 -6150
- package/twitter-openapi/dist/docs/openapi-3.0.yaml +0 -8183
- package/twitter-openapi/requirements.txt +0 -0
- package/twitter-openapi/src/config/component/response_header.yaml +0 -32
- package/twitter-openapi/src/config/component/response_header_legacy.yaml +0 -35
- package/twitter-openapi/src/config/component/security_schemes.yaml +0 -215
- package/twitter-openapi/src/config/placeholder.json +0 -835
- package/twitter-openapi/src/openapi/openapi-3.0.yaml +0 -77
- package/twitter-openapi/src/openapi/paths/bookmarks.yaml +0 -44
- package/twitter-openapi/src/openapi/paths/follow.yaml +0 -93
- package/twitter-openapi/src/openapi/paths/other.yaml +0 -103
- package/twitter-openapi/src/openapi/paths/post.yaml +0 -258
- package/twitter-openapi/src/openapi/paths/profile.yaml +0 -84
- package/twitter-openapi/src/openapi/paths/timeline.yaml +0 -146
- package/twitter-openapi/src/openapi/paths/tweet.yaml +0 -127
- package/twitter-openapi/src/openapi/paths/user.yaml +0 -85
- package/twitter-openapi/src/openapi/paths/usertweets.yaml +0 -156
- package/twitter-openapi/src/openapi/paths/v1.1-get.yaml +0 -25
- package/twitter-openapi/src/openapi/paths/v1.1-post.yaml +0 -25
- package/twitter-openapi/src/openapi/paths/v2.0-get.yaml +0 -15
- package/twitter-openapi/src/openapi/resources/parameters.yaml +0 -15
- package/twitter-openapi/src/openapi/response/error.yaml +0 -100
- package/twitter-openapi/src/openapi/schemas/content.yaml +0 -389
- package/twitter-openapi/src/openapi/schemas/error.yaml +0 -99
- package/twitter-openapi/src/openapi/schemas/general.yaml +0 -12
- package/twitter-openapi/src/openapi/schemas/instruction.yaml +0 -297
- package/twitter-openapi/src/openapi/schemas/timeline.yaml +0 -29
- package/twitter-openapi/src/openapi/schemas/tweet.yaml +0 -1314
- package/twitter-openapi/src/openapi/schemas/typename.yaml +0 -34
- package/twitter-openapi/src/openapi/schemas/user.yaml +0 -360
- package/twitter-openapi/test/dart-dio/openapi-generator-config.yaml +0 -2
- package/twitter-openapi/test/local.sh +0 -6
- package/twitter-openapi/test/python/openapi-generator-config.yaml +0 -4
- package/twitter-openapi/test/python/test_serialize.py +0 -349
- package/twitter-openapi/test/python/test_serialize_guest.py +0 -49
- package/twitter-openapi/test/typescript-fetch/openapi-generator-config.yaml +0 -4
- package/twitter-openapi/tools/build.py +0 -83
- package/twitter-openapi/tools/build_config.py +0 -99
- package/twitter-openapi/tools/hooks.py +0 -349
- package/twitter-openapi/tools/login.py +0 -17
package/dist/apis/UserListApi.js
CHANGED
|
@@ -80,25 +80,25 @@ var UserListApi = /** @class */ (function (_super) {
|
|
|
80
80
|
*/
|
|
81
81
|
UserListApi.prototype.getFavoritersRaw = function (requestParameters, initOverrides) {
|
|
82
82
|
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
-
var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r,
|
|
83
|
+
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, response;
|
|
84
84
|
return __generator(this, function (_10) {
|
|
85
85
|
switch (_10.label) {
|
|
86
86
|
case 0:
|
|
87
|
-
if (requestParameters
|
|
88
|
-
throw new runtime.RequiredError('pathQueryId', 'Required parameter
|
|
87
|
+
if (requestParameters['pathQueryId'] == null) {
|
|
88
|
+
throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getFavoriters().');
|
|
89
89
|
}
|
|
90
|
-
if (requestParameters
|
|
91
|
-
throw new runtime.RequiredError('variables', 'Required parameter
|
|
90
|
+
if (requestParameters['variables'] == null) {
|
|
91
|
+
throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getFavoriters().');
|
|
92
92
|
}
|
|
93
|
-
if (requestParameters
|
|
94
|
-
throw new runtime.RequiredError('features', 'Required parameter
|
|
93
|
+
if (requestParameters['features'] == null) {
|
|
94
|
+
throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getFavoriters().');
|
|
95
95
|
}
|
|
96
96
|
queryParameters = {};
|
|
97
|
-
if (requestParameters
|
|
98
|
-
queryParameters['variables'] = requestParameters
|
|
97
|
+
if (requestParameters['variables'] != null) {
|
|
98
|
+
queryParameters['variables'] = requestParameters['variables'];
|
|
99
99
|
}
|
|
100
|
-
if (requestParameters
|
|
101
|
-
queryParameters['features'] = requestParameters
|
|
100
|
+
if (requestParameters['features'] != null) {
|
|
101
|
+
queryParameters['features'] = requestParameters['features'];
|
|
102
102
|
}
|
|
103
103
|
headerParameters = {};
|
|
104
104
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
@@ -119,116 +119,116 @@ var UserListApi = /** @class */ (function (_super) {
|
|
|
119
119
|
case 4:
|
|
120
120
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
|
|
121
121
|
_e = headerParameters;
|
|
122
|
-
_f = "
|
|
123
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
122
|
+
_f = "Priority";
|
|
123
|
+
return [4 /*yield*/, this.configuration.apiKey("Priority")];
|
|
124
124
|
case 5:
|
|
125
|
-
_e[_f] = _10.sent(); //
|
|
125
|
+
_e[_f] = _10.sent(); // Priority authentication
|
|
126
126
|
_10.label = 6;
|
|
127
127
|
case 6:
|
|
128
128
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
|
|
129
129
|
_g = headerParameters;
|
|
130
|
-
_h = "
|
|
131
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
130
|
+
_h = "Sec-Fetch-Dest";
|
|
131
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
|
|
132
132
|
case 7:
|
|
133
|
-
_g[_h] = _10.sent(); //
|
|
133
|
+
_g[_h] = _10.sent(); // SecFetchDest authentication
|
|
134
134
|
_10.label = 8;
|
|
135
135
|
case 8:
|
|
136
136
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
|
|
137
137
|
_j = headerParameters;
|
|
138
|
-
_k = "
|
|
139
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
138
|
+
_k = "Referer";
|
|
139
|
+
return [4 /*yield*/, this.configuration.apiKey("Referer")];
|
|
140
140
|
case 9:
|
|
141
|
-
_j[_k] = _10.sent(); //
|
|
141
|
+
_j[_k] = _10.sent(); // Referer authentication
|
|
142
142
|
_10.label = 10;
|
|
143
143
|
case 10:
|
|
144
144
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
|
|
145
145
|
_l = headerParameters;
|
|
146
|
-
_m = "Sec-
|
|
147
|
-
return [4 /*yield*/, this.configuration.apiKey("Sec-
|
|
146
|
+
_m = "Sec-Ch-Ua-Platform";
|
|
147
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
|
|
148
148
|
case 11:
|
|
149
|
-
_l[_m] = _10.sent(); //
|
|
149
|
+
_l[_m] = _10.sent(); // SecChUaPlatform authentication
|
|
150
150
|
_10.label = 12;
|
|
151
151
|
case 12:
|
|
152
152
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
|
|
153
153
|
_o = headerParameters;
|
|
154
|
-
_p = "
|
|
155
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
154
|
+
_p = "Sec-Fetch-Mode";
|
|
155
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
|
|
156
156
|
case 13:
|
|
157
|
-
_o[_p] = _10.sent(); //
|
|
157
|
+
_o[_p] = _10.sent(); // SecFetchMode authentication
|
|
158
158
|
_10.label = 14;
|
|
159
159
|
case 14:
|
|
160
160
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
|
|
161
161
|
_q = headerParameters;
|
|
162
|
-
_r = "x-
|
|
163
|
-
return [4 /*yield*/, this.configuration.apiKey("x-
|
|
162
|
+
_r = "x-csrf-token";
|
|
163
|
+
return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
|
|
164
164
|
case 15:
|
|
165
|
-
_q[_r] = _10.sent(); //
|
|
165
|
+
_q[_r] = _10.sent(); // CsrfToken authentication
|
|
166
166
|
_10.label = 16;
|
|
167
167
|
case 16:
|
|
168
|
-
if (!(this.configuration && this.configuration.
|
|
168
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
|
|
169
|
+
_s = headerParameters;
|
|
170
|
+
_t = "x-guest-token";
|
|
171
|
+
return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
|
|
172
|
+
case 17:
|
|
173
|
+
_s[_t] = _10.sent(); // GuestToken authentication
|
|
174
|
+
_10.label = 18;
|
|
175
|
+
case 18:
|
|
176
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
|
|
169
177
|
token = this.configuration.accessToken;
|
|
170
178
|
return [4 /*yield*/, token("BearerAuth", [])];
|
|
171
|
-
case
|
|
179
|
+
case 19:
|
|
172
180
|
tokenString = _10.sent();
|
|
173
181
|
if (tokenString) {
|
|
174
182
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
175
183
|
}
|
|
176
|
-
_10.label = 18;
|
|
177
|
-
case 18:
|
|
178
|
-
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
|
|
179
|
-
_s = headerParameters;
|
|
180
|
-
_t = "Sec-Ch-Ua";
|
|
181
|
-
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
182
|
-
case 19:
|
|
183
|
-
_s[_t] = _10.sent(); // SecChUa authentication
|
|
184
184
|
_10.label = 20;
|
|
185
185
|
case 20:
|
|
186
186
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
|
|
187
187
|
_u = headerParameters;
|
|
188
|
-
_v = "
|
|
189
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
188
|
+
_v = "Sec-Ch-Ua";
|
|
189
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
190
190
|
case 21:
|
|
191
|
-
_u[_v] = _10.sent(); //
|
|
191
|
+
_u[_v] = _10.sent(); // SecChUa authentication
|
|
192
192
|
_10.label = 22;
|
|
193
193
|
case 22:
|
|
194
194
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
|
|
195
195
|
_w = headerParameters;
|
|
196
|
-
_x = "user
|
|
197
|
-
return [4 /*yield*/, this.configuration.apiKey("user
|
|
196
|
+
_x = "x-twitter-active-user";
|
|
197
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
|
|
198
198
|
case 23:
|
|
199
|
-
_w[_x] = _10.sent(); //
|
|
199
|
+
_w[_x] = _10.sent(); // ActiveUser authentication
|
|
200
200
|
_10.label = 24;
|
|
201
201
|
case 24:
|
|
202
202
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
|
|
203
203
|
_y = headerParameters;
|
|
204
|
-
_z = "
|
|
205
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
204
|
+
_z = "user-agent";
|
|
205
|
+
return [4 /*yield*/, this.configuration.apiKey("user-agent")];
|
|
206
206
|
case 25:
|
|
207
|
-
_y[_z] = _10.sent(); //
|
|
207
|
+
_y[_z] = _10.sent(); // UserAgent authentication
|
|
208
208
|
_10.label = 26;
|
|
209
209
|
case 26:
|
|
210
210
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
|
|
211
211
|
_0 = headerParameters;
|
|
212
|
-
_1 = "
|
|
213
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
212
|
+
_1 = "Accept-Language";
|
|
213
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
|
|
214
214
|
case 27:
|
|
215
|
-
_0[_1] = _10.sent(); //
|
|
215
|
+
_0[_1] = _10.sent(); // AcceptLanguage authentication
|
|
216
216
|
_10.label = 28;
|
|
217
217
|
case 28:
|
|
218
218
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
|
|
219
219
|
_2 = headerParameters;
|
|
220
|
-
_3 = "
|
|
221
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
220
|
+
_3 = "Sec-Fetch-Site";
|
|
221
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
|
|
222
222
|
case 29:
|
|
223
|
-
_2[_3] = _10.sent(); //
|
|
223
|
+
_2[_3] = _10.sent(); // SecFetchSite authentication
|
|
224
224
|
_10.label = 30;
|
|
225
225
|
case 30:
|
|
226
226
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
|
|
227
227
|
_4 = headerParameters;
|
|
228
|
-
_5 = "
|
|
229
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
228
|
+
_5 = "x-twitter-auth-type";
|
|
229
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
|
|
230
230
|
case 31:
|
|
231
|
-
_4[_5] = _10.sent(); //
|
|
231
|
+
_4[_5] = _10.sent(); // AuthType authentication
|
|
232
232
|
_10.label = 32;
|
|
233
233
|
case 32:
|
|
234
234
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
|
|
@@ -247,7 +247,7 @@ var UserListApi = /** @class */ (function (_super) {
|
|
|
247
247
|
_8[_9] = _10.sent(); // AcceptEncoding authentication
|
|
248
248
|
_10.label = 36;
|
|
249
249
|
case 36: return [4 /*yield*/, this.request({
|
|
250
|
-
path: "/graphql/{pathQueryId}/Favoriters".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters
|
|
250
|
+
path: "/graphql/{pathQueryId}/Favoriters".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
|
|
251
251
|
method: 'GET',
|
|
252
252
|
headers: headerParameters,
|
|
253
253
|
query: queryParameters,
|
|
@@ -281,25 +281,25 @@ var UserListApi = /** @class */ (function (_super) {
|
|
|
281
281
|
*/
|
|
282
282
|
UserListApi.prototype.getFollowersRaw = function (requestParameters, initOverrides) {
|
|
283
283
|
return __awaiter(this, void 0, void 0, function () {
|
|
284
|
-
var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r,
|
|
284
|
+
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, response;
|
|
285
285
|
return __generator(this, function (_10) {
|
|
286
286
|
switch (_10.label) {
|
|
287
287
|
case 0:
|
|
288
|
-
if (requestParameters
|
|
289
|
-
throw new runtime.RequiredError('pathQueryId', 'Required parameter
|
|
288
|
+
if (requestParameters['pathQueryId'] == null) {
|
|
289
|
+
throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getFollowers().');
|
|
290
290
|
}
|
|
291
|
-
if (requestParameters
|
|
292
|
-
throw new runtime.RequiredError('variables', 'Required parameter
|
|
291
|
+
if (requestParameters['variables'] == null) {
|
|
292
|
+
throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getFollowers().');
|
|
293
293
|
}
|
|
294
|
-
if (requestParameters
|
|
295
|
-
throw new runtime.RequiredError('features', 'Required parameter
|
|
294
|
+
if (requestParameters['features'] == null) {
|
|
295
|
+
throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getFollowers().');
|
|
296
296
|
}
|
|
297
297
|
queryParameters = {};
|
|
298
|
-
if (requestParameters
|
|
299
|
-
queryParameters['variables'] = requestParameters
|
|
298
|
+
if (requestParameters['variables'] != null) {
|
|
299
|
+
queryParameters['variables'] = requestParameters['variables'];
|
|
300
300
|
}
|
|
301
|
-
if (requestParameters
|
|
302
|
-
queryParameters['features'] = requestParameters
|
|
301
|
+
if (requestParameters['features'] != null) {
|
|
302
|
+
queryParameters['features'] = requestParameters['features'];
|
|
303
303
|
}
|
|
304
304
|
headerParameters = {};
|
|
305
305
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
@@ -320,116 +320,116 @@ var UserListApi = /** @class */ (function (_super) {
|
|
|
320
320
|
case 4:
|
|
321
321
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
|
|
322
322
|
_e = headerParameters;
|
|
323
|
-
_f = "
|
|
324
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
323
|
+
_f = "Priority";
|
|
324
|
+
return [4 /*yield*/, this.configuration.apiKey("Priority")];
|
|
325
325
|
case 5:
|
|
326
|
-
_e[_f] = _10.sent(); //
|
|
326
|
+
_e[_f] = _10.sent(); // Priority authentication
|
|
327
327
|
_10.label = 6;
|
|
328
328
|
case 6:
|
|
329
329
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
|
|
330
330
|
_g = headerParameters;
|
|
331
|
-
_h = "
|
|
332
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
331
|
+
_h = "Sec-Fetch-Dest";
|
|
332
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
|
|
333
333
|
case 7:
|
|
334
|
-
_g[_h] = _10.sent(); //
|
|
334
|
+
_g[_h] = _10.sent(); // SecFetchDest authentication
|
|
335
335
|
_10.label = 8;
|
|
336
336
|
case 8:
|
|
337
337
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
|
|
338
338
|
_j = headerParameters;
|
|
339
|
-
_k = "
|
|
340
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
339
|
+
_k = "Referer";
|
|
340
|
+
return [4 /*yield*/, this.configuration.apiKey("Referer")];
|
|
341
341
|
case 9:
|
|
342
|
-
_j[_k] = _10.sent(); //
|
|
342
|
+
_j[_k] = _10.sent(); // Referer authentication
|
|
343
343
|
_10.label = 10;
|
|
344
344
|
case 10:
|
|
345
345
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
|
|
346
346
|
_l = headerParameters;
|
|
347
|
-
_m = "Sec-
|
|
348
|
-
return [4 /*yield*/, this.configuration.apiKey("Sec-
|
|
347
|
+
_m = "Sec-Ch-Ua-Platform";
|
|
348
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
|
|
349
349
|
case 11:
|
|
350
|
-
_l[_m] = _10.sent(); //
|
|
350
|
+
_l[_m] = _10.sent(); // SecChUaPlatform authentication
|
|
351
351
|
_10.label = 12;
|
|
352
352
|
case 12:
|
|
353
353
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
|
|
354
354
|
_o = headerParameters;
|
|
355
|
-
_p = "
|
|
356
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
355
|
+
_p = "Sec-Fetch-Mode";
|
|
356
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
|
|
357
357
|
case 13:
|
|
358
|
-
_o[_p] = _10.sent(); //
|
|
358
|
+
_o[_p] = _10.sent(); // SecFetchMode authentication
|
|
359
359
|
_10.label = 14;
|
|
360
360
|
case 14:
|
|
361
361
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
|
|
362
362
|
_q = headerParameters;
|
|
363
|
-
_r = "x-
|
|
364
|
-
return [4 /*yield*/, this.configuration.apiKey("x-
|
|
363
|
+
_r = "x-csrf-token";
|
|
364
|
+
return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
|
|
365
365
|
case 15:
|
|
366
|
-
_q[_r] = _10.sent(); //
|
|
366
|
+
_q[_r] = _10.sent(); // CsrfToken authentication
|
|
367
367
|
_10.label = 16;
|
|
368
368
|
case 16:
|
|
369
|
-
if (!(this.configuration && this.configuration.
|
|
369
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
|
|
370
|
+
_s = headerParameters;
|
|
371
|
+
_t = "x-guest-token";
|
|
372
|
+
return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
|
|
373
|
+
case 17:
|
|
374
|
+
_s[_t] = _10.sent(); // GuestToken authentication
|
|
375
|
+
_10.label = 18;
|
|
376
|
+
case 18:
|
|
377
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
|
|
370
378
|
token = this.configuration.accessToken;
|
|
371
379
|
return [4 /*yield*/, token("BearerAuth", [])];
|
|
372
|
-
case
|
|
380
|
+
case 19:
|
|
373
381
|
tokenString = _10.sent();
|
|
374
382
|
if (tokenString) {
|
|
375
383
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
376
384
|
}
|
|
377
|
-
_10.label = 18;
|
|
378
|
-
case 18:
|
|
379
|
-
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
|
|
380
|
-
_s = headerParameters;
|
|
381
|
-
_t = "Sec-Ch-Ua";
|
|
382
|
-
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
383
|
-
case 19:
|
|
384
|
-
_s[_t] = _10.sent(); // SecChUa authentication
|
|
385
385
|
_10.label = 20;
|
|
386
386
|
case 20:
|
|
387
387
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
|
|
388
388
|
_u = headerParameters;
|
|
389
|
-
_v = "
|
|
390
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
389
|
+
_v = "Sec-Ch-Ua";
|
|
390
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
391
391
|
case 21:
|
|
392
|
-
_u[_v] = _10.sent(); //
|
|
392
|
+
_u[_v] = _10.sent(); // SecChUa authentication
|
|
393
393
|
_10.label = 22;
|
|
394
394
|
case 22:
|
|
395
395
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
|
|
396
396
|
_w = headerParameters;
|
|
397
|
-
_x = "user
|
|
398
|
-
return [4 /*yield*/, this.configuration.apiKey("user
|
|
397
|
+
_x = "x-twitter-active-user";
|
|
398
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
|
|
399
399
|
case 23:
|
|
400
|
-
_w[_x] = _10.sent(); //
|
|
400
|
+
_w[_x] = _10.sent(); // ActiveUser authentication
|
|
401
401
|
_10.label = 24;
|
|
402
402
|
case 24:
|
|
403
403
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
|
|
404
404
|
_y = headerParameters;
|
|
405
|
-
_z = "
|
|
406
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
405
|
+
_z = "user-agent";
|
|
406
|
+
return [4 /*yield*/, this.configuration.apiKey("user-agent")];
|
|
407
407
|
case 25:
|
|
408
|
-
_y[_z] = _10.sent(); //
|
|
408
|
+
_y[_z] = _10.sent(); // UserAgent authentication
|
|
409
409
|
_10.label = 26;
|
|
410
410
|
case 26:
|
|
411
411
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
|
|
412
412
|
_0 = headerParameters;
|
|
413
|
-
_1 = "
|
|
414
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
413
|
+
_1 = "Accept-Language";
|
|
414
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
|
|
415
415
|
case 27:
|
|
416
|
-
_0[_1] = _10.sent(); //
|
|
416
|
+
_0[_1] = _10.sent(); // AcceptLanguage authentication
|
|
417
417
|
_10.label = 28;
|
|
418
418
|
case 28:
|
|
419
419
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
|
|
420
420
|
_2 = headerParameters;
|
|
421
|
-
_3 = "
|
|
422
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
421
|
+
_3 = "Sec-Fetch-Site";
|
|
422
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
|
|
423
423
|
case 29:
|
|
424
|
-
_2[_3] = _10.sent(); //
|
|
424
|
+
_2[_3] = _10.sent(); // SecFetchSite authentication
|
|
425
425
|
_10.label = 30;
|
|
426
426
|
case 30:
|
|
427
427
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
|
|
428
428
|
_4 = headerParameters;
|
|
429
|
-
_5 = "
|
|
430
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
429
|
+
_5 = "x-twitter-auth-type";
|
|
430
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
|
|
431
431
|
case 31:
|
|
432
|
-
_4[_5] = _10.sent(); //
|
|
432
|
+
_4[_5] = _10.sent(); // AuthType authentication
|
|
433
433
|
_10.label = 32;
|
|
434
434
|
case 32:
|
|
435
435
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
|
|
@@ -448,7 +448,7 @@ var UserListApi = /** @class */ (function (_super) {
|
|
|
448
448
|
_8[_9] = _10.sent(); // AcceptEncoding authentication
|
|
449
449
|
_10.label = 36;
|
|
450
450
|
case 36: return [4 /*yield*/, this.request({
|
|
451
|
-
path: "/graphql/{pathQueryId}/Followers".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters
|
|
451
|
+
path: "/graphql/{pathQueryId}/Followers".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
|
|
452
452
|
method: 'GET',
|
|
453
453
|
headers: headerParameters,
|
|
454
454
|
query: queryParameters,
|
|
@@ -482,25 +482,25 @@ var UserListApi = /** @class */ (function (_super) {
|
|
|
482
482
|
*/
|
|
483
483
|
UserListApi.prototype.getFollowersYouKnowRaw = function (requestParameters, initOverrides) {
|
|
484
484
|
return __awaiter(this, void 0, void 0, function () {
|
|
485
|
-
var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r,
|
|
485
|
+
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, response;
|
|
486
486
|
return __generator(this, function (_10) {
|
|
487
487
|
switch (_10.label) {
|
|
488
488
|
case 0:
|
|
489
|
-
if (requestParameters
|
|
490
|
-
throw new runtime.RequiredError('pathQueryId', 'Required parameter
|
|
489
|
+
if (requestParameters['pathQueryId'] == null) {
|
|
490
|
+
throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getFollowersYouKnow().');
|
|
491
491
|
}
|
|
492
|
-
if (requestParameters
|
|
493
|
-
throw new runtime.RequiredError('variables', 'Required parameter
|
|
492
|
+
if (requestParameters['variables'] == null) {
|
|
493
|
+
throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getFollowersYouKnow().');
|
|
494
494
|
}
|
|
495
|
-
if (requestParameters
|
|
496
|
-
throw new runtime.RequiredError('features', 'Required parameter
|
|
495
|
+
if (requestParameters['features'] == null) {
|
|
496
|
+
throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getFollowersYouKnow().');
|
|
497
497
|
}
|
|
498
498
|
queryParameters = {};
|
|
499
|
-
if (requestParameters
|
|
500
|
-
queryParameters['variables'] = requestParameters
|
|
499
|
+
if (requestParameters['variables'] != null) {
|
|
500
|
+
queryParameters['variables'] = requestParameters['variables'];
|
|
501
501
|
}
|
|
502
|
-
if (requestParameters
|
|
503
|
-
queryParameters['features'] = requestParameters
|
|
502
|
+
if (requestParameters['features'] != null) {
|
|
503
|
+
queryParameters['features'] = requestParameters['features'];
|
|
504
504
|
}
|
|
505
505
|
headerParameters = {};
|
|
506
506
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
@@ -521,116 +521,116 @@ var UserListApi = /** @class */ (function (_super) {
|
|
|
521
521
|
case 4:
|
|
522
522
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
|
|
523
523
|
_e = headerParameters;
|
|
524
|
-
_f = "
|
|
525
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
524
|
+
_f = "Priority";
|
|
525
|
+
return [4 /*yield*/, this.configuration.apiKey("Priority")];
|
|
526
526
|
case 5:
|
|
527
|
-
_e[_f] = _10.sent(); //
|
|
527
|
+
_e[_f] = _10.sent(); // Priority authentication
|
|
528
528
|
_10.label = 6;
|
|
529
529
|
case 6:
|
|
530
530
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
|
|
531
531
|
_g = headerParameters;
|
|
532
|
-
_h = "
|
|
533
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
532
|
+
_h = "Sec-Fetch-Dest";
|
|
533
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
|
|
534
534
|
case 7:
|
|
535
|
-
_g[_h] = _10.sent(); //
|
|
535
|
+
_g[_h] = _10.sent(); // SecFetchDest authentication
|
|
536
536
|
_10.label = 8;
|
|
537
537
|
case 8:
|
|
538
538
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
|
|
539
539
|
_j = headerParameters;
|
|
540
|
-
_k = "
|
|
541
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
540
|
+
_k = "Referer";
|
|
541
|
+
return [4 /*yield*/, this.configuration.apiKey("Referer")];
|
|
542
542
|
case 9:
|
|
543
|
-
_j[_k] = _10.sent(); //
|
|
543
|
+
_j[_k] = _10.sent(); // Referer authentication
|
|
544
544
|
_10.label = 10;
|
|
545
545
|
case 10:
|
|
546
546
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
|
|
547
547
|
_l = headerParameters;
|
|
548
|
-
_m = "Sec-
|
|
549
|
-
return [4 /*yield*/, this.configuration.apiKey("Sec-
|
|
548
|
+
_m = "Sec-Ch-Ua-Platform";
|
|
549
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
|
|
550
550
|
case 11:
|
|
551
|
-
_l[_m] = _10.sent(); //
|
|
551
|
+
_l[_m] = _10.sent(); // SecChUaPlatform authentication
|
|
552
552
|
_10.label = 12;
|
|
553
553
|
case 12:
|
|
554
554
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
|
|
555
555
|
_o = headerParameters;
|
|
556
|
-
_p = "
|
|
557
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
556
|
+
_p = "Sec-Fetch-Mode";
|
|
557
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
|
|
558
558
|
case 13:
|
|
559
|
-
_o[_p] = _10.sent(); //
|
|
559
|
+
_o[_p] = _10.sent(); // SecFetchMode authentication
|
|
560
560
|
_10.label = 14;
|
|
561
561
|
case 14:
|
|
562
562
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
|
|
563
563
|
_q = headerParameters;
|
|
564
|
-
_r = "x-
|
|
565
|
-
return [4 /*yield*/, this.configuration.apiKey("x-
|
|
564
|
+
_r = "x-csrf-token";
|
|
565
|
+
return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
|
|
566
566
|
case 15:
|
|
567
|
-
_q[_r] = _10.sent(); //
|
|
567
|
+
_q[_r] = _10.sent(); // CsrfToken authentication
|
|
568
568
|
_10.label = 16;
|
|
569
569
|
case 16:
|
|
570
|
-
if (!(this.configuration && this.configuration.
|
|
570
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
|
|
571
|
+
_s = headerParameters;
|
|
572
|
+
_t = "x-guest-token";
|
|
573
|
+
return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
|
|
574
|
+
case 17:
|
|
575
|
+
_s[_t] = _10.sent(); // GuestToken authentication
|
|
576
|
+
_10.label = 18;
|
|
577
|
+
case 18:
|
|
578
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
|
|
571
579
|
token = this.configuration.accessToken;
|
|
572
580
|
return [4 /*yield*/, token("BearerAuth", [])];
|
|
573
|
-
case
|
|
581
|
+
case 19:
|
|
574
582
|
tokenString = _10.sent();
|
|
575
583
|
if (tokenString) {
|
|
576
584
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
577
585
|
}
|
|
578
|
-
_10.label = 18;
|
|
579
|
-
case 18:
|
|
580
|
-
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
|
|
581
|
-
_s = headerParameters;
|
|
582
|
-
_t = "Sec-Ch-Ua";
|
|
583
|
-
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
584
|
-
case 19:
|
|
585
|
-
_s[_t] = _10.sent(); // SecChUa authentication
|
|
586
586
|
_10.label = 20;
|
|
587
587
|
case 20:
|
|
588
588
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
|
|
589
589
|
_u = headerParameters;
|
|
590
|
-
_v = "
|
|
591
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
590
|
+
_v = "Sec-Ch-Ua";
|
|
591
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
592
592
|
case 21:
|
|
593
|
-
_u[_v] = _10.sent(); //
|
|
593
|
+
_u[_v] = _10.sent(); // SecChUa authentication
|
|
594
594
|
_10.label = 22;
|
|
595
595
|
case 22:
|
|
596
596
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
|
|
597
597
|
_w = headerParameters;
|
|
598
|
-
_x = "user
|
|
599
|
-
return [4 /*yield*/, this.configuration.apiKey("user
|
|
598
|
+
_x = "x-twitter-active-user";
|
|
599
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
|
|
600
600
|
case 23:
|
|
601
|
-
_w[_x] = _10.sent(); //
|
|
601
|
+
_w[_x] = _10.sent(); // ActiveUser authentication
|
|
602
602
|
_10.label = 24;
|
|
603
603
|
case 24:
|
|
604
604
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
|
|
605
605
|
_y = headerParameters;
|
|
606
|
-
_z = "
|
|
607
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
606
|
+
_z = "user-agent";
|
|
607
|
+
return [4 /*yield*/, this.configuration.apiKey("user-agent")];
|
|
608
608
|
case 25:
|
|
609
|
-
_y[_z] = _10.sent(); //
|
|
609
|
+
_y[_z] = _10.sent(); // UserAgent authentication
|
|
610
610
|
_10.label = 26;
|
|
611
611
|
case 26:
|
|
612
612
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
|
|
613
613
|
_0 = headerParameters;
|
|
614
|
-
_1 = "
|
|
615
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
614
|
+
_1 = "Accept-Language";
|
|
615
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
|
|
616
616
|
case 27:
|
|
617
|
-
_0[_1] = _10.sent(); //
|
|
617
|
+
_0[_1] = _10.sent(); // AcceptLanguage authentication
|
|
618
618
|
_10.label = 28;
|
|
619
619
|
case 28:
|
|
620
620
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
|
|
621
621
|
_2 = headerParameters;
|
|
622
|
-
_3 = "
|
|
623
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
622
|
+
_3 = "Sec-Fetch-Site";
|
|
623
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
|
|
624
624
|
case 29:
|
|
625
|
-
_2[_3] = _10.sent(); //
|
|
625
|
+
_2[_3] = _10.sent(); // SecFetchSite authentication
|
|
626
626
|
_10.label = 30;
|
|
627
627
|
case 30:
|
|
628
628
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
|
|
629
629
|
_4 = headerParameters;
|
|
630
|
-
_5 = "
|
|
631
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
630
|
+
_5 = "x-twitter-auth-type";
|
|
631
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
|
|
632
632
|
case 31:
|
|
633
|
-
_4[_5] = _10.sent(); //
|
|
633
|
+
_4[_5] = _10.sent(); // AuthType authentication
|
|
634
634
|
_10.label = 32;
|
|
635
635
|
case 32:
|
|
636
636
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
|
|
@@ -649,7 +649,7 @@ var UserListApi = /** @class */ (function (_super) {
|
|
|
649
649
|
_8[_9] = _10.sent(); // AcceptEncoding authentication
|
|
650
650
|
_10.label = 36;
|
|
651
651
|
case 36: return [4 /*yield*/, this.request({
|
|
652
|
-
path: "/graphql/{pathQueryId}/FollowersYouKnow".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters
|
|
652
|
+
path: "/graphql/{pathQueryId}/FollowersYouKnow".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
|
|
653
653
|
method: 'GET',
|
|
654
654
|
headers: headerParameters,
|
|
655
655
|
query: queryParameters,
|
|
@@ -683,25 +683,25 @@ var UserListApi = /** @class */ (function (_super) {
|
|
|
683
683
|
*/
|
|
684
684
|
UserListApi.prototype.getFollowingRaw = function (requestParameters, initOverrides) {
|
|
685
685
|
return __awaiter(this, void 0, void 0, function () {
|
|
686
|
-
var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r,
|
|
686
|
+
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, response;
|
|
687
687
|
return __generator(this, function (_10) {
|
|
688
688
|
switch (_10.label) {
|
|
689
689
|
case 0:
|
|
690
|
-
if (requestParameters
|
|
691
|
-
throw new runtime.RequiredError('pathQueryId', 'Required parameter
|
|
690
|
+
if (requestParameters['pathQueryId'] == null) {
|
|
691
|
+
throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getFollowing().');
|
|
692
692
|
}
|
|
693
|
-
if (requestParameters
|
|
694
|
-
throw new runtime.RequiredError('variables', 'Required parameter
|
|
693
|
+
if (requestParameters['variables'] == null) {
|
|
694
|
+
throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getFollowing().');
|
|
695
695
|
}
|
|
696
|
-
if (requestParameters
|
|
697
|
-
throw new runtime.RequiredError('features', 'Required parameter
|
|
696
|
+
if (requestParameters['features'] == null) {
|
|
697
|
+
throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getFollowing().');
|
|
698
698
|
}
|
|
699
699
|
queryParameters = {};
|
|
700
|
-
if (requestParameters
|
|
701
|
-
queryParameters['variables'] = requestParameters
|
|
700
|
+
if (requestParameters['variables'] != null) {
|
|
701
|
+
queryParameters['variables'] = requestParameters['variables'];
|
|
702
702
|
}
|
|
703
|
-
if (requestParameters
|
|
704
|
-
queryParameters['features'] = requestParameters
|
|
703
|
+
if (requestParameters['features'] != null) {
|
|
704
|
+
queryParameters['features'] = requestParameters['features'];
|
|
705
705
|
}
|
|
706
706
|
headerParameters = {};
|
|
707
707
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
@@ -722,116 +722,116 @@ var UserListApi = /** @class */ (function (_super) {
|
|
|
722
722
|
case 4:
|
|
723
723
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
|
|
724
724
|
_e = headerParameters;
|
|
725
|
-
_f = "
|
|
726
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
725
|
+
_f = "Priority";
|
|
726
|
+
return [4 /*yield*/, this.configuration.apiKey("Priority")];
|
|
727
727
|
case 5:
|
|
728
|
-
_e[_f] = _10.sent(); //
|
|
728
|
+
_e[_f] = _10.sent(); // Priority authentication
|
|
729
729
|
_10.label = 6;
|
|
730
730
|
case 6:
|
|
731
731
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
|
|
732
732
|
_g = headerParameters;
|
|
733
|
-
_h = "
|
|
734
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
733
|
+
_h = "Sec-Fetch-Dest";
|
|
734
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
|
|
735
735
|
case 7:
|
|
736
|
-
_g[_h] = _10.sent(); //
|
|
736
|
+
_g[_h] = _10.sent(); // SecFetchDest authentication
|
|
737
737
|
_10.label = 8;
|
|
738
738
|
case 8:
|
|
739
739
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
|
|
740
740
|
_j = headerParameters;
|
|
741
|
-
_k = "
|
|
742
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
741
|
+
_k = "Referer";
|
|
742
|
+
return [4 /*yield*/, this.configuration.apiKey("Referer")];
|
|
743
743
|
case 9:
|
|
744
|
-
_j[_k] = _10.sent(); //
|
|
744
|
+
_j[_k] = _10.sent(); // Referer authentication
|
|
745
745
|
_10.label = 10;
|
|
746
746
|
case 10:
|
|
747
747
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
|
|
748
748
|
_l = headerParameters;
|
|
749
|
-
_m = "Sec-
|
|
750
|
-
return [4 /*yield*/, this.configuration.apiKey("Sec-
|
|
749
|
+
_m = "Sec-Ch-Ua-Platform";
|
|
750
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
|
|
751
751
|
case 11:
|
|
752
|
-
_l[_m] = _10.sent(); //
|
|
752
|
+
_l[_m] = _10.sent(); // SecChUaPlatform authentication
|
|
753
753
|
_10.label = 12;
|
|
754
754
|
case 12:
|
|
755
755
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
|
|
756
756
|
_o = headerParameters;
|
|
757
|
-
_p = "
|
|
758
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
757
|
+
_p = "Sec-Fetch-Mode";
|
|
758
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
|
|
759
759
|
case 13:
|
|
760
|
-
_o[_p] = _10.sent(); //
|
|
760
|
+
_o[_p] = _10.sent(); // SecFetchMode authentication
|
|
761
761
|
_10.label = 14;
|
|
762
762
|
case 14:
|
|
763
763
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
|
|
764
764
|
_q = headerParameters;
|
|
765
|
-
_r = "x-
|
|
766
|
-
return [4 /*yield*/, this.configuration.apiKey("x-
|
|
765
|
+
_r = "x-csrf-token";
|
|
766
|
+
return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
|
|
767
767
|
case 15:
|
|
768
|
-
_q[_r] = _10.sent(); //
|
|
768
|
+
_q[_r] = _10.sent(); // CsrfToken authentication
|
|
769
769
|
_10.label = 16;
|
|
770
770
|
case 16:
|
|
771
|
-
if (!(this.configuration && this.configuration.
|
|
771
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
|
|
772
|
+
_s = headerParameters;
|
|
773
|
+
_t = "x-guest-token";
|
|
774
|
+
return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
|
|
775
|
+
case 17:
|
|
776
|
+
_s[_t] = _10.sent(); // GuestToken authentication
|
|
777
|
+
_10.label = 18;
|
|
778
|
+
case 18:
|
|
779
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
|
|
772
780
|
token = this.configuration.accessToken;
|
|
773
781
|
return [4 /*yield*/, token("BearerAuth", [])];
|
|
774
|
-
case
|
|
782
|
+
case 19:
|
|
775
783
|
tokenString = _10.sent();
|
|
776
784
|
if (tokenString) {
|
|
777
785
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
778
786
|
}
|
|
779
|
-
_10.label = 18;
|
|
780
|
-
case 18:
|
|
781
|
-
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
|
|
782
|
-
_s = headerParameters;
|
|
783
|
-
_t = "Sec-Ch-Ua";
|
|
784
|
-
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
785
|
-
case 19:
|
|
786
|
-
_s[_t] = _10.sent(); // SecChUa authentication
|
|
787
787
|
_10.label = 20;
|
|
788
788
|
case 20:
|
|
789
789
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
|
|
790
790
|
_u = headerParameters;
|
|
791
|
-
_v = "
|
|
792
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
791
|
+
_v = "Sec-Ch-Ua";
|
|
792
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
793
793
|
case 21:
|
|
794
|
-
_u[_v] = _10.sent(); //
|
|
794
|
+
_u[_v] = _10.sent(); // SecChUa authentication
|
|
795
795
|
_10.label = 22;
|
|
796
796
|
case 22:
|
|
797
797
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
|
|
798
798
|
_w = headerParameters;
|
|
799
|
-
_x = "user
|
|
800
|
-
return [4 /*yield*/, this.configuration.apiKey("user
|
|
799
|
+
_x = "x-twitter-active-user";
|
|
800
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
|
|
801
801
|
case 23:
|
|
802
|
-
_w[_x] = _10.sent(); //
|
|
802
|
+
_w[_x] = _10.sent(); // ActiveUser authentication
|
|
803
803
|
_10.label = 24;
|
|
804
804
|
case 24:
|
|
805
805
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
|
|
806
806
|
_y = headerParameters;
|
|
807
|
-
_z = "
|
|
808
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
807
|
+
_z = "user-agent";
|
|
808
|
+
return [4 /*yield*/, this.configuration.apiKey("user-agent")];
|
|
809
809
|
case 25:
|
|
810
|
-
_y[_z] = _10.sent(); //
|
|
810
|
+
_y[_z] = _10.sent(); // UserAgent authentication
|
|
811
811
|
_10.label = 26;
|
|
812
812
|
case 26:
|
|
813
813
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
|
|
814
814
|
_0 = headerParameters;
|
|
815
|
-
_1 = "
|
|
816
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
815
|
+
_1 = "Accept-Language";
|
|
816
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
|
|
817
817
|
case 27:
|
|
818
|
-
_0[_1] = _10.sent(); //
|
|
818
|
+
_0[_1] = _10.sent(); // AcceptLanguage authentication
|
|
819
819
|
_10.label = 28;
|
|
820
820
|
case 28:
|
|
821
821
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
|
|
822
822
|
_2 = headerParameters;
|
|
823
|
-
_3 = "
|
|
824
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
823
|
+
_3 = "Sec-Fetch-Site";
|
|
824
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
|
|
825
825
|
case 29:
|
|
826
|
-
_2[_3] = _10.sent(); //
|
|
826
|
+
_2[_3] = _10.sent(); // SecFetchSite authentication
|
|
827
827
|
_10.label = 30;
|
|
828
828
|
case 30:
|
|
829
829
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
|
|
830
830
|
_4 = headerParameters;
|
|
831
|
-
_5 = "
|
|
832
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
831
|
+
_5 = "x-twitter-auth-type";
|
|
832
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
|
|
833
833
|
case 31:
|
|
834
|
-
_4[_5] = _10.sent(); //
|
|
834
|
+
_4[_5] = _10.sent(); // AuthType authentication
|
|
835
835
|
_10.label = 32;
|
|
836
836
|
case 32:
|
|
837
837
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
|
|
@@ -850,7 +850,7 @@ var UserListApi = /** @class */ (function (_super) {
|
|
|
850
850
|
_8[_9] = _10.sent(); // AcceptEncoding authentication
|
|
851
851
|
_10.label = 36;
|
|
852
852
|
case 36: return [4 /*yield*/, this.request({
|
|
853
|
-
path: "/graphql/{pathQueryId}/Following".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters
|
|
853
|
+
path: "/graphql/{pathQueryId}/Following".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
|
|
854
854
|
method: 'GET',
|
|
855
855
|
headers: headerParameters,
|
|
856
856
|
query: queryParameters,
|
|
@@ -884,25 +884,25 @@ var UserListApi = /** @class */ (function (_super) {
|
|
|
884
884
|
*/
|
|
885
885
|
UserListApi.prototype.getRetweetersRaw = function (requestParameters, initOverrides) {
|
|
886
886
|
return __awaiter(this, void 0, void 0, function () {
|
|
887
|
-
var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r,
|
|
887
|
+
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, response;
|
|
888
888
|
return __generator(this, function (_10) {
|
|
889
889
|
switch (_10.label) {
|
|
890
890
|
case 0:
|
|
891
|
-
if (requestParameters
|
|
892
|
-
throw new runtime.RequiredError('pathQueryId', 'Required parameter
|
|
891
|
+
if (requestParameters['pathQueryId'] == null) {
|
|
892
|
+
throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getRetweeters().');
|
|
893
893
|
}
|
|
894
|
-
if (requestParameters
|
|
895
|
-
throw new runtime.RequiredError('variables', 'Required parameter
|
|
894
|
+
if (requestParameters['variables'] == null) {
|
|
895
|
+
throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getRetweeters().');
|
|
896
896
|
}
|
|
897
|
-
if (requestParameters
|
|
898
|
-
throw new runtime.RequiredError('features', 'Required parameter
|
|
897
|
+
if (requestParameters['features'] == null) {
|
|
898
|
+
throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getRetweeters().');
|
|
899
899
|
}
|
|
900
900
|
queryParameters = {};
|
|
901
|
-
if (requestParameters
|
|
902
|
-
queryParameters['variables'] = requestParameters
|
|
901
|
+
if (requestParameters['variables'] != null) {
|
|
902
|
+
queryParameters['variables'] = requestParameters['variables'];
|
|
903
903
|
}
|
|
904
|
-
if (requestParameters
|
|
905
|
-
queryParameters['features'] = requestParameters
|
|
904
|
+
if (requestParameters['features'] != null) {
|
|
905
|
+
queryParameters['features'] = requestParameters['features'];
|
|
906
906
|
}
|
|
907
907
|
headerParameters = {};
|
|
908
908
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
@@ -923,116 +923,116 @@ var UserListApi = /** @class */ (function (_super) {
|
|
|
923
923
|
case 4:
|
|
924
924
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
|
|
925
925
|
_e = headerParameters;
|
|
926
|
-
_f = "
|
|
927
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
926
|
+
_f = "Priority";
|
|
927
|
+
return [4 /*yield*/, this.configuration.apiKey("Priority")];
|
|
928
928
|
case 5:
|
|
929
|
-
_e[_f] = _10.sent(); //
|
|
929
|
+
_e[_f] = _10.sent(); // Priority authentication
|
|
930
930
|
_10.label = 6;
|
|
931
931
|
case 6:
|
|
932
932
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
|
|
933
933
|
_g = headerParameters;
|
|
934
|
-
_h = "
|
|
935
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
934
|
+
_h = "Sec-Fetch-Dest";
|
|
935
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
|
|
936
936
|
case 7:
|
|
937
|
-
_g[_h] = _10.sent(); //
|
|
937
|
+
_g[_h] = _10.sent(); // SecFetchDest authentication
|
|
938
938
|
_10.label = 8;
|
|
939
939
|
case 8:
|
|
940
940
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
|
|
941
941
|
_j = headerParameters;
|
|
942
|
-
_k = "
|
|
943
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
942
|
+
_k = "Referer";
|
|
943
|
+
return [4 /*yield*/, this.configuration.apiKey("Referer")];
|
|
944
944
|
case 9:
|
|
945
|
-
_j[_k] = _10.sent(); //
|
|
945
|
+
_j[_k] = _10.sent(); // Referer authentication
|
|
946
946
|
_10.label = 10;
|
|
947
947
|
case 10:
|
|
948
948
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
|
|
949
949
|
_l = headerParameters;
|
|
950
|
-
_m = "Sec-
|
|
951
|
-
return [4 /*yield*/, this.configuration.apiKey("Sec-
|
|
950
|
+
_m = "Sec-Ch-Ua-Platform";
|
|
951
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
|
|
952
952
|
case 11:
|
|
953
|
-
_l[_m] = _10.sent(); //
|
|
953
|
+
_l[_m] = _10.sent(); // SecChUaPlatform authentication
|
|
954
954
|
_10.label = 12;
|
|
955
955
|
case 12:
|
|
956
956
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
|
|
957
957
|
_o = headerParameters;
|
|
958
|
-
_p = "
|
|
959
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
958
|
+
_p = "Sec-Fetch-Mode";
|
|
959
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
|
|
960
960
|
case 13:
|
|
961
|
-
_o[_p] = _10.sent(); //
|
|
961
|
+
_o[_p] = _10.sent(); // SecFetchMode authentication
|
|
962
962
|
_10.label = 14;
|
|
963
963
|
case 14:
|
|
964
964
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
|
|
965
965
|
_q = headerParameters;
|
|
966
|
-
_r = "x-
|
|
967
|
-
return [4 /*yield*/, this.configuration.apiKey("x-
|
|
966
|
+
_r = "x-csrf-token";
|
|
967
|
+
return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
|
|
968
968
|
case 15:
|
|
969
|
-
_q[_r] = _10.sent(); //
|
|
969
|
+
_q[_r] = _10.sent(); // CsrfToken authentication
|
|
970
970
|
_10.label = 16;
|
|
971
971
|
case 16:
|
|
972
|
-
if (!(this.configuration && this.configuration.
|
|
972
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
|
|
973
|
+
_s = headerParameters;
|
|
974
|
+
_t = "x-guest-token";
|
|
975
|
+
return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
|
|
976
|
+
case 17:
|
|
977
|
+
_s[_t] = _10.sent(); // GuestToken authentication
|
|
978
|
+
_10.label = 18;
|
|
979
|
+
case 18:
|
|
980
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
|
|
973
981
|
token = this.configuration.accessToken;
|
|
974
982
|
return [4 /*yield*/, token("BearerAuth", [])];
|
|
975
|
-
case
|
|
983
|
+
case 19:
|
|
976
984
|
tokenString = _10.sent();
|
|
977
985
|
if (tokenString) {
|
|
978
986
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
979
987
|
}
|
|
980
|
-
_10.label = 18;
|
|
981
|
-
case 18:
|
|
982
|
-
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
|
|
983
|
-
_s = headerParameters;
|
|
984
|
-
_t = "Sec-Ch-Ua";
|
|
985
|
-
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
986
|
-
case 19:
|
|
987
|
-
_s[_t] = _10.sent(); // SecChUa authentication
|
|
988
988
|
_10.label = 20;
|
|
989
989
|
case 20:
|
|
990
990
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
|
|
991
991
|
_u = headerParameters;
|
|
992
|
-
_v = "
|
|
993
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
992
|
+
_v = "Sec-Ch-Ua";
|
|
993
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
994
994
|
case 21:
|
|
995
|
-
_u[_v] = _10.sent(); //
|
|
995
|
+
_u[_v] = _10.sent(); // SecChUa authentication
|
|
996
996
|
_10.label = 22;
|
|
997
997
|
case 22:
|
|
998
998
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
|
|
999
999
|
_w = headerParameters;
|
|
1000
|
-
_x = "user
|
|
1001
|
-
return [4 /*yield*/, this.configuration.apiKey("user
|
|
1000
|
+
_x = "x-twitter-active-user";
|
|
1001
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
|
|
1002
1002
|
case 23:
|
|
1003
|
-
_w[_x] = _10.sent(); //
|
|
1003
|
+
_w[_x] = _10.sent(); // ActiveUser authentication
|
|
1004
1004
|
_10.label = 24;
|
|
1005
1005
|
case 24:
|
|
1006
1006
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
|
|
1007
1007
|
_y = headerParameters;
|
|
1008
|
-
_z = "
|
|
1009
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
1008
|
+
_z = "user-agent";
|
|
1009
|
+
return [4 /*yield*/, this.configuration.apiKey("user-agent")];
|
|
1010
1010
|
case 25:
|
|
1011
|
-
_y[_z] = _10.sent(); //
|
|
1011
|
+
_y[_z] = _10.sent(); // UserAgent authentication
|
|
1012
1012
|
_10.label = 26;
|
|
1013
1013
|
case 26:
|
|
1014
1014
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
|
|
1015
1015
|
_0 = headerParameters;
|
|
1016
|
-
_1 = "
|
|
1017
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
1016
|
+
_1 = "Accept-Language";
|
|
1017
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
|
|
1018
1018
|
case 27:
|
|
1019
|
-
_0[_1] = _10.sent(); //
|
|
1019
|
+
_0[_1] = _10.sent(); // AcceptLanguage authentication
|
|
1020
1020
|
_10.label = 28;
|
|
1021
1021
|
case 28:
|
|
1022
1022
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
|
|
1023
1023
|
_2 = headerParameters;
|
|
1024
|
-
_3 = "
|
|
1025
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
1024
|
+
_3 = "Sec-Fetch-Site";
|
|
1025
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
|
|
1026
1026
|
case 29:
|
|
1027
|
-
_2[_3] = _10.sent(); //
|
|
1027
|
+
_2[_3] = _10.sent(); // SecFetchSite authentication
|
|
1028
1028
|
_10.label = 30;
|
|
1029
1029
|
case 30:
|
|
1030
1030
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
|
|
1031
1031
|
_4 = headerParameters;
|
|
1032
|
-
_5 = "
|
|
1033
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
1032
|
+
_5 = "x-twitter-auth-type";
|
|
1033
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
|
|
1034
1034
|
case 31:
|
|
1035
|
-
_4[_5] = _10.sent(); //
|
|
1035
|
+
_4[_5] = _10.sent(); // AuthType authentication
|
|
1036
1036
|
_10.label = 32;
|
|
1037
1037
|
case 32:
|
|
1038
1038
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
|
|
@@ -1051,7 +1051,7 @@ var UserListApi = /** @class */ (function (_super) {
|
|
|
1051
1051
|
_8[_9] = _10.sent(); // AcceptEncoding authentication
|
|
1052
1052
|
_10.label = 36;
|
|
1053
1053
|
case 36: return [4 /*yield*/, this.request({
|
|
1054
|
-
path: "/graphql/{pathQueryId}/Retweeters".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters
|
|
1054
|
+
path: "/graphql/{pathQueryId}/Retweeters".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
|
|
1055
1055
|
method: 'GET',
|
|
1056
1056
|
headers: headerParameters,
|
|
1057
1057
|
query: queryParameters,
|