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,139 +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 PostCreateTweetRequestFeatures
|
|
16
|
-
*/
|
|
17
|
-
export interface PostCreateTweetRequestFeatures {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof PostCreateTweetRequestFeatures
|
|
22
|
-
*/
|
|
23
|
-
blueBusinessProfileImageShapeEnabled: boolean;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @memberof PostCreateTweetRequestFeatures
|
|
28
|
-
*/
|
|
29
|
-
freedomOfSpeechNotReachFetchEnabled: boolean;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {boolean}
|
|
33
|
-
* @memberof PostCreateTweetRequestFeatures
|
|
34
|
-
*/
|
|
35
|
-
graphqlIsTranslatableRwebTweetIsTranslatableEnabled: boolean;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {boolean}
|
|
39
|
-
* @memberof PostCreateTweetRequestFeatures
|
|
40
|
-
*/
|
|
41
|
-
interactiveTextEnabled: boolean;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {boolean}
|
|
45
|
-
* @memberof PostCreateTweetRequestFeatures
|
|
46
|
-
*/
|
|
47
|
-
longformNotetweetsConsumptionEnabled: boolean;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {boolean}
|
|
51
|
-
* @memberof PostCreateTweetRequestFeatures
|
|
52
|
-
*/
|
|
53
|
-
longformNotetweetsRichTextReadEnabled: boolean;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {boolean}
|
|
57
|
-
* @memberof PostCreateTweetRequestFeatures
|
|
58
|
-
*/
|
|
59
|
-
responsiveWebEditTweetApiEnabled: boolean;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {boolean}
|
|
63
|
-
* @memberof PostCreateTweetRequestFeatures
|
|
64
|
-
*/
|
|
65
|
-
responsiveWebEnhanceCardsEnabled: boolean;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {boolean}
|
|
69
|
-
* @memberof PostCreateTweetRequestFeatures
|
|
70
|
-
*/
|
|
71
|
-
responsiveWebGraphqlExcludeDirectiveEnabled: boolean;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {boolean}
|
|
75
|
-
* @memberof PostCreateTweetRequestFeatures
|
|
76
|
-
*/
|
|
77
|
-
responsiveWebGraphqlSkipUserProfileImageExtensionsEnabled: boolean;
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {boolean}
|
|
81
|
-
* @memberof PostCreateTweetRequestFeatures
|
|
82
|
-
*/
|
|
83
|
-
responsiveWebGraphqlTimelineNavigationEnabled: boolean;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {boolean}
|
|
87
|
-
* @memberof PostCreateTweetRequestFeatures
|
|
88
|
-
*/
|
|
89
|
-
responsiveWebTextConversationsEnabled: boolean;
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
* @type {boolean}
|
|
93
|
-
* @memberof PostCreateTweetRequestFeatures
|
|
94
|
-
*/
|
|
95
|
-
standardizedNudgesMisinfo: boolean;
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
* @type {boolean}
|
|
99
|
-
* @memberof PostCreateTweetRequestFeatures
|
|
100
|
-
*/
|
|
101
|
-
tweetAwardsWebTippingEnabled: boolean;
|
|
102
|
-
/**
|
|
103
|
-
*
|
|
104
|
-
* @type {boolean}
|
|
105
|
-
* @memberof PostCreateTweetRequestFeatures
|
|
106
|
-
*/
|
|
107
|
-
tweetWithVisibilityResultsPreferGqlLimitedActionsPolicyEnabled: boolean;
|
|
108
|
-
/**
|
|
109
|
-
*
|
|
110
|
-
* @type {boolean}
|
|
111
|
-
* @memberof PostCreateTweetRequestFeatures
|
|
112
|
-
*/
|
|
113
|
-
tweetypieUnmentionOptimizationEnabled: boolean;
|
|
114
|
-
/**
|
|
115
|
-
*
|
|
116
|
-
* @type {boolean}
|
|
117
|
-
* @memberof PostCreateTweetRequestFeatures
|
|
118
|
-
*/
|
|
119
|
-
verifiedPhoneLabelEnabled: boolean;
|
|
120
|
-
/**
|
|
121
|
-
*
|
|
122
|
-
* @type {boolean}
|
|
123
|
-
* @memberof PostCreateTweetRequestFeatures
|
|
124
|
-
*/
|
|
125
|
-
vibeApiEnabled: boolean;
|
|
126
|
-
/**
|
|
127
|
-
*
|
|
128
|
-
* @type {boolean}
|
|
129
|
-
* @memberof PostCreateTweetRequestFeatures
|
|
130
|
-
*/
|
|
131
|
-
viewCountsEverywhereApiEnabled: boolean;
|
|
132
|
-
}
|
|
133
|
-
/**
|
|
134
|
-
* Check if a given object implements the PostCreateTweetRequestFeatures interface.
|
|
135
|
-
*/
|
|
136
|
-
export declare function instanceOfPostCreateTweetRequestFeatures(value: object): boolean;
|
|
137
|
-
export declare function PostCreateTweetRequestFeaturesFromJSON(json: any): PostCreateTweetRequestFeatures;
|
|
138
|
-
export declare function PostCreateTweetRequestFeaturesFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostCreateTweetRequestFeatures;
|
|
139
|
-
export declare function PostCreateTweetRequestFeaturesToJSON(value?: PostCreateTweetRequestFeatures | null): any;
|
|
@@ -1,104 +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.PostCreateTweetRequestFeaturesToJSON = exports.PostCreateTweetRequestFeaturesFromJSONTyped = exports.PostCreateTweetRequestFeaturesFromJSON = exports.instanceOfPostCreateTweetRequestFeatures = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the PostCreateTweetRequestFeatures interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfPostCreateTweetRequestFeatures(value) {
|
|
21
|
-
var isInstance = true;
|
|
22
|
-
isInstance = isInstance && "blueBusinessProfileImageShapeEnabled" in value;
|
|
23
|
-
isInstance = isInstance && "freedomOfSpeechNotReachFetchEnabled" in value;
|
|
24
|
-
isInstance = isInstance && "graphqlIsTranslatableRwebTweetIsTranslatableEnabled" in value;
|
|
25
|
-
isInstance = isInstance && "interactiveTextEnabled" in value;
|
|
26
|
-
isInstance = isInstance && "longformNotetweetsConsumptionEnabled" in value;
|
|
27
|
-
isInstance = isInstance && "longformNotetweetsRichTextReadEnabled" in value;
|
|
28
|
-
isInstance = isInstance && "responsiveWebEditTweetApiEnabled" in value;
|
|
29
|
-
isInstance = isInstance && "responsiveWebEnhanceCardsEnabled" in value;
|
|
30
|
-
isInstance = isInstance && "responsiveWebGraphqlExcludeDirectiveEnabled" in value;
|
|
31
|
-
isInstance = isInstance && "responsiveWebGraphqlSkipUserProfileImageExtensionsEnabled" in value;
|
|
32
|
-
isInstance = isInstance && "responsiveWebGraphqlTimelineNavigationEnabled" in value;
|
|
33
|
-
isInstance = isInstance && "responsiveWebTextConversationsEnabled" in value;
|
|
34
|
-
isInstance = isInstance && "standardizedNudgesMisinfo" in value;
|
|
35
|
-
isInstance = isInstance && "tweetAwardsWebTippingEnabled" in value;
|
|
36
|
-
isInstance = isInstance && "tweetWithVisibilityResultsPreferGqlLimitedActionsPolicyEnabled" in value;
|
|
37
|
-
isInstance = isInstance && "tweetypieUnmentionOptimizationEnabled" in value;
|
|
38
|
-
isInstance = isInstance && "verifiedPhoneLabelEnabled" in value;
|
|
39
|
-
isInstance = isInstance && "vibeApiEnabled" in value;
|
|
40
|
-
isInstance = isInstance && "viewCountsEverywhereApiEnabled" in value;
|
|
41
|
-
return isInstance;
|
|
42
|
-
}
|
|
43
|
-
exports.instanceOfPostCreateTweetRequestFeatures = instanceOfPostCreateTweetRequestFeatures;
|
|
44
|
-
function PostCreateTweetRequestFeaturesFromJSON(json) {
|
|
45
|
-
return PostCreateTweetRequestFeaturesFromJSONTyped(json, false);
|
|
46
|
-
}
|
|
47
|
-
exports.PostCreateTweetRequestFeaturesFromJSON = PostCreateTweetRequestFeaturesFromJSON;
|
|
48
|
-
function PostCreateTweetRequestFeaturesFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
-
if ((json === undefined) || (json === null)) {
|
|
50
|
-
return json;
|
|
51
|
-
}
|
|
52
|
-
return {
|
|
53
|
-
'blueBusinessProfileImageShapeEnabled': json['blue_business_profile_image_shape_enabled'],
|
|
54
|
-
'freedomOfSpeechNotReachFetchEnabled': json['freedom_of_speech_not_reach_fetch_enabled'],
|
|
55
|
-
'graphqlIsTranslatableRwebTweetIsTranslatableEnabled': json['graphql_is_translatable_rweb_tweet_is_translatable_enabled'],
|
|
56
|
-
'interactiveTextEnabled': json['interactive_text_enabled'],
|
|
57
|
-
'longformNotetweetsConsumptionEnabled': json['longform_notetweets_consumption_enabled'],
|
|
58
|
-
'longformNotetweetsRichTextReadEnabled': json['longform_notetweets_rich_text_read_enabled'],
|
|
59
|
-
'responsiveWebEditTweetApiEnabled': json['responsive_web_edit_tweet_api_enabled'],
|
|
60
|
-
'responsiveWebEnhanceCardsEnabled': json['responsive_web_enhance_cards_enabled'],
|
|
61
|
-
'responsiveWebGraphqlExcludeDirectiveEnabled': json['responsive_web_graphql_exclude_directive_enabled'],
|
|
62
|
-
'responsiveWebGraphqlSkipUserProfileImageExtensionsEnabled': json['responsive_web_graphql_skip_user_profile_image_extensions_enabled'],
|
|
63
|
-
'responsiveWebGraphqlTimelineNavigationEnabled': json['responsive_web_graphql_timeline_navigation_enabled'],
|
|
64
|
-
'responsiveWebTextConversationsEnabled': json['responsive_web_text_conversations_enabled'],
|
|
65
|
-
'standardizedNudgesMisinfo': json['standardized_nudges_misinfo'],
|
|
66
|
-
'tweetAwardsWebTippingEnabled': json['tweet_awards_web_tipping_enabled'],
|
|
67
|
-
'tweetWithVisibilityResultsPreferGqlLimitedActionsPolicyEnabled': json['tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled'],
|
|
68
|
-
'tweetypieUnmentionOptimizationEnabled': json['tweetypie_unmention_optimization_enabled'],
|
|
69
|
-
'verifiedPhoneLabelEnabled': json['verified_phone_label_enabled'],
|
|
70
|
-
'vibeApiEnabled': json['vibe_api_enabled'],
|
|
71
|
-
'viewCountsEverywhereApiEnabled': json['view_counts_everywhere_api_enabled'],
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
exports.PostCreateTweetRequestFeaturesFromJSONTyped = PostCreateTweetRequestFeaturesFromJSONTyped;
|
|
75
|
-
function PostCreateTweetRequestFeaturesToJSON(value) {
|
|
76
|
-
if (value === undefined) {
|
|
77
|
-
return undefined;
|
|
78
|
-
}
|
|
79
|
-
if (value === null) {
|
|
80
|
-
return null;
|
|
81
|
-
}
|
|
82
|
-
return {
|
|
83
|
-
'blue_business_profile_image_shape_enabled': value.blueBusinessProfileImageShapeEnabled,
|
|
84
|
-
'freedom_of_speech_not_reach_fetch_enabled': value.freedomOfSpeechNotReachFetchEnabled,
|
|
85
|
-
'graphql_is_translatable_rweb_tweet_is_translatable_enabled': value.graphqlIsTranslatableRwebTweetIsTranslatableEnabled,
|
|
86
|
-
'interactive_text_enabled': value.interactiveTextEnabled,
|
|
87
|
-
'longform_notetweets_consumption_enabled': value.longformNotetweetsConsumptionEnabled,
|
|
88
|
-
'longform_notetweets_rich_text_read_enabled': value.longformNotetweetsRichTextReadEnabled,
|
|
89
|
-
'responsive_web_edit_tweet_api_enabled': value.responsiveWebEditTweetApiEnabled,
|
|
90
|
-
'responsive_web_enhance_cards_enabled': value.responsiveWebEnhanceCardsEnabled,
|
|
91
|
-
'responsive_web_graphql_exclude_directive_enabled': value.responsiveWebGraphqlExcludeDirectiveEnabled,
|
|
92
|
-
'responsive_web_graphql_skip_user_profile_image_extensions_enabled': value.responsiveWebGraphqlSkipUserProfileImageExtensionsEnabled,
|
|
93
|
-
'responsive_web_graphql_timeline_navigation_enabled': value.responsiveWebGraphqlTimelineNavigationEnabled,
|
|
94
|
-
'responsive_web_text_conversations_enabled': value.responsiveWebTextConversationsEnabled,
|
|
95
|
-
'standardized_nudges_misinfo': value.standardizedNudgesMisinfo,
|
|
96
|
-
'tweet_awards_web_tipping_enabled': value.tweetAwardsWebTippingEnabled,
|
|
97
|
-
'tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled': value.tweetWithVisibilityResultsPreferGqlLimitedActionsPolicyEnabled,
|
|
98
|
-
'tweetypie_unmention_optimization_enabled': value.tweetypieUnmentionOptimizationEnabled,
|
|
99
|
-
'verified_phone_label_enabled': value.verifiedPhoneLabelEnabled,
|
|
100
|
-
'vibe_api_enabled': value.vibeApiEnabled,
|
|
101
|
-
'view_counts_everywhere_api_enabled': value.viewCountsEverywhereApiEnabled,
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
exports.PostCreateTweetRequestFeaturesToJSON = PostCreateTweetRequestFeaturesToJSON;
|
|
@@ -1,50 +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 { PostCreateTweetRequestVariablesMedia } from './PostCreateTweetRequestVariablesMedia';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface PostCreateTweetRequestVariables
|
|
17
|
-
*/
|
|
18
|
-
export interface PostCreateTweetRequestVariables {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {boolean}
|
|
22
|
-
* @memberof PostCreateTweetRequestVariables
|
|
23
|
-
*/
|
|
24
|
-
darkRequest: boolean;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {PostCreateTweetRequestVariablesMedia}
|
|
28
|
-
* @memberof PostCreateTweetRequestVariables
|
|
29
|
-
*/
|
|
30
|
-
media: PostCreateTweetRequestVariablesMedia;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {Array<object>}
|
|
34
|
-
* @memberof PostCreateTweetRequestVariables
|
|
35
|
-
*/
|
|
36
|
-
semanticAnnotationIds: Array<object>;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof PostCreateTweetRequestVariables
|
|
41
|
-
*/
|
|
42
|
-
tweetText: string;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the PostCreateTweetRequestVariables interface.
|
|
46
|
-
*/
|
|
47
|
-
export declare function instanceOfPostCreateTweetRequestVariables(value: object): boolean;
|
|
48
|
-
export declare function PostCreateTweetRequestVariablesFromJSON(json: any): PostCreateTweetRequestVariables;
|
|
49
|
-
export declare function PostCreateTweetRequestVariablesFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostCreateTweetRequestVariables;
|
|
50
|
-
export declare function PostCreateTweetRequestVariablesToJSON(value?: PostCreateTweetRequestVariables | null): any;
|
|
@@ -1,60 +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.PostCreateTweetRequestVariablesToJSON = exports.PostCreateTweetRequestVariablesFromJSONTyped = exports.PostCreateTweetRequestVariablesFromJSON = exports.instanceOfPostCreateTweetRequestVariables = void 0;
|
|
17
|
-
var PostCreateTweetRequestVariablesMedia_1 = require("./PostCreateTweetRequestVariablesMedia");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the PostCreateTweetRequestVariables interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfPostCreateTweetRequestVariables(value) {
|
|
22
|
-
var isInstance = true;
|
|
23
|
-
isInstance = isInstance && "darkRequest" in value;
|
|
24
|
-
isInstance = isInstance && "media" in value;
|
|
25
|
-
isInstance = isInstance && "semanticAnnotationIds" in value;
|
|
26
|
-
isInstance = isInstance && "tweetText" in value;
|
|
27
|
-
return isInstance;
|
|
28
|
-
}
|
|
29
|
-
exports.instanceOfPostCreateTweetRequestVariables = instanceOfPostCreateTweetRequestVariables;
|
|
30
|
-
function PostCreateTweetRequestVariablesFromJSON(json) {
|
|
31
|
-
return PostCreateTweetRequestVariablesFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
exports.PostCreateTweetRequestVariablesFromJSON = PostCreateTweetRequestVariablesFromJSON;
|
|
34
|
-
function PostCreateTweetRequestVariablesFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if ((json === undefined) || (json === null)) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'darkRequest': json['dark_request'],
|
|
40
|
-
'media': (0, PostCreateTweetRequestVariablesMedia_1.PostCreateTweetRequestVariablesMediaFromJSON)(json['media']),
|
|
41
|
-
'semanticAnnotationIds': json['semantic_annotation_ids'],
|
|
42
|
-
'tweetText': json['tweet_text'],
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
exports.PostCreateTweetRequestVariablesFromJSONTyped = PostCreateTweetRequestVariablesFromJSONTyped;
|
|
46
|
-
function PostCreateTweetRequestVariablesToJSON(value) {
|
|
47
|
-
if (value === undefined) {
|
|
48
|
-
return undefined;
|
|
49
|
-
}
|
|
50
|
-
if (value === null) {
|
|
51
|
-
return null;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'dark_request': value.darkRequest,
|
|
55
|
-
'media': (0, PostCreateTweetRequestVariablesMedia_1.PostCreateTweetRequestVariablesMediaToJSON)(value.media),
|
|
56
|
-
'semantic_annotation_ids': value.semanticAnnotationIds,
|
|
57
|
-
'tweet_text': value.tweetText,
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
exports.PostCreateTweetRequestVariablesToJSON = PostCreateTweetRequestVariablesToJSON;
|
|
@@ -1,37 +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 PostCreateTweetRequestVariablesMedia
|
|
16
|
-
*/
|
|
17
|
-
export interface PostCreateTweetRequestVariablesMedia {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {Array<object>}
|
|
21
|
-
* @memberof PostCreateTweetRequestVariablesMedia
|
|
22
|
-
*/
|
|
23
|
-
mediaEntities: Array<object>;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @memberof PostCreateTweetRequestVariablesMedia
|
|
28
|
-
*/
|
|
29
|
-
possiblySensitive: boolean;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the PostCreateTweetRequestVariablesMedia interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfPostCreateTweetRequestVariablesMedia(value: object): boolean;
|
|
35
|
-
export declare function PostCreateTweetRequestVariablesMediaFromJSON(json: any): PostCreateTweetRequestVariablesMedia;
|
|
36
|
-
export declare function PostCreateTweetRequestVariablesMediaFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostCreateTweetRequestVariablesMedia;
|
|
37
|
-
export declare function PostCreateTweetRequestVariablesMediaToJSON(value?: PostCreateTweetRequestVariablesMedia | null): any;
|
|
@@ -1,53 +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.PostCreateTweetRequestVariablesMediaToJSON = exports.PostCreateTweetRequestVariablesMediaFromJSONTyped = exports.PostCreateTweetRequestVariablesMediaFromJSON = exports.instanceOfPostCreateTweetRequestVariablesMedia = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the PostCreateTweetRequestVariablesMedia interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfPostCreateTweetRequestVariablesMedia(value) {
|
|
21
|
-
var isInstance = true;
|
|
22
|
-
isInstance = isInstance && "mediaEntities" in value;
|
|
23
|
-
isInstance = isInstance && "possiblySensitive" in value;
|
|
24
|
-
return isInstance;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfPostCreateTweetRequestVariablesMedia = instanceOfPostCreateTweetRequestVariablesMedia;
|
|
27
|
-
function PostCreateTweetRequestVariablesMediaFromJSON(json) {
|
|
28
|
-
return PostCreateTweetRequestVariablesMediaFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.PostCreateTweetRequestVariablesMediaFromJSON = PostCreateTweetRequestVariablesMediaFromJSON;
|
|
31
|
-
function PostCreateTweetRequestVariablesMediaFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if ((json === undefined) || (json === null)) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'mediaEntities': json['media_entities'],
|
|
37
|
-
'possiblySensitive': json['possibly_sensitive'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
exports.PostCreateTweetRequestVariablesMediaFromJSONTyped = PostCreateTweetRequestVariablesMediaFromJSONTyped;
|
|
41
|
-
function PostCreateTweetRequestVariablesMediaToJSON(value) {
|
|
42
|
-
if (value === undefined) {
|
|
43
|
-
return undefined;
|
|
44
|
-
}
|
|
45
|
-
if (value === null) {
|
|
46
|
-
return null;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'media_entities': value.mediaEntities,
|
|
50
|
-
'possibly_sensitive': value.possiblySensitive,
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
exports.PostCreateTweetRequestVariablesMediaToJSON = PostCreateTweetRequestVariablesMediaToJSON;
|
|
@@ -1,38 +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 { PostDeleteRetweetRequestVariables } from './PostDeleteRetweetRequestVariables';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface PostDeleteRetweetRequest
|
|
17
|
-
*/
|
|
18
|
-
export interface PostDeleteRetweetRequest {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof PostDeleteRetweetRequest
|
|
23
|
-
*/
|
|
24
|
-
queryId: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {PostDeleteRetweetRequestVariables}
|
|
28
|
-
* @memberof PostDeleteRetweetRequest
|
|
29
|
-
*/
|
|
30
|
-
variables: PostDeleteRetweetRequestVariables;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the PostDeleteRetweetRequest interface.
|
|
34
|
-
*/
|
|
35
|
-
export declare function instanceOfPostDeleteRetweetRequest(value: object): boolean;
|
|
36
|
-
export declare function PostDeleteRetweetRequestFromJSON(json: any): PostDeleteRetweetRequest;
|
|
37
|
-
export declare function PostDeleteRetweetRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostDeleteRetweetRequest;
|
|
38
|
-
export declare function PostDeleteRetweetRequestToJSON(value?: PostDeleteRetweetRequest | null): any;
|
|
@@ -1,54 +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.PostDeleteRetweetRequestToJSON = exports.PostDeleteRetweetRequestFromJSONTyped = exports.PostDeleteRetweetRequestFromJSON = exports.instanceOfPostDeleteRetweetRequest = void 0;
|
|
17
|
-
var PostDeleteRetweetRequestVariables_1 = require("./PostDeleteRetweetRequestVariables");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the PostDeleteRetweetRequest interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfPostDeleteRetweetRequest(value) {
|
|
22
|
-
var isInstance = true;
|
|
23
|
-
isInstance = isInstance && "queryId" in value;
|
|
24
|
-
isInstance = isInstance && "variables" in value;
|
|
25
|
-
return isInstance;
|
|
26
|
-
}
|
|
27
|
-
exports.instanceOfPostDeleteRetweetRequest = instanceOfPostDeleteRetweetRequest;
|
|
28
|
-
function PostDeleteRetweetRequestFromJSON(json) {
|
|
29
|
-
return PostDeleteRetweetRequestFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
exports.PostDeleteRetweetRequestFromJSON = PostDeleteRetweetRequestFromJSON;
|
|
32
|
-
function PostDeleteRetweetRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if ((json === undefined) || (json === null)) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'queryId': json['queryId'],
|
|
38
|
-
'variables': (0, PostDeleteRetweetRequestVariables_1.PostDeleteRetweetRequestVariablesFromJSON)(json['variables']),
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
exports.PostDeleteRetweetRequestFromJSONTyped = PostDeleteRetweetRequestFromJSONTyped;
|
|
42
|
-
function PostDeleteRetweetRequestToJSON(value) {
|
|
43
|
-
if (value === undefined) {
|
|
44
|
-
return undefined;
|
|
45
|
-
}
|
|
46
|
-
if (value === null) {
|
|
47
|
-
return null;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'queryId': value.queryId,
|
|
51
|
-
'variables': (0, PostDeleteRetweetRequestVariables_1.PostDeleteRetweetRequestVariablesToJSON)(value.variables),
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
exports.PostDeleteRetweetRequestToJSON = PostDeleteRetweetRequestToJSON;
|
|
@@ -1,37 +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 PostDeleteRetweetRequestVariables
|
|
16
|
-
*/
|
|
17
|
-
export interface PostDeleteRetweetRequestVariables {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof PostDeleteRetweetRequestVariables
|
|
22
|
-
*/
|
|
23
|
-
darkRequest: boolean;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof PostDeleteRetweetRequestVariables
|
|
28
|
-
*/
|
|
29
|
-
sourceTweetId: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the PostDeleteRetweetRequestVariables interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfPostDeleteRetweetRequestVariables(value: object): boolean;
|
|
35
|
-
export declare function PostDeleteRetweetRequestVariablesFromJSON(json: any): PostDeleteRetweetRequestVariables;
|
|
36
|
-
export declare function PostDeleteRetweetRequestVariablesFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostDeleteRetweetRequestVariables;
|
|
37
|
-
export declare function PostDeleteRetweetRequestVariablesToJSON(value?: PostDeleteRetweetRequestVariables | null): any;
|
|
@@ -1,53 +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.PostDeleteRetweetRequestVariablesToJSON = exports.PostDeleteRetweetRequestVariablesFromJSONTyped = exports.PostDeleteRetweetRequestVariablesFromJSON = exports.instanceOfPostDeleteRetweetRequestVariables = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the PostDeleteRetweetRequestVariables interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfPostDeleteRetweetRequestVariables(value) {
|
|
21
|
-
var isInstance = true;
|
|
22
|
-
isInstance = isInstance && "darkRequest" in value;
|
|
23
|
-
isInstance = isInstance && "sourceTweetId" in value;
|
|
24
|
-
return isInstance;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfPostDeleteRetweetRequestVariables = instanceOfPostDeleteRetweetRequestVariables;
|
|
27
|
-
function PostDeleteRetweetRequestVariablesFromJSON(json) {
|
|
28
|
-
return PostDeleteRetweetRequestVariablesFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.PostDeleteRetweetRequestVariablesFromJSON = PostDeleteRetweetRequestVariablesFromJSON;
|
|
31
|
-
function PostDeleteRetweetRequestVariablesFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if ((json === undefined) || (json === null)) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'darkRequest': json['dark_request'],
|
|
37
|
-
'sourceTweetId': json['source_tweet_id'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
exports.PostDeleteRetweetRequestVariablesFromJSONTyped = PostDeleteRetweetRequestVariablesFromJSONTyped;
|
|
41
|
-
function PostDeleteRetweetRequestVariablesToJSON(value) {
|
|
42
|
-
if (value === undefined) {
|
|
43
|
-
return undefined;
|
|
44
|
-
}
|
|
45
|
-
if (value === null) {
|
|
46
|
-
return null;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'dark_request': value.darkRequest,
|
|
50
|
-
'source_tweet_id': value.sourceTweetId,
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
exports.PostDeleteRetweetRequestVariablesToJSON = PostDeleteRetweetRequestVariablesToJSON;
|
|
@@ -1,38 +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 { PostDeleteTweetRequestVariables } from './PostDeleteTweetRequestVariables';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface PostDeleteTweetRequest
|
|
17
|
-
*/
|
|
18
|
-
export interface PostDeleteTweetRequest {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof PostDeleteTweetRequest
|
|
23
|
-
*/
|
|
24
|
-
queryId: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {PostDeleteTweetRequestVariables}
|
|
28
|
-
* @memberof PostDeleteTweetRequest
|
|
29
|
-
*/
|
|
30
|
-
variables: PostDeleteTweetRequestVariables;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the PostDeleteTweetRequest interface.
|
|
34
|
-
*/
|
|
35
|
-
export declare function instanceOfPostDeleteTweetRequest(value: object): boolean;
|
|
36
|
-
export declare function PostDeleteTweetRequestFromJSON(json: any): PostDeleteTweetRequest;
|
|
37
|
-
export declare function PostDeleteTweetRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostDeleteTweetRequest;
|
|
38
|
-
export declare function PostDeleteTweetRequestToJSON(value?: PostDeleteTweetRequest | null): any;
|