twitter-openapi-typescript-generated 0.0.4 → 0.0.6
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/.openapi-generator/FILES +6 -1
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +33 -0
- package/dist/apis/DefaultApi.d.ts.map +1 -0
- package/dist/apis/DefaultApi.js +170 -0
- package/dist/apis/DefaultApi.js.map +1 -0
- package/dist/apis/OtherApi.d.ts +27 -0
- package/dist/apis/OtherApi.d.ts.map +1 -0
- package/dist/apis/OtherApi.js +149 -0
- package/dist/apis/OtherApi.js.map +1 -0
- package/dist/apis/PostApi.d.ts +91 -0
- package/dist/apis/PostApi.d.ts.map +1 -0
- package/dist/apis/PostApi.js +537 -0
- package/dist/apis/PostApi.js.map +1 -0
- package/dist/apis/TweetApi.d.ts +145 -0
- package/dist/apis/TweetApi.d.ts.map +1 -0
- package/dist/apis/TweetApi.js +882 -0
- package/dist/apis/TweetApi.js.map +1 -0
- package/dist/apis/UserApi.d.ts +33 -0
- package/dist/apis/UserApi.d.ts.map +1 -0
- package/dist/apis/UserApi.js +170 -0
- package/dist/apis/UserApi.js.map +1 -0
- package/dist/apis/UserListApi.d.ts +47 -0
- package/dist/apis/UserListApi.d.ts.map +1 -0
- package/dist/apis/UserListApi.js +259 -0
- package/dist/apis/UserListApi.js.map +1 -0
- package/dist/apis/V11GetApi.d.ts +61 -0
- package/dist/apis/V11GetApi.d.ts.map +1 -0
- package/dist/apis/V11GetApi.js +350 -0
- package/dist/apis/V11GetApi.js.map +1 -0
- package/dist/apis/V11PostApi.d.ts +66 -0
- package/dist/apis/V11PostApi.d.ts.map +1 -0
- package/dist/apis/V11PostApi.js +406 -0
- package/dist/apis/V11PostApi.js.map +1 -0
- package/dist/apis/V20GetApi.d.ts +65 -0
- package/dist/apis/V20GetApi.d.ts.map +1 -0
- package/dist/apis/V20GetApi.js +368 -0
- package/dist/apis/V20GetApi.js.map +1 -0
- package/dist/apis/index.d.ts +10 -0
- package/dist/apis/index.d.ts.map +1 -0
- package/dist/apis/index.js +28 -0
- package/dist/apis/index.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +22 -0
- package/dist/index.js.map +1 -0
- package/dist/models/BookmarksResponse.d.ts +33 -0
- package/dist/models/BookmarksResponse.d.ts.map +1 -0
- package/dist/models/BookmarksResponse.js +52 -0
- package/dist/models/BookmarksResponse.js.map +1 -0
- package/dist/models/BookmarksResponseData.d.ts +33 -0
- package/dist/models/BookmarksResponseData.d.ts.map +1 -0
- package/dist/models/BookmarksResponseData.js +52 -0
- package/dist/models/BookmarksResponseData.js.map +1 -0
- package/dist/models/BookmarksTimeline.d.ts +33 -0
- package/dist/models/BookmarksTimeline.d.ts.map +1 -0
- package/dist/models/BookmarksTimeline.js +52 -0
- package/dist/models/BookmarksTimeline.js.map +1 -0
- package/dist/models/CommunitiesActions.d.ts +32 -0
- package/dist/models/CommunitiesActions.d.ts.map +1 -0
- package/dist/models/CommunitiesActions.js +51 -0
- package/dist/models/CommunitiesActions.js.map +1 -0
- package/dist/models/ContentEntryType.d.ts +25 -0
- package/dist/models/ContentEntryType.d.ts.map +1 -0
- package/dist/models/ContentEntryType.js +38 -0
- package/dist/models/ContentEntryType.js.map +1 -0
- package/dist/models/ContentItemType.d.ts +25 -0
- package/dist/models/ContentItemType.d.ts.map +1 -0
- package/dist/models/ContentItemType.js +38 -0
- package/dist/models/ContentItemType.js.map +1 -0
- package/dist/models/ContentUnion.d.ts +30 -0
- package/dist/models/ContentUnion.d.ts.map +1 -0
- package/dist/models/ContentUnion.js +70 -0
- package/dist/models/ContentUnion.js.map +1 -0
- package/dist/models/CreateRetweet.d.ts +33 -0
- package/dist/models/CreateRetweet.d.ts.map +1 -0
- package/dist/models/CreateRetweet.js +52 -0
- package/dist/models/CreateRetweet.js.map +1 -0
- package/dist/models/CreateRetweetResponse.d.ts +33 -0
- package/dist/models/CreateRetweetResponse.d.ts.map +1 -0
- package/dist/models/CreateRetweetResponse.js +52 -0
- package/dist/models/CreateRetweetResponse.js.map +1 -0
- package/dist/models/CreateRetweetResponseData.d.ts +33 -0
- package/dist/models/CreateRetweetResponseData.d.ts.map +1 -0
- package/dist/models/CreateRetweetResponseData.js +52 -0
- package/dist/models/CreateRetweetResponseData.js.map +1 -0
- package/dist/models/CreateRetweetResponseResult.d.ts +33 -0
- package/dist/models/CreateRetweetResponseResult.d.ts.map +1 -0
- package/dist/models/CreateRetweetResponseResult.js +52 -0
- package/dist/models/CreateRetweetResponseResult.js.map +1 -0
- package/dist/models/CreateTweet.d.ts +33 -0
- package/dist/models/CreateTweet.d.ts.map +1 -0
- package/dist/models/CreateTweet.js +52 -0
- package/dist/models/CreateTweet.js.map +1 -0
- package/dist/models/CreateTweetResponse.d.ts +33 -0
- package/dist/models/CreateTweetResponse.d.ts.map +1 -0
- package/dist/models/CreateTweetResponse.js +52 -0
- package/dist/models/CreateTweetResponse.js.map +1 -0
- package/dist/models/CreateTweetResponseData.d.ts +33 -0
- package/dist/models/CreateTweetResponseData.d.ts.map +1 -0
- package/dist/models/CreateTweetResponseData.js +52 -0
- package/dist/models/CreateTweetResponseData.js.map +1 -0
- package/dist/models/CreateTweetResponseResult.d.ts +33 -0
- package/dist/models/CreateTweetResponseResult.d.ts.map +1 -0
- package/dist/models/CreateTweetResponseResult.js +52 -0
- package/dist/models/CreateTweetResponseResult.js.map +1 -0
- package/dist/models/DeleteRetweetResponse.d.ts +33 -0
- package/dist/models/DeleteRetweetResponse.d.ts.map +1 -0
- package/dist/models/DeleteRetweetResponse.js +52 -0
- package/dist/models/DeleteRetweetResponse.js.map +1 -0
- package/dist/models/DeleteRetweetResponseData.d.ts +33 -0
- package/dist/models/DeleteRetweetResponseData.d.ts.map +1 -0
- package/dist/models/DeleteRetweetResponseData.js +52 -0
- package/dist/models/DeleteRetweetResponseData.js.map +1 -0
- package/dist/models/DeleteTweetResponse.d.ts +33 -0
- package/dist/models/DeleteTweetResponse.d.ts.map +1 -0
- package/dist/models/DeleteTweetResponse.js +52 -0
- package/dist/models/DeleteTweetResponse.js.map +1 -0
- package/dist/models/DeleteTweetResponseData.d.ts +33 -0
- package/dist/models/DeleteTweetResponseData.d.ts.map +1 -0
- package/dist/models/DeleteTweetResponseData.js +52 -0
- package/dist/models/DeleteTweetResponseData.js.map +1 -0
- package/dist/models/DeleteTweetResponseResult.d.ts +32 -0
- package/dist/models/DeleteTweetResponseResult.d.ts.map +1 -0
- package/dist/models/DeleteTweetResponseResult.js +51 -0
- package/dist/models/DeleteTweetResponseResult.js.map +1 -0
- package/dist/models/Entities.d.ts +58 -0
- package/dist/models/Entities.d.ts.map +1 -0
- package/dist/models/Entities.js +65 -0
- package/dist/models/Entities.js.map +1 -0
- package/dist/models/ExtendedEntities.d.ts +33 -0
- package/dist/models/ExtendedEntities.d.ts.map +1 -0
- package/dist/models/ExtendedEntities.js +52 -0
- package/dist/models/ExtendedEntities.js.map +1 -0
- package/dist/models/FavoriteTweet.d.ts +32 -0
- package/dist/models/FavoriteTweet.d.ts.map +1 -0
- package/dist/models/FavoriteTweet.js +51 -0
- package/dist/models/FavoriteTweet.js.map +1 -0
- package/dist/models/FavoriteTweetResponseData.d.ts +33 -0
- package/dist/models/FavoriteTweetResponseData.d.ts.map +1 -0
- package/dist/models/FavoriteTweetResponseData.js +52 -0
- package/dist/models/FavoriteTweetResponseData.js.map +1 -0
- package/dist/models/FollowResponse.d.ts +33 -0
- package/dist/models/FollowResponse.d.ts.map +1 -0
- package/dist/models/FollowResponse.js +52 -0
- package/dist/models/FollowResponse.js.map +1 -0
- package/dist/models/FollowResponseData.d.ts +33 -0
- package/dist/models/FollowResponseData.d.ts.map +1 -0
- package/dist/models/FollowResponseData.js +52 -0
- package/dist/models/FollowResponseData.js.map +1 -0
- package/dist/models/FollowResponseResult.d.ts +40 -0
- package/dist/models/FollowResponseResult.d.ts.map +1 -0
- package/dist/models/FollowResponseResult.js +56 -0
- package/dist/models/FollowResponseResult.js.map +1 -0
- package/dist/models/FollowResponseUser.d.ts +33 -0
- package/dist/models/FollowResponseUser.d.ts.map +1 -0
- package/dist/models/FollowResponseUser.js +52 -0
- package/dist/models/FollowResponseUser.js.map +1 -0
- package/dist/models/FollowTimeline.d.ts +33 -0
- package/dist/models/FollowTimeline.d.ts.map +1 -0
- package/dist/models/FollowTimeline.js +52 -0
- package/dist/models/FollowTimeline.js.map +1 -0
- package/dist/models/HomeTimelineHome.d.ts +33 -0
- package/dist/models/HomeTimelineHome.d.ts.map +1 -0
- package/dist/models/HomeTimelineHome.js +52 -0
- package/dist/models/HomeTimelineHome.js.map +1 -0
- package/dist/models/HomeTimelineResponseData.d.ts +33 -0
- package/dist/models/HomeTimelineResponseData.d.ts.map +1 -0
- package/dist/models/HomeTimelineResponseData.js +52 -0
- package/dist/models/HomeTimelineResponseData.js.map +1 -0
- package/dist/models/InstructionType.d.ts +26 -0
- package/dist/models/InstructionType.d.ts.map +1 -0
- package/dist/models/InstructionType.js +39 -0
- package/dist/models/InstructionType.js.map +1 -0
- package/dist/models/InstructionUnion.d.ts +33 -0
- package/dist/models/InstructionUnion.d.ts.map +1 -0
- package/dist/models/InstructionUnion.js +75 -0
- package/dist/models/InstructionUnion.js.map +1 -0
- package/dist/models/ItemContentUnion.d.ts +30 -0
- package/dist/models/ItemContentUnion.d.ts.map +1 -0
- package/dist/models/ItemContentUnion.js +70 -0
- package/dist/models/ItemContentUnion.js.map +1 -0
- package/dist/models/ItemResult.d.ts +40 -0
- package/dist/models/ItemResult.d.ts.map +1 -0
- package/dist/models/ItemResult.js +56 -0
- package/dist/models/ItemResult.js.map +1 -0
- package/dist/models/ListTweetsTimeline.d.ts +33 -0
- package/dist/models/ListTweetsTimeline.d.ts.map +1 -0
- package/dist/models/ListTweetsTimeline.js +52 -0
- package/dist/models/ListTweetsTimeline.js.map +1 -0
- package/dist/models/ListTweetsTimelineData.d.ts +33 -0
- package/dist/models/ListTweetsTimelineData.d.ts.map +1 -0
- package/dist/models/ListTweetsTimelineData.js +52 -0
- package/dist/models/ListTweetsTimelineData.js.map +1 -0
- package/dist/models/ListTweetsTimelineList.d.ts +33 -0
- package/dist/models/ListTweetsTimelineList.d.ts.map +1 -0
- package/dist/models/ListTweetsTimelineList.js +52 -0
- package/dist/models/ListTweetsTimelineList.js.map +1 -0
- package/dist/models/ListTweetsTimelineResponse.d.ts +33 -0
- package/dist/models/ListTweetsTimelineResponse.d.ts.map +1 -0
- package/dist/models/ListTweetsTimelineResponse.js +52 -0
- package/dist/models/ListTweetsTimelineResponse.js.map +1 -0
- package/dist/models/Media.d.ts +93 -0
- package/dist/models/Media.d.ts.map +1 -0
- package/dist/models/Media.js +81 -0
- package/dist/models/Media.js.map +1 -0
- package/dist/models/MediaOriginalInfo.d.ts +44 -0
- package/dist/models/MediaOriginalInfo.d.ts.map +1 -0
- package/dist/models/MediaOriginalInfo.js +55 -0
- package/dist/models/MediaOriginalInfo.js.map +1 -0
- package/dist/models/ModuleEntry.d.ts +39 -0
- package/dist/models/ModuleEntry.d.ts.map +1 -0
- package/dist/models/ModuleEntry.js +55 -0
- package/dist/models/ModuleEntry.js.map +1 -0
- package/dist/models/ModuleItem.d.ts +39 -0
- package/dist/models/ModuleItem.d.ts.map +1 -0
- package/dist/models/ModuleItem.js +55 -0
- package/dist/models/ModuleItem.js.map +1 -0
- package/dist/models/OneFactorLoginEligibility.d.ts +32 -0
- package/dist/models/OneFactorLoginEligibility.d.ts.map +1 -0
- package/dist/models/OneFactorLoginEligibility.js +51 -0
- package/dist/models/OneFactorLoginEligibility.js.map +1 -0
- package/dist/models/OtherResponse.d.ts +33 -0
- package/dist/models/OtherResponse.d.ts.map +1 -0
- package/dist/models/OtherResponse.js +52 -0
- package/dist/models/OtherResponse.js.map +1 -0
- package/dist/models/PostCreateRetweetRequest.d.ts +39 -0
- package/dist/models/PostCreateRetweetRequest.d.ts.map +1 -0
- package/dist/models/PostCreateRetweetRequest.js +55 -0
- package/dist/models/PostCreateRetweetRequest.js.map +1 -0
- package/dist/models/PostCreateRetweetRequestVariables.d.ts +38 -0
- package/dist/models/PostCreateRetweetRequestVariables.d.ts.map +1 -0
- package/dist/models/PostCreateRetweetRequestVariables.js +54 -0
- package/dist/models/PostCreateRetweetRequestVariables.js.map +1 -0
- package/dist/models/PostCreateTweetRequest.d.ts +46 -0
- package/dist/models/PostCreateTweetRequest.d.ts.map +1 -0
- package/dist/models/PostCreateTweetRequest.js +59 -0
- package/dist/models/PostCreateTweetRequest.js.map +1 -0
- package/dist/models/PostCreateTweetRequestFeatures.d.ts +140 -0
- package/dist/models/PostCreateTweetRequestFeatures.d.ts.map +1 -0
- package/dist/models/PostCreateTweetRequestFeatures.js +105 -0
- package/dist/models/PostCreateTweetRequestFeatures.js.map +1 -0
- package/dist/models/PostCreateTweetRequestVariables.d.ts +51 -0
- package/dist/models/PostCreateTweetRequestVariables.d.ts.map +1 -0
- package/dist/models/PostCreateTweetRequestVariables.js +61 -0
- package/dist/models/PostCreateTweetRequestVariables.js.map +1 -0
- package/dist/models/PostCreateTweetRequestVariablesMedia.d.ts +38 -0
- package/dist/models/PostCreateTweetRequestVariablesMedia.d.ts.map +1 -0
- package/dist/models/PostCreateTweetRequestVariablesMedia.js +54 -0
- package/dist/models/PostCreateTweetRequestVariablesMedia.js.map +1 -0
- package/dist/models/PostDeleteRetweetRequest.d.ts +39 -0
- package/dist/models/PostDeleteRetweetRequest.d.ts.map +1 -0
- package/dist/models/PostDeleteRetweetRequest.js +55 -0
- package/dist/models/PostDeleteRetweetRequest.js.map +1 -0
- package/dist/models/PostDeleteRetweetRequestVariables.d.ts +38 -0
- package/dist/models/PostDeleteRetweetRequestVariables.d.ts.map +1 -0
- package/dist/models/PostDeleteRetweetRequestVariables.js +54 -0
- package/dist/models/PostDeleteRetweetRequestVariables.js.map +1 -0
- package/dist/models/PostDeleteTweetRequest.d.ts +39 -0
- package/dist/models/PostDeleteTweetRequest.d.ts.map +1 -0
- package/dist/models/PostDeleteTweetRequest.js +55 -0
- package/dist/models/PostDeleteTweetRequest.js.map +1 -0
- package/dist/models/PostFavoriteTweetRequest.d.ts +39 -0
- package/dist/models/PostFavoriteTweetRequest.d.ts.map +1 -0
- package/dist/models/PostFavoriteTweetRequest.js +55 -0
- package/dist/models/PostFavoriteTweetRequest.js.map +1 -0
- package/dist/models/PostUnfavoriteTweetRequest.d.ts +39 -0
- package/dist/models/PostUnfavoriteTweetRequest.d.ts.map +1 -0
- package/dist/models/PostUnfavoriteTweetRequest.js +55 -0
- package/dist/models/PostUnfavoriteTweetRequest.js.map +1 -0
- package/dist/models/ProfileResponse.d.ts +33 -0
- package/dist/models/ProfileResponse.d.ts.map +1 -0
- package/dist/models/ProfileResponse.js +52 -0
- package/dist/models/ProfileResponse.js.map +1 -0
- package/dist/models/ProfileResponseData.d.ts +33 -0
- package/dist/models/ProfileResponseData.d.ts.map +1 -0
- package/dist/models/ProfileResponseData.js +52 -0
- package/dist/models/ProfileResponseData.js.map +1 -0
- package/dist/models/Retweet.d.ts +39 -0
- package/dist/models/Retweet.d.ts.map +1 -0
- package/dist/models/Retweet.js +55 -0
- package/dist/models/Retweet.js.map +1 -0
- package/dist/models/RetweetLegacy.d.ts +32 -0
- package/dist/models/RetweetLegacy.d.ts.map +1 -0
- package/dist/models/RetweetLegacy.js +51 -0
- package/dist/models/RetweetLegacy.js.map +1 -0
- package/dist/models/Session.d.ts +113 -0
- package/dist/models/Session.d.ts.map +1 -0
- package/dist/models/Session.js +93 -0
- package/dist/models/Session.js.map +1 -0
- package/dist/models/SocialContext.d.ts +44 -0
- package/dist/models/SocialContext.d.ts.map +1 -0
- package/dist/models/SocialContext.js +55 -0
- package/dist/models/SocialContext.js.map +1 -0
- package/dist/models/Timeline.d.ts +45 -0
- package/dist/models/Timeline.d.ts.map +1 -0
- package/dist/models/Timeline.js +57 -0
- package/dist/models/Timeline.js.map +1 -0
- package/dist/models/TimelineAddEntries.d.ts +40 -0
- package/dist/models/TimelineAddEntries.d.ts.map +1 -0
- package/dist/models/TimelineAddEntries.js +56 -0
- package/dist/models/TimelineAddEntries.js.map +1 -0
- package/dist/models/TimelineAddEntry.d.ts +45 -0
- package/dist/models/TimelineAddEntry.d.ts.map +1 -0
- package/dist/models/TimelineAddEntry.js +58 -0
- package/dist/models/TimelineAddEntry.js.map +1 -0
- package/dist/models/TimelineClearCache.d.ts +33 -0
- package/dist/models/TimelineClearCache.d.ts.map +1 -0
- package/dist/models/TimelineClearCache.js +52 -0
- package/dist/models/TimelineClearCache.js.map +1 -0
- package/dist/models/TimelinePinEntry.d.ts +40 -0
- package/dist/models/TimelinePinEntry.d.ts.map +1 -0
- package/dist/models/TimelinePinEntry.js +56 -0
- package/dist/models/TimelinePinEntry.js.map +1 -0
- package/dist/models/TimelineResponse.d.ts +33 -0
- package/dist/models/TimelineResponse.d.ts.map +1 -0
- package/dist/models/TimelineResponse.js +52 -0
- package/dist/models/TimelineResponse.js.map +1 -0
- package/dist/models/TimelineTerminateTimeline.d.ts +47 -0
- package/dist/models/TimelineTerminateTimeline.d.ts.map +1 -0
- package/dist/models/TimelineTerminateTimeline.js +62 -0
- package/dist/models/TimelineTerminateTimeline.js.map +1 -0
- package/dist/models/TimelineTimelineCursor.d.ts +69 -0
- package/dist/models/TimelineTimelineCursor.d.ts.map +1 -0
- package/dist/models/TimelineTimelineCursor.js +74 -0
- package/dist/models/TimelineTimelineCursor.js.map +1 -0
- package/dist/models/TimelineTimelineItem.d.ts +59 -0
- package/dist/models/TimelineTimelineItem.d.ts.map +1 -0
- package/dist/models/TimelineTimelineItem.js +65 -0
- package/dist/models/TimelineTimelineItem.js.map +1 -0
- package/dist/models/TimelineTimelineModule.d.ts +71 -0
- package/dist/models/TimelineTimelineModule.d.ts.map +1 -0
- package/dist/models/TimelineTimelineModule.js +70 -0
- package/dist/models/TimelineTimelineModule.js.map +1 -0
- package/dist/models/TimelineTweet.d.ts +66 -0
- package/dist/models/TimelineTweet.d.ts.map +1 -0
- package/dist/models/TimelineTweet.js +69 -0
- package/dist/models/TimelineTweet.js.map +1 -0
- package/dist/models/TimelineUser.d.ts +60 -0
- package/dist/models/TimelineUser.d.ts.map +1 -0
- package/dist/models/TimelineUser.js +67 -0
- package/dist/models/TimelineUser.js.map +1 -0
- package/dist/models/TimelineV2.d.ts +33 -0
- package/dist/models/TimelineV2.d.ts.map +1 -0
- package/dist/models/TimelineV2.js +52 -0
- package/dist/models/TimelineV2.js.map +1 -0
- package/dist/models/Tweet.d.ts +100 -0
- package/dist/models/Tweet.d.ts.map +1 -0
- package/dist/models/Tweet.js +86 -0
- package/dist/models/Tweet.js.map +1 -0
- package/dist/models/TweetCard.d.ts +39 -0
- package/dist/models/TweetCard.d.ts.map +1 -0
- package/dist/models/TweetCard.js +54 -0
- package/dist/models/TweetCard.js.map +1 -0
- package/dist/models/TweetCardLegacy.d.ts +45 -0
- package/dist/models/TweetCardLegacy.d.ts.map +1 -0
- package/dist/models/TweetCardLegacy.js +58 -0
- package/dist/models/TweetCardLegacy.js.map +1 -0
- package/dist/models/TweetCardLegacyBindingValuesInner.d.ts +39 -0
- package/dist/models/TweetCardLegacyBindingValuesInner.d.ts.map +1 -0
- package/dist/models/TweetCardLegacyBindingValuesInner.js +55 -0
- package/dist/models/TweetCardLegacyBindingValuesInner.js.map +1 -0
- package/dist/models/TweetCardLegacyBindingValuesInnerValue.d.ts +50 -0
- package/dist/models/TweetCardLegacyBindingValuesInnerValue.d.ts.map +1 -0
- package/dist/models/TweetCardLegacyBindingValuesInnerValue.js +58 -0
- package/dist/models/TweetCardLegacyBindingValuesInnerValue.js.map +1 -0
- package/dist/models/TweetDetailResponse.d.ts +33 -0
- package/dist/models/TweetDetailResponse.d.ts.map +1 -0
- package/dist/models/TweetDetailResponse.js +52 -0
- package/dist/models/TweetDetailResponse.js.map +1 -0
- package/dist/models/TweetDetailResponseData.d.ts +33 -0
- package/dist/models/TweetDetailResponseData.d.ts.map +1 -0
- package/dist/models/TweetDetailResponseData.js +52 -0
- package/dist/models/TweetDetailResponseData.js.map +1 -0
- package/dist/models/TweetEditControl.d.ts +50 -0
- package/dist/models/TweetEditControl.d.ts.map +1 -0
- package/dist/models/TweetEditControl.js +57 -0
- package/dist/models/TweetEditControl.js.map +1 -0
- package/dist/models/TweetEditPrespective.d.ts +38 -0
- package/dist/models/TweetEditPrespective.d.ts.map +1 -0
- package/dist/models/TweetEditPrespective.js +53 -0
- package/dist/models/TweetEditPrespective.js.map +1 -0
- package/dist/models/TweetLegacy.d.ts +155 -0
- package/dist/models/TweetLegacy.d.ts.map +1 -0
- package/dist/models/TweetLegacy.js +111 -0
- package/dist/models/TweetLegacy.js.map +1 -0
- package/dist/models/TweetTombstone.d.ts +33 -0
- package/dist/models/TweetTombstone.d.ts.map +1 -0
- package/dist/models/TweetTombstone.js +52 -0
- package/dist/models/TweetTombstone.js.map +1 -0
- package/dist/models/TweetUnion.d.ts +30 -0
- package/dist/models/TweetUnion.d.ts.map +1 -0
- package/dist/models/TweetUnion.js +70 -0
- package/dist/models/TweetUnion.js.map +1 -0
- package/dist/models/TweetViews.d.ts +38 -0
- package/dist/models/TweetViews.d.ts.map +1 -0
- package/dist/models/TweetViews.js +53 -0
- package/dist/models/TweetViews.js.map +1 -0
- package/dist/models/TweetWithVisibilityResults.d.ts +40 -0
- package/dist/models/TweetWithVisibilityResults.d.ts.map +1 -0
- package/dist/models/TweetWithVisibilityResults.js +56 -0
- package/dist/models/TweetWithVisibilityResults.js.map +1 -0
- package/dist/models/TypeName.d.ts +31 -0
- package/dist/models/TypeName.d.ts.map +1 -0
- package/dist/models/TypeName.js +44 -0
- package/dist/models/TypeName.js.map +1 -0
- package/dist/models/UnfavoriteTweet.d.ts +32 -0
- package/dist/models/UnfavoriteTweet.d.ts.map +1 -0
- package/dist/models/UnfavoriteTweet.js +51 -0
- package/dist/models/UnfavoriteTweet.js.map +1 -0
- package/dist/models/UnfavoriteTweetResponseData.d.ts +33 -0
- package/dist/models/UnfavoriteTweetResponseData.d.ts.map +1 -0
- package/dist/models/UnfavoriteTweetResponseData.js +52 -0
- package/dist/models/UnfavoriteTweetResponseData.js.map +1 -0
- package/dist/models/Url.d.ts +50 -0
- package/dist/models/Url.d.ts.map +1 -0
- package/dist/models/Url.js +60 -0
- package/dist/models/Url.js.map +1 -0
- package/dist/models/User.d.ts +100 -0
- package/dist/models/User.d.ts.map +1 -0
- package/dist/models/User.js +84 -0
- package/dist/models/User.js.map +1 -0
- package/dist/models/UserFeatures.d.ts +32 -0
- package/dist/models/UserFeatures.d.ts.map +1 -0
- package/dist/models/UserFeatures.js +51 -0
- package/dist/models/UserFeatures.js.map +1 -0
- package/dist/models/UserLegacy.d.ts +260 -0
- package/dist/models/UserLegacy.d.ts.map +1 -0
- package/dist/models/UserLegacy.js +162 -0
- package/dist/models/UserLegacy.js.map +1 -0
- package/dist/models/UserResponse.d.ts +33 -0
- package/dist/models/UserResponse.d.ts.map +1 -0
- package/dist/models/UserResponse.js +52 -0
- package/dist/models/UserResponse.js.map +1 -0
- package/dist/models/UserResponseData.d.ts +33 -0
- package/dist/models/UserResponseData.d.ts.map +1 -0
- package/dist/models/UserResponseData.js +52 -0
- package/dist/models/UserResponseData.js.map +1 -0
- package/dist/models/UserResultByScreenName.d.ts +39 -0
- package/dist/models/UserResultByScreenName.d.ts.map +1 -0
- package/dist/models/UserResultByScreenName.js +55 -0
- package/dist/models/UserResultByScreenName.js.map +1 -0
- package/dist/models/UserResultByScreenNameLegacy.d.ts +68 -0
- package/dist/models/UserResultByScreenNameLegacy.d.ts.map +1 -0
- package/dist/models/UserResultByScreenNameLegacy.js +63 -0
- package/dist/models/UserResultByScreenNameLegacy.js.map +1 -0
- package/dist/models/UserResultByScreenNameResult.d.ts +58 -0
- package/dist/models/UserResultByScreenNameResult.d.ts.map +1 -0
- package/dist/models/UserResultByScreenNameResult.js +65 -0
- package/dist/models/UserResultByScreenNameResult.js.map +1 -0
- package/dist/models/UserResultCore.d.ts +33 -0
- package/dist/models/UserResultCore.d.ts.map +1 -0
- package/dist/models/UserResultCore.js +52 -0
- package/dist/models/UserResultCore.js.map +1 -0
- package/dist/models/UserResults.d.ts +33 -0
- package/dist/models/UserResults.d.ts.map +1 -0
- package/dist/models/UserResults.js +52 -0
- package/dist/models/UserResults.js.map +1 -0
- package/dist/models/UserTweetsData.d.ts +33 -0
- package/dist/models/UserTweetsData.d.ts.map +1 -0
- package/dist/models/UserTweetsData.js +52 -0
- package/dist/models/UserTweetsData.js.map +1 -0
- package/dist/models/UserTweetsResponse.d.ts +33 -0
- package/dist/models/UserTweetsResponse.d.ts.map +1 -0
- package/dist/models/UserTweetsResponse.js +52 -0
- package/dist/models/UserTweetsResponse.js.map +1 -0
- package/dist/models/UserTweetsResult.d.ts +40 -0
- package/dist/models/UserTweetsResult.d.ts.map +1 -0
- package/dist/models/UserTweetsResult.js +56 -0
- package/dist/models/UserTweetsResult.js.map +1 -0
- package/dist/models/UserTweetsUser.d.ts +33 -0
- package/dist/models/UserTweetsUser.d.ts.map +1 -0
- package/dist/models/UserTweetsUser.js +52 -0
- package/dist/models/UserTweetsUser.js.map +1 -0
- package/dist/models/index.d.ts +108 -0
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/index.js +126 -0
- package/dist/models/index.js.map +1 -0
- package/dist/runtime.d.ts +183 -0
- package/dist/runtime.d.ts.map +1 -0
- package/dist/runtime.js +556 -0
- package/dist/runtime.js.map +1 -0
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +6 -1
- package/src/apis/PostApi.ts +36 -6
- package/src/apis/TweetApi.ts +54 -9
- package/src/apis/UserApi.ts +6 -1
- package/src/apis/UserListApi.ts +12 -2
- package/src/models/Entities.ts +10 -4
- package/src/models/PostCreateRetweetRequest.ts +9 -9
- package/src/models/{PostDeleteTweetRequestVariables.ts → PostCreateRetweetRequestVariables.ts} +10 -10
- package/src/models/PostDeleteTweetRequest.ts +9 -9
- package/src/models/PostFavoriteTweetRequest.ts +9 -9
- package/src/models/PostUnfavoriteTweetRequest.ts +9 -9
- package/src/models/Tweet.ts +14 -0
- package/src/models/TweetCard.ts +80 -0
- package/src/models/TweetCardLegacy.ts +91 -0
- package/src/models/TweetCardLegacyBindingValuesInner.ts +82 -0
- package/src/models/TweetCardLegacyBindingValuesInnerValue.ts +90 -0
- package/src/models/Url.ts +93 -0
- package/src/models/index.ts +6 -1
- package/tools/openapi-generator-config.yaml +1 -1
- package/tools/win/clean.ps1 +2 -2
- package/tools/win/replace.py +20 -20
- package/twitter-openapi/README.md +4 -6
- package/twitter-openapi/dist/dart/openapi-3.0.yaml +117 -0
- package/twitter-openapi/dist/dart/paths/bookmarks.yaml +141 -0
- package/twitter-openapi/dist/dart/paths/follow.yaml +276 -0
- package/twitter-openapi/dist/dart/paths/other.yaml +96 -0
- package/twitter-openapi/dist/dart/paths/post.yaml +876 -0
- package/twitter-openapi/dist/dart/paths/profile.yaml +159 -0
- package/twitter-openapi/dist/dart/paths/timeline.yaml +401 -0
- package/twitter-openapi/dist/dart/paths/tweet.yaml +141 -0
- package/twitter-openapi/dist/dart/paths/user.yaml +119 -0
- package/twitter-openapi/dist/dart/paths/usertweets.yaml +512 -0
- package/twitter-openapi/dist/dart/paths/v1.1-get.yaml +300 -0
- package/twitter-openapi/dist/dart/paths/v1.1-post.yaml +295 -0
- package/twitter-openapi/dist/dart/paths/v2.0-get.yaml +331 -0
- package/twitter-openapi/dist/dart/resources/parameters.yaml +13 -0
- package/twitter-openapi/dist/dart/response/error.yaml +90 -0
- package/twitter-openapi/dist/dart/schemas/content.yaml +181 -0
- package/twitter-openapi/dist/dart/schemas/general.yaml +13 -0
- package/twitter-openapi/dist/dart/schemas/instruction.yaml +83 -0
- package/twitter-openapi/dist/dart/schemas/timeline.yaml +25 -0
- package/twitter-openapi/dist/dart/schemas/tweet.yaml +308 -0
- package/twitter-openapi/dist/dart/schemas/typename.yaml +19 -0
- package/twitter-openapi/dist/dart/schemas/user.yaml +206 -0
- package/twitter-openapi/dist/docs/openapi-3.0.yaml +141 -0
- package/twitter-openapi/dist/docs/paths/bookmarks.yaml +255 -0
- package/twitter-openapi/dist/docs/paths/follow.yaml +500 -0
- package/twitter-openapi/dist/docs/paths/other.yaml +96 -0
- package/twitter-openapi/dist/docs/paths/post.yaml +680 -0
- package/twitter-openapi/dist/docs/paths/profile.yaml +166 -0
- package/twitter-openapi/dist/docs/paths/timeline.yaml +751 -0
- package/twitter-openapi/dist/docs/paths/tweet.yaml +279 -0
- package/twitter-openapi/dist/docs/paths/user.yaml +159 -0
- package/twitter-openapi/dist/docs/paths/usertweets.yaml +1038 -0
- package/twitter-openapi/dist/docs/paths/v1.1-get.yaml +242 -0
- package/twitter-openapi/dist/docs/paths/v1.1-post.yaml +237 -0
- package/twitter-openapi/dist/docs/paths/v2.0-get.yaml +302 -0
- package/twitter-openapi/dist/docs/resources/parameters.yaml +13 -0
- package/twitter-openapi/dist/docs/response/error.yaml +90 -0
- package/twitter-openapi/dist/docs/schemas/content.yaml +181 -0
- package/twitter-openapi/dist/docs/schemas/general.yaml +13 -0
- package/twitter-openapi/dist/docs/schemas/instruction.yaml +83 -0
- package/twitter-openapi/dist/docs/schemas/timeline.yaml +25 -0
- package/twitter-openapi/dist/docs/schemas/tweet.yaml +308 -0
- package/twitter-openapi/dist/docs/schemas/typename.yaml +19 -0
- package/twitter-openapi/dist/docs/schemas/user.yaml +206 -0
- package/twitter-openapi/dist/test/openapi-3.0.yaml +141 -0
- package/twitter-openapi/dist/test/paths/bookmarks.yaml +112 -0
- package/twitter-openapi/dist/test/paths/follow.yaml +218 -0
- package/twitter-openapi/dist/test/paths/other.yaml +96 -0
- package/twitter-openapi/dist/test/paths/post.yaml +527 -0
- package/twitter-openapi/dist/test/paths/profile.yaml +130 -0
- package/twitter-openapi/dist/test/paths/timeline.yaml +314 -0
- package/twitter-openapi/dist/test/paths/tweet.yaml +112 -0
- package/twitter-openapi/dist/test/paths/user.yaml +90 -0
- package/twitter-openapi/dist/test/paths/usertweets.yaml +396 -0
- package/twitter-openapi/dist/test/paths/v1.1-get.yaml +242 -0
- package/twitter-openapi/dist/test/paths/v1.1-post.yaml +277 -0
- package/twitter-openapi/dist/test/paths/v2.0-get.yaml +302 -0
- package/twitter-openapi/dist/test/resources/parameters.yaml +13 -0
- package/twitter-openapi/dist/test/response/error.yaml +90 -0
- package/twitter-openapi/dist/test/schemas/content.yaml +181 -0
- package/twitter-openapi/dist/test/schemas/general.yaml +13 -0
- package/twitter-openapi/dist/test/schemas/instruction.yaml +83 -0
- package/twitter-openapi/dist/test/schemas/timeline.yaml +25 -0
- package/twitter-openapi/dist/test/schemas/tweet.yaml +308 -0
- package/twitter-openapi/dist/test/schemas/typename.yaml +19 -0
- package/twitter-openapi/dist/test/schemas/user.yaml +206 -0
- package/twitter-openapi/dist/typescript/openapi-3.0.yaml +141 -0
- package/twitter-openapi/dist/typescript/paths/bookmarks.yaml +112 -0
- package/twitter-openapi/dist/typescript/paths/follow.yaml +218 -0
- package/twitter-openapi/dist/typescript/paths/other.yaml +96 -0
- package/twitter-openapi/dist/typescript/paths/post.yaml +702 -0
- package/twitter-openapi/dist/typescript/paths/profile.yaml +130 -0
- package/twitter-openapi/dist/typescript/paths/timeline.yaml +314 -0
- package/twitter-openapi/dist/typescript/paths/tweet.yaml +112 -0
- package/twitter-openapi/dist/typescript/paths/user.yaml +90 -0
- package/twitter-openapi/dist/typescript/paths/usertweets.yaml +396 -0
- package/twitter-openapi/dist/typescript/paths/v1.1-get.yaml +242 -0
- package/twitter-openapi/dist/typescript/paths/v1.1-post.yaml +237 -0
- package/twitter-openapi/dist/typescript/paths/v2.0-get.yaml +302 -0
- package/twitter-openapi/dist/typescript/resources/parameters.yaml +13 -0
- package/twitter-openapi/dist/typescript/response/error.yaml +90 -0
- package/twitter-openapi/dist/typescript/schemas/content.yaml +181 -0
- package/twitter-openapi/dist/typescript/schemas/general.yaml +13 -0
- package/twitter-openapi/dist/typescript/schemas/instruction.yaml +83 -0
- package/twitter-openapi/dist/typescript/schemas/timeline.yaml +25 -0
- package/twitter-openapi/dist/typescript/schemas/tweet.yaml +308 -0
- package/twitter-openapi/dist/typescript/schemas/typename.yaml +19 -0
- package/twitter-openapi/dist/typescript/schemas/user.yaml +206 -0
- package/twitter-openapi/src/openapi/paths/bookmarks.yaml +1 -1
- package/twitter-openapi/src/openapi/paths/follow.yaml +2 -2
- package/twitter-openapi/src/openapi/paths/post.yaml +6 -6
- package/twitter-openapi/src/openapi/paths/profile.yaml +1 -1
- package/twitter-openapi/src/openapi/paths/timeline.yaml +3 -3
- package/twitter-openapi/src/openapi/paths/tweet.yaml +1 -1
- package/twitter-openapi/src/openapi/paths/user.yaml +1 -1
- package/twitter-openapi/src/openapi/paths/usertweets.yaml +4 -4
- package/twitter-openapi/src/openapi/resources/parameters.yaml +15 -0
- package/twitter-openapi/src/openapi/schemas/tweet.yaml +58 -1
- package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
- package/twitter-openapi/tools/__pycache__/hooks.cpython-310.pyc +0 -0
- package/twitter-openapi/tools/build_config.py +12 -12
- package/twitter-openapi/tools/hooks.py +30 -6
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
components:
|
|
2
|
+
schemas:
|
|
3
|
+
User:
|
|
4
|
+
properties:
|
|
5
|
+
__typename:
|
|
6
|
+
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
7
|
+
affiliates_highlighted_label:
|
|
8
|
+
type: object
|
|
9
|
+
business_account:
|
|
10
|
+
type: object
|
|
11
|
+
has_graduated_access:
|
|
12
|
+
type: boolean
|
|
13
|
+
has_nft_avatar:
|
|
14
|
+
default: false
|
|
15
|
+
type: boolean
|
|
16
|
+
id:
|
|
17
|
+
pattern: ^[a-z\-]+[0-9]+$
|
|
18
|
+
type: string
|
|
19
|
+
is_blue_verified:
|
|
20
|
+
default: false
|
|
21
|
+
type: boolean
|
|
22
|
+
legacy:
|
|
23
|
+
$ref: '#/components/schemas/UserLegacy'
|
|
24
|
+
rest_id:
|
|
25
|
+
pattern: ^[0-9]+$
|
|
26
|
+
type: string
|
|
27
|
+
super_follow_eligible:
|
|
28
|
+
default: false
|
|
29
|
+
type: boolean
|
|
30
|
+
super_followed_by:
|
|
31
|
+
default: false
|
|
32
|
+
type: boolean
|
|
33
|
+
super_following:
|
|
34
|
+
default: false
|
|
35
|
+
type: boolean
|
|
36
|
+
required:
|
|
37
|
+
- __typename
|
|
38
|
+
- affiliates_highlighted_label
|
|
39
|
+
- id
|
|
40
|
+
- is_blue_verified
|
|
41
|
+
- legacy
|
|
42
|
+
- rest_id
|
|
43
|
+
- super_follow_eligible
|
|
44
|
+
- super_followed_by
|
|
45
|
+
- super_following
|
|
46
|
+
UserLegacy:
|
|
47
|
+
properties:
|
|
48
|
+
blocked_by:
|
|
49
|
+
default: false
|
|
50
|
+
type: boolean
|
|
51
|
+
blocking:
|
|
52
|
+
default: false
|
|
53
|
+
type: boolean
|
|
54
|
+
can_dm:
|
|
55
|
+
default: false
|
|
56
|
+
type: boolean
|
|
57
|
+
can_media_tag:
|
|
58
|
+
default: false
|
|
59
|
+
type: boolean
|
|
60
|
+
created_at:
|
|
61
|
+
$ref: ./general.yaml#/components/schemas/TwitterTimeFormat
|
|
62
|
+
default_profile:
|
|
63
|
+
default: false
|
|
64
|
+
type: boolean
|
|
65
|
+
default_profile_image:
|
|
66
|
+
default: false
|
|
67
|
+
type: boolean
|
|
68
|
+
description:
|
|
69
|
+
type: string
|
|
70
|
+
entities:
|
|
71
|
+
type: object
|
|
72
|
+
fast_followers_count:
|
|
73
|
+
type: integer
|
|
74
|
+
favourites_count:
|
|
75
|
+
default: 0
|
|
76
|
+
type: integer
|
|
77
|
+
follow_request_sent:
|
|
78
|
+
default: false
|
|
79
|
+
type: boolean
|
|
80
|
+
followed_by:
|
|
81
|
+
default: false
|
|
82
|
+
type: boolean
|
|
83
|
+
followers_count:
|
|
84
|
+
default: 0
|
|
85
|
+
type: integer
|
|
86
|
+
following:
|
|
87
|
+
default: false
|
|
88
|
+
type: boolean
|
|
89
|
+
friends_count:
|
|
90
|
+
default: 0
|
|
91
|
+
type: integer
|
|
92
|
+
has_custom_timelines:
|
|
93
|
+
default: false
|
|
94
|
+
type: boolean
|
|
95
|
+
is_translator:
|
|
96
|
+
default: false
|
|
97
|
+
type: boolean
|
|
98
|
+
listed_count:
|
|
99
|
+
default: 0
|
|
100
|
+
type: integer
|
|
101
|
+
location:
|
|
102
|
+
type: string
|
|
103
|
+
media_count:
|
|
104
|
+
default: 0
|
|
105
|
+
type: integer
|
|
106
|
+
muting:
|
|
107
|
+
default: false
|
|
108
|
+
type: boolean
|
|
109
|
+
name:
|
|
110
|
+
type: string
|
|
111
|
+
normal_followers_count:
|
|
112
|
+
default: 0
|
|
113
|
+
type: integer
|
|
114
|
+
notifications:
|
|
115
|
+
default: false
|
|
116
|
+
type: boolean
|
|
117
|
+
pinned_tweet_ids_str:
|
|
118
|
+
items:
|
|
119
|
+
type: string
|
|
120
|
+
type: array
|
|
121
|
+
possibly_sensitive:
|
|
122
|
+
default: false
|
|
123
|
+
type: boolean
|
|
124
|
+
profile_banner_extensions:
|
|
125
|
+
type: object
|
|
126
|
+
profile_banner_url:
|
|
127
|
+
format: uri
|
|
128
|
+
type: string
|
|
129
|
+
profile_image_extensions:
|
|
130
|
+
type: object
|
|
131
|
+
profile_image_url_https:
|
|
132
|
+
format: uri
|
|
133
|
+
type: string
|
|
134
|
+
profile_interstitial_type:
|
|
135
|
+
type: string
|
|
136
|
+
protected:
|
|
137
|
+
default: false
|
|
138
|
+
type: boolean
|
|
139
|
+
screen_name:
|
|
140
|
+
type: string
|
|
141
|
+
statuses_count:
|
|
142
|
+
default: 0
|
|
143
|
+
type: integer
|
|
144
|
+
translator_type:
|
|
145
|
+
type: string
|
|
146
|
+
url:
|
|
147
|
+
type: string
|
|
148
|
+
verified:
|
|
149
|
+
type: boolean
|
|
150
|
+
want_retweets:
|
|
151
|
+
default: false
|
|
152
|
+
type: boolean
|
|
153
|
+
required:
|
|
154
|
+
- blocked_by
|
|
155
|
+
- blocking
|
|
156
|
+
- can_dm
|
|
157
|
+
- can_media_tag
|
|
158
|
+
- created_at
|
|
159
|
+
- default_profile
|
|
160
|
+
- default_profile_image
|
|
161
|
+
- description
|
|
162
|
+
- entities
|
|
163
|
+
- fast_followers_count
|
|
164
|
+
- favourites_count
|
|
165
|
+
- follow_request_sent
|
|
166
|
+
- followed_by
|
|
167
|
+
- followers_count
|
|
168
|
+
- following
|
|
169
|
+
- friends_count
|
|
170
|
+
- has_custom_timelines
|
|
171
|
+
- is_translator
|
|
172
|
+
- listed_count
|
|
173
|
+
- location
|
|
174
|
+
- media_count
|
|
175
|
+
- muting
|
|
176
|
+
- name
|
|
177
|
+
- normal_followers_count
|
|
178
|
+
- notifications
|
|
179
|
+
- pinned_tweet_ids_str
|
|
180
|
+
- possibly_sensitive
|
|
181
|
+
- profile_image_url_https
|
|
182
|
+
- profile_interstitial_type
|
|
183
|
+
- protected
|
|
184
|
+
- screen_name
|
|
185
|
+
- status
|
|
186
|
+
- statuses_count
|
|
187
|
+
- translator_type
|
|
188
|
+
- verified
|
|
189
|
+
- want_retweets
|
|
190
|
+
UserResultCore:
|
|
191
|
+
properties:
|
|
192
|
+
user_results:
|
|
193
|
+
$ref: '#/components/schemas/UserResults'
|
|
194
|
+
required:
|
|
195
|
+
- user_results
|
|
196
|
+
UserResults:
|
|
197
|
+
properties:
|
|
198
|
+
result:
|
|
199
|
+
$ref: '#/components/schemas/User'
|
|
200
|
+
required:
|
|
201
|
+
- result
|
|
202
|
+
info:
|
|
203
|
+
title: Twitter OpenAPI
|
|
204
|
+
version: 0.0.1
|
|
205
|
+
openapi: 3.0.3
|
|
206
|
+
paths: {}
|
|
@@ -4,7 +4,7 @@ info:
|
|
|
4
4
|
version: 0.0.1
|
|
5
5
|
|
|
6
6
|
paths:
|
|
7
|
-
/graphql/{
|
|
7
|
+
/graphql/{pathQueryId}/Following:
|
|
8
8
|
get:
|
|
9
9
|
operationId: getFollowing
|
|
10
10
|
description: get user list of following
|
|
@@ -18,7 +18,7 @@ paths:
|
|
|
18
18
|
tags:
|
|
19
19
|
- "user-list"
|
|
20
20
|
|
|
21
|
-
/graphql/{
|
|
21
|
+
/graphql/{pathQueryId}/Followers:
|
|
22
22
|
get:
|
|
23
23
|
operationId: getFollowers
|
|
24
24
|
description: get user list of followers
|
|
@@ -4,7 +4,7 @@ info:
|
|
|
4
4
|
version: 0.0.1
|
|
5
5
|
|
|
6
6
|
paths:
|
|
7
|
-
/graphql/{
|
|
7
|
+
/graphql/{pathQueryId}/FavoriteTweet:
|
|
8
8
|
post:
|
|
9
9
|
operationId: postFavoriteTweet
|
|
10
10
|
description: favorite Tweet
|
|
@@ -18,7 +18,7 @@ paths:
|
|
|
18
18
|
tags:
|
|
19
19
|
- "post"
|
|
20
20
|
|
|
21
|
-
/graphql/{
|
|
21
|
+
/graphql/{pathQueryId}/UnfavoriteTweet:
|
|
22
22
|
post:
|
|
23
23
|
operationId: postUnfavoriteTweet
|
|
24
24
|
description: unfavorite Tweet
|
|
@@ -32,7 +32,7 @@ paths:
|
|
|
32
32
|
tags:
|
|
33
33
|
- "post"
|
|
34
34
|
|
|
35
|
-
/graphql/{
|
|
35
|
+
/graphql/{pathQueryId}/CreateRetweet:
|
|
36
36
|
post:
|
|
37
37
|
operationId: postCreateRetweet
|
|
38
38
|
description: create Retweet
|
|
@@ -46,7 +46,7 @@ paths:
|
|
|
46
46
|
tags:
|
|
47
47
|
- "post"
|
|
48
48
|
|
|
49
|
-
/graphql/{
|
|
49
|
+
/graphql/{pathQueryId}/DeleteRetweet:
|
|
50
50
|
post:
|
|
51
51
|
operationId: postDeleteRetweet
|
|
52
52
|
description: delete Retweet
|
|
@@ -60,7 +60,7 @@ paths:
|
|
|
60
60
|
tags:
|
|
61
61
|
- "post"
|
|
62
62
|
|
|
63
|
-
/graphql/{
|
|
63
|
+
/graphql/{pathQueryId}/CreateTweet:
|
|
64
64
|
post:
|
|
65
65
|
operationId: postCreateTweet
|
|
66
66
|
description: create Tweet
|
|
@@ -74,7 +74,7 @@ paths:
|
|
|
74
74
|
tags:
|
|
75
75
|
- "post"
|
|
76
76
|
|
|
77
|
-
/graphql/{
|
|
77
|
+
/graphql/{pathQueryId}/DeleteTweet:
|
|
78
78
|
post:
|
|
79
79
|
operationId: postDeleteTweet
|
|
80
80
|
description: delete Retweet
|
|
@@ -4,7 +4,7 @@ info:
|
|
|
4
4
|
version: 0.0.1
|
|
5
5
|
|
|
6
6
|
paths:
|
|
7
|
-
/graphql/{
|
|
7
|
+
/graphql/{pathQueryId}/HomeTimeline:
|
|
8
8
|
get:
|
|
9
9
|
operationId: getHomeTimeline
|
|
10
10
|
description: get tweet list of timeline
|
|
@@ -18,7 +18,7 @@ paths:
|
|
|
18
18
|
tags:
|
|
19
19
|
- "tweet"
|
|
20
20
|
|
|
21
|
-
/graphql/{
|
|
21
|
+
/graphql/{pathQueryId}/HomeLatestTimeline:
|
|
22
22
|
get:
|
|
23
23
|
operationId: getHomeLatestTimeline
|
|
24
24
|
description: get tweet list of timeline
|
|
@@ -32,7 +32,7 @@ paths:
|
|
|
32
32
|
tags:
|
|
33
33
|
- "tweet"
|
|
34
34
|
|
|
35
|
-
/graphql/{
|
|
35
|
+
/graphql/{pathQueryId}/ListLatestTweetsTimeline:
|
|
36
36
|
get:
|
|
37
37
|
operationId: getListLatestTweetsTimeline
|
|
38
38
|
description: get tweet list of timeline
|
|
@@ -4,7 +4,7 @@ info:
|
|
|
4
4
|
version: 0.0.1
|
|
5
5
|
|
|
6
6
|
paths:
|
|
7
|
-
/graphql/{
|
|
7
|
+
/graphql/{pathQueryId}/UserTweets:
|
|
8
8
|
get:
|
|
9
9
|
operationId: getUserTweets
|
|
10
10
|
description: "get user tweets"
|
|
@@ -18,7 +18,7 @@ paths:
|
|
|
18
18
|
tags:
|
|
19
19
|
- "tweet"
|
|
20
20
|
|
|
21
|
-
/graphql/{
|
|
21
|
+
/graphql/{pathQueryId}/UserTweetsAndReplies:
|
|
22
22
|
get:
|
|
23
23
|
operationId: getUserTweetsAndReplies
|
|
24
24
|
description: "get user replies tweets"
|
|
@@ -32,7 +32,7 @@ paths:
|
|
|
32
32
|
tags:
|
|
33
33
|
- "tweet"
|
|
34
34
|
|
|
35
|
-
/graphql/{
|
|
35
|
+
/graphql/{pathQueryId}/UserMedia:
|
|
36
36
|
get:
|
|
37
37
|
operationId: getUserMedia
|
|
38
38
|
description: "get user media tweets"
|
|
@@ -46,7 +46,7 @@ paths:
|
|
|
46
46
|
tags:
|
|
47
47
|
- "tweet"
|
|
48
48
|
|
|
49
|
-
/graphql/{
|
|
49
|
+
/graphql/{pathQueryId}/Likes:
|
|
50
50
|
get:
|
|
51
51
|
operationId: getLikes
|
|
52
52
|
description: "get user likes tweets"
|
|
@@ -53,6 +53,45 @@ components:
|
|
|
53
53
|
pattern: "^[0-9]+$"
|
|
54
54
|
core:
|
|
55
55
|
$ref: "./user.yaml#/components/schemas/UserResultCore"
|
|
56
|
+
card:
|
|
57
|
+
type: object
|
|
58
|
+
properties:
|
|
59
|
+
rest_id:
|
|
60
|
+
type: string
|
|
61
|
+
legacy:
|
|
62
|
+
type: object
|
|
63
|
+
required:
|
|
64
|
+
- "binding_values"
|
|
65
|
+
- "name"
|
|
66
|
+
- "url"
|
|
67
|
+
properties:
|
|
68
|
+
name:
|
|
69
|
+
type: string
|
|
70
|
+
url:
|
|
71
|
+
type: string
|
|
72
|
+
binding_values:
|
|
73
|
+
type: array
|
|
74
|
+
items:
|
|
75
|
+
type: object
|
|
76
|
+
required:
|
|
77
|
+
- "key"
|
|
78
|
+
- "value"
|
|
79
|
+
properties:
|
|
80
|
+
key:
|
|
81
|
+
type: string
|
|
82
|
+
value:
|
|
83
|
+
type: object
|
|
84
|
+
required:
|
|
85
|
+
- "type"
|
|
86
|
+
properties:
|
|
87
|
+
string_value:
|
|
88
|
+
type: string
|
|
89
|
+
boolean_value:
|
|
90
|
+
type: boolean
|
|
91
|
+
scribe_key:
|
|
92
|
+
type: string
|
|
93
|
+
type:
|
|
94
|
+
type: string
|
|
56
95
|
unmention_data:
|
|
57
96
|
type: object # todo
|
|
58
97
|
edit_control:
|
|
@@ -200,7 +239,25 @@ components:
|
|
|
200
239
|
UserMention:
|
|
201
240
|
type: object # todo
|
|
202
241
|
Url:
|
|
203
|
-
type: object
|
|
242
|
+
type: object
|
|
243
|
+
required:
|
|
244
|
+
- "url"
|
|
245
|
+
- "indices"
|
|
246
|
+
- "expanded_url"
|
|
247
|
+
- "display_url"
|
|
248
|
+
properties:
|
|
249
|
+
display_url:
|
|
250
|
+
type: string
|
|
251
|
+
expanded_url:
|
|
252
|
+
type: string
|
|
253
|
+
format: uri
|
|
254
|
+
url:
|
|
255
|
+
type: string
|
|
256
|
+
format: uri
|
|
257
|
+
indices:
|
|
258
|
+
type: array
|
|
259
|
+
items:
|
|
260
|
+
type: integer
|
|
204
261
|
|
|
205
262
|
ExtendedEntities:
|
|
206
263
|
required:
|
|
Binary file
|
|
Binary file
|
|
@@ -10,11 +10,11 @@ class Config:
|
|
|
10
10
|
"docs": {
|
|
11
11
|
"openapi": [AddSecuritySchemesOnSecuritySchemes()],
|
|
12
12
|
"schemas": [],
|
|
13
|
-
"other":[],
|
|
13
|
+
"other": [],
|
|
14
14
|
"request": {
|
|
15
15
|
key: [
|
|
16
|
-
ReplaceQueryIdPlaceholder(split=-1),
|
|
17
16
|
SetResponsesHeader(suffix=None),
|
|
17
|
+
AddPathQueryIdOnParameters(split=-1),
|
|
18
18
|
AddParametersOnContent(
|
|
19
19
|
split=-1, contentType="application/json"
|
|
20
20
|
),
|
|
@@ -23,8 +23,8 @@ class Config:
|
|
|
23
23
|
}
|
|
24
24
|
| {
|
|
25
25
|
key: [
|
|
26
|
-
ReplaceQueryIdPlaceholder(split=-1),
|
|
27
26
|
SetResponsesHeader(suffix=None),
|
|
27
|
+
AddPathQueryIdOnParameters(split=-1),
|
|
28
28
|
AddParametersOnParameters(
|
|
29
29
|
split=-1,
|
|
30
30
|
schemaType=None,
|
|
@@ -58,12 +58,12 @@ class Config:
|
|
|
58
58
|
"dart": {
|
|
59
59
|
"openapi": [],
|
|
60
60
|
"schemas": [],
|
|
61
|
-
"other":[],
|
|
61
|
+
"other": [],
|
|
62
62
|
"request": {
|
|
63
63
|
key: [
|
|
64
|
-
ReplaceQueryIdPlaceholder(split=-1),
|
|
65
64
|
AddSecuritySchemesOnHeader(split=-1),
|
|
66
65
|
SetResponsesHeader(suffix=None),
|
|
66
|
+
AddPathQueryIdOnParameters(split=-1),
|
|
67
67
|
AddParametersOnParameters(
|
|
68
68
|
split=-1,
|
|
69
69
|
schemaType="string",
|
|
@@ -73,9 +73,9 @@ class Config:
|
|
|
73
73
|
}
|
|
74
74
|
| {
|
|
75
75
|
key: [
|
|
76
|
-
ReplaceQueryIdPlaceholder(split=-1),
|
|
77
76
|
AddSecuritySchemesOnHeader(split=-1),
|
|
78
77
|
SetResponsesHeader(suffix=None),
|
|
78
|
+
AddPathQueryIdOnParameters(split=-1),
|
|
79
79
|
AddParametersOnBody(
|
|
80
80
|
split=-1,
|
|
81
81
|
schemaType=None,
|
|
@@ -112,11 +112,11 @@ class Config:
|
|
|
112
112
|
"typescript": {
|
|
113
113
|
"openapi": [AddSecuritySchemesOnSecuritySchemes()],
|
|
114
114
|
"schemas": [],
|
|
115
|
-
"other":[],
|
|
115
|
+
"other": [],
|
|
116
116
|
"request": {
|
|
117
117
|
key: [
|
|
118
|
-
ReplaceQueryIdPlaceholder(split=-1),
|
|
119
118
|
SetResponsesHeader(suffix=None),
|
|
119
|
+
AddPathQueryIdOnParameters(split=-1),
|
|
120
120
|
AddParametersOnParameters(
|
|
121
121
|
split=-1,
|
|
122
122
|
schemaType="string",
|
|
@@ -126,8 +126,8 @@ class Config:
|
|
|
126
126
|
}
|
|
127
127
|
| {
|
|
128
128
|
key: [
|
|
129
|
-
ReplaceQueryIdPlaceholder(split=-1),
|
|
130
129
|
SetResponsesHeader(suffix=None),
|
|
130
|
+
AddPathQueryIdOnParameters(split=-1),
|
|
131
131
|
AddParametersOnBody(
|
|
132
132
|
split=-1,
|
|
133
133
|
schemaType=None,
|
|
@@ -162,11 +162,11 @@ class Config:
|
|
|
162
162
|
"test": {
|
|
163
163
|
"openapi": [AddSecuritySchemesOnSecuritySchemes()],
|
|
164
164
|
"schemas": [],
|
|
165
|
-
"other":[],
|
|
165
|
+
"other": [],
|
|
166
166
|
"request": {
|
|
167
167
|
key: [
|
|
168
|
-
ReplaceQueryIdPlaceholder(split=-1),
|
|
169
168
|
SetResponsesHeader(suffix=None),
|
|
169
|
+
AddPathQueryIdOnParameters(split=-1),
|
|
170
170
|
AddParametersOnParameters(
|
|
171
171
|
split=-1,
|
|
172
172
|
schemaType="string",
|
|
@@ -176,8 +176,8 @@ class Config:
|
|
|
176
176
|
}
|
|
177
177
|
| {
|
|
178
178
|
key: [
|
|
179
|
-
ReplaceQueryIdPlaceholder(split=-1),
|
|
180
179
|
SetResponsesHeader(suffix=None),
|
|
180
|
+
AddPathQueryIdOnParameters(split=-1),
|
|
181
181
|
AddParametersOnParameters(
|
|
182
182
|
split=-1,
|
|
183
183
|
schemaType="string",
|
|
@@ -58,15 +58,17 @@ class HookBase:
|
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
class OpenapiHookBase(HookBase):
|
|
61
|
-
def hook(self, value: dict)->dict:
|
|
61
|
+
def hook(self, value: dict) -> dict:
|
|
62
62
|
return value
|
|
63
63
|
|
|
64
|
+
|
|
64
65
|
class OtherHookBase(HookBase):
|
|
65
|
-
def hook(self)->tuple[str, dict]:
|
|
66
|
-
return
|
|
66
|
+
def hook(self) -> tuple[str, dict]:
|
|
67
|
+
return "", {}
|
|
68
|
+
|
|
67
69
|
|
|
68
70
|
class SchemasHookBase(HookBase):
|
|
69
|
-
def hook(self, value: dict)->dict:
|
|
71
|
+
def hook(self, value: dict) -> dict:
|
|
70
72
|
return value
|
|
71
73
|
|
|
72
74
|
|
|
@@ -78,7 +80,7 @@ class RequestHookBase(HookBase):
|
|
|
78
80
|
super().__init__()
|
|
79
81
|
self.split = split
|
|
80
82
|
|
|
81
|
-
def hook(self, path: str, value: dict)->tuple[str, dict]:
|
|
83
|
+
def hook(self, path: str, value: dict) -> tuple[str, dict]:
|
|
82
84
|
value["parameters"] = value.get("parameters", [])
|
|
83
85
|
self.path_name = "/".join(path.split("/")[self.split :])
|
|
84
86
|
return path, value
|
|
@@ -123,7 +125,7 @@ class ReplaceQueryIdPlaceholder(RequestHookBase):
|
|
|
123
125
|
def hook(self, path: str, value: dict):
|
|
124
126
|
path, value = super().hook(path, value)
|
|
125
127
|
new = self.PLACEHOLDER[self.path_name]["queryId"]
|
|
126
|
-
return path.replace(r"{
|
|
128
|
+
return path.replace(r"{pathQueryId}", new), value
|
|
127
129
|
|
|
128
130
|
|
|
129
131
|
class SetResponsesHeader(RequestHookBase):
|
|
@@ -140,6 +142,28 @@ class SetResponsesHeader(RequestHookBase):
|
|
|
140
142
|
return path, value
|
|
141
143
|
|
|
142
144
|
|
|
145
|
+
class AddPathQueryIdOnParameters(RequestHookBase):
|
|
146
|
+
def __init__(self, split: str = 1):
|
|
147
|
+
super().__init__(split=split)
|
|
148
|
+
|
|
149
|
+
def hook(self, path: str, value: dict):
|
|
150
|
+
path, value = super().hook(path, value)
|
|
151
|
+
data = self.PLACEHOLDER[self.path_name]
|
|
152
|
+
value["parameters"].append(
|
|
153
|
+
{
|
|
154
|
+
"in": "path",
|
|
155
|
+
"name": "pathQueryId",
|
|
156
|
+
"required": True,
|
|
157
|
+
"schema": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"default": data["queryId"],
|
|
160
|
+
"example": data["queryId"],
|
|
161
|
+
},
|
|
162
|
+
}
|
|
163
|
+
)
|
|
164
|
+
return path, value
|
|
165
|
+
|
|
166
|
+
|
|
143
167
|
# OnParameters
|
|
144
168
|
|
|
145
169
|
|