twitter-openapi-typescript-generated 0.0.8 → 0.0.9
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 +34 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +3 -3
- package/dist/apis/DefaultApi.d.ts.map +1 -1
- package/dist/apis/DefaultApi.js +1 -1
- package/dist/apis/DefaultApi.js.map +1 -1
- package/dist/apis/OtherApi.d.ts +3 -3
- package/dist/apis/OtherApi.d.ts.map +1 -1
- package/dist/apis/OtherApi.js +1 -1
- package/dist/apis/OtherApi.js.map +1 -1
- package/dist/apis/PostApi.d.ts +13 -13
- package/dist/apis/PostApi.d.ts.map +1 -1
- package/dist/apis/PostApi.js +6 -6
- package/dist/apis/PostApi.js.map +1 -1
- package/dist/apis/TweetApi.d.ts +35 -21
- package/dist/apis/TweetApi.d.ts.map +1 -1
- package/dist/apis/TweetApi.js +99 -10
- package/dist/apis/TweetApi.js.map +1 -1
- package/dist/apis/UserApi.d.ts +5 -18
- package/dist/apis/UserApi.d.ts.map +1 -1
- package/dist/apis/UserApi.js +2 -85
- package/dist/apis/UserApi.js.map +1 -1
- package/dist/apis/UserListApi.d.ts +23 -23
- package/dist/apis/UserListApi.d.ts.map +1 -1
- package/dist/apis/UserListApi.js +53 -53
- package/dist/apis/UserListApi.js.map +1 -1
- package/dist/apis/UsersApi.d.ts +32 -0
- package/dist/apis/UsersApi.d.ts.map +1 -0
- package/dist/apis/UsersApi.js +164 -0
- package/dist/apis/UsersApi.js.map +1 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.d.ts.map +1 -1
- package/dist/apis/index.js +1 -0
- package/dist/apis/index.js.map +1 -1
- package/dist/models/CursorType.d.ts +27 -0
- package/dist/models/CursorType.d.ts.map +1 -0
- package/dist/models/CursorType.js +40 -0
- package/dist/models/CursorType.js.map +1 -0
- package/dist/models/Entities.d.ts +12 -6
- package/dist/models/Entities.d.ts.map +1 -1
- package/dist/models/ErrorExtensions.d.ts +63 -0
- package/dist/models/ErrorExtensions.d.ts.map +1 -0
- package/dist/models/ErrorExtensions.js +67 -0
- package/dist/models/ErrorExtensions.js.map +1 -0
- package/dist/models/Errors.d.ts +32 -0
- package/dist/models/Errors.d.ts.map +1 -0
- package/dist/models/Errors.js +51 -0
- package/dist/models/Errors.js.map +1 -0
- package/dist/models/GetBookmarks200Response.d.ts +23 -0
- package/dist/models/GetBookmarks200Response.d.ts.map +1 -0
- package/dist/models/GetBookmarks200Response.js +57 -0
- package/dist/models/GetBookmarks200Response.js.map +1 -0
- package/dist/models/GetFavoriters200Response.d.ts +23 -0
- package/dist/models/GetFavoriters200Response.d.ts.map +1 -0
- package/dist/models/GetFavoriters200Response.js +57 -0
- package/dist/models/GetFavoriters200Response.js.map +1 -0
- package/dist/models/GetFollowers200Response.d.ts +23 -0
- package/dist/models/GetFollowers200Response.d.ts.map +1 -0
- package/dist/models/GetFollowers200Response.js +57 -0
- package/dist/models/GetFollowers200Response.js.map +1 -0
- package/dist/models/GetHomeLatestTimeline200Response.d.ts +23 -0
- package/dist/models/GetHomeLatestTimeline200Response.d.ts.map +1 -0
- package/dist/models/GetHomeLatestTimeline200Response.js +57 -0
- package/dist/models/GetHomeLatestTimeline200Response.js.map +1 -0
- package/dist/models/GetLikes200Response.d.ts +23 -0
- package/dist/models/GetLikes200Response.d.ts.map +1 -0
- package/dist/models/GetLikes200Response.js +57 -0
- package/dist/models/GetLikes200Response.js.map +1 -0
- package/dist/models/GetListLatestTweetsTimeline200Response.d.ts +23 -0
- package/dist/models/GetListLatestTweetsTimeline200Response.d.ts.map +1 -0
- package/dist/models/GetListLatestTweetsTimeline200Response.js +57 -0
- package/dist/models/GetListLatestTweetsTimeline200Response.js.map +1 -0
- package/dist/models/GetProfileSpotlightsQuery200Response.d.ts +23 -0
- package/dist/models/GetProfileSpotlightsQuery200Response.d.ts.map +1 -0
- package/dist/models/GetProfileSpotlightsQuery200Response.js +57 -0
- package/dist/models/GetProfileSpotlightsQuery200Response.js.map +1 -0
- package/dist/models/GetRetweeters200Response.d.ts +23 -0
- package/dist/models/GetRetweeters200Response.d.ts.map +1 -0
- package/dist/models/GetRetweeters200Response.js +57 -0
- package/dist/models/GetRetweeters200Response.js.map +1 -0
- package/dist/models/GetSearchTimeline200Response.d.ts +23 -0
- package/dist/models/GetSearchTimeline200Response.d.ts.map +1 -0
- package/dist/models/GetSearchTimeline200Response.js +57 -0
- package/dist/models/GetSearchTimeline200Response.js.map +1 -0
- package/dist/models/GetTweetDetail200Response.d.ts +23 -0
- package/dist/models/GetTweetDetail200Response.d.ts.map +1 -0
- package/dist/models/GetTweetDetail200Response.js +57 -0
- package/dist/models/GetTweetDetail200Response.js.map +1 -0
- package/dist/models/GetUserByRestId200Response.d.ts +23 -0
- package/dist/models/GetUserByRestId200Response.d.ts.map +1 -0
- package/dist/models/GetUserByRestId200Response.js +57 -0
- package/dist/models/GetUserByRestId200Response.js.map +1 -0
- package/dist/models/GetUserHighlightsTweets200Response.d.ts +23 -0
- package/dist/models/GetUserHighlightsTweets200Response.d.ts.map +1 -0
- package/dist/models/GetUserHighlightsTweets200Response.js +57 -0
- package/dist/models/GetUserHighlightsTweets200Response.js.map +1 -0
- package/dist/models/GetUsersByRestIds200Response.d.ts +23 -0
- package/dist/models/GetUsersByRestIds200Response.d.ts.map +1 -0
- package/dist/models/GetUsersByRestIds200Response.js +57 -0
- package/dist/models/GetUsersByRestIds200Response.js.map +1 -0
- package/dist/models/ItemContentUnion.d.ts +5 -5
- package/dist/models/ItemContentUnion.js +9 -9
- package/dist/models/ItemContentUnion.js.map +1 -1
- package/dist/models/Location.d.ts +38 -0
- package/dist/models/Location.d.ts.map +1 -0
- package/dist/models/Location.js +54 -0
- package/dist/models/Location.js.map +1 -0
- package/dist/models/Media.d.ts +8 -4
- package/dist/models/Media.d.ts.map +1 -1
- package/dist/models/MediaOriginalInfo.d.ts +4 -2
- package/dist/models/MediaOriginalInfo.d.ts.map +1 -1
- package/dist/models/ModelError.d.ts +89 -0
- package/dist/models/ModelError.d.ts.map +1 -0
- package/dist/models/ModelError.js +81 -0
- package/dist/models/ModelError.js.map +1 -0
- package/dist/models/ModuleEntry.d.ts +4 -2
- package/dist/models/ModuleEntry.d.ts.map +1 -1
- package/dist/models/Other200Response.d.ts +22 -0
- package/dist/models/Other200Response.d.ts.map +1 -0
- package/dist/models/Other200Response.js +53 -0
- package/dist/models/Other200Response.js.map +1 -0
- package/dist/models/PostCreateRetweet200Response.d.ts +23 -0
- package/dist/models/PostCreateRetweet200Response.d.ts.map +1 -0
- package/dist/models/PostCreateRetweet200Response.js +57 -0
- package/dist/models/PostCreateRetweet200Response.js.map +1 -0
- package/dist/models/PostCreateTweet200Response.d.ts +23 -0
- package/dist/models/PostCreateTweet200Response.d.ts.map +1 -0
- package/dist/models/PostCreateTweet200Response.js +57 -0
- package/dist/models/PostCreateTweet200Response.js.map +1 -0
- package/dist/models/PostDeleteRetweet200Response.d.ts +23 -0
- package/dist/models/PostDeleteRetweet200Response.d.ts.map +1 -0
- package/dist/models/PostDeleteRetweet200Response.js +57 -0
- package/dist/models/PostDeleteRetweet200Response.js.map +1 -0
- package/dist/models/PostDeleteTweet200Response.d.ts +23 -0
- package/dist/models/PostDeleteTweet200Response.d.ts.map +1 -0
- package/dist/models/PostDeleteTweet200Response.js +57 -0
- package/dist/models/PostDeleteTweet200Response.js.map +1 -0
- package/dist/models/PostFavoriteTweet200Response.d.ts +23 -0
- package/dist/models/PostFavoriteTweet200Response.d.ts.map +1 -0
- package/dist/models/PostFavoriteTweet200Response.js +57 -0
- package/dist/models/PostFavoriteTweet200Response.js.map +1 -0
- package/dist/models/PostUnfavoriteTweet200Response.d.ts +23 -0
- package/dist/models/PostUnfavoriteTweet200Response.d.ts.map +1 -0
- package/dist/models/PostUnfavoriteTweet200Response.js +57 -0
- package/dist/models/PostUnfavoriteTweet200Response.js.map +1 -0
- package/dist/models/Timeline.d.ts +8 -4
- package/dist/models/Timeline.d.ts.map +1 -1
- package/dist/models/TimelineMessagePrompt.d.ts +1 -0
- package/dist/models/TimelineMessagePrompt.d.ts.map +1 -1
- package/dist/models/TimelineMessagePrompt.js +13 -6
- package/dist/models/TimelineMessagePrompt.js.map +1 -1
- package/dist/models/TimelinePrompt.d.ts +1 -0
- package/dist/models/TimelinePrompt.d.ts.map +1 -1
- package/dist/models/TimelinePrompt.js +13 -6
- package/dist/models/TimelinePrompt.js.map +1 -1
- package/dist/models/TimelineShowAlert.d.ts +8 -4
- package/dist/models/TimelineShowAlert.d.ts.map +1 -1
- package/dist/models/TimelineShowAlertRichText.d.ts +4 -2
- package/dist/models/TimelineShowAlertRichText.d.ts.map +1 -1
- package/dist/models/TimelineTimelineCursor.d.ts +3 -13
- package/dist/models/TimelineTimelineCursor.d.ts.map +1 -1
- package/dist/models/TimelineTimelineCursor.js +4 -13
- package/dist/models/TimelineTimelineCursor.js.map +1 -1
- package/dist/models/TimelineTimelineItem.d.ts +8 -4
- package/dist/models/TimelineTimelineItem.d.ts.map +1 -1
- package/dist/models/TimelineTimelineModule.d.ts +12 -6
- package/dist/models/TimelineTimelineModule.d.ts.map +1 -1
- package/dist/models/TimelineTweet.d.ts +4 -2
- package/dist/models/TimelineTweet.d.ts.map +1 -1
- package/dist/models/Tracing.d.ts +32 -0
- package/dist/models/Tracing.d.ts.map +1 -0
- package/dist/models/Tracing.js +51 -0
- package/dist/models/Tracing.js.map +1 -0
- package/dist/models/Tweet.d.ts +5 -3
- package/dist/models/Tweet.d.ts.map +1 -1
- package/dist/models/Tweet.js +1 -2
- package/dist/models/Tweet.js.map +1 -1
- package/dist/models/TweetTombstone.d.ts +1 -0
- package/dist/models/TweetTombstone.d.ts.map +1 -1
- package/dist/models/TweetTombstone.js +13 -6
- package/dist/models/TweetTombstone.js.map +1 -1
- package/dist/models/TypeName.d.ts +3 -0
- package/dist/models/TypeName.d.ts.map +1 -1
- package/dist/models/TypeName.js +4 -1
- package/dist/models/TypeName.js.map +1 -1
- package/dist/models/User.d.ts +8 -4
- package/dist/models/User.d.ts.map +1 -1
- package/dist/models/UserHighlightsTweetsData.d.ts +33 -0
- package/dist/models/UserHighlightsTweetsData.d.ts.map +1 -0
- package/dist/models/UserHighlightsTweetsData.js +52 -0
- package/dist/models/UserHighlightsTweetsData.js.map +1 -0
- package/dist/models/UserHighlightsTweetsResponse.d.ts +33 -0
- package/dist/models/UserHighlightsTweetsResponse.d.ts.map +1 -0
- package/dist/models/UserHighlightsTweetsResponse.js +52 -0
- package/dist/models/UserHighlightsTweetsResponse.js.map +1 -0
- package/dist/models/UserHighlightsTweetsResult.d.ts +40 -0
- package/dist/models/UserHighlightsTweetsResult.d.ts.map +1 -0
- package/dist/models/UserHighlightsTweetsResult.js +56 -0
- package/dist/models/UserHighlightsTweetsResult.js.map +1 -0
- package/dist/models/UserHighlightsTweetsTimeline.d.ts +33 -0
- package/dist/models/UserHighlightsTweetsTimeline.d.ts.map +1 -0
- package/dist/models/UserHighlightsTweetsTimeline.js +52 -0
- package/dist/models/UserHighlightsTweetsTimeline.js.map +1 -0
- package/dist/models/UserHighlightsTweetsUser.d.ts +33 -0
- package/dist/models/UserHighlightsTweetsUser.d.ts.map +1 -0
- package/dist/models/UserHighlightsTweetsUser.js +52 -0
- package/dist/models/UserHighlightsTweetsUser.js.map +1 -0
- package/dist/models/UserLegacy.d.ts +9 -7
- package/dist/models/UserLegacy.d.ts.map +1 -1
- package/dist/models/UserLegacy.js +5 -10
- package/dist/models/UserLegacy.js.map +1 -1
- package/dist/models/UserResultByScreenNameResult.d.ts +4 -2
- package/dist/models/UserResultByScreenNameResult.d.ts.map +1 -1
- package/dist/models/UserResults.d.ts +3 -3
- package/dist/models/UserResults.d.ts.map +1 -1
- package/dist/models/UserResults.js +3 -3
- package/dist/models/UserResults.js.map +1 -1
- package/dist/models/UserUnavailable.d.ts +39 -0
- package/dist/models/UserUnavailable.d.ts.map +1 -0
- package/dist/models/UserUnavailable.js +55 -0
- package/dist/models/UserUnavailable.js.map +1 -0
- package/dist/models/UserUnion.d.ts +27 -0
- package/dist/models/UserUnion.d.ts.map +1 -0
- package/dist/models/UserUnion.js +65 -0
- package/dist/models/UserUnion.js.map +1 -0
- package/dist/models/index.d.ts +33 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +33 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +6 -6
- package/src/apis/OtherApi.ts +6 -6
- package/src/apis/PostApi.ts +36 -36
- package/src/apis/TweetApi.ts +144 -48
- package/src/apis/UserApi.ts +9 -96
- package/src/apis/UserListApi.ts +70 -70
- package/src/apis/UsersApi.ts +114 -0
- package/src/apis/index.ts +1 -0
- package/src/models/CursorType.ts +41 -0
- package/src/models/Entities.ts +6 -6
- package/src/models/ErrorExtensions.ts +118 -0
- package/src/models/Errors.ts +66 -0
- package/src/models/GetBookmarks200Response.ts +65 -0
- package/src/models/GetFavoriters200Response.ts +65 -0
- package/src/models/GetFollowers200Response.ts +65 -0
- package/src/models/GetHomeLatestTimeline200Response.ts +65 -0
- package/src/models/GetLikes200Response.ts +65 -0
- package/src/models/GetListLatestTweetsTimeline200Response.ts +65 -0
- package/src/models/GetProfileSpotlightsQuery200Response.ts +65 -0
- package/src/models/GetRetweeters200Response.ts +65 -0
- package/src/models/GetSearchTimeline200Response.ts +65 -0
- package/src/models/GetTweetDetail200Response.ts +65 -0
- package/src/models/GetUserByRestId200Response.ts +65 -0
- package/src/models/GetUserHighlightsTweets200Response.ts +65 -0
- package/src/models/GetUsersByRestIds200Response.ts +65 -0
- package/src/models/ItemContentUnion.ts +10 -10
- package/src/models/Location.ts +75 -0
- package/src/models/Media.ts +4 -4
- package/src/models/MediaOriginalInfo.ts +2 -2
- package/src/models/ModelError.ts +166 -0
- package/src/models/ModuleEntry.ts +2 -2
- package/src/models/Other200Response.ts +55 -0
- package/src/models/PostCreateRetweet200Response.ts +65 -0
- package/src/models/PostCreateTweet200Response.ts +65 -0
- package/src/models/PostDeleteRetweet200Response.ts +65 -0
- package/src/models/PostDeleteTweet200Response.ts +65 -0
- package/src/models/PostFavoriteTweet200Response.ts +65 -0
- package/src/models/PostUnfavoriteTweet200Response.ts +65 -0
- package/src/models/Timeline.ts +4 -4
- package/src/models/TimelineMessagePrompt.ts +3 -0
- package/src/models/TimelinePrompt.ts +3 -0
- package/src/models/TimelineShowAlert.ts +4 -4
- package/src/models/TimelineShowAlertRichText.ts +2 -2
- package/src/models/TimelineTimelineCursor.ts +10 -18
- package/src/models/TimelineTimelineItem.ts +4 -4
- package/src/models/TimelineTimelineModule.ts +6 -6
- package/src/models/TimelineTweet.ts +2 -2
- package/src/models/Tracing.ts +66 -0
- package/src/models/Tweet.ts +4 -5
- package/src/models/TweetTombstone.ts +3 -0
- package/src/models/TypeName.ts +4 -1
- package/src/models/User.ts +4 -4
- package/src/models/UserHighlightsTweetsData.ts +73 -0
- package/src/models/UserHighlightsTweetsResponse.ts +73 -0
- package/src/models/UserHighlightsTweetsResult.ts +88 -0
- package/src/models/UserHighlightsTweetsTimeline.ts +73 -0
- package/src/models/UserHighlightsTweetsUser.ts +73 -0
- package/src/models/UserLegacy.ts +12 -17
- package/src/models/UserResultByScreenNameResult.ts +2 -2
- package/src/models/UserResults.ts +9 -9
- package/src/models/UserUnavailable.ts +82 -0
- package/src/models/UserUnion.ts +72 -0
- package/src/models/index.ts +33 -0
- package/tools/openapi-generator-config.yaml +1 -1
- package/twitter-openapi/.github/workflows/test-build.yaml +87 -0
- package/twitter-openapi/.github/workflows/test-python.yaml +100 -0
- package/twitter-openapi/.vscode/launch.json +25 -0
- package/twitter-openapi/.vscode/settings.json +1 -1
- package/twitter-openapi/.vscode/tasks.json +45 -0
- package/twitter-openapi/CONTRIBUTING.md +13 -0
- package/twitter-openapi/README.md +2 -2
- package/twitter-openapi/dist/compatible/openapi-3.0.yaml +7 -3
- package/twitter-openapi/dist/compatible/paths/bookmarks.yaml +3 -1
- package/twitter-openapi/dist/compatible/paths/follow.yaml +9 -3
- package/twitter-openapi/dist/compatible/paths/other.yaml +2 -1
- package/twitter-openapi/dist/compatible/paths/post.yaml +18 -6
- package/twitter-openapi/dist/compatible/paths/profile.yaml +5 -2
- package/twitter-openapi/dist/compatible/paths/timeline.yaml +12 -4
- package/twitter-openapi/dist/compatible/paths/tweet.yaml +11 -5
- package/twitter-openapi/dist/compatible/paths/user.yaml +10 -4
- package/twitter-openapi/dist/compatible/paths/usertweets.yaml +140 -4
- package/twitter-openapi/dist/compatible/schemas/content.yaml +21 -15
- package/twitter-openapi/dist/compatible/schemas/error.yaml +94 -0
- package/twitter-openapi/dist/compatible/schemas/instruction.yaml +4 -8
- package/twitter-openapi/dist/compatible/schemas/timeline.yaml +2 -0
- package/twitter-openapi/dist/compatible/schemas/tweet.yaml +8 -1
- package/twitter-openapi/dist/compatible/schemas/typename.yaml +3 -0
- package/twitter-openapi/dist/compatible/schemas/user.yaml +23 -7
- package/twitter-openapi/dist/docs/openapi-3.0.yaml +7 -3
- package/twitter-openapi/dist/docs/paths/bookmarks.yaml +3 -1
- package/twitter-openapi/dist/docs/paths/follow.yaml +9 -3
- package/twitter-openapi/dist/docs/paths/other.yaml +2 -1
- package/twitter-openapi/dist/docs/paths/post.yaml +18 -6
- package/twitter-openapi/dist/docs/paths/profile.yaml +5 -2
- package/twitter-openapi/dist/docs/paths/timeline.yaml +12 -4
- package/twitter-openapi/dist/docs/paths/tweet.yaml +11 -5
- package/twitter-openapi/dist/docs/paths/user.yaml +10 -4
- package/twitter-openapi/dist/docs/paths/usertweets.yaml +250 -4
- package/twitter-openapi/dist/docs/schemas/content.yaml +21 -15
- package/twitter-openapi/dist/docs/schemas/error.yaml +94 -0
- package/twitter-openapi/dist/docs/schemas/instruction.yaml +4 -8
- package/twitter-openapi/dist/docs/schemas/timeline.yaml +2 -0
- package/twitter-openapi/dist/docs/schemas/tweet.yaml +8 -1
- package/twitter-openapi/dist/docs/schemas/typename.yaml +3 -0
- package/twitter-openapi/dist/docs/schemas/user.yaml +23 -7
- package/twitter-openapi/src/config/placeholder.json +36 -1
- package/twitter-openapi/src/openapi/openapi-3.0.yaml +5 -3
- package/twitter-openapi/src/openapi/paths/bookmarks.yaml +3 -1
- package/twitter-openapi/src/openapi/paths/follow.yaml +9 -3
- package/twitter-openapi/src/openapi/paths/other.yaml +2 -1
- package/twitter-openapi/src/openapi/paths/post.yaml +18 -6
- package/twitter-openapi/src/openapi/paths/profile.yaml +6 -3
- package/twitter-openapi/src/openapi/paths/timeline.yaml +12 -4
- package/twitter-openapi/src/openapi/paths/tweet.yaml +11 -5
- package/twitter-openapi/src/openapi/paths/user.yaml +10 -4
- package/twitter-openapi/src/openapi/paths/usertweets.yaml +66 -4
- package/twitter-openapi/src/openapi/schemas/content.yaml +26 -19
- package/twitter-openapi/src/openapi/schemas/error.yaml +99 -0
- package/twitter-openapi/src/openapi/schemas/instruction.yaml +7 -11
- package/twitter-openapi/src/openapi/schemas/timeline.yaml +4 -2
- package/twitter-openapi/src/openapi/schemas/tweet.yaml +16 -9
- package/twitter-openapi/src/openapi/schemas/typename.yaml +3 -0
- package/twitter-openapi/src/openapi/schemas/user.yaml +33 -10
- package/twitter-openapi/test/dart-dio/openapi-generator-config.yaml +2 -0
- package/twitter-openapi/test/local.sh +6 -0
- package/twitter-openapi/test/python/openapi-generator-config.yaml +4 -0
- package/twitter-openapi/test/python/test_serialize.py +160 -0
- package/twitter-openapi/test/typescript-fetch/openapi-generator-config.yaml +4 -0
- 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 +1 -1
- package/twitter-openapi/tools/hooks.py +23 -0
- package/twitter-openapi/tools/login.py +17 -0
package/dist/apis/index.js
CHANGED
|
@@ -22,6 +22,7 @@ __exportStar(require("./PostApi"), exports);
|
|
|
22
22
|
__exportStar(require("./TweetApi"), exports);
|
|
23
23
|
__exportStar(require("./UserApi"), exports);
|
|
24
24
|
__exportStar(require("./UserListApi"), exports);
|
|
25
|
+
__exportStar(require("./UsersApi"), exports);
|
|
25
26
|
__exportStar(require("./V11GetApi"), exports);
|
|
26
27
|
__exportStar(require("./V11PostApi"), exports);
|
|
27
28
|
__exportStar(require("./V20GetApi"), exports);
|
package/dist/apis/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/apis/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+CAA6B;AAC7B,6CAA2B;AAC3B,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,gDAA8B;AAC9B,8CAA4B;AAC5B,+CAA6B;AAC7B,8CAA4B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/apis/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+CAA6B;AAC7B,6CAA2B;AAC3B,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,gDAA8B;AAC9B,6CAA2B;AAC3B,8CAA4B;AAC5B,+CAA6B;AAC7B,8CAA4B"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Twitter OpenAPI
|
|
3
|
+
* Twitter OpenAPI(Swagger) specification
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
* Contact: yuki@yuki0311.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const CursorType: {
|
|
17
|
+
readonly Top: "Top";
|
|
18
|
+
readonly Bottom: "Bottom";
|
|
19
|
+
readonly ShowMore: "ShowMore";
|
|
20
|
+
readonly ShowMoreThreads: "ShowMoreThreads";
|
|
21
|
+
readonly Gap: "Gap";
|
|
22
|
+
};
|
|
23
|
+
export type CursorType = typeof CursorType[keyof typeof CursorType];
|
|
24
|
+
export declare function CursorTypeFromJSON(json: any): CursorType;
|
|
25
|
+
export declare function CursorTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CursorType;
|
|
26
|
+
export declare function CursorTypeToJSON(value?: CursorType | null): any;
|
|
27
|
+
//# sourceMappingURL=CursorType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CursorType.d.ts","sourceRoot":"","sources":["../../src/models/CursorType.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,UAAU;;;;;;CAMb,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAGpE,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAExD;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,UAAU,CAE3F;AAED,wBAAgB,gBAAgB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,IAAI,GAAG,GAAG,CAE/D"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Twitter OpenAPI
|
|
6
|
+
* Twitter OpenAPI(Swagger) specification
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
* Contact: yuki@yuki0311.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CursorTypeToJSON = exports.CursorTypeFromJSONTyped = exports.CursorTypeFromJSON = exports.CursorType = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
exports.CursorType = {
|
|
22
|
+
Top: 'Top',
|
|
23
|
+
Bottom: 'Bottom',
|
|
24
|
+
ShowMore: 'ShowMore',
|
|
25
|
+
ShowMoreThreads: 'ShowMoreThreads',
|
|
26
|
+
Gap: 'Gap'
|
|
27
|
+
};
|
|
28
|
+
function CursorTypeFromJSON(json) {
|
|
29
|
+
return CursorTypeFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.CursorTypeFromJSON = CursorTypeFromJSON;
|
|
32
|
+
function CursorTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
exports.CursorTypeFromJSONTyped = CursorTypeFromJSONTyped;
|
|
36
|
+
function CursorTypeToJSON(value) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
exports.CursorTypeToJSON = CursorTypeToJSON;
|
|
40
|
+
//# sourceMappingURL=CursorType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CursorType.js","sourceRoot":"","sources":["../../src/models/CursorType.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAGH;;;GAGG;AACU,QAAA,UAAU,GAAG;IACtB,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,eAAe,EAAE,iBAAiB;IAClC,GAAG,EAAE,KAAK;CACJ,CAAC;AAIX,SAAgB,kBAAkB,CAAC,IAAS;IACxC,OAAO,uBAAuB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChD,CAAC;AAFD,gDAEC;AAED,SAAgB,uBAAuB,CAAC,IAAS,EAAE,mBAA4B;IAC3E,OAAO,IAAkB,CAAC;AAC9B,CAAC;AAFD,0DAEC;AAED,SAAgB,gBAAgB,CAAC,KAAyB;IACtD,OAAO,KAAY,CAAC;AACxB,CAAC;AAFD,4CAEC"}
|
|
@@ -19,10 +19,12 @@ import type { Url } from './Url';
|
|
|
19
19
|
export interface Entities {
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
|
-
* @type {Array<
|
|
22
|
+
* @type {Array<{ [key: string]: any; }>}
|
|
23
23
|
* @memberof Entities
|
|
24
24
|
*/
|
|
25
|
-
hashtags: Array<
|
|
25
|
+
hashtags: Array<{
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}>;
|
|
26
28
|
/**
|
|
27
29
|
*
|
|
28
30
|
* @type {Array<Media>}
|
|
@@ -31,10 +33,12 @@ export interface Entities {
|
|
|
31
33
|
media?: Array<Media>;
|
|
32
34
|
/**
|
|
33
35
|
*
|
|
34
|
-
* @type {Array<
|
|
36
|
+
* @type {Array<{ [key: string]: any; }>}
|
|
35
37
|
* @memberof Entities
|
|
36
38
|
*/
|
|
37
|
-
symbols: Array<
|
|
39
|
+
symbols: Array<{
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
}>;
|
|
38
42
|
/**
|
|
39
43
|
*
|
|
40
44
|
* @type {Array<Url>}
|
|
@@ -43,10 +47,12 @@ export interface Entities {
|
|
|
43
47
|
urls: Array<Url>;
|
|
44
48
|
/**
|
|
45
49
|
*
|
|
46
|
-
* @type {Array<
|
|
50
|
+
* @type {Array<{ [key: string]: any; }>}
|
|
47
51
|
* @memberof Entities
|
|
48
52
|
*/
|
|
49
|
-
userMentions: Array<
|
|
53
|
+
userMentions: Array<{
|
|
54
|
+
[key: string]: any;
|
|
55
|
+
}>;
|
|
50
56
|
}
|
|
51
57
|
/**
|
|
52
58
|
* Check if a given object implements the Entities interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Entities.d.ts","sourceRoot":"","sources":["../../src/models/Entities.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAMrC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAOjC;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACrB;;;;OAIG;IACH,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"Entities.d.ts","sourceRoot":"","sources":["../../src/models/Entities.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAMrC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAOjC;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACrB;;;;OAIG;IACH,QAAQ,EAAE,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC,CAAC;IACzC;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACrB;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC,CAAC;IACxC;;;;OAIG;IACH,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IACjB;;;;OAIG;IACH,YAAY,EAAE,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC,CAAC;CAChD;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAQzD;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAEpD;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,QAAQ,CAYvF;AAED,wBAAgB,cAAc,CAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,IAAI,GAAG,GAAG,CAe3D"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Twitter OpenAPI
|
|
3
|
+
* Twitter OpenAPI(Swagger) specification
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
* Contact: yuki@yuki0311.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Tracing } from './Tracing';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ErrorExtensions
|
|
17
|
+
*/
|
|
18
|
+
export interface ErrorExtensions {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ErrorExtensions
|
|
23
|
+
*/
|
|
24
|
+
code: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ErrorExtensions
|
|
29
|
+
*/
|
|
30
|
+
kind: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ErrorExtensions
|
|
35
|
+
*/
|
|
36
|
+
name: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ErrorExtensions
|
|
41
|
+
*/
|
|
42
|
+
retryAfter: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ErrorExtensions
|
|
47
|
+
*/
|
|
48
|
+
source: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {Tracing}
|
|
52
|
+
* @memberof ErrorExtensions
|
|
53
|
+
*/
|
|
54
|
+
tracing: Tracing;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the ErrorExtensions interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfErrorExtensions(value: object): boolean;
|
|
60
|
+
export declare function ErrorExtensionsFromJSON(json: any): ErrorExtensions;
|
|
61
|
+
export declare function ErrorExtensionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorExtensions;
|
|
62
|
+
export declare function ErrorExtensionsToJSON(value?: ErrorExtensions | null): any;
|
|
63
|
+
//# sourceMappingURL=ErrorExtensions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorExtensions.d.ts","sourceRoot":"","sources":["../../src/models/ErrorExtensions.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAOzC;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAUhE;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CAarG;AAED,wBAAgB,qBAAqB,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,GAAG,GAAG,CAgBzE"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Twitter OpenAPI
|
|
6
|
+
* Twitter OpenAPI(Swagger) specification
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
* Contact: yuki@yuki0311.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ErrorExtensionsToJSON = exports.ErrorExtensionsFromJSONTyped = exports.ErrorExtensionsFromJSON = exports.instanceOfErrorExtensions = void 0;
|
|
17
|
+
var Tracing_1 = require("./Tracing");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the ErrorExtensions interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfErrorExtensions(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
isInstance = isInstance && "code" in value;
|
|
24
|
+
isInstance = isInstance && "kind" in value;
|
|
25
|
+
isInstance = isInstance && "name" in value;
|
|
26
|
+
isInstance = isInstance && "retryAfter" in value;
|
|
27
|
+
isInstance = isInstance && "source" in value;
|
|
28
|
+
isInstance = isInstance && "tracing" in value;
|
|
29
|
+
return isInstance;
|
|
30
|
+
}
|
|
31
|
+
exports.instanceOfErrorExtensions = instanceOfErrorExtensions;
|
|
32
|
+
function ErrorExtensionsFromJSON(json) {
|
|
33
|
+
return ErrorExtensionsFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
exports.ErrorExtensionsFromJSON = ErrorExtensionsFromJSON;
|
|
36
|
+
function ErrorExtensionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if ((json === undefined) || (json === null)) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'code': json['code'],
|
|
42
|
+
'kind': json['kind'],
|
|
43
|
+
'name': json['name'],
|
|
44
|
+
'retryAfter': json['retry_after'],
|
|
45
|
+
'source': json['source'],
|
|
46
|
+
'tracing': (0, Tracing_1.TracingFromJSON)(json['tracing']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
exports.ErrorExtensionsFromJSONTyped = ErrorExtensionsFromJSONTyped;
|
|
50
|
+
function ErrorExtensionsToJSON(value) {
|
|
51
|
+
if (value === undefined) {
|
|
52
|
+
return undefined;
|
|
53
|
+
}
|
|
54
|
+
if (value === null) {
|
|
55
|
+
return null;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'code': value.code,
|
|
59
|
+
'kind': value.kind,
|
|
60
|
+
'name': value.name,
|
|
61
|
+
'retry_after': value.retryAfter,
|
|
62
|
+
'source': value.source,
|
|
63
|
+
'tracing': (0, Tracing_1.TracingToJSON)(value.tracing),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
exports.ErrorExtensionsToJSON = ErrorExtensionsToJSON;
|
|
67
|
+
//# sourceMappingURL=ErrorExtensions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorExtensions.js","sourceRoot":"","sources":["../../src/models/ErrorExtensions.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,qCAImB;AA8CnB;;GAEG;AACH,SAAgB,yBAAyB,CAAC,KAAa;IACnD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,MAAM,IAAI,KAAK,CAAC;IAC3C,UAAU,GAAG,UAAU,IAAI,MAAM,IAAI,KAAK,CAAC;IAC3C,UAAU,GAAG,UAAU,IAAI,MAAM,IAAI,KAAK,CAAC;IAC3C,UAAU,GAAG,UAAU,IAAI,YAAY,IAAI,KAAK,CAAC;IACjD,UAAU,GAAG,UAAU,IAAI,QAAQ,IAAI,KAAK,CAAC;IAC7C,UAAU,GAAG,UAAU,IAAI,SAAS,IAAI,KAAK,CAAC;IAE9C,OAAO,UAAU,CAAC;AACtB,CAAC;AAVD,8DAUC;AAED,SAAgB,uBAAuB,CAAC,IAAS;IAC7C,OAAO,4BAA4B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrD,CAAC;AAFD,0DAEC;AAED,SAAgB,4BAA4B,CAAC,IAAS,EAAE,mBAA4B;IAChF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,YAAY,EAAE,IAAI,CAAC,aAAa,CAAC;QACjC,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;QACxB,SAAS,EAAE,IAAA,yBAAe,EAAC,IAAI,CAAC,SAAS,CAAC,CAAC;KAC9C,CAAC;AACN,CAAC;AAbD,oEAaC;AAED,SAAgB,qBAAqB,CAAC,KAA8B;IAChE,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,aAAa,EAAE,KAAK,CAAC,UAAU;QAC/B,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,SAAS,EAAE,IAAA,uBAAa,EAAC,KAAK,CAAC,OAAO,CAAC;KAC1C,CAAC;AACN,CAAC;AAhBD,sDAgBC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Twitter OpenAPI
|
|
3
|
+
* Twitter OpenAPI(Swagger) specification
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
* Contact: yuki@yuki0311.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Errors
|
|
16
|
+
*/
|
|
17
|
+
export interface Errors {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<Error>}
|
|
21
|
+
* @memberof Errors
|
|
22
|
+
*/
|
|
23
|
+
errors: Array<Error>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the Errors interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfErrors(value: object): boolean;
|
|
29
|
+
export declare function ErrorsFromJSON(json: any): Errors;
|
|
30
|
+
export declare function ErrorsFromJSONTyped(json: any, ignoreDiscriminator: boolean): Errors;
|
|
31
|
+
export declare function ErrorsToJSON(value?: Errors | null): any;
|
|
32
|
+
//# sourceMappingURL=Errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/models/Errors.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,MAAM;IACnB;;;;OAIG;IACH,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAKvD;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM,CAEhD;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,MAAM,CAQnF;AAED,wBAAgB,YAAY,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,GAAG,CAWvD"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Twitter OpenAPI
|
|
6
|
+
* Twitter OpenAPI(Swagger) specification
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
* Contact: yuki@yuki0311.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ErrorsToJSON = exports.ErrorsFromJSONTyped = exports.ErrorsFromJSON = exports.instanceOfErrors = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the Errors interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfErrors(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "errors" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfErrors = instanceOfErrors;
|
|
26
|
+
function ErrorsFromJSON(json) {
|
|
27
|
+
return ErrorsFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.ErrorsFromJSON = ErrorsFromJSON;
|
|
30
|
+
function ErrorsFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'errors': json['errors'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.ErrorsFromJSONTyped = ErrorsFromJSONTyped;
|
|
39
|
+
function ErrorsToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'errors': value.errors,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.ErrorsToJSON = ErrorsToJSON;
|
|
51
|
+
//# sourceMappingURL=Errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/models/Errors.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAiBH;;GAEG;AACH,SAAgB,gBAAgB,CAAC,KAAa;IAC1C,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,QAAQ,IAAI,KAAK,CAAC;IAE7C,OAAO,UAAU,CAAC;AACtB,CAAC;AALD,4CAKC;AAED,SAAgB,cAAc,CAAC,IAAS;IACpC,OAAO,mBAAmB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5C,CAAC;AAFD,wCAEC;AAED,SAAgB,mBAAmB,CAAC,IAAS,EAAE,mBAA4B;IACvE,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;KAC3B,CAAC;AACN,CAAC;AARD,kDAQC;AAED,SAAgB,YAAY,CAAC,KAAqB;IAC9C,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,QAAQ,EAAE,KAAK,CAAC,MAAM;KACzB,CAAC;AACN,CAAC;AAXD,oCAWC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Twitter OpenAPI
|
|
3
|
+
* Twitter OpenAPI(Swagger) specification
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
* Contact: yuki@yuki0311.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { BookmarksResponse } from './BookmarksResponse';
|
|
13
|
+
import { Errors } from './Errors';
|
|
14
|
+
/**
|
|
15
|
+
* @type GetBookmarks200Response
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export type GetBookmarks200Response = BookmarksResponse | Errors;
|
|
20
|
+
export declare function GetBookmarks200ResponseFromJSON(json: any): GetBookmarks200Response;
|
|
21
|
+
export declare function GetBookmarks200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetBookmarks200Response;
|
|
22
|
+
export declare function GetBookmarks200ResponseToJSON(value?: GetBookmarks200Response | null): any;
|
|
23
|
+
//# sourceMappingURL=GetBookmarks200Response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetBookmarks200Response.d.ts","sourceRoot":"","sources":["../../src/models/GetBookmarks200Response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,EACH,iBAAiB,EAKpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,MAAM,EAKT,MAAM,UAAU,CAAC;AAElB;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,GAAG,MAAM,CAAC;AAEjE,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAElF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CAKrH;AAED,wBAAgB,6BAA6B,CAAC,KAAK,CAAC,EAAE,uBAAuB,GAAG,IAAI,GAAG,GAAG,CAgBzF"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Twitter OpenAPI
|
|
6
|
+
* Twitter OpenAPI(Swagger) specification
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
* Contact: yuki@yuki0311.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __assign = (this && this.__assign) || function () {
|
|
16
|
+
__assign = Object.assign || function(t) {
|
|
17
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
18
|
+
s = arguments[i];
|
|
19
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
20
|
+
t[p] = s[p];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
24
|
+
return __assign.apply(this, arguments);
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.GetBookmarks200ResponseToJSON = exports.GetBookmarks200ResponseFromJSONTyped = exports.GetBookmarks200ResponseFromJSON = void 0;
|
|
28
|
+
var BookmarksResponse_1 = require("./BookmarksResponse");
|
|
29
|
+
var Errors_1 = require("./Errors");
|
|
30
|
+
function GetBookmarks200ResponseFromJSON(json) {
|
|
31
|
+
return GetBookmarks200ResponseFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.GetBookmarks200ResponseFromJSON = GetBookmarks200ResponseFromJSON;
|
|
34
|
+
function GetBookmarks200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if ((json === undefined) || (json === null)) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return __assign(__assign({}, (0, BookmarksResponse_1.BookmarksResponseFromJSONTyped)(json, true)), (0, Errors_1.ErrorsFromJSONTyped)(json, true));
|
|
39
|
+
}
|
|
40
|
+
exports.GetBookmarks200ResponseFromJSONTyped = GetBookmarks200ResponseFromJSONTyped;
|
|
41
|
+
function GetBookmarks200ResponseToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
if ((0, BookmarksResponse_1.instanceOfBookmarksResponse)(value)) {
|
|
49
|
+
return (0, BookmarksResponse_1.BookmarksResponseToJSON)(value);
|
|
50
|
+
}
|
|
51
|
+
if ((0, Errors_1.instanceOfErrors)(value)) {
|
|
52
|
+
return (0, Errors_1.ErrorsToJSON)(value);
|
|
53
|
+
}
|
|
54
|
+
return {};
|
|
55
|
+
}
|
|
56
|
+
exports.GetBookmarks200ResponseToJSON = GetBookmarks200ResponseToJSON;
|
|
57
|
+
//# sourceMappingURL=GetBookmarks200Response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetBookmarks200Response.js","sourceRoot":"","sources":["../../src/models/GetBookmarks200Response.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;AAEH,yDAM6B;AAC7B,mCAMkB;AASlB,SAAgB,+BAA+B,CAAC,IAAS;IACrD,OAAO,oCAAoC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7D,CAAC;AAFD,0EAEC;AAED,SAAgB,oCAAoC,CAAC,IAAS,EAAE,mBAA4B;IACxF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,6BAAY,IAAA,kDAA8B,EAAC,IAAI,EAAE,IAAI,CAAC,GAAK,IAAA,4BAAmB,EAAC,IAAI,EAAE,IAAI,CAAC,EAAG;AACjG,CAAC;AALD,oFAKC;AAED,SAAgB,6BAA6B,CAAC,KAAsC;IAChF,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IAED,IAAI,IAAA,+CAA2B,EAAC,KAAK,CAAC,EAAE;QACpC,OAAO,IAAA,2CAAuB,EAAC,KAA0B,CAAC,CAAC;KAC9D;IACD,IAAI,IAAA,yBAAgB,EAAC,KAAK,CAAC,EAAE;QACzB,OAAO,IAAA,qBAAY,EAAC,KAAe,CAAC,CAAC;KACxC;IAED,OAAO,EAAE,CAAC;AACd,CAAC;AAhBD,sEAgBC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Twitter OpenAPI
|
|
3
|
+
* Twitter OpenAPI(Swagger) specification
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
* Contact: yuki@yuki0311.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { Errors } from './Errors';
|
|
13
|
+
import { TweetFavoritersResponse } from './TweetFavoritersResponse';
|
|
14
|
+
/**
|
|
15
|
+
* @type GetFavoriters200Response
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export type GetFavoriters200Response = Errors | TweetFavoritersResponse;
|
|
20
|
+
export declare function GetFavoriters200ResponseFromJSON(json: any): GetFavoriters200Response;
|
|
21
|
+
export declare function GetFavoriters200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetFavoriters200Response;
|
|
22
|
+
export declare function GetFavoriters200ResponseToJSON(value?: GetFavoriters200Response | null): any;
|
|
23
|
+
//# sourceMappingURL=GetFavoriters200Response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetFavoriters200Response.d.ts","sourceRoot":"","sources":["../../src/models/GetFavoriters200Response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,EACH,MAAM,EAKT,MAAM,UAAU,CAAC;AAClB,OAAO,EACH,uBAAuB,EAK1B,MAAM,2BAA2B,CAAC;AAEnC;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG,MAAM,GAAG,uBAAuB,CAAC;AAExE,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAKvH;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,GAAG,GAAG,CAgB3F"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Twitter OpenAPI
|
|
6
|
+
* Twitter OpenAPI(Swagger) specification
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
* Contact: yuki@yuki0311.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __assign = (this && this.__assign) || function () {
|
|
16
|
+
__assign = Object.assign || function(t) {
|
|
17
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
18
|
+
s = arguments[i];
|
|
19
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
20
|
+
t[p] = s[p];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
24
|
+
return __assign.apply(this, arguments);
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.GetFavoriters200ResponseToJSON = exports.GetFavoriters200ResponseFromJSONTyped = exports.GetFavoriters200ResponseFromJSON = void 0;
|
|
28
|
+
var Errors_1 = require("./Errors");
|
|
29
|
+
var TweetFavoritersResponse_1 = require("./TweetFavoritersResponse");
|
|
30
|
+
function GetFavoriters200ResponseFromJSON(json) {
|
|
31
|
+
return GetFavoriters200ResponseFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.GetFavoriters200ResponseFromJSON = GetFavoriters200ResponseFromJSON;
|
|
34
|
+
function GetFavoriters200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if ((json === undefined) || (json === null)) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return __assign(__assign({}, (0, Errors_1.ErrorsFromJSONTyped)(json, true)), (0, TweetFavoritersResponse_1.TweetFavoritersResponseFromJSONTyped)(json, true));
|
|
39
|
+
}
|
|
40
|
+
exports.GetFavoriters200ResponseFromJSONTyped = GetFavoriters200ResponseFromJSONTyped;
|
|
41
|
+
function GetFavoriters200ResponseToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
if ((0, Errors_1.instanceOfErrors)(value)) {
|
|
49
|
+
return (0, Errors_1.ErrorsToJSON)(value);
|
|
50
|
+
}
|
|
51
|
+
if ((0, TweetFavoritersResponse_1.instanceOfTweetFavoritersResponse)(value)) {
|
|
52
|
+
return (0, TweetFavoritersResponse_1.TweetFavoritersResponseToJSON)(value);
|
|
53
|
+
}
|
|
54
|
+
return {};
|
|
55
|
+
}
|
|
56
|
+
exports.GetFavoriters200ResponseToJSON = GetFavoriters200ResponseToJSON;
|
|
57
|
+
//# sourceMappingURL=GetFavoriters200Response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetFavoriters200Response.js","sourceRoot":"","sources":["../../src/models/GetFavoriters200Response.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;AAEH,mCAMkB;AAClB,qEAMmC;AASnC,SAAgB,gCAAgC,CAAC,IAAS;IACtD,OAAO,qCAAqC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9D,CAAC;AAFD,4EAEC;AAED,SAAgB,qCAAqC,CAAC,IAAS,EAAE,mBAA4B;IACzF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,6BAAY,IAAA,4BAAmB,EAAC,IAAI,EAAE,IAAI,CAAC,GAAK,IAAA,8DAAoC,EAAC,IAAI,EAAE,IAAI,CAAC,EAAG;AACvG,CAAC;AALD,sFAKC;AAED,SAAgB,8BAA8B,CAAC,KAAuC;IAClF,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IAED,IAAI,IAAA,yBAAgB,EAAC,KAAK,CAAC,EAAE;QACzB,OAAO,IAAA,qBAAY,EAAC,KAAe,CAAC,CAAC;KACxC;IACD,IAAI,IAAA,2DAAiC,EAAC,KAAK,CAAC,EAAE;QAC1C,OAAO,IAAA,uDAA6B,EAAC,KAAgC,CAAC,CAAC;KAC1E;IAED,OAAO,EAAE,CAAC;AACd,CAAC;AAhBD,wEAgBC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Twitter OpenAPI
|
|
3
|
+
* Twitter OpenAPI(Swagger) specification
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
* Contact: yuki@yuki0311.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { Errors } from './Errors';
|
|
13
|
+
import { FollowResponse } from './FollowResponse';
|
|
14
|
+
/**
|
|
15
|
+
* @type GetFollowers200Response
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export type GetFollowers200Response = Errors | FollowResponse;
|
|
20
|
+
export declare function GetFollowers200ResponseFromJSON(json: any): GetFollowers200Response;
|
|
21
|
+
export declare function GetFollowers200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetFollowers200Response;
|
|
22
|
+
export declare function GetFollowers200ResponseToJSON(value?: GetFollowers200Response | null): any;
|
|
23
|
+
//# sourceMappingURL=GetFollowers200Response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetFollowers200Response.d.ts","sourceRoot":"","sources":["../../src/models/GetFollowers200Response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,EACH,MAAM,EAKT,MAAM,UAAU,CAAC;AAClB,OAAO,EACH,cAAc,EAKjB,MAAM,kBAAkB,CAAC;AAE1B;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG,MAAM,GAAG,cAAc,CAAC;AAE9D,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAElF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CAKrH;AAED,wBAAgB,6BAA6B,CAAC,KAAK,CAAC,EAAE,uBAAuB,GAAG,IAAI,GAAG,GAAG,CAgBzF"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Twitter OpenAPI
|
|
6
|
+
* Twitter OpenAPI(Swagger) specification
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
* Contact: yuki@yuki0311.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __assign = (this && this.__assign) || function () {
|
|
16
|
+
__assign = Object.assign || function(t) {
|
|
17
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
18
|
+
s = arguments[i];
|
|
19
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
20
|
+
t[p] = s[p];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
24
|
+
return __assign.apply(this, arguments);
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.GetFollowers200ResponseToJSON = exports.GetFollowers200ResponseFromJSONTyped = exports.GetFollowers200ResponseFromJSON = void 0;
|
|
28
|
+
var Errors_1 = require("./Errors");
|
|
29
|
+
var FollowResponse_1 = require("./FollowResponse");
|
|
30
|
+
function GetFollowers200ResponseFromJSON(json) {
|
|
31
|
+
return GetFollowers200ResponseFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.GetFollowers200ResponseFromJSON = GetFollowers200ResponseFromJSON;
|
|
34
|
+
function GetFollowers200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if ((json === undefined) || (json === null)) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return __assign(__assign({}, (0, Errors_1.ErrorsFromJSONTyped)(json, true)), (0, FollowResponse_1.FollowResponseFromJSONTyped)(json, true));
|
|
39
|
+
}
|
|
40
|
+
exports.GetFollowers200ResponseFromJSONTyped = GetFollowers200ResponseFromJSONTyped;
|
|
41
|
+
function GetFollowers200ResponseToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
if ((0, Errors_1.instanceOfErrors)(value)) {
|
|
49
|
+
return (0, Errors_1.ErrorsToJSON)(value);
|
|
50
|
+
}
|
|
51
|
+
if ((0, FollowResponse_1.instanceOfFollowResponse)(value)) {
|
|
52
|
+
return (0, FollowResponse_1.FollowResponseToJSON)(value);
|
|
53
|
+
}
|
|
54
|
+
return {};
|
|
55
|
+
}
|
|
56
|
+
exports.GetFollowers200ResponseToJSON = GetFollowers200ResponseToJSON;
|
|
57
|
+
//# sourceMappingURL=GetFollowers200Response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetFollowers200Response.js","sourceRoot":"","sources":["../../src/models/GetFollowers200Response.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;AAEH,mCAMkB;AAClB,mDAM0B;AAS1B,SAAgB,+BAA+B,CAAC,IAAS;IACrD,OAAO,oCAAoC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7D,CAAC;AAFD,0EAEC;AAED,SAAgB,oCAAoC,CAAC,IAAS,EAAE,mBAA4B;IACxF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,6BAAY,IAAA,4BAAmB,EAAC,IAAI,EAAE,IAAI,CAAC,GAAK,IAAA,4CAA2B,EAAC,IAAI,EAAE,IAAI,CAAC,EAAG;AAC9F,CAAC;AALD,oFAKC;AAED,SAAgB,6BAA6B,CAAC,KAAsC;IAChF,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IAED,IAAI,IAAA,yBAAgB,EAAC,KAAK,CAAC,EAAE;QACzB,OAAO,IAAA,qBAAY,EAAC,KAAe,CAAC,CAAC;KACxC;IACD,IAAI,IAAA,yCAAwB,EAAC,KAAK,CAAC,EAAE;QACjC,OAAO,IAAA,qCAAoB,EAAC,KAAuB,CAAC,CAAC;KACxD;IAED,OAAO,EAAE,CAAC;AACd,CAAC;AAhBD,sEAgBC"}
|