twitter-openapi-typescript-generated 0.0.10 → 0.0.12
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 +29 -4
- package/LICENSE +31 -0
- package/{LICENSE.txt → LICENSE.AGPL} +3 -3
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts.map +1 -1
- package/dist/apis/DefaultApi.js +87 -19
- package/dist/apis/DefaultApi.js.map +1 -1
- package/dist/apis/OtherApi.d.ts.map +1 -1
- package/dist/apis/OtherApi.js +44 -10
- package/dist/apis/OtherApi.js.map +1 -1
- package/dist/apis/PostApi.d.ts.map +1 -1
- package/dist/apis/PostApi.js +265 -61
- package/dist/apis/PostApi.js.map +1 -1
- package/dist/apis/TweetApi.d.ts +1 -2
- package/dist/apis/TweetApi.d.ts.map +1 -1
- package/dist/apis/TweetApi.js +480 -112
- package/dist/apis/TweetApi.js.map +1 -1
- package/dist/apis/UserApi.d.ts +1 -0
- package/dist/apis/UserApi.d.ts.map +1 -1
- package/dist/apis/UserApi.js +93 -19
- package/dist/apis/UserApi.js.map +1 -1
- package/dist/apis/UserListApi.d.ts +0 -1
- package/dist/apis/UserListApi.d.ts.map +1 -1
- package/dist/apis/UserListApi.js +216 -52
- package/dist/apis/UserListApi.js.map +1 -1
- package/dist/apis/UsersApi.d.ts.map +1 -1
- package/dist/apis/UsersApi.js +44 -10
- package/dist/apis/UsersApi.js.map +1 -1
- package/dist/apis/V11GetApi.d.ts.map +1 -1
- package/dist/apis/V11GetApi.js +87 -19
- package/dist/apis/V11GetApi.js.map +1 -1
- package/dist/apis/V11PostApi.d.ts.map +1 -1
- package/dist/apis/V11PostApi.js +73 -7
- package/dist/apis/V11PostApi.js.map +1 -1
- package/dist/apis/V20GetApi.d.ts.map +1 -1
- package/dist/apis/V20GetApi.js +44 -10
- package/dist/apis/V20GetApi.js.map +1 -1
- package/dist/models/AdditionalMediaInfo.d.ts +32 -0
- package/dist/models/AdditionalMediaInfo.d.ts.map +1 -0
- package/dist/models/AdditionalMediaInfo.js +51 -0
- package/dist/models/AdditionalMediaInfo.js.map +1 -0
- package/dist/models/Callback.d.ts +32 -0
- package/dist/models/Callback.d.ts.map +1 -0
- package/dist/models/Callback.js +51 -0
- package/dist/models/Callback.js.map +1 -0
- package/dist/models/ClientEventInfo.d.ts +46 -0
- package/dist/models/ClientEventInfo.d.ts.map +1 -0
- package/dist/models/ClientEventInfo.js +55 -0
- package/dist/models/ClientEventInfo.js.map +1 -0
- package/dist/models/ContentEntryType.d.ts +1 -1
- package/dist/models/ContentEntryType.d.ts.map +1 -1
- package/dist/models/ContentItemType.d.ts +1 -1
- package/dist/models/ContentItemType.d.ts.map +1 -1
- package/dist/models/ContentUnion.d.ts +1 -1
- package/dist/models/ContentUnion.d.ts.map +1 -1
- package/dist/models/CoverCta.d.ts +66 -0
- package/dist/models/CoverCta.d.ts.map +1 -0
- package/dist/models/CoverCta.js +71 -0
- package/dist/models/CoverCta.js.map +1 -0
- package/dist/models/CtaClientEventInfo.d.ts +39 -0
- package/dist/models/CtaClientEventInfo.d.ts.map +1 -0
- package/dist/models/CtaClientEventInfo.js +57 -0
- package/dist/models/CtaClientEventInfo.js.map +1 -0
- package/dist/models/CursorType.d.ts +1 -1
- package/dist/models/CursorType.d.ts.map +1 -1
- package/dist/models/DeleteRetweet.d.ts +33 -0
- package/dist/models/DeleteRetweet.d.ts.map +1 -0
- package/dist/models/DeleteRetweet.js +52 -0
- package/dist/models/DeleteRetweet.js.map +1 -0
- package/dist/models/DeleteRetweetResponseResult.d.ts +33 -0
- package/dist/models/DeleteRetweetResponseResult.d.ts.map +1 -0
- package/dist/models/DeleteRetweetResponseResult.js +52 -0
- package/dist/models/DeleteRetweetResponseResult.js.map +1 -0
- package/dist/models/ErrorResponse.d.ts +33 -0
- package/dist/models/ErrorResponse.d.ts.map +1 -0
- package/dist/models/ErrorResponse.js +52 -0
- package/dist/models/ErrorResponse.js.map +1 -0
- package/dist/models/ExtMediaAvailability.d.ts +39 -0
- package/dist/models/ExtMediaAvailability.d.ts.map +1 -0
- package/dist/models/ExtMediaAvailability.js +57 -0
- package/dist/models/ExtMediaAvailability.js.map +1 -0
- package/dist/models/ExtendedEntities.d.ts +3 -3
- package/dist/models/ExtendedEntities.d.ts.map +1 -1
- package/dist/models/ExtendedEntities.js +3 -3
- package/dist/models/ExtendedEntities.js.map +1 -1
- package/dist/models/Extensions.d.ts +57 -0
- package/dist/models/Extensions.d.ts.map +1 -0
- package/dist/models/Extensions.js +64 -0
- package/dist/models/Extensions.js.map +1 -0
- package/dist/models/GetBookmarks200Response.d.ts +1 -1
- package/dist/models/GetBookmarks200Response.d.ts.map +1 -1
- package/dist/models/GetFavoriters200Response.d.ts +1 -1
- package/dist/models/GetFavoriters200Response.d.ts.map +1 -1
- package/dist/models/GetFollowers200Response.d.ts +1 -1
- package/dist/models/GetFollowers200Response.d.ts.map +1 -1
- package/dist/models/GetHomeLatestTimeline200Response.d.ts +1 -1
- package/dist/models/GetHomeLatestTimeline200Response.d.ts.map +1 -1
- package/dist/models/GetLikes200Response.d.ts +1 -1
- package/dist/models/GetLikes200Response.d.ts.map +1 -1
- package/dist/models/GetListLatestTweetsTimeline200Response.d.ts +1 -1
- package/dist/models/GetListLatestTweetsTimeline200Response.d.ts.map +1 -1
- package/dist/models/GetProfileSpotlightsQuery200Response.d.ts +1 -1
- package/dist/models/GetProfileSpotlightsQuery200Response.d.ts.map +1 -1
- package/dist/models/GetRetweeters200Response.d.ts +1 -1
- package/dist/models/GetRetweeters200Response.d.ts.map +1 -1
- package/dist/models/GetSearchTimeline200Response.d.ts +1 -1
- package/dist/models/GetSearchTimeline200Response.d.ts.map +1 -1
- package/dist/models/GetTweetDetail200Response.d.ts +1 -1
- package/dist/models/GetTweetDetail200Response.d.ts.map +1 -1
- package/dist/models/GetTweetResultByRestId200Response.d.ts +1 -1
- package/dist/models/GetTweetResultByRestId200Response.d.ts.map +1 -1
- package/dist/models/GetUserByRestId200Response.d.ts +1 -1
- package/dist/models/GetUserByRestId200Response.d.ts.map +1 -1
- package/dist/models/GetUserHighlightsTweets200Response.d.ts +1 -1
- package/dist/models/GetUserHighlightsTweets200Response.d.ts.map +1 -1
- package/dist/models/GetUsersByRestIds200Response.d.ts +1 -1
- package/dist/models/GetUsersByRestIds200Response.d.ts.map +1 -1
- package/dist/models/InstructionType.d.ts +2 -1
- package/dist/models/InstructionType.d.ts.map +1 -1
- package/dist/models/InstructionType.js +2 -1
- package/dist/models/InstructionType.js.map +1 -1
- package/dist/models/InstructionUnion.d.ts +4 -1
- package/dist/models/InstructionUnion.d.ts.map +1 -1
- package/dist/models/InstructionUnion.js +5 -0
- package/dist/models/InstructionUnion.js.map +1 -1
- package/dist/models/ItemContentUnion.d.ts +1 -1
- package/dist/models/ItemContentUnion.d.ts.map +1 -1
- package/dist/models/ItemResult.d.ts +1 -1
- package/dist/models/ItemResult.d.ts.map +1 -1
- package/dist/models/ItemResult.js +1 -2
- package/dist/models/ItemResult.js.map +1 -1
- package/dist/models/ListTweetsTimeline.d.ts +1 -1
- package/dist/models/ListTweetsTimeline.d.ts.map +1 -1
- package/dist/models/ListTweetsTimeline.js +2 -2
- package/dist/models/ListTweetsTimeline.js.map +1 -1
- package/dist/models/Media.d.ts +15 -15
- package/dist/models/Media.d.ts.map +1 -1
- package/dist/models/Media.js +14 -7
- package/dist/models/Media.js.map +1 -1
- package/dist/models/MediaExtended.d.ts +131 -0
- package/dist/models/MediaExtended.d.ts.map +1 -0
- package/dist/models/MediaExtended.js +103 -0
- package/dist/models/MediaExtended.js.map +1 -0
- package/dist/models/MediaOriginalInfo.d.ts +5 -6
- package/dist/models/MediaOriginalInfo.d.ts.map +1 -1
- package/dist/models/MediaOriginalInfo.js +7 -4
- package/dist/models/MediaOriginalInfo.js.map +1 -1
- package/dist/models/MediaOriginalInfoFocusRect.d.ts +50 -0
- package/dist/models/MediaOriginalInfoFocusRect.d.ts.map +1 -0
- package/dist/models/MediaOriginalInfoFocusRect.js +60 -0
- package/dist/models/MediaOriginalInfoFocusRect.js.map +1 -0
- package/dist/models/MediaSize.d.ts +52 -0
- package/dist/models/MediaSize.d.ts.map +1 -0
- package/dist/models/MediaSize.js +64 -0
- package/dist/models/MediaSize.js.map +1 -0
- package/dist/models/MediaSizes.d.ts +51 -0
- package/dist/models/MediaSizes.d.ts.map +1 -0
- package/dist/models/MediaSizes.js +61 -0
- package/dist/models/MediaSizes.js.map +1 -0
- package/dist/models/MediaStats.d.ts +32 -0
- package/dist/models/MediaStats.d.ts.map +1 -0
- package/dist/models/MediaStats.js +51 -0
- package/dist/models/MediaStats.js.map +1 -0
- package/dist/models/MediaVideoInfo.d.ts +45 -0
- package/dist/models/MediaVideoInfo.d.ts.map +1 -0
- package/dist/models/MediaVideoInfo.js +58 -0
- package/dist/models/MediaVideoInfo.js.map +1 -0
- package/dist/models/MediaVideoInfoVariant.d.ts +44 -0
- package/dist/models/MediaVideoInfoVariant.d.ts.map +1 -0
- package/dist/models/MediaVideoInfoVariant.js +57 -0
- package/dist/models/MediaVideoInfoVariant.js.map +1 -0
- package/dist/models/ModuleEntry.d.ts +3 -4
- package/dist/models/ModuleEntry.d.ts.map +1 -1
- package/dist/models/ModuleEntry.js +3 -2
- package/dist/models/ModuleEntry.js.map +1 -1
- package/dist/models/Other200Response.d.ts +1 -1
- package/dist/models/Other200Response.d.ts.map +1 -1
- package/dist/models/PostCreateRetweet200Response.d.ts +1 -1
- package/dist/models/PostCreateRetweet200Response.d.ts.map +1 -1
- package/dist/models/PostCreateTweet200Response.d.ts +1 -1
- package/dist/models/PostCreateTweet200Response.d.ts.map +1 -1
- package/dist/models/PostCreateTweetRequestFeatures.d.ts +9 -15
- package/dist/models/PostCreateTweetRequestFeatures.d.ts.map +1 -1
- package/dist/models/PostCreateTweetRequestFeatures.js +9 -12
- package/dist/models/PostCreateTweetRequestFeatures.js.map +1 -1
- package/dist/models/PostCreateTweetRequestVariablesMedia.d.ts +3 -2
- package/dist/models/PostCreateTweetRequestVariablesMedia.d.ts.map +1 -1
- package/dist/models/PostCreateTweetRequestVariablesMedia.js +3 -2
- package/dist/models/PostCreateTweetRequestVariablesMedia.js.map +1 -1
- package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.d.ts +38 -0
- package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.d.ts.map +1 -0
- package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.js +54 -0
- package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.js.map +1 -0
- package/dist/models/PostDeleteRetweet200Response.d.ts +1 -1
- package/dist/models/PostDeleteRetweet200Response.d.ts.map +1 -1
- package/dist/models/PostDeleteTweet200Response.d.ts +1 -1
- package/dist/models/PostDeleteTweet200Response.d.ts.map +1 -1
- package/dist/models/PostFavoriteTweet200Response.d.ts +1 -1
- package/dist/models/PostFavoriteTweet200Response.d.ts.map +1 -1
- package/dist/models/PostUnfavoriteTweet200Response.d.ts +1 -1
- package/dist/models/PostUnfavoriteTweet200Response.d.ts.map +1 -1
- package/dist/models/SelfThread.d.ts +32 -0
- package/dist/models/SelfThread.d.ts.map +1 -0
- package/dist/models/SelfThread.js +51 -0
- package/dist/models/SelfThread.js.map +1 -0
- package/dist/models/Session.d.ts +8 -1
- package/dist/models/Session.d.ts.map +1 -1
- package/dist/models/Session.js +7 -1
- package/dist/models/Session.js.map +1 -1
- package/dist/models/Text.d.ts +39 -0
- package/dist/models/Text.d.ts.map +1 -0
- package/dist/models/Text.js +55 -0
- package/dist/models/Text.js.map +1 -0
- package/dist/models/TextEntity.d.ts +45 -0
- package/dist/models/TextEntity.d.ts.map +1 -0
- package/dist/models/TextEntity.js +58 -0
- package/dist/models/TextEntity.js.map +1 -0
- package/dist/models/TextEntityRef.d.ts +58 -0
- package/dist/models/TextEntityRef.d.ts.map +1 -0
- package/dist/models/TextEntityRef.js +69 -0
- package/dist/models/TextEntityRef.js.map +1 -0
- package/dist/models/TimelineCoverBehavior.d.ts +39 -0
- package/dist/models/TimelineCoverBehavior.d.ts.map +1 -0
- package/dist/models/TimelineCoverBehavior.js +57 -0
- package/dist/models/TimelineCoverBehavior.js.map +1 -0
- package/dist/models/TimelineHalfCover.d.ts +85 -0
- package/dist/models/TimelineHalfCover.d.ts.map +1 -0
- package/dist/models/TimelineHalfCover.js +84 -0
- package/dist/models/TimelineHalfCover.js.map +1 -0
- package/dist/models/TimelineShowAlert.d.ts +2 -2
- package/dist/models/TimelineShowAlert.d.ts.map +1 -1
- package/dist/models/TimelineShowCover.d.ts +47 -0
- package/dist/models/TimelineShowCover.d.ts.map +1 -0
- package/dist/models/TimelineShowCover.js +60 -0
- package/dist/models/TimelineShowCover.js.map +1 -0
- package/dist/models/TimelineTerminateTimeline.d.ts +1 -1
- package/dist/models/TimelineTerminateTimeline.d.ts.map +1 -1
- package/dist/models/TimelineTimelineItem.d.ts +3 -4
- package/dist/models/TimelineTimelineItem.d.ts.map +1 -1
- package/dist/models/TimelineTimelineItem.js +3 -2
- package/dist/models/TimelineTimelineItem.js.map +1 -1
- package/dist/models/TimelineTimelineModule.d.ts +9 -1
- package/dist/models/TimelineTimelineModule.d.ts.map +1 -1
- package/dist/models/TimelineTimelineModule.js +8 -1
- package/dist/models/TimelineTimelineModule.js.map +1 -1
- package/dist/models/TimelineUser.d.ts +10 -1
- package/dist/models/TimelineUser.d.ts.map +1 -1
- package/dist/models/TimelineUser.js +9 -1
- package/dist/models/TimelineUser.js.map +1 -1
- package/dist/models/Tweet.d.ts +11 -5
- package/dist/models/Tweet.d.ts.map +1 -1
- package/dist/models/Tweet.js +7 -7
- package/dist/models/Tweet.js.map +1 -1
- package/dist/models/TweetCardLegacy.d.ts +3 -3
- package/dist/models/TweetCardLegacy.d.ts.map +1 -1
- package/dist/models/TweetCardLegacy.js +3 -3
- package/dist/models/TweetCardLegacy.js.map +1 -1
- package/dist/models/TweetCardLegacyBindingValue.d.ts +39 -0
- package/dist/models/TweetCardLegacyBindingValue.d.ts.map +1 -0
- package/dist/models/TweetCardLegacyBindingValue.js +55 -0
- package/dist/models/TweetCardLegacyBindingValue.js.map +1 -0
- package/dist/models/TweetCardLegacyBindingValueData.d.ts +50 -0
- package/dist/models/TweetCardLegacyBindingValueData.d.ts.map +1 -0
- package/dist/models/{TweetCardLegacyBindingValuesInnerValue.js → TweetCardLegacyBindingValueData.js} +12 -12
- package/dist/models/TweetCardLegacyBindingValueData.js.map +1 -0
- package/dist/models/TweetEditControl.d.ts +13 -0
- package/dist/models/TweetEditControl.d.ts.map +1 -1
- package/dist/models/TweetEditControl.js +5 -0
- package/dist/models/TweetEditControl.js.map +1 -1
- package/dist/models/TweetEditControlInitial.d.ts +50 -0
- package/dist/models/TweetEditControlInitial.d.ts.map +1 -0
- package/dist/models/TweetEditControlInitial.js +60 -0
- package/dist/models/TweetEditControlInitial.js.map +1 -0
- package/dist/models/TweetLegacy.d.ts +3 -3
- package/dist/models/TweetLegacy.d.ts.map +1 -1
- package/dist/models/TweetLegacy.js +3 -3
- package/dist/models/TweetLegacy.js.map +1 -1
- package/dist/models/TweetUnion.d.ts +1 -1
- package/dist/models/TweetUnion.d.ts.map +1 -1
- package/dist/models/TweetView.d.ts +45 -0
- package/dist/models/TweetView.d.ts.map +1 -0
- package/dist/models/{TweetViews.js → TweetView.js} +20 -13
- package/dist/models/TweetView.js.map +1 -0
- package/dist/models/TypeName.d.ts +2 -1
- package/dist/models/TypeName.d.ts.map +1 -1
- package/dist/models/TypeName.js +1 -0
- package/dist/models/TypeName.js.map +1 -1
- package/dist/models/UserResults.d.ts +1 -1
- package/dist/models/UserResults.d.ts.map +1 -1
- package/dist/models/UserResults.js +2 -2
- package/dist/models/UserResults.js.map +1 -1
- package/dist/models/UserUnion.d.ts +1 -1
- package/dist/models/UserUnion.d.ts.map +1 -1
- package/dist/models/index.d.ts +29 -4
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +29 -4
- package/dist/models/index.js.map +1 -1
- package/dist/runtime.d.ts +9 -9
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +2 -2
- package/src/apis/DefaultApi.ts +94 -6
- package/src/apis/OtherApi.ts +47 -3
- package/src/apis/PostApi.ts +282 -18
- package/src/apis/TweetApi.ts +526 -51
- package/src/apis/UserApi.ts +103 -6
- package/src/apis/UserListApi.ts +235 -24
- package/src/apis/UsersApi.ts +47 -3
- package/src/apis/V11GetApi.ts +94 -6
- package/src/apis/V11PostApi.ts +94 -6
- package/src/apis/V20GetApi.ts +47 -3
- package/src/models/AdditionalMediaInfo.ts +66 -0
- package/src/models/Callback.ts +66 -0
- package/src/models/ClientEventInfo.ts +81 -0
- package/src/models/CoverCta.ts +129 -0
- package/src/models/CtaClientEventInfo.ts +76 -0
- package/src/models/DeleteRetweet.ts +73 -0
- package/src/models/DeleteRetweetResponseResult.ts +72 -0
- package/src/models/ErrorResponse.ts +73 -0
- package/src/models/ExtMediaAvailability.ts +75 -0
- package/src/models/ExtendedEntities.ts +9 -9
- package/src/models/Extensions.ts +109 -0
- package/src/models/InstructionType.ts +2 -1
- package/src/models/InstructionUnion.ts +12 -1
- package/src/models/ItemResult.ts +2 -3
- package/src/models/ListTweetsTimeline.ts +2 -3
- package/src/models/Media.ts +27 -17
- package/src/models/MediaExtended.ts +236 -0
- package/src/models/MediaOriginalInfo.ts +17 -8
- package/src/models/MediaOriginalInfoFocusRect.ts +93 -0
- package/src/models/MediaSize.ts +95 -0
- package/src/models/MediaSizes.ts +100 -0
- package/src/models/MediaStats.ts +66 -0
- package/src/models/MediaVideoInfo.ts +90 -0
- package/src/models/MediaVideoInfoVariant.ts +83 -0
- package/src/models/ModuleEntry.ts +10 -4
- package/src/models/PostCreateTweetRequestFeatures.ts +18 -27
- package/src/models/PostCreateTweetRequestVariablesMedia.ts +11 -4
- package/src/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.ts +75 -0
- package/src/models/{TweetLegacySelfThread.ts → SelfThread.ts} +9 -9
- package/src/models/Session.ts +11 -1
- package/src/models/Text.ts +82 -0
- package/src/models/TextEntity.ts +91 -0
- package/src/models/TextEntityRef.ts +102 -0
- package/src/models/TimelineCoverBehavior.ts +76 -0
- package/src/models/TimelineHalfCover.ts +157 -0
- package/src/models/TimelineShowCover.ts +103 -0
- package/src/models/TimelineTimelineItem.ts +10 -4
- package/src/models/TimelineTimelineModule.ts +12 -1
- package/src/models/TimelineUser.ts +13 -1
- package/src/models/Tweet.ts +21 -15
- package/src/models/TweetCardLegacy.ts +9 -9
- package/src/models/TweetCardLegacyBindingValue.ts +82 -0
- package/src/models/{TweetCardLegacyBindingValuesInnerValue.ts → TweetCardLegacyBindingValueData.ts} +12 -12
- package/src/models/TweetEditControl.ts +23 -0
- package/src/models/TweetEditControlInitial.ts +93 -0
- package/src/models/TweetLegacy.ts +9 -9
- package/src/models/{TweetViews.ts → TweetView.ts} +23 -12
- package/src/models/TypeName.ts +1 -0
- package/src/models/UserResults.ts +2 -3
- package/src/models/index.ts +29 -4
- package/tools/openapi-generator-config.yaml +1 -1
- package/tools/win/replace.py +1 -1
- package/twitter-openapi/.vscode/launch.json +8 -0
- package/twitter-openapi/.vscode/tasks.json +3 -0
- package/twitter-openapi/LICENSE +31 -0
- package/twitter-openapi/{LICENSE.txt → LICENSE.AGPL} +3 -3
- package/twitter-openapi/README.md +4 -1
- package/twitter-openapi/dist/compatible/openapi-3.0.yaml +5019 -36
- package/twitter-openapi/dist/docs/openapi-3.0.yaml +6817 -36
- package/twitter-openapi/src/config/component/security_schemes.yaml +148 -0
- package/twitter-openapi/src/config/placeholder.json +145 -112
- package/twitter-openapi/src/openapi/openapi-3.0.yaml +2 -2
- package/twitter-openapi/src/openapi/paths/other.yaml +2 -1
- package/twitter-openapi/src/openapi/paths/timeline.yaml +0 -2
- package/twitter-openapi/src/openapi/schemas/content.yaml +20 -8
- package/twitter-openapi/src/openapi/schemas/general.yaml +2 -2
- package/twitter-openapi/src/openapi/schemas/instruction.yaml +133 -0
- package/twitter-openapi/src/openapi/schemas/tweet.yaml +306 -107
- package/twitter-openapi/src/openapi/schemas/typename.yaml +1 -0
- package/twitter-openapi/src/openapi/schemas/user.yaml +0 -2
- package/twitter-openapi/test/python/replace.py +23 -0
- package/twitter-openapi/test/python/test_serialize.py +191 -91
- 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.py +35 -31
- package/twitter-openapi/tools/build_config.py +7 -10
- package/dist/models/TweetCardLegacyBindingValuesInner.d.ts +0 -39
- package/dist/models/TweetCardLegacyBindingValuesInner.d.ts.map +0 -1
- package/dist/models/TweetCardLegacyBindingValuesInner.js +0 -55
- package/dist/models/TweetCardLegacyBindingValuesInner.js.map +0 -1
- package/dist/models/TweetCardLegacyBindingValuesInnerValue.d.ts +0 -50
- package/dist/models/TweetCardLegacyBindingValuesInnerValue.d.ts.map +0 -1
- package/dist/models/TweetCardLegacyBindingValuesInnerValue.js.map +0 -1
- package/dist/models/TweetLegacySelfThread.d.ts +0 -32
- package/dist/models/TweetLegacySelfThread.d.ts.map +0 -1
- package/dist/models/TweetLegacySelfThread.js +0 -51
- package/dist/models/TweetLegacySelfThread.js.map +0 -1
- package/dist/models/TweetViews.d.ts +0 -38
- package/dist/models/TweetViews.d.ts.map +0 -1
- package/dist/models/TweetViews.js.map +0 -1
- package/src/models/TweetCardLegacyBindingValuesInner.ts +0 -82
- package/twitter-openapi/dist/compatible/paths/bookmarks.yaml +0 -107
- package/twitter-openapi/dist/compatible/paths/follow.yaml +0 -301
- package/twitter-openapi/dist/compatible/paths/other.yaml +0 -97
- package/twitter-openapi/dist/compatible/paths/post.yaml +0 -714
- package/twitter-openapi/dist/compatible/paths/profile.yaml +0 -126
- package/twitter-openapi/dist/compatible/paths/timeline.yaml +0 -416
- package/twitter-openapi/dist/compatible/paths/tweet.yaml +0 -397
- package/twitter-openapi/dist/compatible/paths/user.yaml +0 -233
- package/twitter-openapi/dist/compatible/paths/usertweets.yaml +0 -504
- package/twitter-openapi/dist/compatible/paths/v1.1-get.yaml +0 -242
- package/twitter-openapi/dist/compatible/paths/v1.1-post.yaml +0 -237
- package/twitter-openapi/dist/compatible/paths/v2.0-get.yaml +0 -302
- package/twitter-openapi/dist/compatible/resources/parameters.yaml +0 -13
- package/twitter-openapi/dist/compatible/response/error.yaml +0 -90
- package/twitter-openapi/dist/compatible/schemas/content.yaml +0 -201
- package/twitter-openapi/dist/compatible/schemas/error.yaml +0 -94
- package/twitter-openapi/dist/compatible/schemas/general.yaml +0 -13
- package/twitter-openapi/dist/compatible/schemas/instruction.yaml +0 -156
- package/twitter-openapi/dist/compatible/schemas/timeline.yaml +0 -27
- package/twitter-openapi/dist/compatible/schemas/tweet.yaml +0 -323
- package/twitter-openapi/dist/compatible/schemas/typename.yaml +0 -22
- package/twitter-openapi/dist/compatible/schemas/user.yaml +0 -222
- package/twitter-openapi/dist/docs/paths/bookmarks.yaml +0 -201
- package/twitter-openapi/dist/docs/paths/follow.yaml +0 -587
- package/twitter-openapi/dist/docs/paths/other.yaml +0 -97
- package/twitter-openapi/dist/docs/paths/post.yaml +0 -692
- package/twitter-openapi/dist/docs/paths/profile.yaml +0 -134
- package/twitter-openapi/dist/docs/paths/timeline.yaml +0 -811
- package/twitter-openapi/dist/docs/paths/tweet.yaml +0 -797
- package/twitter-openapi/dist/docs/paths/user.yaml +0 -338
- package/twitter-openapi/dist/docs/paths/usertweets.yaml +0 -1046
- package/twitter-openapi/dist/docs/paths/v1.1-get.yaml +0 -242
- package/twitter-openapi/dist/docs/paths/v1.1-post.yaml +0 -237
- package/twitter-openapi/dist/docs/paths/v2.0-get.yaml +0 -302
- package/twitter-openapi/dist/docs/resources/parameters.yaml +0 -13
- package/twitter-openapi/dist/docs/response/error.yaml +0 -90
- package/twitter-openapi/dist/docs/schemas/content.yaml +0 -201
- package/twitter-openapi/dist/docs/schemas/error.yaml +0 -94
- package/twitter-openapi/dist/docs/schemas/general.yaml +0 -13
- package/twitter-openapi/dist/docs/schemas/instruction.yaml +0 -156
- package/twitter-openapi/dist/docs/schemas/timeline.yaml +0 -27
- package/twitter-openapi/dist/docs/schemas/tweet.yaml +0 -323
- package/twitter-openapi/dist/docs/schemas/typename.yaml +0 -22
- package/twitter-openapi/dist/docs/schemas/user.yaml +0 -222
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
components:
|
|
2
|
-
schemas:
|
|
3
|
-
InstructionType:
|
|
4
|
-
enum:
|
|
5
|
-
- TimelineAddEntries
|
|
6
|
-
- TimelineAddToModule
|
|
7
|
-
- TimelineClearCache
|
|
8
|
-
- TimelinePinEntry
|
|
9
|
-
- TimelineReplaceEntry
|
|
10
|
-
- TimelineShowAlert
|
|
11
|
-
- TimelineTerminateTimeline
|
|
12
|
-
type: string
|
|
13
|
-
InstructionUnion:
|
|
14
|
-
discriminator:
|
|
15
|
-
mapping":
|
|
16
|
-
TimelineAddEntries: '#/components/schemas/TimelineAddEntries'
|
|
17
|
-
TimelineAddToModule: '#/components/schemas/TimelineAddToModule'
|
|
18
|
-
TimelineClearCache: '#/components/schemas/TimelineClearCache'
|
|
19
|
-
TimelinePinEntry: '#/components/schemas/TimelinePinEntry'
|
|
20
|
-
TimelineReplaceEntry: '#/components/schemas/TimelineReplaceEntry'
|
|
21
|
-
TimelineShowAlert: '#/components/schemas/TimelineShowAlert'
|
|
22
|
-
TimelineTerminateTimeline: '#/components/schemas/TimelineTerminateTimeline'
|
|
23
|
-
propertyName: type
|
|
24
|
-
oneOf:
|
|
25
|
-
- $ref: '#/components/schemas/TimelineAddEntries'
|
|
26
|
-
- $ref: '#/components/schemas/TimelineAddToModule'
|
|
27
|
-
- $ref: '#/components/schemas/TimelineClearCache'
|
|
28
|
-
- $ref: '#/components/schemas/TimelinePinEntry'
|
|
29
|
-
- $ref: '#/components/schemas/TimelineReplaceEntry'
|
|
30
|
-
- $ref: '#/components/schemas/TimelineShowAlert'
|
|
31
|
-
- $ref: '#/components/schemas/TimelineTerminateTimeline'
|
|
32
|
-
TimelineAddEntries:
|
|
33
|
-
properties:
|
|
34
|
-
entries:
|
|
35
|
-
items:
|
|
36
|
-
$ref: '#/components/schemas/TimelineAddEntry'
|
|
37
|
-
type: array
|
|
38
|
-
type:
|
|
39
|
-
$ref: '#/components/schemas/InstructionType'
|
|
40
|
-
required:
|
|
41
|
-
- type
|
|
42
|
-
- entries
|
|
43
|
-
TimelineAddEntry:
|
|
44
|
-
properties:
|
|
45
|
-
content:
|
|
46
|
-
$ref: ./content.yaml#/components/schemas/ContentUnion
|
|
47
|
-
entryId:
|
|
48
|
-
pattern: ^(([a-z]+|[0-9]+|[0-9a-f]+)(-|$))+
|
|
49
|
-
type: string
|
|
50
|
-
sortIndex:
|
|
51
|
-
pattern: '[0-9]+$'
|
|
52
|
-
type: string
|
|
53
|
-
required:
|
|
54
|
-
- content
|
|
55
|
-
- entryId
|
|
56
|
-
- sortIndex
|
|
57
|
-
TimelineAddToModule:
|
|
58
|
-
properties:
|
|
59
|
-
moduleEntryId:
|
|
60
|
-
type: string
|
|
61
|
-
moduleItems:
|
|
62
|
-
items:
|
|
63
|
-
$ref: ./content.yaml#/components/schemas/ModuleItem
|
|
64
|
-
type: array
|
|
65
|
-
prepend:
|
|
66
|
-
type: boolean
|
|
67
|
-
type:
|
|
68
|
-
$ref: '#/components/schemas/InstructionType'
|
|
69
|
-
required:
|
|
70
|
-
- type
|
|
71
|
-
- moduleItems
|
|
72
|
-
- moduleEntryId
|
|
73
|
-
TimelineClearCache:
|
|
74
|
-
properties:
|
|
75
|
-
type:
|
|
76
|
-
$ref: '#/components/schemas/InstructionType'
|
|
77
|
-
required:
|
|
78
|
-
- type
|
|
79
|
-
TimelinePinEntry:
|
|
80
|
-
properties:
|
|
81
|
-
entry:
|
|
82
|
-
$ref: '#/components/schemas/TimelineAddEntry'
|
|
83
|
-
type:
|
|
84
|
-
$ref: '#/components/schemas/InstructionType'
|
|
85
|
-
required:
|
|
86
|
-
- type
|
|
87
|
-
- entry
|
|
88
|
-
TimelineReplaceEntry:
|
|
89
|
-
properties:
|
|
90
|
-
entry:
|
|
91
|
-
$ref: '#/components/schemas/TimelineAddEntry'
|
|
92
|
-
entry_id_to_replace:
|
|
93
|
-
type: string
|
|
94
|
-
type:
|
|
95
|
-
$ref: '#/components/schemas/InstructionType'
|
|
96
|
-
required:
|
|
97
|
-
- type
|
|
98
|
-
- entry_id_to_replace
|
|
99
|
-
- entry
|
|
100
|
-
TimelineShowAlert:
|
|
101
|
-
properties:
|
|
102
|
-
alertType:
|
|
103
|
-
enum:
|
|
104
|
-
- NewTweets
|
|
105
|
-
type: string
|
|
106
|
-
colorConfig:
|
|
107
|
-
additionalProperties: true
|
|
108
|
-
type: object
|
|
109
|
-
displayDurationMs:
|
|
110
|
-
type: integer
|
|
111
|
-
displayLocation:
|
|
112
|
-
enum:
|
|
113
|
-
- Top
|
|
114
|
-
type: string
|
|
115
|
-
iconDisplayInfo:
|
|
116
|
-
additionalProperties: true
|
|
117
|
-
type: object
|
|
118
|
-
richText:
|
|
119
|
-
properties:
|
|
120
|
-
entities:
|
|
121
|
-
items:
|
|
122
|
-
additionalProperties: true
|
|
123
|
-
type: object
|
|
124
|
-
type: array
|
|
125
|
-
text:
|
|
126
|
-
type: string
|
|
127
|
-
type: object
|
|
128
|
-
triggerDelayMs:
|
|
129
|
-
type: integer
|
|
130
|
-
type:
|
|
131
|
-
$ref: '#/components/schemas/InstructionType'
|
|
132
|
-
usersResults:
|
|
133
|
-
items:
|
|
134
|
-
$ref: ./user.yaml#/components/schemas/UserResults
|
|
135
|
-
type: array
|
|
136
|
-
required:
|
|
137
|
-
- type
|
|
138
|
-
- usersResults
|
|
139
|
-
- richText
|
|
140
|
-
TimelineTerminateTimeline:
|
|
141
|
-
properties:
|
|
142
|
-
direction:
|
|
143
|
-
enum:
|
|
144
|
-
- Top
|
|
145
|
-
- Bottom
|
|
146
|
-
type: string
|
|
147
|
-
type:
|
|
148
|
-
$ref: '#/components/schemas/InstructionType'
|
|
149
|
-
required:
|
|
150
|
-
- type
|
|
151
|
-
- direction
|
|
152
|
-
info:
|
|
153
|
-
title: Twitter OpenAPI
|
|
154
|
-
version: 0.0.1
|
|
155
|
-
openapi: 3.0.3
|
|
156
|
-
paths: {}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
components:
|
|
2
|
-
schemas:
|
|
3
|
-
Timeline:
|
|
4
|
-
properties:
|
|
5
|
-
instructions:
|
|
6
|
-
items:
|
|
7
|
-
$ref: ./../schemas/instruction.yaml#/components/schemas/InstructionUnion
|
|
8
|
-
type: array
|
|
9
|
-
metadata:
|
|
10
|
-
additionalProperties: true
|
|
11
|
-
type: object
|
|
12
|
-
responseObjects:
|
|
13
|
-
additionalProperties: true
|
|
14
|
-
type: object
|
|
15
|
-
required:
|
|
16
|
-
- instructions
|
|
17
|
-
TimelineV2:
|
|
18
|
-
properties:
|
|
19
|
-
timeline:
|
|
20
|
-
$ref: '#/components/schemas/Timeline'
|
|
21
|
-
required:
|
|
22
|
-
- timeline
|
|
23
|
-
info:
|
|
24
|
-
title: Twitter OpenAPI
|
|
25
|
-
version: 0.0.1
|
|
26
|
-
openapi: 3.0.3
|
|
27
|
-
paths: {}
|
|
@@ -1,323 +0,0 @@
|
|
|
1
|
-
components:
|
|
2
|
-
schemas:
|
|
3
|
-
Entities:
|
|
4
|
-
properties:
|
|
5
|
-
hashtags:
|
|
6
|
-
items:
|
|
7
|
-
$ref: '#/components/schemas/Hashtag'
|
|
8
|
-
type: array
|
|
9
|
-
media:
|
|
10
|
-
items:
|
|
11
|
-
$ref: '#/components/schemas/Media'
|
|
12
|
-
type: array
|
|
13
|
-
symbols:
|
|
14
|
-
items:
|
|
15
|
-
$ref: '#/components/schemas/Symbol'
|
|
16
|
-
type: array
|
|
17
|
-
urls:
|
|
18
|
-
items:
|
|
19
|
-
$ref: '#/components/schemas/Url'
|
|
20
|
-
type: array
|
|
21
|
-
user_mentions:
|
|
22
|
-
items:
|
|
23
|
-
$ref: '#/components/schemas/UserMention'
|
|
24
|
-
type: array
|
|
25
|
-
required:
|
|
26
|
-
- hashtags
|
|
27
|
-
- symbols
|
|
28
|
-
- user_mentions
|
|
29
|
-
- urls
|
|
30
|
-
ExtendedEntities:
|
|
31
|
-
properties:
|
|
32
|
-
media:
|
|
33
|
-
items:
|
|
34
|
-
$ref: '#/components/schemas/Media'
|
|
35
|
-
type: array
|
|
36
|
-
required:
|
|
37
|
-
- media
|
|
38
|
-
Hashtag:
|
|
39
|
-
additionalProperties: true
|
|
40
|
-
type: object
|
|
41
|
-
Media:
|
|
42
|
-
properties:
|
|
43
|
-
display_url:
|
|
44
|
-
format: uri
|
|
45
|
-
type: string
|
|
46
|
-
expanded_url:
|
|
47
|
-
format: uri
|
|
48
|
-
type: string
|
|
49
|
-
ext_media_availability:
|
|
50
|
-
additionalProperties: true
|
|
51
|
-
type: object
|
|
52
|
-
id_str:
|
|
53
|
-
pattern: ^[0-9]+$
|
|
54
|
-
type: string
|
|
55
|
-
indices:
|
|
56
|
-
items:
|
|
57
|
-
type: integer
|
|
58
|
-
type: array
|
|
59
|
-
media_key:
|
|
60
|
-
pattern: ^[0-9]+_[0-9]+$
|
|
61
|
-
type: string
|
|
62
|
-
media_url_https:
|
|
63
|
-
format: uri
|
|
64
|
-
type: string
|
|
65
|
-
original_info:
|
|
66
|
-
properties:
|
|
67
|
-
focus_rects:
|
|
68
|
-
items:
|
|
69
|
-
additionalProperties: true
|
|
70
|
-
type: object
|
|
71
|
-
type: array
|
|
72
|
-
height:
|
|
73
|
-
type: integer
|
|
74
|
-
width:
|
|
75
|
-
type: integer
|
|
76
|
-
type: object
|
|
77
|
-
sizes:
|
|
78
|
-
additionalProperties: true
|
|
79
|
-
type: object
|
|
80
|
-
type:
|
|
81
|
-
type: string
|
|
82
|
-
url:
|
|
83
|
-
format: uri
|
|
84
|
-
type: string
|
|
85
|
-
required:
|
|
86
|
-
- id_str
|
|
87
|
-
- indices
|
|
88
|
-
- media_url_https
|
|
89
|
-
- url
|
|
90
|
-
- display_url
|
|
91
|
-
- expanded_url
|
|
92
|
-
- type
|
|
93
|
-
- sizes
|
|
94
|
-
- original_info
|
|
95
|
-
Symbol:
|
|
96
|
-
additionalProperties: true
|
|
97
|
-
type: object
|
|
98
|
-
Tweet:
|
|
99
|
-
properties:
|
|
100
|
-
__typename:
|
|
101
|
-
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
102
|
-
card:
|
|
103
|
-
properties:
|
|
104
|
-
legacy:
|
|
105
|
-
properties:
|
|
106
|
-
binding_values:
|
|
107
|
-
items:
|
|
108
|
-
properties:
|
|
109
|
-
key:
|
|
110
|
-
type: string
|
|
111
|
-
value:
|
|
112
|
-
properties:
|
|
113
|
-
boolean_value:
|
|
114
|
-
type: boolean
|
|
115
|
-
scribe_key:
|
|
116
|
-
type: string
|
|
117
|
-
string_value:
|
|
118
|
-
type: string
|
|
119
|
-
type:
|
|
120
|
-
type: string
|
|
121
|
-
required:
|
|
122
|
-
- type
|
|
123
|
-
type: object
|
|
124
|
-
required:
|
|
125
|
-
- key
|
|
126
|
-
- value
|
|
127
|
-
type: object
|
|
128
|
-
type: array
|
|
129
|
-
name:
|
|
130
|
-
type: string
|
|
131
|
-
url:
|
|
132
|
-
type: string
|
|
133
|
-
required:
|
|
134
|
-
- binding_values
|
|
135
|
-
- name
|
|
136
|
-
- url
|
|
137
|
-
type: object
|
|
138
|
-
rest_id:
|
|
139
|
-
type: string
|
|
140
|
-
type: object
|
|
141
|
-
core:
|
|
142
|
-
$ref: ./user.yaml#/components/schemas/UserResultCore
|
|
143
|
-
edit_control:
|
|
144
|
-
properties:
|
|
145
|
-
edit_tweet_ids:
|
|
146
|
-
items:
|
|
147
|
-
pattern: ^[0-9]+$
|
|
148
|
-
type: string
|
|
149
|
-
type: array
|
|
150
|
-
editable_until_msecs:
|
|
151
|
-
pattern: ^[0-9]+$
|
|
152
|
-
type: string
|
|
153
|
-
edits_remaining:
|
|
154
|
-
pattern: ^[0-9]+$
|
|
155
|
-
type: string
|
|
156
|
-
is_edit_eligible:
|
|
157
|
-
type: boolean
|
|
158
|
-
type: object
|
|
159
|
-
edit_prespective:
|
|
160
|
-
properties:
|
|
161
|
-
favorited:
|
|
162
|
-
type: boolean
|
|
163
|
-
retweeted:
|
|
164
|
-
type: boolean
|
|
165
|
-
type: object
|
|
166
|
-
is_translatable:
|
|
167
|
-
default: false
|
|
168
|
-
type: boolean
|
|
169
|
-
legacy:
|
|
170
|
-
$ref: '#/components/schemas/TweetLegacy'
|
|
171
|
-
quoted_status_result:
|
|
172
|
-
$ref: ./content.yaml#/components/schemas/ItemResult
|
|
173
|
-
rest_id:
|
|
174
|
-
pattern: ^[0-9]+$
|
|
175
|
-
type: string
|
|
176
|
-
unmention_data:
|
|
177
|
-
additionalProperties: true
|
|
178
|
-
type: object
|
|
179
|
-
views:
|
|
180
|
-
properties:
|
|
181
|
-
count:
|
|
182
|
-
pattern: ^[0-9]+$
|
|
183
|
-
type: string
|
|
184
|
-
state:
|
|
185
|
-
type: string
|
|
186
|
-
type: object
|
|
187
|
-
required:
|
|
188
|
-
- rest_id
|
|
189
|
-
- core
|
|
190
|
-
- edit_control
|
|
191
|
-
- is_translatable
|
|
192
|
-
- legacy
|
|
193
|
-
- views
|
|
194
|
-
TweetLegacy:
|
|
195
|
-
properties:
|
|
196
|
-
bookmark_count:
|
|
197
|
-
type: integer
|
|
198
|
-
bookmarked:
|
|
199
|
-
type: boolean
|
|
200
|
-
conversation_id_str:
|
|
201
|
-
pattern: ^[0-9]+$
|
|
202
|
-
type: string
|
|
203
|
-
created_at:
|
|
204
|
-
$ref: ./general.yaml#/components/schemas/TwitterTimeFormat
|
|
205
|
-
display_text_range:
|
|
206
|
-
items:
|
|
207
|
-
type: integer
|
|
208
|
-
type: array
|
|
209
|
-
entities:
|
|
210
|
-
$ref: '#/components/schemas/Entities'
|
|
211
|
-
extended_entities:
|
|
212
|
-
$ref: '#/components/schemas/ExtendedEntities'
|
|
213
|
-
favorite_count:
|
|
214
|
-
type: integer
|
|
215
|
-
favorited:
|
|
216
|
-
type: boolean
|
|
217
|
-
full_text:
|
|
218
|
-
type: string
|
|
219
|
-
id_str:
|
|
220
|
-
pattern: ^[0-9]+$
|
|
221
|
-
type: string
|
|
222
|
-
is_quote_status:
|
|
223
|
-
type: boolean
|
|
224
|
-
lang:
|
|
225
|
-
type: string
|
|
226
|
-
possibly_sensitive:
|
|
227
|
-
default: false
|
|
228
|
-
type: boolean
|
|
229
|
-
possibly_sensitive_editable:
|
|
230
|
-
default: false
|
|
231
|
-
type: boolean
|
|
232
|
-
quote_count:
|
|
233
|
-
type: integer
|
|
234
|
-
reply_count:
|
|
235
|
-
type: integer
|
|
236
|
-
retweet_count:
|
|
237
|
-
type: integer
|
|
238
|
-
retweeted:
|
|
239
|
-
type: boolean
|
|
240
|
-
retweeted_status_result:
|
|
241
|
-
$ref: ./content.yaml#/components/schemas/ItemResult
|
|
242
|
-
self_thread:
|
|
243
|
-
properties:
|
|
244
|
-
id_str:
|
|
245
|
-
pattern: ^[0-9]+$
|
|
246
|
-
type: string
|
|
247
|
-
required:
|
|
248
|
-
- id_str
|
|
249
|
-
type: object
|
|
250
|
-
user_id_str:
|
|
251
|
-
pattern: ^[0-9]+$
|
|
252
|
-
type: string
|
|
253
|
-
required:
|
|
254
|
-
- bookmark_count
|
|
255
|
-
- bookmarked
|
|
256
|
-
- conversation_id_str
|
|
257
|
-
- created_at
|
|
258
|
-
- display_text_range
|
|
259
|
-
- entities
|
|
260
|
-
- favorite_count
|
|
261
|
-
- favorited
|
|
262
|
-
- full_text
|
|
263
|
-
- is_quote_status
|
|
264
|
-
- lang
|
|
265
|
-
- quote_count
|
|
266
|
-
- reply_count
|
|
267
|
-
- retweet_count
|
|
268
|
-
- retweeted
|
|
269
|
-
- user_id_str
|
|
270
|
-
- id_str
|
|
271
|
-
TweetTombstone:
|
|
272
|
-
additionalProperties: true
|
|
273
|
-
properties:
|
|
274
|
-
__typename:
|
|
275
|
-
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
276
|
-
TweetUnion:
|
|
277
|
-
discriminator:
|
|
278
|
-
mapping":
|
|
279
|
-
Tweet: '#/components/schemas/Tweet'
|
|
280
|
-
TweetTombstone: '#/components/schemas/TweetTombstone'
|
|
281
|
-
TweetWithVisibilityResults: '#/components/schemas/TweetWithVisibilityResults'
|
|
282
|
-
propertyName: __typename
|
|
283
|
-
oneOf:
|
|
284
|
-
- $ref: '#/components/schemas/Tweet'
|
|
285
|
-
- $ref: '#/components/schemas/TweetWithVisibilityResults'
|
|
286
|
-
- $ref: '#/components/schemas/TweetTombstone'
|
|
287
|
-
TweetWithVisibilityResults:
|
|
288
|
-
properties:
|
|
289
|
-
__typename:
|
|
290
|
-
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
291
|
-
tweet:
|
|
292
|
-
$ref: '#/components/schemas/Tweet'
|
|
293
|
-
required:
|
|
294
|
-
- __typename
|
|
295
|
-
- tweet
|
|
296
|
-
Url:
|
|
297
|
-
properties:
|
|
298
|
-
display_url:
|
|
299
|
-
type: string
|
|
300
|
-
expanded_url:
|
|
301
|
-
format: uri
|
|
302
|
-
type: string
|
|
303
|
-
indices:
|
|
304
|
-
items:
|
|
305
|
-
type: integer
|
|
306
|
-
type: array
|
|
307
|
-
url:
|
|
308
|
-
format: uri
|
|
309
|
-
type: string
|
|
310
|
-
required:
|
|
311
|
-
- url
|
|
312
|
-
- indices
|
|
313
|
-
- expanded_url
|
|
314
|
-
- display_url
|
|
315
|
-
type: object
|
|
316
|
-
UserMention:
|
|
317
|
-
additionalProperties: true
|
|
318
|
-
type: object
|
|
319
|
-
info:
|
|
320
|
-
title: Twitter OpenAPI
|
|
321
|
-
version: 0.0.1
|
|
322
|
-
openapi: 3.0.3
|
|
323
|
-
paths: {}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
components:
|
|
2
|
-
schemas:
|
|
3
|
-
TypeName:
|
|
4
|
-
enum:
|
|
5
|
-
- TimelineTweet
|
|
6
|
-
- TimelineTimelineItem
|
|
7
|
-
- TimelineUser
|
|
8
|
-
- TimelineTimelineCursor
|
|
9
|
-
- TweetWithVisibilityResults
|
|
10
|
-
- TimelineTimelineModule
|
|
11
|
-
- TweetTombstone
|
|
12
|
-
- TimelinePrompt
|
|
13
|
-
- TimelineMessagePrompt
|
|
14
|
-
- Tweet
|
|
15
|
-
- User
|
|
16
|
-
- UserUnavailable
|
|
17
|
-
type: string
|
|
18
|
-
info:
|
|
19
|
-
title: Twitter OpenAPI
|
|
20
|
-
version: 0.0.1
|
|
21
|
-
openapi: 3.0.3
|
|
22
|
-
paths: {}
|