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/PostApi.js
CHANGED
|
@@ -80,15 +80,15 @@ var PostApi = /** @class */ (function (_super) {
|
|
|
80
80
|
*/
|
|
81
81
|
PostApi.prototype.postCreateRetweetRaw = 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 postCreateRetweet().');
|
|
89
89
|
}
|
|
90
|
-
if (requestParameters
|
|
91
|
-
throw new runtime.RequiredError('postCreateRetweetRequest', 'Required parameter
|
|
90
|
+
if (requestParameters['postCreateRetweetRequest'] == null) {
|
|
91
|
+
throw new runtime.RequiredError('postCreateRetweetRequest', 'Required parameter "postCreateRetweetRequest" was null or undefined when calling postCreateRetweet().');
|
|
92
92
|
}
|
|
93
93
|
queryParameters = {};
|
|
94
94
|
headerParameters = {};
|
|
@@ -111,116 +111,116 @@ var PostApi = /** @class */ (function (_super) {
|
|
|
111
111
|
case 4:
|
|
112
112
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
|
|
113
113
|
_e = headerParameters;
|
|
114
|
-
_f = "
|
|
115
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
114
|
+
_f = "Priority";
|
|
115
|
+
return [4 /*yield*/, this.configuration.apiKey("Priority")];
|
|
116
116
|
case 5:
|
|
117
|
-
_e[_f] = _10.sent(); //
|
|
117
|
+
_e[_f] = _10.sent(); // Priority authentication
|
|
118
118
|
_10.label = 6;
|
|
119
119
|
case 6:
|
|
120
120
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
|
|
121
121
|
_g = headerParameters;
|
|
122
|
-
_h = "
|
|
123
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
122
|
+
_h = "Sec-Fetch-Dest";
|
|
123
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
|
|
124
124
|
case 7:
|
|
125
|
-
_g[_h] = _10.sent(); //
|
|
125
|
+
_g[_h] = _10.sent(); // SecFetchDest authentication
|
|
126
126
|
_10.label = 8;
|
|
127
127
|
case 8:
|
|
128
128
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
|
|
129
129
|
_j = headerParameters;
|
|
130
|
-
_k = "
|
|
131
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
130
|
+
_k = "Referer";
|
|
131
|
+
return [4 /*yield*/, this.configuration.apiKey("Referer")];
|
|
132
132
|
case 9:
|
|
133
|
-
_j[_k] = _10.sent(); //
|
|
133
|
+
_j[_k] = _10.sent(); // Referer authentication
|
|
134
134
|
_10.label = 10;
|
|
135
135
|
case 10:
|
|
136
136
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
|
|
137
137
|
_l = headerParameters;
|
|
138
|
-
_m = "Sec-
|
|
139
|
-
return [4 /*yield*/, this.configuration.apiKey("Sec-
|
|
138
|
+
_m = "Sec-Ch-Ua-Platform";
|
|
139
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
|
|
140
140
|
case 11:
|
|
141
|
-
_l[_m] = _10.sent(); //
|
|
141
|
+
_l[_m] = _10.sent(); // SecChUaPlatform authentication
|
|
142
142
|
_10.label = 12;
|
|
143
143
|
case 12:
|
|
144
144
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
|
|
145
145
|
_o = headerParameters;
|
|
146
|
-
_p = "
|
|
147
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
146
|
+
_p = "Sec-Fetch-Mode";
|
|
147
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
|
|
148
148
|
case 13:
|
|
149
|
-
_o[_p] = _10.sent(); //
|
|
149
|
+
_o[_p] = _10.sent(); // SecFetchMode authentication
|
|
150
150
|
_10.label = 14;
|
|
151
151
|
case 14:
|
|
152
152
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
|
|
153
153
|
_q = headerParameters;
|
|
154
|
-
_r = "x-
|
|
155
|
-
return [4 /*yield*/, this.configuration.apiKey("x-
|
|
154
|
+
_r = "x-csrf-token";
|
|
155
|
+
return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
|
|
156
156
|
case 15:
|
|
157
|
-
_q[_r] = _10.sent(); //
|
|
157
|
+
_q[_r] = _10.sent(); // CsrfToken authentication
|
|
158
158
|
_10.label = 16;
|
|
159
159
|
case 16:
|
|
160
|
-
if (!(this.configuration && this.configuration.
|
|
160
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
|
|
161
|
+
_s = headerParameters;
|
|
162
|
+
_t = "x-guest-token";
|
|
163
|
+
return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
|
|
164
|
+
case 17:
|
|
165
|
+
_s[_t] = _10.sent(); // GuestToken authentication
|
|
166
|
+
_10.label = 18;
|
|
167
|
+
case 18:
|
|
168
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
|
|
161
169
|
token = this.configuration.accessToken;
|
|
162
170
|
return [4 /*yield*/, token("BearerAuth", [])];
|
|
163
|
-
case
|
|
171
|
+
case 19:
|
|
164
172
|
tokenString = _10.sent();
|
|
165
173
|
if (tokenString) {
|
|
166
174
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
167
175
|
}
|
|
168
|
-
_10.label = 18;
|
|
169
|
-
case 18:
|
|
170
|
-
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
|
|
171
|
-
_s = headerParameters;
|
|
172
|
-
_t = "Sec-Ch-Ua";
|
|
173
|
-
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
174
|
-
case 19:
|
|
175
|
-
_s[_t] = _10.sent(); // SecChUa authentication
|
|
176
176
|
_10.label = 20;
|
|
177
177
|
case 20:
|
|
178
178
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
|
|
179
179
|
_u = headerParameters;
|
|
180
|
-
_v = "
|
|
181
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
180
|
+
_v = "Sec-Ch-Ua";
|
|
181
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
182
182
|
case 21:
|
|
183
|
-
_u[_v] = _10.sent(); //
|
|
183
|
+
_u[_v] = _10.sent(); // SecChUa authentication
|
|
184
184
|
_10.label = 22;
|
|
185
185
|
case 22:
|
|
186
186
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
|
|
187
187
|
_w = headerParameters;
|
|
188
|
-
_x = "user
|
|
189
|
-
return [4 /*yield*/, this.configuration.apiKey("user
|
|
188
|
+
_x = "x-twitter-active-user";
|
|
189
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
|
|
190
190
|
case 23:
|
|
191
|
-
_w[_x] = _10.sent(); //
|
|
191
|
+
_w[_x] = _10.sent(); // ActiveUser authentication
|
|
192
192
|
_10.label = 24;
|
|
193
193
|
case 24:
|
|
194
194
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
|
|
195
195
|
_y = headerParameters;
|
|
196
|
-
_z = "
|
|
197
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
196
|
+
_z = "user-agent";
|
|
197
|
+
return [4 /*yield*/, this.configuration.apiKey("user-agent")];
|
|
198
198
|
case 25:
|
|
199
|
-
_y[_z] = _10.sent(); //
|
|
199
|
+
_y[_z] = _10.sent(); // UserAgent authentication
|
|
200
200
|
_10.label = 26;
|
|
201
201
|
case 26:
|
|
202
202
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
|
|
203
203
|
_0 = headerParameters;
|
|
204
|
-
_1 = "
|
|
205
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
204
|
+
_1 = "Accept-Language";
|
|
205
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
|
|
206
206
|
case 27:
|
|
207
|
-
_0[_1] = _10.sent(); //
|
|
207
|
+
_0[_1] = _10.sent(); // AcceptLanguage authentication
|
|
208
208
|
_10.label = 28;
|
|
209
209
|
case 28:
|
|
210
210
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
|
|
211
211
|
_2 = headerParameters;
|
|
212
|
-
_3 = "
|
|
213
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
212
|
+
_3 = "Sec-Fetch-Site";
|
|
213
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
|
|
214
214
|
case 29:
|
|
215
|
-
_2[_3] = _10.sent(); //
|
|
215
|
+
_2[_3] = _10.sent(); // SecFetchSite authentication
|
|
216
216
|
_10.label = 30;
|
|
217
217
|
case 30:
|
|
218
218
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
|
|
219
219
|
_4 = headerParameters;
|
|
220
|
-
_5 = "
|
|
221
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
220
|
+
_5 = "x-twitter-auth-type";
|
|
221
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
|
|
222
222
|
case 31:
|
|
223
|
-
_4[_5] = _10.sent(); //
|
|
223
|
+
_4[_5] = _10.sent(); // AuthType authentication
|
|
224
224
|
_10.label = 32;
|
|
225
225
|
case 32:
|
|
226
226
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
|
|
@@ -239,11 +239,11 @@ var PostApi = /** @class */ (function (_super) {
|
|
|
239
239
|
_8[_9] = _10.sent(); // AcceptEncoding authentication
|
|
240
240
|
_10.label = 36;
|
|
241
241
|
case 36: return [4 /*yield*/, this.request({
|
|
242
|
-
path: "/graphql/{pathQueryId}/CreateRetweet".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters
|
|
242
|
+
path: "/graphql/{pathQueryId}/CreateRetweet".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
|
|
243
243
|
method: 'POST',
|
|
244
244
|
headers: headerParameters,
|
|
245
245
|
query: queryParameters,
|
|
246
|
-
body: (0, index_1.PostCreateRetweetRequestToJSON)(requestParameters
|
|
246
|
+
body: (0, index_1.PostCreateRetweetRequestToJSON)(requestParameters['postCreateRetweetRequest']),
|
|
247
247
|
}, initOverrides)];
|
|
248
248
|
case 37:
|
|
249
249
|
response = _10.sent();
|
|
@@ -274,15 +274,15 @@ var PostApi = /** @class */ (function (_super) {
|
|
|
274
274
|
*/
|
|
275
275
|
PostApi.prototype.postCreateTweetRaw = function (requestParameters, initOverrides) {
|
|
276
276
|
return __awaiter(this, void 0, void 0, function () {
|
|
277
|
-
var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r,
|
|
277
|
+
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;
|
|
278
278
|
return __generator(this, function (_10) {
|
|
279
279
|
switch (_10.label) {
|
|
280
280
|
case 0:
|
|
281
|
-
if (requestParameters
|
|
282
|
-
throw new runtime.RequiredError('pathQueryId', 'Required parameter
|
|
281
|
+
if (requestParameters['pathQueryId'] == null) {
|
|
282
|
+
throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling postCreateTweet().');
|
|
283
283
|
}
|
|
284
|
-
if (requestParameters
|
|
285
|
-
throw new runtime.RequiredError('postCreateTweetRequest', 'Required parameter
|
|
284
|
+
if (requestParameters['postCreateTweetRequest'] == null) {
|
|
285
|
+
throw new runtime.RequiredError('postCreateTweetRequest', 'Required parameter "postCreateTweetRequest" was null or undefined when calling postCreateTweet().');
|
|
286
286
|
}
|
|
287
287
|
queryParameters = {};
|
|
288
288
|
headerParameters = {};
|
|
@@ -305,116 +305,116 @@ var PostApi = /** @class */ (function (_super) {
|
|
|
305
305
|
case 4:
|
|
306
306
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
|
|
307
307
|
_e = headerParameters;
|
|
308
|
-
_f = "
|
|
309
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
308
|
+
_f = "Priority";
|
|
309
|
+
return [4 /*yield*/, this.configuration.apiKey("Priority")];
|
|
310
310
|
case 5:
|
|
311
|
-
_e[_f] = _10.sent(); //
|
|
311
|
+
_e[_f] = _10.sent(); // Priority authentication
|
|
312
312
|
_10.label = 6;
|
|
313
313
|
case 6:
|
|
314
314
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
|
|
315
315
|
_g = headerParameters;
|
|
316
|
-
_h = "
|
|
317
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
316
|
+
_h = "Sec-Fetch-Dest";
|
|
317
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
|
|
318
318
|
case 7:
|
|
319
|
-
_g[_h] = _10.sent(); //
|
|
319
|
+
_g[_h] = _10.sent(); // SecFetchDest authentication
|
|
320
320
|
_10.label = 8;
|
|
321
321
|
case 8:
|
|
322
322
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
|
|
323
323
|
_j = headerParameters;
|
|
324
|
-
_k = "
|
|
325
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
324
|
+
_k = "Referer";
|
|
325
|
+
return [4 /*yield*/, this.configuration.apiKey("Referer")];
|
|
326
326
|
case 9:
|
|
327
|
-
_j[_k] = _10.sent(); //
|
|
327
|
+
_j[_k] = _10.sent(); // Referer authentication
|
|
328
328
|
_10.label = 10;
|
|
329
329
|
case 10:
|
|
330
330
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
|
|
331
331
|
_l = headerParameters;
|
|
332
|
-
_m = "Sec-
|
|
333
|
-
return [4 /*yield*/, this.configuration.apiKey("Sec-
|
|
332
|
+
_m = "Sec-Ch-Ua-Platform";
|
|
333
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
|
|
334
334
|
case 11:
|
|
335
|
-
_l[_m] = _10.sent(); //
|
|
335
|
+
_l[_m] = _10.sent(); // SecChUaPlatform authentication
|
|
336
336
|
_10.label = 12;
|
|
337
337
|
case 12:
|
|
338
338
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
|
|
339
339
|
_o = headerParameters;
|
|
340
|
-
_p = "
|
|
341
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
340
|
+
_p = "Sec-Fetch-Mode";
|
|
341
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
|
|
342
342
|
case 13:
|
|
343
|
-
_o[_p] = _10.sent(); //
|
|
343
|
+
_o[_p] = _10.sent(); // SecFetchMode authentication
|
|
344
344
|
_10.label = 14;
|
|
345
345
|
case 14:
|
|
346
346
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
|
|
347
347
|
_q = headerParameters;
|
|
348
|
-
_r = "x-
|
|
349
|
-
return [4 /*yield*/, this.configuration.apiKey("x-
|
|
348
|
+
_r = "x-csrf-token";
|
|
349
|
+
return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
|
|
350
350
|
case 15:
|
|
351
|
-
_q[_r] = _10.sent(); //
|
|
351
|
+
_q[_r] = _10.sent(); // CsrfToken authentication
|
|
352
352
|
_10.label = 16;
|
|
353
353
|
case 16:
|
|
354
|
-
if (!(this.configuration && this.configuration.
|
|
354
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
|
|
355
|
+
_s = headerParameters;
|
|
356
|
+
_t = "x-guest-token";
|
|
357
|
+
return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
|
|
358
|
+
case 17:
|
|
359
|
+
_s[_t] = _10.sent(); // GuestToken authentication
|
|
360
|
+
_10.label = 18;
|
|
361
|
+
case 18:
|
|
362
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
|
|
355
363
|
token = this.configuration.accessToken;
|
|
356
364
|
return [4 /*yield*/, token("BearerAuth", [])];
|
|
357
|
-
case
|
|
365
|
+
case 19:
|
|
358
366
|
tokenString = _10.sent();
|
|
359
367
|
if (tokenString) {
|
|
360
368
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
361
369
|
}
|
|
362
|
-
_10.label = 18;
|
|
363
|
-
case 18:
|
|
364
|
-
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
|
|
365
|
-
_s = headerParameters;
|
|
366
|
-
_t = "Sec-Ch-Ua";
|
|
367
|
-
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
368
|
-
case 19:
|
|
369
|
-
_s[_t] = _10.sent(); // SecChUa authentication
|
|
370
370
|
_10.label = 20;
|
|
371
371
|
case 20:
|
|
372
372
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
|
|
373
373
|
_u = headerParameters;
|
|
374
|
-
_v = "
|
|
375
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
374
|
+
_v = "Sec-Ch-Ua";
|
|
375
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
376
376
|
case 21:
|
|
377
|
-
_u[_v] = _10.sent(); //
|
|
377
|
+
_u[_v] = _10.sent(); // SecChUa authentication
|
|
378
378
|
_10.label = 22;
|
|
379
379
|
case 22:
|
|
380
380
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
|
|
381
381
|
_w = headerParameters;
|
|
382
|
-
_x = "user
|
|
383
|
-
return [4 /*yield*/, this.configuration.apiKey("user
|
|
382
|
+
_x = "x-twitter-active-user";
|
|
383
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
|
|
384
384
|
case 23:
|
|
385
|
-
_w[_x] = _10.sent(); //
|
|
385
|
+
_w[_x] = _10.sent(); // ActiveUser authentication
|
|
386
386
|
_10.label = 24;
|
|
387
387
|
case 24:
|
|
388
388
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
|
|
389
389
|
_y = headerParameters;
|
|
390
|
-
_z = "
|
|
391
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
390
|
+
_z = "user-agent";
|
|
391
|
+
return [4 /*yield*/, this.configuration.apiKey("user-agent")];
|
|
392
392
|
case 25:
|
|
393
|
-
_y[_z] = _10.sent(); //
|
|
393
|
+
_y[_z] = _10.sent(); // UserAgent authentication
|
|
394
394
|
_10.label = 26;
|
|
395
395
|
case 26:
|
|
396
396
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
|
|
397
397
|
_0 = headerParameters;
|
|
398
|
-
_1 = "
|
|
399
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
398
|
+
_1 = "Accept-Language";
|
|
399
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
|
|
400
400
|
case 27:
|
|
401
|
-
_0[_1] = _10.sent(); //
|
|
401
|
+
_0[_1] = _10.sent(); // AcceptLanguage authentication
|
|
402
402
|
_10.label = 28;
|
|
403
403
|
case 28:
|
|
404
404
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
|
|
405
405
|
_2 = headerParameters;
|
|
406
|
-
_3 = "
|
|
407
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
406
|
+
_3 = "Sec-Fetch-Site";
|
|
407
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
|
|
408
408
|
case 29:
|
|
409
|
-
_2[_3] = _10.sent(); //
|
|
409
|
+
_2[_3] = _10.sent(); // SecFetchSite authentication
|
|
410
410
|
_10.label = 30;
|
|
411
411
|
case 30:
|
|
412
412
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
|
|
413
413
|
_4 = headerParameters;
|
|
414
|
-
_5 = "
|
|
415
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
414
|
+
_5 = "x-twitter-auth-type";
|
|
415
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
|
|
416
416
|
case 31:
|
|
417
|
-
_4[_5] = _10.sent(); //
|
|
417
|
+
_4[_5] = _10.sent(); // AuthType authentication
|
|
418
418
|
_10.label = 32;
|
|
419
419
|
case 32:
|
|
420
420
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
|
|
@@ -433,11 +433,11 @@ var PostApi = /** @class */ (function (_super) {
|
|
|
433
433
|
_8[_9] = _10.sent(); // AcceptEncoding authentication
|
|
434
434
|
_10.label = 36;
|
|
435
435
|
case 36: return [4 /*yield*/, this.request({
|
|
436
|
-
path: "/graphql/{pathQueryId}/CreateTweet".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters
|
|
436
|
+
path: "/graphql/{pathQueryId}/CreateTweet".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
|
|
437
437
|
method: 'POST',
|
|
438
438
|
headers: headerParameters,
|
|
439
439
|
query: queryParameters,
|
|
440
|
-
body: (0, index_1.PostCreateTweetRequestToJSON)(requestParameters
|
|
440
|
+
body: (0, index_1.PostCreateTweetRequestToJSON)(requestParameters['postCreateTweetRequest']),
|
|
441
441
|
}, initOverrides)];
|
|
442
442
|
case 37:
|
|
443
443
|
response = _10.sent();
|
|
@@ -468,15 +468,15 @@ var PostApi = /** @class */ (function (_super) {
|
|
|
468
468
|
*/
|
|
469
469
|
PostApi.prototype.postDeleteRetweetRaw = function (requestParameters, initOverrides) {
|
|
470
470
|
return __awaiter(this, void 0, void 0, function () {
|
|
471
|
-
var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r,
|
|
471
|
+
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;
|
|
472
472
|
return __generator(this, function (_10) {
|
|
473
473
|
switch (_10.label) {
|
|
474
474
|
case 0:
|
|
475
|
-
if (requestParameters
|
|
476
|
-
throw new runtime.RequiredError('pathQueryId', 'Required parameter
|
|
475
|
+
if (requestParameters['pathQueryId'] == null) {
|
|
476
|
+
throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling postDeleteRetweet().');
|
|
477
477
|
}
|
|
478
|
-
if (requestParameters
|
|
479
|
-
throw new runtime.RequiredError('postDeleteRetweetRequest', 'Required parameter
|
|
478
|
+
if (requestParameters['postDeleteRetweetRequest'] == null) {
|
|
479
|
+
throw new runtime.RequiredError('postDeleteRetweetRequest', 'Required parameter "postDeleteRetweetRequest" was null or undefined when calling postDeleteRetweet().');
|
|
480
480
|
}
|
|
481
481
|
queryParameters = {};
|
|
482
482
|
headerParameters = {};
|
|
@@ -499,116 +499,116 @@ var PostApi = /** @class */ (function (_super) {
|
|
|
499
499
|
case 4:
|
|
500
500
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
|
|
501
501
|
_e = headerParameters;
|
|
502
|
-
_f = "
|
|
503
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
502
|
+
_f = "Priority";
|
|
503
|
+
return [4 /*yield*/, this.configuration.apiKey("Priority")];
|
|
504
504
|
case 5:
|
|
505
|
-
_e[_f] = _10.sent(); //
|
|
505
|
+
_e[_f] = _10.sent(); // Priority authentication
|
|
506
506
|
_10.label = 6;
|
|
507
507
|
case 6:
|
|
508
508
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
|
|
509
509
|
_g = headerParameters;
|
|
510
|
-
_h = "
|
|
511
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
510
|
+
_h = "Sec-Fetch-Dest";
|
|
511
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
|
|
512
512
|
case 7:
|
|
513
|
-
_g[_h] = _10.sent(); //
|
|
513
|
+
_g[_h] = _10.sent(); // SecFetchDest authentication
|
|
514
514
|
_10.label = 8;
|
|
515
515
|
case 8:
|
|
516
516
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
|
|
517
517
|
_j = headerParameters;
|
|
518
|
-
_k = "
|
|
519
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
518
|
+
_k = "Referer";
|
|
519
|
+
return [4 /*yield*/, this.configuration.apiKey("Referer")];
|
|
520
520
|
case 9:
|
|
521
|
-
_j[_k] = _10.sent(); //
|
|
521
|
+
_j[_k] = _10.sent(); // Referer authentication
|
|
522
522
|
_10.label = 10;
|
|
523
523
|
case 10:
|
|
524
524
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
|
|
525
525
|
_l = headerParameters;
|
|
526
|
-
_m = "Sec-
|
|
527
|
-
return [4 /*yield*/, this.configuration.apiKey("Sec-
|
|
526
|
+
_m = "Sec-Ch-Ua-Platform";
|
|
527
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
|
|
528
528
|
case 11:
|
|
529
|
-
_l[_m] = _10.sent(); //
|
|
529
|
+
_l[_m] = _10.sent(); // SecChUaPlatform authentication
|
|
530
530
|
_10.label = 12;
|
|
531
531
|
case 12:
|
|
532
532
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
|
|
533
533
|
_o = headerParameters;
|
|
534
|
-
_p = "
|
|
535
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
534
|
+
_p = "Sec-Fetch-Mode";
|
|
535
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
|
|
536
536
|
case 13:
|
|
537
|
-
_o[_p] = _10.sent(); //
|
|
537
|
+
_o[_p] = _10.sent(); // SecFetchMode authentication
|
|
538
538
|
_10.label = 14;
|
|
539
539
|
case 14:
|
|
540
540
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
|
|
541
541
|
_q = headerParameters;
|
|
542
|
-
_r = "x-
|
|
543
|
-
return [4 /*yield*/, this.configuration.apiKey("x-
|
|
542
|
+
_r = "x-csrf-token";
|
|
543
|
+
return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
|
|
544
544
|
case 15:
|
|
545
|
-
_q[_r] = _10.sent(); //
|
|
545
|
+
_q[_r] = _10.sent(); // CsrfToken authentication
|
|
546
546
|
_10.label = 16;
|
|
547
547
|
case 16:
|
|
548
|
-
if (!(this.configuration && this.configuration.
|
|
548
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
|
|
549
|
+
_s = headerParameters;
|
|
550
|
+
_t = "x-guest-token";
|
|
551
|
+
return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
|
|
552
|
+
case 17:
|
|
553
|
+
_s[_t] = _10.sent(); // GuestToken authentication
|
|
554
|
+
_10.label = 18;
|
|
555
|
+
case 18:
|
|
556
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
|
|
549
557
|
token = this.configuration.accessToken;
|
|
550
558
|
return [4 /*yield*/, token("BearerAuth", [])];
|
|
551
|
-
case
|
|
559
|
+
case 19:
|
|
552
560
|
tokenString = _10.sent();
|
|
553
561
|
if (tokenString) {
|
|
554
562
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
555
563
|
}
|
|
556
|
-
_10.label = 18;
|
|
557
|
-
case 18:
|
|
558
|
-
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
|
|
559
|
-
_s = headerParameters;
|
|
560
|
-
_t = "Sec-Ch-Ua";
|
|
561
|
-
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
562
|
-
case 19:
|
|
563
|
-
_s[_t] = _10.sent(); // SecChUa authentication
|
|
564
564
|
_10.label = 20;
|
|
565
565
|
case 20:
|
|
566
566
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
|
|
567
567
|
_u = headerParameters;
|
|
568
|
-
_v = "
|
|
569
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
568
|
+
_v = "Sec-Ch-Ua";
|
|
569
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
570
570
|
case 21:
|
|
571
|
-
_u[_v] = _10.sent(); //
|
|
571
|
+
_u[_v] = _10.sent(); // SecChUa authentication
|
|
572
572
|
_10.label = 22;
|
|
573
573
|
case 22:
|
|
574
574
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
|
|
575
575
|
_w = headerParameters;
|
|
576
|
-
_x = "user
|
|
577
|
-
return [4 /*yield*/, this.configuration.apiKey("user
|
|
576
|
+
_x = "x-twitter-active-user";
|
|
577
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
|
|
578
578
|
case 23:
|
|
579
|
-
_w[_x] = _10.sent(); //
|
|
579
|
+
_w[_x] = _10.sent(); // ActiveUser authentication
|
|
580
580
|
_10.label = 24;
|
|
581
581
|
case 24:
|
|
582
582
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
|
|
583
583
|
_y = headerParameters;
|
|
584
|
-
_z = "
|
|
585
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
584
|
+
_z = "user-agent";
|
|
585
|
+
return [4 /*yield*/, this.configuration.apiKey("user-agent")];
|
|
586
586
|
case 25:
|
|
587
|
-
_y[_z] = _10.sent(); //
|
|
587
|
+
_y[_z] = _10.sent(); // UserAgent authentication
|
|
588
588
|
_10.label = 26;
|
|
589
589
|
case 26:
|
|
590
590
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
|
|
591
591
|
_0 = headerParameters;
|
|
592
|
-
_1 = "
|
|
593
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
592
|
+
_1 = "Accept-Language";
|
|
593
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
|
|
594
594
|
case 27:
|
|
595
|
-
_0[_1] = _10.sent(); //
|
|
595
|
+
_0[_1] = _10.sent(); // AcceptLanguage authentication
|
|
596
596
|
_10.label = 28;
|
|
597
597
|
case 28:
|
|
598
598
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
|
|
599
599
|
_2 = headerParameters;
|
|
600
|
-
_3 = "
|
|
601
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
600
|
+
_3 = "Sec-Fetch-Site";
|
|
601
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
|
|
602
602
|
case 29:
|
|
603
|
-
_2[_3] = _10.sent(); //
|
|
603
|
+
_2[_3] = _10.sent(); // SecFetchSite authentication
|
|
604
604
|
_10.label = 30;
|
|
605
605
|
case 30:
|
|
606
606
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
|
|
607
607
|
_4 = headerParameters;
|
|
608
|
-
_5 = "
|
|
609
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
608
|
+
_5 = "x-twitter-auth-type";
|
|
609
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
|
|
610
610
|
case 31:
|
|
611
|
-
_4[_5] = _10.sent(); //
|
|
611
|
+
_4[_5] = _10.sent(); // AuthType authentication
|
|
612
612
|
_10.label = 32;
|
|
613
613
|
case 32:
|
|
614
614
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
|
|
@@ -627,11 +627,11 @@ var PostApi = /** @class */ (function (_super) {
|
|
|
627
627
|
_8[_9] = _10.sent(); // AcceptEncoding authentication
|
|
628
628
|
_10.label = 36;
|
|
629
629
|
case 36: return [4 /*yield*/, this.request({
|
|
630
|
-
path: "/graphql/{pathQueryId}/DeleteRetweet".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters
|
|
630
|
+
path: "/graphql/{pathQueryId}/DeleteRetweet".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
|
|
631
631
|
method: 'POST',
|
|
632
632
|
headers: headerParameters,
|
|
633
633
|
query: queryParameters,
|
|
634
|
-
body: (0, index_1.PostDeleteRetweetRequestToJSON)(requestParameters
|
|
634
|
+
body: (0, index_1.PostDeleteRetweetRequestToJSON)(requestParameters['postDeleteRetweetRequest']),
|
|
635
635
|
}, initOverrides)];
|
|
636
636
|
case 37:
|
|
637
637
|
response = _10.sent();
|
|
@@ -662,15 +662,15 @@ var PostApi = /** @class */ (function (_super) {
|
|
|
662
662
|
*/
|
|
663
663
|
PostApi.prototype.postDeleteTweetRaw = function (requestParameters, initOverrides) {
|
|
664
664
|
return __awaiter(this, void 0, void 0, function () {
|
|
665
|
-
var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r,
|
|
665
|
+
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;
|
|
666
666
|
return __generator(this, function (_10) {
|
|
667
667
|
switch (_10.label) {
|
|
668
668
|
case 0:
|
|
669
|
-
if (requestParameters
|
|
670
|
-
throw new runtime.RequiredError('pathQueryId', 'Required parameter
|
|
669
|
+
if (requestParameters['pathQueryId'] == null) {
|
|
670
|
+
throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling postDeleteTweet().');
|
|
671
671
|
}
|
|
672
|
-
if (requestParameters
|
|
673
|
-
throw new runtime.RequiredError('postDeleteTweetRequest', 'Required parameter
|
|
672
|
+
if (requestParameters['postDeleteTweetRequest'] == null) {
|
|
673
|
+
throw new runtime.RequiredError('postDeleteTweetRequest', 'Required parameter "postDeleteTweetRequest" was null or undefined when calling postDeleteTweet().');
|
|
674
674
|
}
|
|
675
675
|
queryParameters = {};
|
|
676
676
|
headerParameters = {};
|
|
@@ -693,116 +693,116 @@ var PostApi = /** @class */ (function (_super) {
|
|
|
693
693
|
case 4:
|
|
694
694
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
|
|
695
695
|
_e = headerParameters;
|
|
696
|
-
_f = "
|
|
697
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
696
|
+
_f = "Priority";
|
|
697
|
+
return [4 /*yield*/, this.configuration.apiKey("Priority")];
|
|
698
698
|
case 5:
|
|
699
|
-
_e[_f] = _10.sent(); //
|
|
699
|
+
_e[_f] = _10.sent(); // Priority authentication
|
|
700
700
|
_10.label = 6;
|
|
701
701
|
case 6:
|
|
702
702
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
|
|
703
703
|
_g = headerParameters;
|
|
704
|
-
_h = "
|
|
705
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
704
|
+
_h = "Sec-Fetch-Dest";
|
|
705
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
|
|
706
706
|
case 7:
|
|
707
|
-
_g[_h] = _10.sent(); //
|
|
707
|
+
_g[_h] = _10.sent(); // SecFetchDest authentication
|
|
708
708
|
_10.label = 8;
|
|
709
709
|
case 8:
|
|
710
710
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
|
|
711
711
|
_j = headerParameters;
|
|
712
|
-
_k = "
|
|
713
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
712
|
+
_k = "Referer";
|
|
713
|
+
return [4 /*yield*/, this.configuration.apiKey("Referer")];
|
|
714
714
|
case 9:
|
|
715
|
-
_j[_k] = _10.sent(); //
|
|
715
|
+
_j[_k] = _10.sent(); // Referer authentication
|
|
716
716
|
_10.label = 10;
|
|
717
717
|
case 10:
|
|
718
718
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
|
|
719
719
|
_l = headerParameters;
|
|
720
|
-
_m = "Sec-
|
|
721
|
-
return [4 /*yield*/, this.configuration.apiKey("Sec-
|
|
720
|
+
_m = "Sec-Ch-Ua-Platform";
|
|
721
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
|
|
722
722
|
case 11:
|
|
723
|
-
_l[_m] = _10.sent(); //
|
|
723
|
+
_l[_m] = _10.sent(); // SecChUaPlatform authentication
|
|
724
724
|
_10.label = 12;
|
|
725
725
|
case 12:
|
|
726
726
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
|
|
727
727
|
_o = headerParameters;
|
|
728
|
-
_p = "
|
|
729
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
728
|
+
_p = "Sec-Fetch-Mode";
|
|
729
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
|
|
730
730
|
case 13:
|
|
731
|
-
_o[_p] = _10.sent(); //
|
|
731
|
+
_o[_p] = _10.sent(); // SecFetchMode authentication
|
|
732
732
|
_10.label = 14;
|
|
733
733
|
case 14:
|
|
734
734
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
|
|
735
735
|
_q = headerParameters;
|
|
736
|
-
_r = "x-
|
|
737
|
-
return [4 /*yield*/, this.configuration.apiKey("x-
|
|
736
|
+
_r = "x-csrf-token";
|
|
737
|
+
return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
|
|
738
738
|
case 15:
|
|
739
|
-
_q[_r] = _10.sent(); //
|
|
739
|
+
_q[_r] = _10.sent(); // CsrfToken authentication
|
|
740
740
|
_10.label = 16;
|
|
741
741
|
case 16:
|
|
742
|
-
if (!(this.configuration && this.configuration.
|
|
742
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
|
|
743
|
+
_s = headerParameters;
|
|
744
|
+
_t = "x-guest-token";
|
|
745
|
+
return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
|
|
746
|
+
case 17:
|
|
747
|
+
_s[_t] = _10.sent(); // GuestToken authentication
|
|
748
|
+
_10.label = 18;
|
|
749
|
+
case 18:
|
|
750
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
|
|
743
751
|
token = this.configuration.accessToken;
|
|
744
752
|
return [4 /*yield*/, token("BearerAuth", [])];
|
|
745
|
-
case
|
|
753
|
+
case 19:
|
|
746
754
|
tokenString = _10.sent();
|
|
747
755
|
if (tokenString) {
|
|
748
756
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
749
757
|
}
|
|
750
|
-
_10.label = 18;
|
|
751
|
-
case 18:
|
|
752
|
-
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
|
|
753
|
-
_s = headerParameters;
|
|
754
|
-
_t = "Sec-Ch-Ua";
|
|
755
|
-
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
756
|
-
case 19:
|
|
757
|
-
_s[_t] = _10.sent(); // SecChUa authentication
|
|
758
758
|
_10.label = 20;
|
|
759
759
|
case 20:
|
|
760
760
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
|
|
761
761
|
_u = headerParameters;
|
|
762
|
-
_v = "
|
|
763
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
762
|
+
_v = "Sec-Ch-Ua";
|
|
763
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
764
764
|
case 21:
|
|
765
|
-
_u[_v] = _10.sent(); //
|
|
765
|
+
_u[_v] = _10.sent(); // SecChUa authentication
|
|
766
766
|
_10.label = 22;
|
|
767
767
|
case 22:
|
|
768
768
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
|
|
769
769
|
_w = headerParameters;
|
|
770
|
-
_x = "user
|
|
771
|
-
return [4 /*yield*/, this.configuration.apiKey("user
|
|
770
|
+
_x = "x-twitter-active-user";
|
|
771
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
|
|
772
772
|
case 23:
|
|
773
|
-
_w[_x] = _10.sent(); //
|
|
773
|
+
_w[_x] = _10.sent(); // ActiveUser authentication
|
|
774
774
|
_10.label = 24;
|
|
775
775
|
case 24:
|
|
776
776
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
|
|
777
777
|
_y = headerParameters;
|
|
778
|
-
_z = "
|
|
779
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
778
|
+
_z = "user-agent";
|
|
779
|
+
return [4 /*yield*/, this.configuration.apiKey("user-agent")];
|
|
780
780
|
case 25:
|
|
781
|
-
_y[_z] = _10.sent(); //
|
|
781
|
+
_y[_z] = _10.sent(); // UserAgent authentication
|
|
782
782
|
_10.label = 26;
|
|
783
783
|
case 26:
|
|
784
784
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
|
|
785
785
|
_0 = headerParameters;
|
|
786
|
-
_1 = "
|
|
787
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
786
|
+
_1 = "Accept-Language";
|
|
787
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
|
|
788
788
|
case 27:
|
|
789
|
-
_0[_1] = _10.sent(); //
|
|
789
|
+
_0[_1] = _10.sent(); // AcceptLanguage authentication
|
|
790
790
|
_10.label = 28;
|
|
791
791
|
case 28:
|
|
792
792
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
|
|
793
793
|
_2 = headerParameters;
|
|
794
|
-
_3 = "
|
|
795
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
794
|
+
_3 = "Sec-Fetch-Site";
|
|
795
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
|
|
796
796
|
case 29:
|
|
797
|
-
_2[_3] = _10.sent(); //
|
|
797
|
+
_2[_3] = _10.sent(); // SecFetchSite authentication
|
|
798
798
|
_10.label = 30;
|
|
799
799
|
case 30:
|
|
800
800
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
|
|
801
801
|
_4 = headerParameters;
|
|
802
|
-
_5 = "
|
|
803
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
802
|
+
_5 = "x-twitter-auth-type";
|
|
803
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
|
|
804
804
|
case 31:
|
|
805
|
-
_4[_5] = _10.sent(); //
|
|
805
|
+
_4[_5] = _10.sent(); // AuthType authentication
|
|
806
806
|
_10.label = 32;
|
|
807
807
|
case 32:
|
|
808
808
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
|
|
@@ -821,11 +821,11 @@ var PostApi = /** @class */ (function (_super) {
|
|
|
821
821
|
_8[_9] = _10.sent(); // AcceptEncoding authentication
|
|
822
822
|
_10.label = 36;
|
|
823
823
|
case 36: return [4 /*yield*/, this.request({
|
|
824
|
-
path: "/graphql/{pathQueryId}/DeleteTweet".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters
|
|
824
|
+
path: "/graphql/{pathQueryId}/DeleteTweet".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
|
|
825
825
|
method: 'POST',
|
|
826
826
|
headers: headerParameters,
|
|
827
827
|
query: queryParameters,
|
|
828
|
-
body: (0, index_1.PostDeleteTweetRequestToJSON)(requestParameters
|
|
828
|
+
body: (0, index_1.PostDeleteTweetRequestToJSON)(requestParameters['postDeleteTweetRequest']),
|
|
829
829
|
}, initOverrides)];
|
|
830
830
|
case 37:
|
|
831
831
|
response = _10.sent();
|
|
@@ -856,15 +856,15 @@ var PostApi = /** @class */ (function (_super) {
|
|
|
856
856
|
*/
|
|
857
857
|
PostApi.prototype.postFavoriteTweetRaw = function (requestParameters, initOverrides) {
|
|
858
858
|
return __awaiter(this, void 0, void 0, function () {
|
|
859
|
-
var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r,
|
|
859
|
+
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;
|
|
860
860
|
return __generator(this, function (_10) {
|
|
861
861
|
switch (_10.label) {
|
|
862
862
|
case 0:
|
|
863
|
-
if (requestParameters
|
|
864
|
-
throw new runtime.RequiredError('pathQueryId', 'Required parameter
|
|
863
|
+
if (requestParameters['pathQueryId'] == null) {
|
|
864
|
+
throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling postFavoriteTweet().');
|
|
865
865
|
}
|
|
866
|
-
if (requestParameters
|
|
867
|
-
throw new runtime.RequiredError('postFavoriteTweetRequest', 'Required parameter
|
|
866
|
+
if (requestParameters['postFavoriteTweetRequest'] == null) {
|
|
867
|
+
throw new runtime.RequiredError('postFavoriteTweetRequest', 'Required parameter "postFavoriteTweetRequest" was null or undefined when calling postFavoriteTweet().');
|
|
868
868
|
}
|
|
869
869
|
queryParameters = {};
|
|
870
870
|
headerParameters = {};
|
|
@@ -887,116 +887,116 @@ var PostApi = /** @class */ (function (_super) {
|
|
|
887
887
|
case 4:
|
|
888
888
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
|
|
889
889
|
_e = headerParameters;
|
|
890
|
-
_f = "
|
|
891
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
890
|
+
_f = "Priority";
|
|
891
|
+
return [4 /*yield*/, this.configuration.apiKey("Priority")];
|
|
892
892
|
case 5:
|
|
893
|
-
_e[_f] = _10.sent(); //
|
|
893
|
+
_e[_f] = _10.sent(); // Priority authentication
|
|
894
894
|
_10.label = 6;
|
|
895
895
|
case 6:
|
|
896
896
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
|
|
897
897
|
_g = headerParameters;
|
|
898
|
-
_h = "
|
|
899
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
898
|
+
_h = "Sec-Fetch-Dest";
|
|
899
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
|
|
900
900
|
case 7:
|
|
901
|
-
_g[_h] = _10.sent(); //
|
|
901
|
+
_g[_h] = _10.sent(); // SecFetchDest authentication
|
|
902
902
|
_10.label = 8;
|
|
903
903
|
case 8:
|
|
904
904
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
|
|
905
905
|
_j = headerParameters;
|
|
906
|
-
_k = "
|
|
907
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
906
|
+
_k = "Referer";
|
|
907
|
+
return [4 /*yield*/, this.configuration.apiKey("Referer")];
|
|
908
908
|
case 9:
|
|
909
|
-
_j[_k] = _10.sent(); //
|
|
909
|
+
_j[_k] = _10.sent(); // Referer authentication
|
|
910
910
|
_10.label = 10;
|
|
911
911
|
case 10:
|
|
912
912
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
|
|
913
913
|
_l = headerParameters;
|
|
914
|
-
_m = "Sec-
|
|
915
|
-
return [4 /*yield*/, this.configuration.apiKey("Sec-
|
|
914
|
+
_m = "Sec-Ch-Ua-Platform";
|
|
915
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
|
|
916
916
|
case 11:
|
|
917
|
-
_l[_m] = _10.sent(); //
|
|
917
|
+
_l[_m] = _10.sent(); // SecChUaPlatform authentication
|
|
918
918
|
_10.label = 12;
|
|
919
919
|
case 12:
|
|
920
920
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
|
|
921
921
|
_o = headerParameters;
|
|
922
|
-
_p = "
|
|
923
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
922
|
+
_p = "Sec-Fetch-Mode";
|
|
923
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
|
|
924
924
|
case 13:
|
|
925
|
-
_o[_p] = _10.sent(); //
|
|
925
|
+
_o[_p] = _10.sent(); // SecFetchMode authentication
|
|
926
926
|
_10.label = 14;
|
|
927
927
|
case 14:
|
|
928
928
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
|
|
929
929
|
_q = headerParameters;
|
|
930
|
-
_r = "x-
|
|
931
|
-
return [4 /*yield*/, this.configuration.apiKey("x-
|
|
930
|
+
_r = "x-csrf-token";
|
|
931
|
+
return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
|
|
932
932
|
case 15:
|
|
933
|
-
_q[_r] = _10.sent(); //
|
|
933
|
+
_q[_r] = _10.sent(); // CsrfToken authentication
|
|
934
934
|
_10.label = 16;
|
|
935
935
|
case 16:
|
|
936
|
-
if (!(this.configuration && this.configuration.
|
|
936
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
|
|
937
|
+
_s = headerParameters;
|
|
938
|
+
_t = "x-guest-token";
|
|
939
|
+
return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
|
|
940
|
+
case 17:
|
|
941
|
+
_s[_t] = _10.sent(); // GuestToken authentication
|
|
942
|
+
_10.label = 18;
|
|
943
|
+
case 18:
|
|
944
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
|
|
937
945
|
token = this.configuration.accessToken;
|
|
938
946
|
return [4 /*yield*/, token("BearerAuth", [])];
|
|
939
|
-
case
|
|
947
|
+
case 19:
|
|
940
948
|
tokenString = _10.sent();
|
|
941
949
|
if (tokenString) {
|
|
942
950
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
943
951
|
}
|
|
944
|
-
_10.label = 18;
|
|
945
|
-
case 18:
|
|
946
|
-
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
|
|
947
|
-
_s = headerParameters;
|
|
948
|
-
_t = "Sec-Ch-Ua";
|
|
949
|
-
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
950
|
-
case 19:
|
|
951
|
-
_s[_t] = _10.sent(); // SecChUa authentication
|
|
952
952
|
_10.label = 20;
|
|
953
953
|
case 20:
|
|
954
954
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
|
|
955
955
|
_u = headerParameters;
|
|
956
|
-
_v = "
|
|
957
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
956
|
+
_v = "Sec-Ch-Ua";
|
|
957
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
958
958
|
case 21:
|
|
959
|
-
_u[_v] = _10.sent(); //
|
|
959
|
+
_u[_v] = _10.sent(); // SecChUa authentication
|
|
960
960
|
_10.label = 22;
|
|
961
961
|
case 22:
|
|
962
962
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
|
|
963
963
|
_w = headerParameters;
|
|
964
|
-
_x = "user
|
|
965
|
-
return [4 /*yield*/, this.configuration.apiKey("user
|
|
964
|
+
_x = "x-twitter-active-user";
|
|
965
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
|
|
966
966
|
case 23:
|
|
967
|
-
_w[_x] = _10.sent(); //
|
|
967
|
+
_w[_x] = _10.sent(); // ActiveUser authentication
|
|
968
968
|
_10.label = 24;
|
|
969
969
|
case 24:
|
|
970
970
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
|
|
971
971
|
_y = headerParameters;
|
|
972
|
-
_z = "
|
|
973
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
972
|
+
_z = "user-agent";
|
|
973
|
+
return [4 /*yield*/, this.configuration.apiKey("user-agent")];
|
|
974
974
|
case 25:
|
|
975
|
-
_y[_z] = _10.sent(); //
|
|
975
|
+
_y[_z] = _10.sent(); // UserAgent authentication
|
|
976
976
|
_10.label = 26;
|
|
977
977
|
case 26:
|
|
978
978
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
|
|
979
979
|
_0 = headerParameters;
|
|
980
|
-
_1 = "
|
|
981
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
980
|
+
_1 = "Accept-Language";
|
|
981
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
|
|
982
982
|
case 27:
|
|
983
|
-
_0[_1] = _10.sent(); //
|
|
983
|
+
_0[_1] = _10.sent(); // AcceptLanguage authentication
|
|
984
984
|
_10.label = 28;
|
|
985
985
|
case 28:
|
|
986
986
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
|
|
987
987
|
_2 = headerParameters;
|
|
988
|
-
_3 = "
|
|
989
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
988
|
+
_3 = "Sec-Fetch-Site";
|
|
989
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
|
|
990
990
|
case 29:
|
|
991
|
-
_2[_3] = _10.sent(); //
|
|
991
|
+
_2[_3] = _10.sent(); // SecFetchSite authentication
|
|
992
992
|
_10.label = 30;
|
|
993
993
|
case 30:
|
|
994
994
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
|
|
995
995
|
_4 = headerParameters;
|
|
996
|
-
_5 = "
|
|
997
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
996
|
+
_5 = "x-twitter-auth-type";
|
|
997
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
|
|
998
998
|
case 31:
|
|
999
|
-
_4[_5] = _10.sent(); //
|
|
999
|
+
_4[_5] = _10.sent(); // AuthType authentication
|
|
1000
1000
|
_10.label = 32;
|
|
1001
1001
|
case 32:
|
|
1002
1002
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
|
|
@@ -1015,11 +1015,11 @@ var PostApi = /** @class */ (function (_super) {
|
|
|
1015
1015
|
_8[_9] = _10.sent(); // AcceptEncoding authentication
|
|
1016
1016
|
_10.label = 36;
|
|
1017
1017
|
case 36: return [4 /*yield*/, this.request({
|
|
1018
|
-
path: "/graphql/{pathQueryId}/FavoriteTweet".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters
|
|
1018
|
+
path: "/graphql/{pathQueryId}/FavoriteTweet".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
|
|
1019
1019
|
method: 'POST',
|
|
1020
1020
|
headers: headerParameters,
|
|
1021
1021
|
query: queryParameters,
|
|
1022
|
-
body: (0, index_1.PostFavoriteTweetRequestToJSON)(requestParameters
|
|
1022
|
+
body: (0, index_1.PostFavoriteTweetRequestToJSON)(requestParameters['postFavoriteTweetRequest']),
|
|
1023
1023
|
}, initOverrides)];
|
|
1024
1024
|
case 37:
|
|
1025
1025
|
response = _10.sent();
|
|
@@ -1050,15 +1050,15 @@ var PostApi = /** @class */ (function (_super) {
|
|
|
1050
1050
|
*/
|
|
1051
1051
|
PostApi.prototype.postUnfavoriteTweetRaw = function (requestParameters, initOverrides) {
|
|
1052
1052
|
return __awaiter(this, void 0, void 0, function () {
|
|
1053
|
-
var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r,
|
|
1053
|
+
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;
|
|
1054
1054
|
return __generator(this, function (_10) {
|
|
1055
1055
|
switch (_10.label) {
|
|
1056
1056
|
case 0:
|
|
1057
|
-
if (requestParameters
|
|
1058
|
-
throw new runtime.RequiredError('pathQueryId', 'Required parameter
|
|
1057
|
+
if (requestParameters['pathQueryId'] == null) {
|
|
1058
|
+
throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling postUnfavoriteTweet().');
|
|
1059
1059
|
}
|
|
1060
|
-
if (requestParameters
|
|
1061
|
-
throw new runtime.RequiredError('postUnfavoriteTweetRequest', 'Required parameter
|
|
1060
|
+
if (requestParameters['postUnfavoriteTweetRequest'] == null) {
|
|
1061
|
+
throw new runtime.RequiredError('postUnfavoriteTweetRequest', 'Required parameter "postUnfavoriteTweetRequest" was null or undefined when calling postUnfavoriteTweet().');
|
|
1062
1062
|
}
|
|
1063
1063
|
queryParameters = {};
|
|
1064
1064
|
headerParameters = {};
|
|
@@ -1081,116 +1081,116 @@ var PostApi = /** @class */ (function (_super) {
|
|
|
1081
1081
|
case 4:
|
|
1082
1082
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
|
|
1083
1083
|
_e = headerParameters;
|
|
1084
|
-
_f = "
|
|
1085
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
1084
|
+
_f = "Priority";
|
|
1085
|
+
return [4 /*yield*/, this.configuration.apiKey("Priority")];
|
|
1086
1086
|
case 5:
|
|
1087
|
-
_e[_f] = _10.sent(); //
|
|
1087
|
+
_e[_f] = _10.sent(); // Priority authentication
|
|
1088
1088
|
_10.label = 6;
|
|
1089
1089
|
case 6:
|
|
1090
1090
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
|
|
1091
1091
|
_g = headerParameters;
|
|
1092
|
-
_h = "
|
|
1093
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
1092
|
+
_h = "Sec-Fetch-Dest";
|
|
1093
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
|
|
1094
1094
|
case 7:
|
|
1095
|
-
_g[_h] = _10.sent(); //
|
|
1095
|
+
_g[_h] = _10.sent(); // SecFetchDest authentication
|
|
1096
1096
|
_10.label = 8;
|
|
1097
1097
|
case 8:
|
|
1098
1098
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
|
|
1099
1099
|
_j = headerParameters;
|
|
1100
|
-
_k = "
|
|
1101
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
1100
|
+
_k = "Referer";
|
|
1101
|
+
return [4 /*yield*/, this.configuration.apiKey("Referer")];
|
|
1102
1102
|
case 9:
|
|
1103
|
-
_j[_k] = _10.sent(); //
|
|
1103
|
+
_j[_k] = _10.sent(); // Referer authentication
|
|
1104
1104
|
_10.label = 10;
|
|
1105
1105
|
case 10:
|
|
1106
1106
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
|
|
1107
1107
|
_l = headerParameters;
|
|
1108
|
-
_m = "Sec-
|
|
1109
|
-
return [4 /*yield*/, this.configuration.apiKey("Sec-
|
|
1108
|
+
_m = "Sec-Ch-Ua-Platform";
|
|
1109
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
|
|
1110
1110
|
case 11:
|
|
1111
|
-
_l[_m] = _10.sent(); //
|
|
1111
|
+
_l[_m] = _10.sent(); // SecChUaPlatform authentication
|
|
1112
1112
|
_10.label = 12;
|
|
1113
1113
|
case 12:
|
|
1114
1114
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
|
|
1115
1115
|
_o = headerParameters;
|
|
1116
|
-
_p = "
|
|
1117
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
1116
|
+
_p = "Sec-Fetch-Mode";
|
|
1117
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
|
|
1118
1118
|
case 13:
|
|
1119
|
-
_o[_p] = _10.sent(); //
|
|
1119
|
+
_o[_p] = _10.sent(); // SecFetchMode authentication
|
|
1120
1120
|
_10.label = 14;
|
|
1121
1121
|
case 14:
|
|
1122
1122
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
|
|
1123
1123
|
_q = headerParameters;
|
|
1124
|
-
_r = "x-
|
|
1125
|
-
return [4 /*yield*/, this.configuration.apiKey("x-
|
|
1124
|
+
_r = "x-csrf-token";
|
|
1125
|
+
return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
|
|
1126
1126
|
case 15:
|
|
1127
|
-
_q[_r] = _10.sent(); //
|
|
1127
|
+
_q[_r] = _10.sent(); // CsrfToken authentication
|
|
1128
1128
|
_10.label = 16;
|
|
1129
1129
|
case 16:
|
|
1130
|
-
if (!(this.configuration && this.configuration.
|
|
1130
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
|
|
1131
|
+
_s = headerParameters;
|
|
1132
|
+
_t = "x-guest-token";
|
|
1133
|
+
return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
|
|
1134
|
+
case 17:
|
|
1135
|
+
_s[_t] = _10.sent(); // GuestToken authentication
|
|
1136
|
+
_10.label = 18;
|
|
1137
|
+
case 18:
|
|
1138
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
|
|
1131
1139
|
token = this.configuration.accessToken;
|
|
1132
1140
|
return [4 /*yield*/, token("BearerAuth", [])];
|
|
1133
|
-
case
|
|
1141
|
+
case 19:
|
|
1134
1142
|
tokenString = _10.sent();
|
|
1135
1143
|
if (tokenString) {
|
|
1136
1144
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
1137
1145
|
}
|
|
1138
|
-
_10.label = 18;
|
|
1139
|
-
case 18:
|
|
1140
|
-
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
|
|
1141
|
-
_s = headerParameters;
|
|
1142
|
-
_t = "Sec-Ch-Ua";
|
|
1143
|
-
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
1144
|
-
case 19:
|
|
1145
|
-
_s[_t] = _10.sent(); // SecChUa authentication
|
|
1146
1146
|
_10.label = 20;
|
|
1147
1147
|
case 20:
|
|
1148
1148
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
|
|
1149
1149
|
_u = headerParameters;
|
|
1150
|
-
_v = "
|
|
1151
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
1150
|
+
_v = "Sec-Ch-Ua";
|
|
1151
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
|
|
1152
1152
|
case 21:
|
|
1153
|
-
_u[_v] = _10.sent(); //
|
|
1153
|
+
_u[_v] = _10.sent(); // SecChUa authentication
|
|
1154
1154
|
_10.label = 22;
|
|
1155
1155
|
case 22:
|
|
1156
1156
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
|
|
1157
1157
|
_w = headerParameters;
|
|
1158
|
-
_x = "user
|
|
1159
|
-
return [4 /*yield*/, this.configuration.apiKey("user
|
|
1158
|
+
_x = "x-twitter-active-user";
|
|
1159
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
|
|
1160
1160
|
case 23:
|
|
1161
|
-
_w[_x] = _10.sent(); //
|
|
1161
|
+
_w[_x] = _10.sent(); // ActiveUser authentication
|
|
1162
1162
|
_10.label = 24;
|
|
1163
1163
|
case 24:
|
|
1164
1164
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
|
|
1165
1165
|
_y = headerParameters;
|
|
1166
|
-
_z = "
|
|
1167
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
1166
|
+
_z = "user-agent";
|
|
1167
|
+
return [4 /*yield*/, this.configuration.apiKey("user-agent")];
|
|
1168
1168
|
case 25:
|
|
1169
|
-
_y[_z] = _10.sent(); //
|
|
1169
|
+
_y[_z] = _10.sent(); // UserAgent authentication
|
|
1170
1170
|
_10.label = 26;
|
|
1171
1171
|
case 26:
|
|
1172
1172
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
|
|
1173
1173
|
_0 = headerParameters;
|
|
1174
|
-
_1 = "
|
|
1175
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
1174
|
+
_1 = "Accept-Language";
|
|
1175
|
+
return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
|
|
1176
1176
|
case 27:
|
|
1177
|
-
_0[_1] = _10.sent(); //
|
|
1177
|
+
_0[_1] = _10.sent(); // AcceptLanguage authentication
|
|
1178
1178
|
_10.label = 28;
|
|
1179
1179
|
case 28:
|
|
1180
1180
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
|
|
1181
1181
|
_2 = headerParameters;
|
|
1182
|
-
_3 = "
|
|
1183
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
1182
|
+
_3 = "Sec-Fetch-Site";
|
|
1183
|
+
return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
|
|
1184
1184
|
case 29:
|
|
1185
|
-
_2[_3] = _10.sent(); //
|
|
1185
|
+
_2[_3] = _10.sent(); // SecFetchSite authentication
|
|
1186
1186
|
_10.label = 30;
|
|
1187
1187
|
case 30:
|
|
1188
1188
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
|
|
1189
1189
|
_4 = headerParameters;
|
|
1190
|
-
_5 = "
|
|
1191
|
-
return [4 /*yield*/, this.configuration.apiKey("
|
|
1190
|
+
_5 = "x-twitter-auth-type";
|
|
1191
|
+
return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
|
|
1192
1192
|
case 31:
|
|
1193
|
-
_4[_5] = _10.sent(); //
|
|
1193
|
+
_4[_5] = _10.sent(); // AuthType authentication
|
|
1194
1194
|
_10.label = 32;
|
|
1195
1195
|
case 32:
|
|
1196
1196
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
|
|
@@ -1209,11 +1209,11 @@ var PostApi = /** @class */ (function (_super) {
|
|
|
1209
1209
|
_8[_9] = _10.sent(); // AcceptEncoding authentication
|
|
1210
1210
|
_10.label = 36;
|
|
1211
1211
|
case 36: return [4 /*yield*/, this.request({
|
|
1212
|
-
path: "/graphql/{pathQueryId}/UnfavoriteTweet".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters
|
|
1212
|
+
path: "/graphql/{pathQueryId}/UnfavoriteTweet".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
|
|
1213
1213
|
method: 'POST',
|
|
1214
1214
|
headers: headerParameters,
|
|
1215
1215
|
query: queryParameters,
|
|
1216
|
-
body: (0, index_1.PostUnfavoriteTweetRequestToJSON)(requestParameters
|
|
1216
|
+
body: (0, index_1.PostUnfavoriteTweetRequestToJSON)(requestParameters['postUnfavoriteTweetRequest']),
|
|
1217
1217
|
}, initOverrides)];
|
|
1218
1218
|
case 37:
|
|
1219
1219
|
response = _10.sent();
|