twitter-openapi-typescript-generated 0.0.2 → 0.0.4
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 +0 -1
- package/.openapi-generator/VERSION +1 -1
- package/.openapi-generator-ignore +2 -1
- package/README.md +2 -2
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +4 -0
- package/src/apis/OtherApi.ts +4 -0
- package/src/apis/PostApi.ts +24 -0
- package/src/apis/TweetApi.ts +36 -0
- package/src/apis/UserApi.ts +4 -0
- package/src/apis/UserListApi.ts +8 -0
- package/src/apis/V11GetApi.ts +8 -0
- package/src/apis/V11PostApi.ts +8 -0
- package/src/apis/V20GetApi.ts +4 -0
- package/tools/openapi-generator-config.yaml +1 -1
- package/tools/win/replace.py +13 -0
- package/tsconfig.json +22 -20
- package/twitter-openapi/src/openapi/openapi-3.0.yaml +8 -1
- package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
- package/twitter-openapi/tools/__pycache__/hooks.cpython-310.pyc +0 -0
- package/dist/apis/DefaultApi.d.ts +0 -31
- package/dist/apis/DefaultApi.js +0 -163
- package/dist/apis/OtherApi.d.ts +0 -26
- package/dist/apis/OtherApi.js +0 -145
- package/dist/apis/PostApi.d.ts +0 -84
- package/dist/apis/PostApi.js +0 -500
- package/dist/apis/TweetApi.d.ts +0 -135
- package/dist/apis/TweetApi.js +0 -827
- package/dist/apis/UserApi.d.ts +0 -31
- package/dist/apis/UserApi.js +0 -163
- package/dist/apis/UserListApi.d.ts +0 -44
- package/dist/apis/UserListApi.js +0 -246
- package/dist/apis/V11GetApi.d.ts +0 -60
- package/dist/apis/V11GetApi.js +0 -343
- package/dist/apis/V11PostApi.d.ts +0 -65
- package/dist/apis/V11PostApi.js +0 -399
- package/dist/apis/V20GetApi.d.ts +0 -64
- package/dist/apis/V20GetApi.js +0 -364
- package/dist/apis/index.d.ts +0 -9
- package/dist/apis/index.js +0 -27
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -21
- package/dist/models/BookmarksResponse.d.ts +0 -32
- package/dist/models/BookmarksResponse.js +0 -51
- package/dist/models/BookmarksResponseData.d.ts +0 -32
- package/dist/models/BookmarksResponseData.js +0 -51
- package/dist/models/BookmarksTimeline.d.ts +0 -32
- package/dist/models/BookmarksTimeline.js +0 -51
- package/dist/models/CommunitiesActions.d.ts +0 -31
- package/dist/models/CommunitiesActions.js +0 -50
- package/dist/models/ContentEntryType.d.ts +0 -24
- package/dist/models/ContentEntryType.js +0 -37
- package/dist/models/ContentItemType.d.ts +0 -24
- package/dist/models/ContentItemType.js +0 -37
- package/dist/models/ContentUnion.d.ts +0 -29
- package/dist/models/ContentUnion.js +0 -69
- package/dist/models/CreateRetweet.d.ts +0 -32
- package/dist/models/CreateRetweet.js +0 -51
- package/dist/models/CreateRetweetResponse.d.ts +0 -32
- package/dist/models/CreateRetweetResponse.js +0 -51
- package/dist/models/CreateRetweetResponseData.d.ts +0 -32
- package/dist/models/CreateRetweetResponseData.js +0 -51
- package/dist/models/CreateRetweetResponseResult.d.ts +0 -32
- package/dist/models/CreateRetweetResponseResult.js +0 -51
- package/dist/models/CreateTweet.d.ts +0 -32
- package/dist/models/CreateTweet.js +0 -51
- package/dist/models/CreateTweetResponse.d.ts +0 -32
- package/dist/models/CreateTweetResponse.js +0 -51
- package/dist/models/CreateTweetResponseData.d.ts +0 -32
- package/dist/models/CreateTweetResponseData.js +0 -51
- package/dist/models/CreateTweetResponseResult.d.ts +0 -32
- package/dist/models/CreateTweetResponseResult.js +0 -51
- package/dist/models/DeleteRetweetResponse.d.ts +0 -32
- package/dist/models/DeleteRetweetResponse.js +0 -51
- package/dist/models/DeleteRetweetResponseData.d.ts +0 -32
- package/dist/models/DeleteRetweetResponseData.js +0 -51
- package/dist/models/DeleteTweetResponse.d.ts +0 -32
- package/dist/models/DeleteTweetResponse.js +0 -51
- package/dist/models/DeleteTweetResponseData.d.ts +0 -32
- package/dist/models/DeleteTweetResponseData.js +0 -51
- package/dist/models/DeleteTweetResponseResult.d.ts +0 -31
- package/dist/models/DeleteTweetResponseResult.js +0 -50
- package/dist/models/Entities.d.ts +0 -56
- package/dist/models/Entities.js +0 -63
- package/dist/models/ExtendedEntities.d.ts +0 -32
- package/dist/models/ExtendedEntities.js +0 -51
- package/dist/models/FavoriteTweet.d.ts +0 -31
- package/dist/models/FavoriteTweet.js +0 -50
- package/dist/models/FavoriteTweetResponseData.d.ts +0 -32
- package/dist/models/FavoriteTweetResponseData.js +0 -51
- package/dist/models/FollowResponse.d.ts +0 -32
- package/dist/models/FollowResponse.js +0 -51
- package/dist/models/FollowResponseData.d.ts +0 -32
- package/dist/models/FollowResponseData.js +0 -51
- package/dist/models/FollowResponseResult.d.ts +0 -39
- package/dist/models/FollowResponseResult.js +0 -55
- package/dist/models/FollowResponseUser.d.ts +0 -32
- package/dist/models/FollowResponseUser.js +0 -51
- package/dist/models/FollowTimeline.d.ts +0 -32
- package/dist/models/FollowTimeline.js +0 -51
- package/dist/models/HomeTimelineHome.d.ts +0 -32
- package/dist/models/HomeTimelineHome.js +0 -51
- package/dist/models/HomeTimelineResponseData.d.ts +0 -32
- package/dist/models/HomeTimelineResponseData.js +0 -51
- package/dist/models/InstructionType.d.ts +0 -25
- package/dist/models/InstructionType.js +0 -38
- package/dist/models/InstructionUnion.d.ts +0 -32
- package/dist/models/InstructionUnion.js +0 -74
- package/dist/models/ItemContentUnion.d.ts +0 -29
- package/dist/models/ItemContentUnion.js +0 -69
- package/dist/models/ItemResult.d.ts +0 -39
- package/dist/models/ItemResult.js +0 -55
- package/dist/models/ListTweetsTimeline.d.ts +0 -32
- package/dist/models/ListTweetsTimeline.js +0 -51
- package/dist/models/ListTweetsTimelineData.d.ts +0 -32
- package/dist/models/ListTweetsTimelineData.js +0 -51
- package/dist/models/ListTweetsTimelineList.d.ts +0 -32
- package/dist/models/ListTweetsTimelineList.js +0 -51
- package/dist/models/ListTweetsTimelineResponse.d.ts +0 -32
- package/dist/models/ListTweetsTimelineResponse.js +0 -51
- package/dist/models/Media.d.ts +0 -92
- package/dist/models/Media.js +0 -80
- package/dist/models/MediaOriginalInfo.d.ts +0 -43
- package/dist/models/MediaOriginalInfo.js +0 -54
- package/dist/models/ModuleEntry.d.ts +0 -38
- package/dist/models/ModuleEntry.js +0 -54
- package/dist/models/ModuleItem.d.ts +0 -38
- package/dist/models/ModuleItem.js +0 -54
- package/dist/models/OneFactorLoginEligibility.d.ts +0 -31
- package/dist/models/OneFactorLoginEligibility.js +0 -50
- package/dist/models/OtherResponse.d.ts +0 -32
- package/dist/models/OtherResponse.js +0 -51
- package/dist/models/PostCreateRetweetRequest.d.ts +0 -38
- package/dist/models/PostCreateRetweetRequest.js +0 -54
- package/dist/models/PostCreateTweetRequest.d.ts +0 -45
- package/dist/models/PostCreateTweetRequest.js +0 -58
- package/dist/models/PostCreateTweetRequestFeatures.d.ts +0 -139
- package/dist/models/PostCreateTweetRequestFeatures.js +0 -104
- package/dist/models/PostCreateTweetRequestVariables.d.ts +0 -50
- package/dist/models/PostCreateTweetRequestVariables.js +0 -60
- package/dist/models/PostCreateTweetRequestVariablesMedia.d.ts +0 -37
- package/dist/models/PostCreateTweetRequestVariablesMedia.js +0 -53
- package/dist/models/PostDeleteRetweetRequest.d.ts +0 -38
- package/dist/models/PostDeleteRetweetRequest.js +0 -54
- package/dist/models/PostDeleteRetweetRequestVariables.d.ts +0 -37
- package/dist/models/PostDeleteRetweetRequestVariables.js +0 -53
- package/dist/models/PostDeleteTweetRequest.d.ts +0 -38
- package/dist/models/PostDeleteTweetRequest.js +0 -54
- package/dist/models/PostDeleteTweetRequestVariables.d.ts +0 -37
- package/dist/models/PostDeleteTweetRequestVariables.js +0 -53
- package/dist/models/PostFavoriteTweetRequest.d.ts +0 -38
- package/dist/models/PostFavoriteTweetRequest.js +0 -54
- package/dist/models/PostUnfavoriteTweetRequest.d.ts +0 -38
- package/dist/models/PostUnfavoriteTweetRequest.js +0 -54
- package/dist/models/ProfileResponse.d.ts +0 -32
- package/dist/models/ProfileResponse.js +0 -51
- package/dist/models/ProfileResponseData.d.ts +0 -32
- package/dist/models/ProfileResponseData.js +0 -51
- package/dist/models/Retweet.d.ts +0 -38
- package/dist/models/Retweet.js +0 -54
- package/dist/models/RetweetLegacy.d.ts +0 -31
- package/dist/models/RetweetLegacy.js +0 -50
- package/dist/models/Session.d.ts +0 -112
- package/dist/models/Session.js +0 -92
- package/dist/models/SocialContext.d.ts +0 -43
- package/dist/models/SocialContext.js +0 -54
- package/dist/models/Timeline.d.ts +0 -44
- package/dist/models/Timeline.js +0 -56
- package/dist/models/TimelineAddEntries.d.ts +0 -39
- package/dist/models/TimelineAddEntries.js +0 -55
- package/dist/models/TimelineAddEntry.d.ts +0 -44
- package/dist/models/TimelineAddEntry.js +0 -57
- package/dist/models/TimelineClearCache.d.ts +0 -32
- package/dist/models/TimelineClearCache.js +0 -51
- package/dist/models/TimelinePinEntry.d.ts +0 -39
- package/dist/models/TimelinePinEntry.js +0 -55
- package/dist/models/TimelineResponse.d.ts +0 -32
- package/dist/models/TimelineResponse.js +0 -51
- package/dist/models/TimelineTerminateTimeline.d.ts +0 -46
- package/dist/models/TimelineTerminateTimeline.js +0 -61
- package/dist/models/TimelineTimelineCursor.d.ts +0 -68
- package/dist/models/TimelineTimelineCursor.js +0 -73
- package/dist/models/TimelineTimelineItem.d.ts +0 -58
- package/dist/models/TimelineTimelineItem.js +0 -64
- package/dist/models/TimelineTimelineModule.d.ts +0 -70
- package/dist/models/TimelineTimelineModule.js +0 -69
- package/dist/models/TimelineTweet.d.ts +0 -65
- package/dist/models/TimelineTweet.js +0 -68
- package/dist/models/TimelineUser.d.ts +0 -59
- package/dist/models/TimelineUser.js +0 -66
- package/dist/models/TimelineV2.d.ts +0 -32
- package/dist/models/TimelineV2.js +0 -51
- package/dist/models/Tweet.d.ts +0 -92
- package/dist/models/Tweet.js +0 -82
- package/dist/models/TweetDetailResponse.d.ts +0 -32
- package/dist/models/TweetDetailResponse.js +0 -51
- package/dist/models/TweetDetailResponseData.d.ts +0 -32
- package/dist/models/TweetDetailResponseData.js +0 -51
- package/dist/models/TweetEditControl.d.ts +0 -49
- package/dist/models/TweetEditControl.js +0 -56
- package/dist/models/TweetEditPrespective.d.ts +0 -37
- package/dist/models/TweetEditPrespective.js +0 -52
- package/dist/models/TweetLegacy.d.ts +0 -154
- package/dist/models/TweetLegacy.js +0 -110
- package/dist/models/TweetTombstone.d.ts +0 -32
- package/dist/models/TweetTombstone.js +0 -51
- package/dist/models/TweetUnion.d.ts +0 -29
- package/dist/models/TweetUnion.js +0 -69
- package/dist/models/TweetViews.d.ts +0 -37
- package/dist/models/TweetViews.js +0 -52
- package/dist/models/TweetWithVisibilityResults.d.ts +0 -39
- package/dist/models/TweetWithVisibilityResults.js +0 -55
- package/dist/models/TypeName.d.ts +0 -30
- package/dist/models/TypeName.js +0 -43
- package/dist/models/UnfavoriteTweet.d.ts +0 -31
- package/dist/models/UnfavoriteTweet.js +0 -50
- package/dist/models/UnfavoriteTweetResponseData.d.ts +0 -32
- package/dist/models/UnfavoriteTweetResponseData.js +0 -51
- package/dist/models/User.d.ts +0 -99
- package/dist/models/User.js +0 -83
- package/dist/models/UserFeatures.d.ts +0 -31
- package/dist/models/UserFeatures.js +0 -50
- package/dist/models/UserLegacy.d.ts +0 -259
- package/dist/models/UserLegacy.js +0 -161
- package/dist/models/UserResponse.d.ts +0 -32
- package/dist/models/UserResponse.js +0 -51
- package/dist/models/UserResponseData.d.ts +0 -32
- package/dist/models/UserResponseData.js +0 -51
- package/dist/models/UserResultByScreenName.d.ts +0 -38
- package/dist/models/UserResultByScreenName.js +0 -54
- package/dist/models/UserResultByScreenNameLegacy.d.ts +0 -67
- package/dist/models/UserResultByScreenNameLegacy.js +0 -62
- package/dist/models/UserResultByScreenNameResult.d.ts +0 -57
- package/dist/models/UserResultByScreenNameResult.js +0 -64
- package/dist/models/UserResultCore.d.ts +0 -32
- package/dist/models/UserResultCore.js +0 -51
- package/dist/models/UserResults.d.ts +0 -32
- package/dist/models/UserResults.js +0 -51
- package/dist/models/UserTweetsData.d.ts +0 -32
- package/dist/models/UserTweetsData.js +0 -51
- package/dist/models/UserTweetsResponse.d.ts +0 -32
- package/dist/models/UserTweetsResponse.js +0 -51
- package/dist/models/UserTweetsResult.d.ts +0 -39
- package/dist/models/UserTweetsResult.js +0 -55
- package/dist/models/UserTweetsUser.d.ts +0 -32
- package/dist/models/UserTweetsUser.js +0 -51
- package/dist/models/index.d.ts +0 -102
- package/dist/models/index.js +0 -120
- package/dist/runtime.d.ts +0 -182
- package/dist/runtime.js +0 -555
- package/twitter-openapi/dist/dart/openapi-3.0.yaml +0 -111
- package/twitter-openapi/dist/dart/paths/bookmarks.yaml +0 -134
- package/twitter-openapi/dist/dart/paths/follow.yaml +0 -262
- package/twitter-openapi/dist/dart/paths/other.yaml +0 -96
- package/twitter-openapi/dist/dart/paths/post.yaml +0 -834
- package/twitter-openapi/dist/dart/paths/profile.yaml +0 -152
- package/twitter-openapi/dist/dart/paths/timeline.yaml +0 -380
- package/twitter-openapi/dist/dart/paths/tweet.yaml +0 -134
- package/twitter-openapi/dist/dart/paths/user.yaml +0 -112
- package/twitter-openapi/dist/dart/paths/usertweets.yaml +0 -484
- package/twitter-openapi/dist/dart/paths/v1.1-get.yaml +0 -300
- package/twitter-openapi/dist/dart/paths/v1.1-post.yaml +0 -295
- package/twitter-openapi/dist/dart/paths/v2.0-get.yaml +0 -331
- package/twitter-openapi/dist/dart/response/error.yaml +0 -90
- package/twitter-openapi/dist/dart/schemas/content.yaml +0 -181
- package/twitter-openapi/dist/dart/schemas/general.yaml +0 -13
- package/twitter-openapi/dist/dart/schemas/instruction.yaml +0 -83
- package/twitter-openapi/dist/dart/schemas/timeline.yaml +0 -25
- package/twitter-openapi/dist/dart/schemas/tweet.yaml +0 -251
- package/twitter-openapi/dist/dart/schemas/typename.yaml +0 -19
- package/twitter-openapi/dist/dart/schemas/user.yaml +0 -206
- package/twitter-openapi/dist/docs/openapi-3.0.yaml +0 -135
- package/twitter-openapi/dist/docs/paths/bookmarks.yaml +0 -248
- package/twitter-openapi/dist/docs/paths/follow.yaml +0 -486
- package/twitter-openapi/dist/docs/paths/other.yaml +0 -96
- package/twitter-openapi/dist/docs/paths/post.yaml +0 -638
- package/twitter-openapi/dist/docs/paths/profile.yaml +0 -159
- package/twitter-openapi/dist/docs/paths/timeline.yaml +0 -730
- package/twitter-openapi/dist/docs/paths/tweet.yaml +0 -272
- package/twitter-openapi/dist/docs/paths/user.yaml +0 -152
- package/twitter-openapi/dist/docs/paths/usertweets.yaml +0 -1010
- 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/response/error.yaml +0 -90
- package/twitter-openapi/dist/docs/schemas/content.yaml +0 -181
- package/twitter-openapi/dist/docs/schemas/general.yaml +0 -13
- package/twitter-openapi/dist/docs/schemas/instruction.yaml +0 -83
- package/twitter-openapi/dist/docs/schemas/timeline.yaml +0 -25
- package/twitter-openapi/dist/docs/schemas/tweet.yaml +0 -251
- package/twitter-openapi/dist/docs/schemas/typename.yaml +0 -19
- package/twitter-openapi/dist/docs/schemas/user.yaml +0 -206
- package/twitter-openapi/dist/test/openapi-3.0.yaml +0 -135
- package/twitter-openapi/dist/test/paths/bookmarks.yaml +0 -105
- package/twitter-openapi/dist/test/paths/follow.yaml +0 -204
- package/twitter-openapi/dist/test/paths/other.yaml +0 -96
- package/twitter-openapi/dist/test/paths/post.yaml +0 -485
- package/twitter-openapi/dist/test/paths/profile.yaml +0 -123
- package/twitter-openapi/dist/test/paths/timeline.yaml +0 -293
- package/twitter-openapi/dist/test/paths/tweet.yaml +0 -105
- package/twitter-openapi/dist/test/paths/user.yaml +0 -83
- package/twitter-openapi/dist/test/paths/usertweets.yaml +0 -368
- package/twitter-openapi/dist/test/paths/v1.1-get.yaml +0 -242
- package/twitter-openapi/dist/test/paths/v1.1-post.yaml +0 -277
- package/twitter-openapi/dist/test/paths/v2.0-get.yaml +0 -302
- package/twitter-openapi/dist/test/response/error.yaml +0 -90
- package/twitter-openapi/dist/test/schemas/content.yaml +0 -181
- package/twitter-openapi/dist/test/schemas/general.yaml +0 -13
- package/twitter-openapi/dist/test/schemas/instruction.yaml +0 -83
- package/twitter-openapi/dist/test/schemas/timeline.yaml +0 -25
- package/twitter-openapi/dist/test/schemas/tweet.yaml +0 -251
- package/twitter-openapi/dist/test/schemas/typename.yaml +0 -19
- package/twitter-openapi/dist/test/schemas/user.yaml +0 -206
- package/twitter-openapi/dist/typescript/openapi-3.0.yaml +0 -135
- package/twitter-openapi/dist/typescript/paths/bookmarks.yaml +0 -105
- package/twitter-openapi/dist/typescript/paths/follow.yaml +0 -204
- package/twitter-openapi/dist/typescript/paths/other.yaml +0 -96
- package/twitter-openapi/dist/typescript/paths/post.yaml +0 -660
- package/twitter-openapi/dist/typescript/paths/profile.yaml +0 -123
- package/twitter-openapi/dist/typescript/paths/timeline.yaml +0 -293
- package/twitter-openapi/dist/typescript/paths/tweet.yaml +0 -105
- package/twitter-openapi/dist/typescript/paths/user.yaml +0 -83
- package/twitter-openapi/dist/typescript/paths/usertweets.yaml +0 -368
- package/twitter-openapi/dist/typescript/paths/v1.1-get.yaml +0 -242
- package/twitter-openapi/dist/typescript/paths/v1.1-post.yaml +0 -237
- package/twitter-openapi/dist/typescript/paths/v2.0-get.yaml +0 -302
- package/twitter-openapi/dist/typescript/response/error.yaml +0 -90
- package/twitter-openapi/dist/typescript/schemas/content.yaml +0 -181
- package/twitter-openapi/dist/typescript/schemas/general.yaml +0 -13
- package/twitter-openapi/dist/typescript/schemas/instruction.yaml +0 -83
- package/twitter-openapi/dist/typescript/schemas/timeline.yaml +0 -25
- package/twitter-openapi/dist/typescript/schemas/tweet.yaml +0 -251
- package/twitter-openapi/dist/typescript/schemas/typename.yaml +0 -19
- package/twitter-openapi/dist/typescript/schemas/user.yaml +0 -206
|
@@ -1,51 +0,0 @@
|
|
|
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.DeleteTweetResponseDataToJSON = exports.DeleteTweetResponseDataFromJSONTyped = exports.DeleteTweetResponseDataFromJSON = exports.instanceOfDeleteTweetResponseData = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
var DeleteTweetResponseResult_1 = require("./DeleteTweetResponseResult");
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the DeleteTweetResponseData interface.
|
|
21
|
-
*/
|
|
22
|
-
function instanceOfDeleteTweetResponseData(value) {
|
|
23
|
-
var isInstance = true;
|
|
24
|
-
return isInstance;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfDeleteTweetResponseData = instanceOfDeleteTweetResponseData;
|
|
27
|
-
function DeleteTweetResponseDataFromJSON(json) {
|
|
28
|
-
return DeleteTweetResponseDataFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.DeleteTweetResponseDataFromJSON = DeleteTweetResponseDataFromJSON;
|
|
31
|
-
function DeleteTweetResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if ((json === undefined) || (json === null)) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'deleteRetweet': !(0, runtime_1.exists)(json, 'delete_retweet') ? undefined : (0, DeleteTweetResponseResult_1.DeleteTweetResponseResultFromJSON)(json['delete_retweet']),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
exports.DeleteTweetResponseDataFromJSONTyped = DeleteTweetResponseDataFromJSONTyped;
|
|
40
|
-
function DeleteTweetResponseDataToJSON(value) {
|
|
41
|
-
if (value === undefined) {
|
|
42
|
-
return undefined;
|
|
43
|
-
}
|
|
44
|
-
if (value === null) {
|
|
45
|
-
return null;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'delete_retweet': (0, DeleteTweetResponseResult_1.DeleteTweetResponseResultToJSON)(value.deleteRetweet),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
exports.DeleteTweetResponseDataToJSON = DeleteTweetResponseDataToJSON;
|
|
@@ -1,31 +0,0 @@
|
|
|
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 DeleteTweetResponseResult
|
|
16
|
-
*/
|
|
17
|
-
export interface DeleteTweetResponseResult {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {object}
|
|
21
|
-
* @memberof DeleteTweetResponseResult
|
|
22
|
-
*/
|
|
23
|
-
tweetResults: object;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the DeleteTweetResponseResult interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfDeleteTweetResponseResult(value: object): boolean;
|
|
29
|
-
export declare function DeleteTweetResponseResultFromJSON(json: any): DeleteTweetResponseResult;
|
|
30
|
-
export declare function DeleteTweetResponseResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteTweetResponseResult;
|
|
31
|
-
export declare function DeleteTweetResponseResultToJSON(value?: DeleteTweetResponseResult | null): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
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.DeleteTweetResponseResultToJSON = exports.DeleteTweetResponseResultFromJSONTyped = exports.DeleteTweetResponseResultFromJSON = exports.instanceOfDeleteTweetResponseResult = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the DeleteTweetResponseResult interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfDeleteTweetResponseResult(value) {
|
|
21
|
-
var isInstance = true;
|
|
22
|
-
isInstance = isInstance && "tweetResults" in value;
|
|
23
|
-
return isInstance;
|
|
24
|
-
}
|
|
25
|
-
exports.instanceOfDeleteTweetResponseResult = instanceOfDeleteTweetResponseResult;
|
|
26
|
-
function DeleteTweetResponseResultFromJSON(json) {
|
|
27
|
-
return DeleteTweetResponseResultFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
exports.DeleteTweetResponseResultFromJSON = DeleteTweetResponseResultFromJSON;
|
|
30
|
-
function DeleteTweetResponseResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if ((json === undefined) || (json === null)) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'tweetResults': json['tweet_results'],
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
exports.DeleteTweetResponseResultFromJSONTyped = DeleteTweetResponseResultFromJSONTyped;
|
|
39
|
-
function DeleteTweetResponseResultToJSON(value) {
|
|
40
|
-
if (value === undefined) {
|
|
41
|
-
return undefined;
|
|
42
|
-
}
|
|
43
|
-
if (value === null) {
|
|
44
|
-
return null;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'tweet_results': value.tweetResults,
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
exports.DeleteTweetResponseResultToJSON = DeleteTweetResponseResultToJSON;
|
|
@@ -1,56 +0,0 @@
|
|
|
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 { Media } from './Media';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface Entities
|
|
17
|
-
*/
|
|
18
|
-
export interface Entities {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<object>}
|
|
22
|
-
* @memberof Entities
|
|
23
|
-
*/
|
|
24
|
-
hashtags: Array<object>;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {Array<Media>}
|
|
28
|
-
* @memberof Entities
|
|
29
|
-
*/
|
|
30
|
-
media?: Array<Media>;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {Array<object>}
|
|
34
|
-
* @memberof Entities
|
|
35
|
-
*/
|
|
36
|
-
symbols: Array<object>;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {Array<object>}
|
|
40
|
-
* @memberof Entities
|
|
41
|
-
*/
|
|
42
|
-
urls: Array<object>;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {Array<object>}
|
|
46
|
-
* @memberof Entities
|
|
47
|
-
*/
|
|
48
|
-
userMentions: Array<object>;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Check if a given object implements the Entities interface.
|
|
52
|
-
*/
|
|
53
|
-
export declare function instanceOfEntities(value: object): boolean;
|
|
54
|
-
export declare function EntitiesFromJSON(json: any): Entities;
|
|
55
|
-
export declare function EntitiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): Entities;
|
|
56
|
-
export declare function EntitiesToJSON(value?: Entities | null): any;
|
package/dist/models/Entities.js
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
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.EntitiesToJSON = exports.EntitiesFromJSONTyped = exports.EntitiesFromJSON = exports.instanceOfEntities = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
var Media_1 = require("./Media");
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the Entities interface.
|
|
21
|
-
*/
|
|
22
|
-
function instanceOfEntities(value) {
|
|
23
|
-
var isInstance = true;
|
|
24
|
-
isInstance = isInstance && "hashtags" in value;
|
|
25
|
-
isInstance = isInstance && "symbols" in value;
|
|
26
|
-
isInstance = isInstance && "urls" in value;
|
|
27
|
-
isInstance = isInstance && "userMentions" in value;
|
|
28
|
-
return isInstance;
|
|
29
|
-
}
|
|
30
|
-
exports.instanceOfEntities = instanceOfEntities;
|
|
31
|
-
function EntitiesFromJSON(json) {
|
|
32
|
-
return EntitiesFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
exports.EntitiesFromJSON = EntitiesFromJSON;
|
|
35
|
-
function EntitiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
-
if ((json === undefined) || (json === null)) {
|
|
37
|
-
return json;
|
|
38
|
-
}
|
|
39
|
-
return {
|
|
40
|
-
'hashtags': json['hashtags'],
|
|
41
|
-
'media': !(0, runtime_1.exists)(json, 'media') ? undefined : (json['media'].map(Media_1.MediaFromJSON)),
|
|
42
|
-
'symbols': json['symbols'],
|
|
43
|
-
'urls': json['urls'],
|
|
44
|
-
'userMentions': json['user_mentions'],
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
exports.EntitiesFromJSONTyped = EntitiesFromJSONTyped;
|
|
48
|
-
function EntitiesToJSON(value) {
|
|
49
|
-
if (value === undefined) {
|
|
50
|
-
return undefined;
|
|
51
|
-
}
|
|
52
|
-
if (value === null) {
|
|
53
|
-
return null;
|
|
54
|
-
}
|
|
55
|
-
return {
|
|
56
|
-
'hashtags': value.hashtags,
|
|
57
|
-
'media': value.media === undefined ? undefined : (value.media.map(Media_1.MediaToJSON)),
|
|
58
|
-
'symbols': value.symbols,
|
|
59
|
-
'urls': value.urls,
|
|
60
|
-
'user_mentions': value.userMentions,
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
exports.EntitiesToJSON = EntitiesToJSON;
|
|
@@ -1,32 +0,0 @@
|
|
|
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 { Media } from './Media';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ExtendedEntities
|
|
17
|
-
*/
|
|
18
|
-
export interface ExtendedEntities {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<Media>}
|
|
22
|
-
* @memberof ExtendedEntities
|
|
23
|
-
*/
|
|
24
|
-
media: Array<Media>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ExtendedEntities interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfExtendedEntities(value: object): boolean;
|
|
30
|
-
export declare function ExtendedEntitiesFromJSON(json: any): ExtendedEntities;
|
|
31
|
-
export declare function ExtendedEntitiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExtendedEntities;
|
|
32
|
-
export declare function ExtendedEntitiesToJSON(value?: ExtendedEntities | null): any;
|
|
@@ -1,51 +0,0 @@
|
|
|
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.ExtendedEntitiesToJSON = exports.ExtendedEntitiesFromJSONTyped = exports.ExtendedEntitiesFromJSON = exports.instanceOfExtendedEntities = void 0;
|
|
17
|
-
var Media_1 = require("./Media");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the ExtendedEntities interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfExtendedEntities(value) {
|
|
22
|
-
var isInstance = true;
|
|
23
|
-
isInstance = isInstance && "media" in value;
|
|
24
|
-
return isInstance;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfExtendedEntities = instanceOfExtendedEntities;
|
|
27
|
-
function ExtendedEntitiesFromJSON(json) {
|
|
28
|
-
return ExtendedEntitiesFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.ExtendedEntitiesFromJSON = ExtendedEntitiesFromJSON;
|
|
31
|
-
function ExtendedEntitiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if ((json === undefined) || (json === null)) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'media': (json['media'].map(Media_1.MediaFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
exports.ExtendedEntitiesFromJSONTyped = ExtendedEntitiesFromJSONTyped;
|
|
40
|
-
function ExtendedEntitiesToJSON(value) {
|
|
41
|
-
if (value === undefined) {
|
|
42
|
-
return undefined;
|
|
43
|
-
}
|
|
44
|
-
if (value === null) {
|
|
45
|
-
return null;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'media': (value.media.map(Media_1.MediaToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
exports.ExtendedEntitiesToJSON = ExtendedEntitiesToJSON;
|
|
@@ -1,31 +0,0 @@
|
|
|
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 FavoriteTweet
|
|
16
|
-
*/
|
|
17
|
-
export interface FavoriteTweet {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof FavoriteTweet
|
|
22
|
-
*/
|
|
23
|
-
favoriteTweet: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the FavoriteTweet interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfFavoriteTweet(value: object): boolean;
|
|
29
|
-
export declare function FavoriteTweetFromJSON(json: any): FavoriteTweet;
|
|
30
|
-
export declare function FavoriteTweetFromJSONTyped(json: any, ignoreDiscriminator: boolean): FavoriteTweet;
|
|
31
|
-
export declare function FavoriteTweetToJSON(value?: FavoriteTweet | null): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
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.FavoriteTweetToJSON = exports.FavoriteTweetFromJSONTyped = exports.FavoriteTweetFromJSON = exports.instanceOfFavoriteTweet = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the FavoriteTweet interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfFavoriteTweet(value) {
|
|
21
|
-
var isInstance = true;
|
|
22
|
-
isInstance = isInstance && "favoriteTweet" in value;
|
|
23
|
-
return isInstance;
|
|
24
|
-
}
|
|
25
|
-
exports.instanceOfFavoriteTweet = instanceOfFavoriteTweet;
|
|
26
|
-
function FavoriteTweetFromJSON(json) {
|
|
27
|
-
return FavoriteTweetFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
exports.FavoriteTweetFromJSON = FavoriteTweetFromJSON;
|
|
30
|
-
function FavoriteTweetFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if ((json === undefined) || (json === null)) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'favoriteTweet': json['favorite_tweet'],
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
exports.FavoriteTweetFromJSONTyped = FavoriteTweetFromJSONTyped;
|
|
39
|
-
function FavoriteTweetToJSON(value) {
|
|
40
|
-
if (value === undefined) {
|
|
41
|
-
return undefined;
|
|
42
|
-
}
|
|
43
|
-
if (value === null) {
|
|
44
|
-
return null;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'favorite_tweet': value.favoriteTweet,
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
exports.FavoriteTweetToJSON = FavoriteTweetToJSON;
|
|
@@ -1,32 +0,0 @@
|
|
|
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 { FavoriteTweet } from './FavoriteTweet';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface FavoriteTweetResponseData
|
|
17
|
-
*/
|
|
18
|
-
export interface FavoriteTweetResponseData {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {FavoriteTweet}
|
|
22
|
-
* @memberof FavoriteTweetResponseData
|
|
23
|
-
*/
|
|
24
|
-
data: FavoriteTweet;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the FavoriteTweetResponseData interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfFavoriteTweetResponseData(value: object): boolean;
|
|
30
|
-
export declare function FavoriteTweetResponseDataFromJSON(json: any): FavoriteTweetResponseData;
|
|
31
|
-
export declare function FavoriteTweetResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): FavoriteTweetResponseData;
|
|
32
|
-
export declare function FavoriteTweetResponseDataToJSON(value?: FavoriteTweetResponseData | null): any;
|
|
@@ -1,51 +0,0 @@
|
|
|
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.FavoriteTweetResponseDataToJSON = exports.FavoriteTweetResponseDataFromJSONTyped = exports.FavoriteTweetResponseDataFromJSON = exports.instanceOfFavoriteTweetResponseData = void 0;
|
|
17
|
-
var FavoriteTweet_1 = require("./FavoriteTweet");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the FavoriteTweetResponseData interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfFavoriteTweetResponseData(value) {
|
|
22
|
-
var isInstance = true;
|
|
23
|
-
isInstance = isInstance && "data" in value;
|
|
24
|
-
return isInstance;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfFavoriteTweetResponseData = instanceOfFavoriteTweetResponseData;
|
|
27
|
-
function FavoriteTweetResponseDataFromJSON(json) {
|
|
28
|
-
return FavoriteTweetResponseDataFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.FavoriteTweetResponseDataFromJSON = FavoriteTweetResponseDataFromJSON;
|
|
31
|
-
function FavoriteTweetResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if ((json === undefined) || (json === null)) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': (0, FavoriteTweet_1.FavoriteTweetFromJSON)(json['data']),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
exports.FavoriteTweetResponseDataFromJSONTyped = FavoriteTweetResponseDataFromJSONTyped;
|
|
40
|
-
function FavoriteTweetResponseDataToJSON(value) {
|
|
41
|
-
if (value === undefined) {
|
|
42
|
-
return undefined;
|
|
43
|
-
}
|
|
44
|
-
if (value === null) {
|
|
45
|
-
return null;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'data': (0, FavoriteTweet_1.FavoriteTweetToJSON)(value.data),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
exports.FavoriteTweetResponseDataToJSON = FavoriteTweetResponseDataToJSON;
|
|
@@ -1,32 +0,0 @@
|
|
|
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 { FollowResponseData } from './FollowResponseData';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface FollowResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface FollowResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {FollowResponseData}
|
|
22
|
-
* @memberof FollowResponse
|
|
23
|
-
*/
|
|
24
|
-
data: FollowResponseData;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the FollowResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfFollowResponse(value: object): boolean;
|
|
30
|
-
export declare function FollowResponseFromJSON(json: any): FollowResponse;
|
|
31
|
-
export declare function FollowResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FollowResponse;
|
|
32
|
-
export declare function FollowResponseToJSON(value?: FollowResponse | null): any;
|
|
@@ -1,51 +0,0 @@
|
|
|
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.FollowResponseToJSON = exports.FollowResponseFromJSONTyped = exports.FollowResponseFromJSON = exports.instanceOfFollowResponse = void 0;
|
|
17
|
-
var FollowResponseData_1 = require("./FollowResponseData");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the FollowResponse interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfFollowResponse(value) {
|
|
22
|
-
var isInstance = true;
|
|
23
|
-
isInstance = isInstance && "data" in value;
|
|
24
|
-
return isInstance;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfFollowResponse = instanceOfFollowResponse;
|
|
27
|
-
function FollowResponseFromJSON(json) {
|
|
28
|
-
return FollowResponseFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.FollowResponseFromJSON = FollowResponseFromJSON;
|
|
31
|
-
function FollowResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if ((json === undefined) || (json === null)) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': (0, FollowResponseData_1.FollowResponseDataFromJSON)(json['data']),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
exports.FollowResponseFromJSONTyped = FollowResponseFromJSONTyped;
|
|
40
|
-
function FollowResponseToJSON(value) {
|
|
41
|
-
if (value === undefined) {
|
|
42
|
-
return undefined;
|
|
43
|
-
}
|
|
44
|
-
if (value === null) {
|
|
45
|
-
return null;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'data': (0, FollowResponseData_1.FollowResponseDataToJSON)(value.data),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
exports.FollowResponseToJSON = FollowResponseToJSON;
|
|
@@ -1,32 +0,0 @@
|
|
|
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 { FollowResponseUser } from './FollowResponseUser';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface FollowResponseData
|
|
17
|
-
*/
|
|
18
|
-
export interface FollowResponseData {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {FollowResponseUser}
|
|
22
|
-
* @memberof FollowResponseData
|
|
23
|
-
*/
|
|
24
|
-
user: FollowResponseUser;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the FollowResponseData interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfFollowResponseData(value: object): boolean;
|
|
30
|
-
export declare function FollowResponseDataFromJSON(json: any): FollowResponseData;
|
|
31
|
-
export declare function FollowResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): FollowResponseData;
|
|
32
|
-
export declare function FollowResponseDataToJSON(value?: FollowResponseData | null): any;
|
|
@@ -1,51 +0,0 @@
|
|
|
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.FollowResponseDataToJSON = exports.FollowResponseDataFromJSONTyped = exports.FollowResponseDataFromJSON = exports.instanceOfFollowResponseData = void 0;
|
|
17
|
-
var FollowResponseUser_1 = require("./FollowResponseUser");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the FollowResponseData interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfFollowResponseData(value) {
|
|
22
|
-
var isInstance = true;
|
|
23
|
-
isInstance = isInstance && "user" in value;
|
|
24
|
-
return isInstance;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfFollowResponseData = instanceOfFollowResponseData;
|
|
27
|
-
function FollowResponseDataFromJSON(json) {
|
|
28
|
-
return FollowResponseDataFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.FollowResponseDataFromJSON = FollowResponseDataFromJSON;
|
|
31
|
-
function FollowResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if ((json === undefined) || (json === null)) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'user': (0, FollowResponseUser_1.FollowResponseUserFromJSON)(json['user']),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
exports.FollowResponseDataFromJSONTyped = FollowResponseDataFromJSONTyped;
|
|
40
|
-
function FollowResponseDataToJSON(value) {
|
|
41
|
-
if (value === undefined) {
|
|
42
|
-
return undefined;
|
|
43
|
-
}
|
|
44
|
-
if (value === null) {
|
|
45
|
-
return null;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'user': (0, FollowResponseUser_1.FollowResponseUserToJSON)(value.user),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
exports.FollowResponseDataToJSON = FollowResponseDataToJSON;
|