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.
Files changed (334) hide show
  1. package/.openapi-generator/FILES +0 -1
  2. package/.openapi-generator/VERSION +1 -1
  3. package/.openapi-generator-ignore +2 -1
  4. package/README.md +2 -2
  5. package/package.json +1 -1
  6. package/src/apis/DefaultApi.ts +4 -0
  7. package/src/apis/OtherApi.ts +4 -0
  8. package/src/apis/PostApi.ts +24 -0
  9. package/src/apis/TweetApi.ts +36 -0
  10. package/src/apis/UserApi.ts +4 -0
  11. package/src/apis/UserListApi.ts +8 -0
  12. package/src/apis/V11GetApi.ts +8 -0
  13. package/src/apis/V11PostApi.ts +8 -0
  14. package/src/apis/V20GetApi.ts +4 -0
  15. package/tools/openapi-generator-config.yaml +1 -1
  16. package/tools/win/replace.py +13 -0
  17. package/tsconfig.json +22 -20
  18. package/twitter-openapi/src/openapi/openapi-3.0.yaml +8 -1
  19. package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
  20. package/twitter-openapi/tools/__pycache__/hooks.cpython-310.pyc +0 -0
  21. package/dist/apis/DefaultApi.d.ts +0 -31
  22. package/dist/apis/DefaultApi.js +0 -163
  23. package/dist/apis/OtherApi.d.ts +0 -26
  24. package/dist/apis/OtherApi.js +0 -145
  25. package/dist/apis/PostApi.d.ts +0 -84
  26. package/dist/apis/PostApi.js +0 -500
  27. package/dist/apis/TweetApi.d.ts +0 -135
  28. package/dist/apis/TweetApi.js +0 -827
  29. package/dist/apis/UserApi.d.ts +0 -31
  30. package/dist/apis/UserApi.js +0 -163
  31. package/dist/apis/UserListApi.d.ts +0 -44
  32. package/dist/apis/UserListApi.js +0 -246
  33. package/dist/apis/V11GetApi.d.ts +0 -60
  34. package/dist/apis/V11GetApi.js +0 -343
  35. package/dist/apis/V11PostApi.d.ts +0 -65
  36. package/dist/apis/V11PostApi.js +0 -399
  37. package/dist/apis/V20GetApi.d.ts +0 -64
  38. package/dist/apis/V20GetApi.js +0 -364
  39. package/dist/apis/index.d.ts +0 -9
  40. package/dist/apis/index.js +0 -27
  41. package/dist/index.d.ts +0 -3
  42. package/dist/index.js +0 -21
  43. package/dist/models/BookmarksResponse.d.ts +0 -32
  44. package/dist/models/BookmarksResponse.js +0 -51
  45. package/dist/models/BookmarksResponseData.d.ts +0 -32
  46. package/dist/models/BookmarksResponseData.js +0 -51
  47. package/dist/models/BookmarksTimeline.d.ts +0 -32
  48. package/dist/models/BookmarksTimeline.js +0 -51
  49. package/dist/models/CommunitiesActions.d.ts +0 -31
  50. package/dist/models/CommunitiesActions.js +0 -50
  51. package/dist/models/ContentEntryType.d.ts +0 -24
  52. package/dist/models/ContentEntryType.js +0 -37
  53. package/dist/models/ContentItemType.d.ts +0 -24
  54. package/dist/models/ContentItemType.js +0 -37
  55. package/dist/models/ContentUnion.d.ts +0 -29
  56. package/dist/models/ContentUnion.js +0 -69
  57. package/dist/models/CreateRetweet.d.ts +0 -32
  58. package/dist/models/CreateRetweet.js +0 -51
  59. package/dist/models/CreateRetweetResponse.d.ts +0 -32
  60. package/dist/models/CreateRetweetResponse.js +0 -51
  61. package/dist/models/CreateRetweetResponseData.d.ts +0 -32
  62. package/dist/models/CreateRetweetResponseData.js +0 -51
  63. package/dist/models/CreateRetweetResponseResult.d.ts +0 -32
  64. package/dist/models/CreateRetweetResponseResult.js +0 -51
  65. package/dist/models/CreateTweet.d.ts +0 -32
  66. package/dist/models/CreateTweet.js +0 -51
  67. package/dist/models/CreateTweetResponse.d.ts +0 -32
  68. package/dist/models/CreateTweetResponse.js +0 -51
  69. package/dist/models/CreateTweetResponseData.d.ts +0 -32
  70. package/dist/models/CreateTweetResponseData.js +0 -51
  71. package/dist/models/CreateTweetResponseResult.d.ts +0 -32
  72. package/dist/models/CreateTweetResponseResult.js +0 -51
  73. package/dist/models/DeleteRetweetResponse.d.ts +0 -32
  74. package/dist/models/DeleteRetweetResponse.js +0 -51
  75. package/dist/models/DeleteRetweetResponseData.d.ts +0 -32
  76. package/dist/models/DeleteRetweetResponseData.js +0 -51
  77. package/dist/models/DeleteTweetResponse.d.ts +0 -32
  78. package/dist/models/DeleteTweetResponse.js +0 -51
  79. package/dist/models/DeleteTweetResponseData.d.ts +0 -32
  80. package/dist/models/DeleteTweetResponseData.js +0 -51
  81. package/dist/models/DeleteTweetResponseResult.d.ts +0 -31
  82. package/dist/models/DeleteTweetResponseResult.js +0 -50
  83. package/dist/models/Entities.d.ts +0 -56
  84. package/dist/models/Entities.js +0 -63
  85. package/dist/models/ExtendedEntities.d.ts +0 -32
  86. package/dist/models/ExtendedEntities.js +0 -51
  87. package/dist/models/FavoriteTweet.d.ts +0 -31
  88. package/dist/models/FavoriteTweet.js +0 -50
  89. package/dist/models/FavoriteTweetResponseData.d.ts +0 -32
  90. package/dist/models/FavoriteTweetResponseData.js +0 -51
  91. package/dist/models/FollowResponse.d.ts +0 -32
  92. package/dist/models/FollowResponse.js +0 -51
  93. package/dist/models/FollowResponseData.d.ts +0 -32
  94. package/dist/models/FollowResponseData.js +0 -51
  95. package/dist/models/FollowResponseResult.d.ts +0 -39
  96. package/dist/models/FollowResponseResult.js +0 -55
  97. package/dist/models/FollowResponseUser.d.ts +0 -32
  98. package/dist/models/FollowResponseUser.js +0 -51
  99. package/dist/models/FollowTimeline.d.ts +0 -32
  100. package/dist/models/FollowTimeline.js +0 -51
  101. package/dist/models/HomeTimelineHome.d.ts +0 -32
  102. package/dist/models/HomeTimelineHome.js +0 -51
  103. package/dist/models/HomeTimelineResponseData.d.ts +0 -32
  104. package/dist/models/HomeTimelineResponseData.js +0 -51
  105. package/dist/models/InstructionType.d.ts +0 -25
  106. package/dist/models/InstructionType.js +0 -38
  107. package/dist/models/InstructionUnion.d.ts +0 -32
  108. package/dist/models/InstructionUnion.js +0 -74
  109. package/dist/models/ItemContentUnion.d.ts +0 -29
  110. package/dist/models/ItemContentUnion.js +0 -69
  111. package/dist/models/ItemResult.d.ts +0 -39
  112. package/dist/models/ItemResult.js +0 -55
  113. package/dist/models/ListTweetsTimeline.d.ts +0 -32
  114. package/dist/models/ListTweetsTimeline.js +0 -51
  115. package/dist/models/ListTweetsTimelineData.d.ts +0 -32
  116. package/dist/models/ListTweetsTimelineData.js +0 -51
  117. package/dist/models/ListTweetsTimelineList.d.ts +0 -32
  118. package/dist/models/ListTweetsTimelineList.js +0 -51
  119. package/dist/models/ListTweetsTimelineResponse.d.ts +0 -32
  120. package/dist/models/ListTweetsTimelineResponse.js +0 -51
  121. package/dist/models/Media.d.ts +0 -92
  122. package/dist/models/Media.js +0 -80
  123. package/dist/models/MediaOriginalInfo.d.ts +0 -43
  124. package/dist/models/MediaOriginalInfo.js +0 -54
  125. package/dist/models/ModuleEntry.d.ts +0 -38
  126. package/dist/models/ModuleEntry.js +0 -54
  127. package/dist/models/ModuleItem.d.ts +0 -38
  128. package/dist/models/ModuleItem.js +0 -54
  129. package/dist/models/OneFactorLoginEligibility.d.ts +0 -31
  130. package/dist/models/OneFactorLoginEligibility.js +0 -50
  131. package/dist/models/OtherResponse.d.ts +0 -32
  132. package/dist/models/OtherResponse.js +0 -51
  133. package/dist/models/PostCreateRetweetRequest.d.ts +0 -38
  134. package/dist/models/PostCreateRetweetRequest.js +0 -54
  135. package/dist/models/PostCreateTweetRequest.d.ts +0 -45
  136. package/dist/models/PostCreateTweetRequest.js +0 -58
  137. package/dist/models/PostCreateTweetRequestFeatures.d.ts +0 -139
  138. package/dist/models/PostCreateTweetRequestFeatures.js +0 -104
  139. package/dist/models/PostCreateTweetRequestVariables.d.ts +0 -50
  140. package/dist/models/PostCreateTweetRequestVariables.js +0 -60
  141. package/dist/models/PostCreateTweetRequestVariablesMedia.d.ts +0 -37
  142. package/dist/models/PostCreateTweetRequestVariablesMedia.js +0 -53
  143. package/dist/models/PostDeleteRetweetRequest.d.ts +0 -38
  144. package/dist/models/PostDeleteRetweetRequest.js +0 -54
  145. package/dist/models/PostDeleteRetweetRequestVariables.d.ts +0 -37
  146. package/dist/models/PostDeleteRetweetRequestVariables.js +0 -53
  147. package/dist/models/PostDeleteTweetRequest.d.ts +0 -38
  148. package/dist/models/PostDeleteTweetRequest.js +0 -54
  149. package/dist/models/PostDeleteTweetRequestVariables.d.ts +0 -37
  150. package/dist/models/PostDeleteTweetRequestVariables.js +0 -53
  151. package/dist/models/PostFavoriteTweetRequest.d.ts +0 -38
  152. package/dist/models/PostFavoriteTweetRequest.js +0 -54
  153. package/dist/models/PostUnfavoriteTweetRequest.d.ts +0 -38
  154. package/dist/models/PostUnfavoriteTweetRequest.js +0 -54
  155. package/dist/models/ProfileResponse.d.ts +0 -32
  156. package/dist/models/ProfileResponse.js +0 -51
  157. package/dist/models/ProfileResponseData.d.ts +0 -32
  158. package/dist/models/ProfileResponseData.js +0 -51
  159. package/dist/models/Retweet.d.ts +0 -38
  160. package/dist/models/Retweet.js +0 -54
  161. package/dist/models/RetweetLegacy.d.ts +0 -31
  162. package/dist/models/RetweetLegacy.js +0 -50
  163. package/dist/models/Session.d.ts +0 -112
  164. package/dist/models/Session.js +0 -92
  165. package/dist/models/SocialContext.d.ts +0 -43
  166. package/dist/models/SocialContext.js +0 -54
  167. package/dist/models/Timeline.d.ts +0 -44
  168. package/dist/models/Timeline.js +0 -56
  169. package/dist/models/TimelineAddEntries.d.ts +0 -39
  170. package/dist/models/TimelineAddEntries.js +0 -55
  171. package/dist/models/TimelineAddEntry.d.ts +0 -44
  172. package/dist/models/TimelineAddEntry.js +0 -57
  173. package/dist/models/TimelineClearCache.d.ts +0 -32
  174. package/dist/models/TimelineClearCache.js +0 -51
  175. package/dist/models/TimelinePinEntry.d.ts +0 -39
  176. package/dist/models/TimelinePinEntry.js +0 -55
  177. package/dist/models/TimelineResponse.d.ts +0 -32
  178. package/dist/models/TimelineResponse.js +0 -51
  179. package/dist/models/TimelineTerminateTimeline.d.ts +0 -46
  180. package/dist/models/TimelineTerminateTimeline.js +0 -61
  181. package/dist/models/TimelineTimelineCursor.d.ts +0 -68
  182. package/dist/models/TimelineTimelineCursor.js +0 -73
  183. package/dist/models/TimelineTimelineItem.d.ts +0 -58
  184. package/dist/models/TimelineTimelineItem.js +0 -64
  185. package/dist/models/TimelineTimelineModule.d.ts +0 -70
  186. package/dist/models/TimelineTimelineModule.js +0 -69
  187. package/dist/models/TimelineTweet.d.ts +0 -65
  188. package/dist/models/TimelineTweet.js +0 -68
  189. package/dist/models/TimelineUser.d.ts +0 -59
  190. package/dist/models/TimelineUser.js +0 -66
  191. package/dist/models/TimelineV2.d.ts +0 -32
  192. package/dist/models/TimelineV2.js +0 -51
  193. package/dist/models/Tweet.d.ts +0 -92
  194. package/dist/models/Tweet.js +0 -82
  195. package/dist/models/TweetDetailResponse.d.ts +0 -32
  196. package/dist/models/TweetDetailResponse.js +0 -51
  197. package/dist/models/TweetDetailResponseData.d.ts +0 -32
  198. package/dist/models/TweetDetailResponseData.js +0 -51
  199. package/dist/models/TweetEditControl.d.ts +0 -49
  200. package/dist/models/TweetEditControl.js +0 -56
  201. package/dist/models/TweetEditPrespective.d.ts +0 -37
  202. package/dist/models/TweetEditPrespective.js +0 -52
  203. package/dist/models/TweetLegacy.d.ts +0 -154
  204. package/dist/models/TweetLegacy.js +0 -110
  205. package/dist/models/TweetTombstone.d.ts +0 -32
  206. package/dist/models/TweetTombstone.js +0 -51
  207. package/dist/models/TweetUnion.d.ts +0 -29
  208. package/dist/models/TweetUnion.js +0 -69
  209. package/dist/models/TweetViews.d.ts +0 -37
  210. package/dist/models/TweetViews.js +0 -52
  211. package/dist/models/TweetWithVisibilityResults.d.ts +0 -39
  212. package/dist/models/TweetWithVisibilityResults.js +0 -55
  213. package/dist/models/TypeName.d.ts +0 -30
  214. package/dist/models/TypeName.js +0 -43
  215. package/dist/models/UnfavoriteTweet.d.ts +0 -31
  216. package/dist/models/UnfavoriteTweet.js +0 -50
  217. package/dist/models/UnfavoriteTweetResponseData.d.ts +0 -32
  218. package/dist/models/UnfavoriteTweetResponseData.js +0 -51
  219. package/dist/models/User.d.ts +0 -99
  220. package/dist/models/User.js +0 -83
  221. package/dist/models/UserFeatures.d.ts +0 -31
  222. package/dist/models/UserFeatures.js +0 -50
  223. package/dist/models/UserLegacy.d.ts +0 -259
  224. package/dist/models/UserLegacy.js +0 -161
  225. package/dist/models/UserResponse.d.ts +0 -32
  226. package/dist/models/UserResponse.js +0 -51
  227. package/dist/models/UserResponseData.d.ts +0 -32
  228. package/dist/models/UserResponseData.js +0 -51
  229. package/dist/models/UserResultByScreenName.d.ts +0 -38
  230. package/dist/models/UserResultByScreenName.js +0 -54
  231. package/dist/models/UserResultByScreenNameLegacy.d.ts +0 -67
  232. package/dist/models/UserResultByScreenNameLegacy.js +0 -62
  233. package/dist/models/UserResultByScreenNameResult.d.ts +0 -57
  234. package/dist/models/UserResultByScreenNameResult.js +0 -64
  235. package/dist/models/UserResultCore.d.ts +0 -32
  236. package/dist/models/UserResultCore.js +0 -51
  237. package/dist/models/UserResults.d.ts +0 -32
  238. package/dist/models/UserResults.js +0 -51
  239. package/dist/models/UserTweetsData.d.ts +0 -32
  240. package/dist/models/UserTweetsData.js +0 -51
  241. package/dist/models/UserTweetsResponse.d.ts +0 -32
  242. package/dist/models/UserTweetsResponse.js +0 -51
  243. package/dist/models/UserTweetsResult.d.ts +0 -39
  244. package/dist/models/UserTweetsResult.js +0 -55
  245. package/dist/models/UserTweetsUser.d.ts +0 -32
  246. package/dist/models/UserTweetsUser.js +0 -51
  247. package/dist/models/index.d.ts +0 -102
  248. package/dist/models/index.js +0 -120
  249. package/dist/runtime.d.ts +0 -182
  250. package/dist/runtime.js +0 -555
  251. package/twitter-openapi/dist/dart/openapi-3.0.yaml +0 -111
  252. package/twitter-openapi/dist/dart/paths/bookmarks.yaml +0 -134
  253. package/twitter-openapi/dist/dart/paths/follow.yaml +0 -262
  254. package/twitter-openapi/dist/dart/paths/other.yaml +0 -96
  255. package/twitter-openapi/dist/dart/paths/post.yaml +0 -834
  256. package/twitter-openapi/dist/dart/paths/profile.yaml +0 -152
  257. package/twitter-openapi/dist/dart/paths/timeline.yaml +0 -380
  258. package/twitter-openapi/dist/dart/paths/tweet.yaml +0 -134
  259. package/twitter-openapi/dist/dart/paths/user.yaml +0 -112
  260. package/twitter-openapi/dist/dart/paths/usertweets.yaml +0 -484
  261. package/twitter-openapi/dist/dart/paths/v1.1-get.yaml +0 -300
  262. package/twitter-openapi/dist/dart/paths/v1.1-post.yaml +0 -295
  263. package/twitter-openapi/dist/dart/paths/v2.0-get.yaml +0 -331
  264. package/twitter-openapi/dist/dart/response/error.yaml +0 -90
  265. package/twitter-openapi/dist/dart/schemas/content.yaml +0 -181
  266. package/twitter-openapi/dist/dart/schemas/general.yaml +0 -13
  267. package/twitter-openapi/dist/dart/schemas/instruction.yaml +0 -83
  268. package/twitter-openapi/dist/dart/schemas/timeline.yaml +0 -25
  269. package/twitter-openapi/dist/dart/schemas/tweet.yaml +0 -251
  270. package/twitter-openapi/dist/dart/schemas/typename.yaml +0 -19
  271. package/twitter-openapi/dist/dart/schemas/user.yaml +0 -206
  272. package/twitter-openapi/dist/docs/openapi-3.0.yaml +0 -135
  273. package/twitter-openapi/dist/docs/paths/bookmarks.yaml +0 -248
  274. package/twitter-openapi/dist/docs/paths/follow.yaml +0 -486
  275. package/twitter-openapi/dist/docs/paths/other.yaml +0 -96
  276. package/twitter-openapi/dist/docs/paths/post.yaml +0 -638
  277. package/twitter-openapi/dist/docs/paths/profile.yaml +0 -159
  278. package/twitter-openapi/dist/docs/paths/timeline.yaml +0 -730
  279. package/twitter-openapi/dist/docs/paths/tweet.yaml +0 -272
  280. package/twitter-openapi/dist/docs/paths/user.yaml +0 -152
  281. package/twitter-openapi/dist/docs/paths/usertweets.yaml +0 -1010
  282. package/twitter-openapi/dist/docs/paths/v1.1-get.yaml +0 -242
  283. package/twitter-openapi/dist/docs/paths/v1.1-post.yaml +0 -237
  284. package/twitter-openapi/dist/docs/paths/v2.0-get.yaml +0 -302
  285. package/twitter-openapi/dist/docs/response/error.yaml +0 -90
  286. package/twitter-openapi/dist/docs/schemas/content.yaml +0 -181
  287. package/twitter-openapi/dist/docs/schemas/general.yaml +0 -13
  288. package/twitter-openapi/dist/docs/schemas/instruction.yaml +0 -83
  289. package/twitter-openapi/dist/docs/schemas/timeline.yaml +0 -25
  290. package/twitter-openapi/dist/docs/schemas/tweet.yaml +0 -251
  291. package/twitter-openapi/dist/docs/schemas/typename.yaml +0 -19
  292. package/twitter-openapi/dist/docs/schemas/user.yaml +0 -206
  293. package/twitter-openapi/dist/test/openapi-3.0.yaml +0 -135
  294. package/twitter-openapi/dist/test/paths/bookmarks.yaml +0 -105
  295. package/twitter-openapi/dist/test/paths/follow.yaml +0 -204
  296. package/twitter-openapi/dist/test/paths/other.yaml +0 -96
  297. package/twitter-openapi/dist/test/paths/post.yaml +0 -485
  298. package/twitter-openapi/dist/test/paths/profile.yaml +0 -123
  299. package/twitter-openapi/dist/test/paths/timeline.yaml +0 -293
  300. package/twitter-openapi/dist/test/paths/tweet.yaml +0 -105
  301. package/twitter-openapi/dist/test/paths/user.yaml +0 -83
  302. package/twitter-openapi/dist/test/paths/usertweets.yaml +0 -368
  303. package/twitter-openapi/dist/test/paths/v1.1-get.yaml +0 -242
  304. package/twitter-openapi/dist/test/paths/v1.1-post.yaml +0 -277
  305. package/twitter-openapi/dist/test/paths/v2.0-get.yaml +0 -302
  306. package/twitter-openapi/dist/test/response/error.yaml +0 -90
  307. package/twitter-openapi/dist/test/schemas/content.yaml +0 -181
  308. package/twitter-openapi/dist/test/schemas/general.yaml +0 -13
  309. package/twitter-openapi/dist/test/schemas/instruction.yaml +0 -83
  310. package/twitter-openapi/dist/test/schemas/timeline.yaml +0 -25
  311. package/twitter-openapi/dist/test/schemas/tweet.yaml +0 -251
  312. package/twitter-openapi/dist/test/schemas/typename.yaml +0 -19
  313. package/twitter-openapi/dist/test/schemas/user.yaml +0 -206
  314. package/twitter-openapi/dist/typescript/openapi-3.0.yaml +0 -135
  315. package/twitter-openapi/dist/typescript/paths/bookmarks.yaml +0 -105
  316. package/twitter-openapi/dist/typescript/paths/follow.yaml +0 -204
  317. package/twitter-openapi/dist/typescript/paths/other.yaml +0 -96
  318. package/twitter-openapi/dist/typescript/paths/post.yaml +0 -660
  319. package/twitter-openapi/dist/typescript/paths/profile.yaml +0 -123
  320. package/twitter-openapi/dist/typescript/paths/timeline.yaml +0 -293
  321. package/twitter-openapi/dist/typescript/paths/tweet.yaml +0 -105
  322. package/twitter-openapi/dist/typescript/paths/user.yaml +0 -83
  323. package/twitter-openapi/dist/typescript/paths/usertweets.yaml +0 -368
  324. package/twitter-openapi/dist/typescript/paths/v1.1-get.yaml +0 -242
  325. package/twitter-openapi/dist/typescript/paths/v1.1-post.yaml +0 -237
  326. package/twitter-openapi/dist/typescript/paths/v2.0-get.yaml +0 -302
  327. package/twitter-openapi/dist/typescript/response/error.yaml +0 -90
  328. package/twitter-openapi/dist/typescript/schemas/content.yaml +0 -181
  329. package/twitter-openapi/dist/typescript/schemas/general.yaml +0 -13
  330. package/twitter-openapi/dist/typescript/schemas/instruction.yaml +0 -83
  331. package/twitter-openapi/dist/typescript/schemas/timeline.yaml +0 -25
  332. package/twitter-openapi/dist/typescript/schemas/tweet.yaml +0 -251
  333. package/twitter-openapi/dist/typescript/schemas/typename.yaml +0 -19
  334. package/twitter-openapi/dist/typescript/schemas/user.yaml +0 -206
package/dist/runtime.js DELETED
@@ -1,555 +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
- var __extends = (this && this.__extends) || (function () {
16
- var extendStatics = function (d, b) {
17
- extendStatics = Object.setPrototypeOf ||
18
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
- return extendStatics(d, b);
21
- };
22
- return function (d, b) {
23
- if (typeof b !== "function" && b !== null)
24
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
- extendStatics(d, b);
26
- function __() { this.constructor = d; }
27
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
- };
29
- })();
30
- var __assign = (this && this.__assign) || function () {
31
- __assign = Object.assign || function(t) {
32
- for (var s, i = 1, n = arguments.length; i < n; i++) {
33
- s = arguments[i];
34
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
- t[p] = s[p];
36
- }
37
- return t;
38
- };
39
- return __assign.apply(this, arguments);
40
- };
41
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
42
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
43
- return new (P || (P = Promise))(function (resolve, reject) {
44
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
45
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
47
- step((generator = generator.apply(thisArg, _arguments || [])).next());
48
- });
49
- };
50
- var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
- function verb(n) { return function (v) { return step([n, v]); }; }
54
- function step(op) {
55
- if (f) throw new TypeError("Generator is already executing.");
56
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
57
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
58
- if (y = 0, t) op = [op[0] & 2, t.value];
59
- switch (op[0]) {
60
- case 0: case 1: t = op; break;
61
- case 4: _.label++; return { value: op[1], done: false };
62
- case 5: _.label++; y = op[1]; op = [0]; continue;
63
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
64
- default:
65
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
66
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
67
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
68
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
69
- if (t[2]) _.ops.pop();
70
- _.trys.pop(); continue;
71
- }
72
- op = body.call(thisArg, _);
73
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
74
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
- }
76
- };
77
- Object.defineProperty(exports, "__esModule", { value: true });
78
- exports.TextApiResponse = exports.BlobApiResponse = exports.VoidApiResponse = exports.JSONApiResponse = exports.canConsumeForm = exports.mapValues = exports.querystring = exports.exists = exports.COLLECTION_FORMATS = exports.RequiredError = exports.FetchError = exports.ResponseError = exports.BaseAPI = exports.DefaultConfig = exports.Configuration = exports.BASE_PATH = void 0;
79
- exports.BASE_PATH = "https://twitter.com/i/api".replace(/\/+$/, "");
80
- var Configuration = /** @class */ (function () {
81
- function Configuration(configuration) {
82
- if (configuration === void 0) { configuration = {}; }
83
- this.configuration = configuration;
84
- }
85
- Object.defineProperty(Configuration.prototype, "config", {
86
- set: function (configuration) {
87
- this.configuration = configuration;
88
- },
89
- enumerable: false,
90
- configurable: true
91
- });
92
- Object.defineProperty(Configuration.prototype, "basePath", {
93
- get: function () {
94
- return this.configuration.basePath != null ? this.configuration.basePath : exports.BASE_PATH;
95
- },
96
- enumerable: false,
97
- configurable: true
98
- });
99
- Object.defineProperty(Configuration.prototype, "fetchApi", {
100
- get: function () {
101
- return this.configuration.fetchApi;
102
- },
103
- enumerable: false,
104
- configurable: true
105
- });
106
- Object.defineProperty(Configuration.prototype, "middleware", {
107
- get: function () {
108
- return this.configuration.middleware || [];
109
- },
110
- enumerable: false,
111
- configurable: true
112
- });
113
- Object.defineProperty(Configuration.prototype, "queryParamsStringify", {
114
- get: function () {
115
- return this.configuration.queryParamsStringify || querystring;
116
- },
117
- enumerable: false,
118
- configurable: true
119
- });
120
- Object.defineProperty(Configuration.prototype, "username", {
121
- get: function () {
122
- return this.configuration.username;
123
- },
124
- enumerable: false,
125
- configurable: true
126
- });
127
- Object.defineProperty(Configuration.prototype, "password", {
128
- get: function () {
129
- return this.configuration.password;
130
- },
131
- enumerable: false,
132
- configurable: true
133
- });
134
- Object.defineProperty(Configuration.prototype, "apiKey", {
135
- get: function () {
136
- var apiKey = this.configuration.apiKey;
137
- if (apiKey) {
138
- return typeof apiKey === 'function' ? apiKey : function () { return apiKey; };
139
- }
140
- return undefined;
141
- },
142
- enumerable: false,
143
- configurable: true
144
- });
145
- Object.defineProperty(Configuration.prototype, "accessToken", {
146
- get: function () {
147
- var _this = this;
148
- var accessToken = this.configuration.accessToken;
149
- if (accessToken) {
150
- return typeof accessToken === 'function' ? accessToken : function () { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
151
- return [2 /*return*/, accessToken];
152
- }); }); };
153
- }
154
- return undefined;
155
- },
156
- enumerable: false,
157
- configurable: true
158
- });
159
- Object.defineProperty(Configuration.prototype, "headers", {
160
- get: function () {
161
- return this.configuration.headers;
162
- },
163
- enumerable: false,
164
- configurable: true
165
- });
166
- Object.defineProperty(Configuration.prototype, "credentials", {
167
- get: function () {
168
- return this.configuration.credentials;
169
- },
170
- enumerable: false,
171
- configurable: true
172
- });
173
- return Configuration;
174
- }());
175
- exports.Configuration = Configuration;
176
- exports.DefaultConfig = new Configuration();
177
- /**
178
- * This is the base class for all generated API classes.
179
- */
180
- var BaseAPI = /** @class */ (function () {
181
- function BaseAPI(configuration) {
182
- if (configuration === void 0) { configuration = exports.DefaultConfig; }
183
- var _this = this;
184
- this.configuration = configuration;
185
- this.fetchApi = function (url, init) { return __awaiter(_this, void 0, void 0, function () {
186
- var fetchParams, _i, _a, middleware, response, e_1, _b, _c, middleware, _d, _e, middleware;
187
- return __generator(this, function (_f) {
188
- switch (_f.label) {
189
- case 0:
190
- fetchParams = { url: url, init: init };
191
- _i = 0, _a = this.middleware;
192
- _f.label = 1;
193
- case 1:
194
- if (!(_i < _a.length)) return [3 /*break*/, 4];
195
- middleware = _a[_i];
196
- if (!middleware.pre) return [3 /*break*/, 3];
197
- return [4 /*yield*/, middleware.pre(__assign({ fetch: this.fetchApi }, fetchParams))];
198
- case 2:
199
- fetchParams = (_f.sent()) || fetchParams;
200
- _f.label = 3;
201
- case 3:
202
- _i++;
203
- return [3 /*break*/, 1];
204
- case 4:
205
- response = undefined;
206
- _f.label = 5;
207
- case 5:
208
- _f.trys.push([5, 7, , 12]);
209
- return [4 /*yield*/, (this.configuration.fetchApi || fetch)(fetchParams.url, fetchParams.init)];
210
- case 6:
211
- response = _f.sent();
212
- return [3 /*break*/, 12];
213
- case 7:
214
- e_1 = _f.sent();
215
- _b = 0, _c = this.middleware;
216
- _f.label = 8;
217
- case 8:
218
- if (!(_b < _c.length)) return [3 /*break*/, 11];
219
- middleware = _c[_b];
220
- if (!middleware.onError) return [3 /*break*/, 10];
221
- return [4 /*yield*/, middleware.onError({
222
- fetch: this.fetchApi,
223
- url: fetchParams.url,
224
- init: fetchParams.init,
225
- error: e_1,
226
- response: response ? response.clone() : undefined,
227
- })];
228
- case 9:
229
- response = (_f.sent()) || response;
230
- _f.label = 10;
231
- case 10:
232
- _b++;
233
- return [3 /*break*/, 8];
234
- case 11:
235
- if (response === undefined) {
236
- if (e_1 instanceof Error) {
237
- throw new FetchError(e_1, 'The request failed and the interceptors did not return an alternative response');
238
- }
239
- else {
240
- throw e_1;
241
- }
242
- }
243
- return [3 /*break*/, 12];
244
- case 12:
245
- _d = 0, _e = this.middleware;
246
- _f.label = 13;
247
- case 13:
248
- if (!(_d < _e.length)) return [3 /*break*/, 16];
249
- middleware = _e[_d];
250
- if (!middleware.post) return [3 /*break*/, 15];
251
- return [4 /*yield*/, middleware.post({
252
- fetch: this.fetchApi,
253
- url: fetchParams.url,
254
- init: fetchParams.init,
255
- response: response.clone(),
256
- })];
257
- case 14:
258
- response = (_f.sent()) || response;
259
- _f.label = 15;
260
- case 15:
261
- _d++;
262
- return [3 /*break*/, 13];
263
- case 16: return [2 /*return*/, response];
264
- }
265
- });
266
- }); };
267
- this.middleware = configuration.middleware;
268
- }
269
- BaseAPI.prototype.withMiddleware = function () {
270
- var _a;
271
- var middlewares = [];
272
- for (var _i = 0; _i < arguments.length; _i++) {
273
- middlewares[_i] = arguments[_i];
274
- }
275
- var next = this.clone();
276
- next.middleware = (_a = next.middleware).concat.apply(_a, middlewares);
277
- return next;
278
- };
279
- BaseAPI.prototype.withPreMiddleware = function () {
280
- var preMiddlewares = [];
281
- for (var _i = 0; _i < arguments.length; _i++) {
282
- preMiddlewares[_i] = arguments[_i];
283
- }
284
- var middlewares = preMiddlewares.map(function (pre) { return ({ pre: pre }); });
285
- return this.withMiddleware.apply(this, middlewares);
286
- };
287
- BaseAPI.prototype.withPostMiddleware = function () {
288
- var postMiddlewares = [];
289
- for (var _i = 0; _i < arguments.length; _i++) {
290
- postMiddlewares[_i] = arguments[_i];
291
- }
292
- var middlewares = postMiddlewares.map(function (post) { return ({ post: post }); });
293
- return this.withMiddleware.apply(this, middlewares);
294
- };
295
- /**
296
- * Check if the given MIME is a JSON MIME.
297
- * JSON MIME examples:
298
- * application/json
299
- * application/json; charset=UTF8
300
- * APPLICATION/JSON
301
- * application/vnd.company+json
302
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
303
- * @return True if the given MIME is JSON, false otherwise.
304
- */
305
- BaseAPI.prototype.isJsonMime = function (mime) {
306
- if (!mime) {
307
- return false;
308
- }
309
- return BaseAPI.jsonRegex.test(mime);
310
- };
311
- BaseAPI.prototype.request = function (context, initOverrides) {
312
- return __awaiter(this, void 0, void 0, function () {
313
- var _a, url, init, response;
314
- return __generator(this, function (_b) {
315
- switch (_b.label) {
316
- case 0: return [4 /*yield*/, this.createFetchParams(context, initOverrides)];
317
- case 1:
318
- _a = _b.sent(), url = _a.url, init = _a.init;
319
- return [4 /*yield*/, this.fetchApi(url, init)];
320
- case 2:
321
- response = _b.sent();
322
- if (response && (response.status >= 200 && response.status < 300)) {
323
- return [2 /*return*/, response];
324
- }
325
- throw new ResponseError(response, 'Response returned an error code');
326
- }
327
- });
328
- });
329
- };
330
- BaseAPI.prototype.createFetchParams = function (context, initOverrides) {
331
- return __awaiter(this, void 0, void 0, function () {
332
- var url, headers, initOverrideFn, initParams, overriddenInit, _a, init;
333
- var _this = this;
334
- return __generator(this, function (_b) {
335
- switch (_b.label) {
336
- case 0:
337
- url = this.configuration.basePath + context.path;
338
- if (context.query !== undefined && Object.keys(context.query).length !== 0) {
339
- // only add the querystring to the URL if there are query parameters.
340
- // this is done to avoid urls ending with a "?" character which buggy webservers
341
- // do not handle correctly sometimes.
342
- url += '?' + this.configuration.queryParamsStringify(context.query);
343
- }
344
- headers = Object.assign({}, this.configuration.headers, context.headers);
345
- Object.keys(headers).forEach(function (key) { return headers[key] === undefined ? delete headers[key] : {}; });
346
- initOverrideFn = typeof initOverrides === "function"
347
- ? initOverrides
348
- : function () { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
349
- return [2 /*return*/, initOverrides];
350
- }); }); };
351
- initParams = {
352
- method: context.method,
353
- headers: headers,
354
- body: context.body,
355
- credentials: this.configuration.credentials,
356
- };
357
- _a = [__assign({}, initParams)];
358
- return [4 /*yield*/, initOverrideFn({
359
- init: initParams,
360
- context: context,
361
- })];
362
- case 1:
363
- overriddenInit = __assign.apply(void 0, _a.concat([(_b.sent())]));
364
- init = __assign(__assign({}, overriddenInit), { body: isFormData(overriddenInit.body) ||
365
- overriddenInit.body instanceof URLSearchParams ||
366
- isBlob(overriddenInit.body)
367
- ? overriddenInit.body
368
- : JSON.stringify(overriddenInit.body) });
369
- return [2 /*return*/, { url: url, init: init }];
370
- }
371
- });
372
- });
373
- };
374
- /**
375
- * Create a shallow clone of `this` by constructing a new instance
376
- * and then shallow cloning data members.
377
- */
378
- BaseAPI.prototype.clone = function () {
379
- var constructor = this.constructor;
380
- var next = new constructor(this.configuration);
381
- next.middleware = this.middleware.slice();
382
- return next;
383
- };
384
- BaseAPI.jsonRegex = new RegExp('^(:?application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(:?;.*)?$', 'i');
385
- return BaseAPI;
386
- }());
387
- exports.BaseAPI = BaseAPI;
388
- ;
389
- function isBlob(value) {
390
- return typeof Blob !== 'undefined' && value instanceof Blob;
391
- }
392
- function isFormData(value) {
393
- return typeof FormData !== "undefined" && value instanceof FormData;
394
- }
395
- var ResponseError = /** @class */ (function (_super) {
396
- __extends(ResponseError, _super);
397
- function ResponseError(response, msg) {
398
- var _this = _super.call(this, msg) || this;
399
- _this.response = response;
400
- _this.name = "ResponseError";
401
- return _this;
402
- }
403
- return ResponseError;
404
- }(Error));
405
- exports.ResponseError = ResponseError;
406
- var FetchError = /** @class */ (function (_super) {
407
- __extends(FetchError, _super);
408
- function FetchError(cause, msg) {
409
- var _this = _super.call(this, msg) || this;
410
- _this.cause = cause;
411
- _this.name = "FetchError";
412
- return _this;
413
- }
414
- return FetchError;
415
- }(Error));
416
- exports.FetchError = FetchError;
417
- var RequiredError = /** @class */ (function (_super) {
418
- __extends(RequiredError, _super);
419
- function RequiredError(field, msg) {
420
- var _this = _super.call(this, msg) || this;
421
- _this.field = field;
422
- _this.name = "RequiredError";
423
- return _this;
424
- }
425
- return RequiredError;
426
- }(Error));
427
- exports.RequiredError = RequiredError;
428
- exports.COLLECTION_FORMATS = {
429
- csv: ",",
430
- ssv: " ",
431
- tsv: "\t",
432
- pipes: "|",
433
- };
434
- function exists(json, key) {
435
- var value = json[key];
436
- return value !== null && value !== undefined;
437
- }
438
- exports.exists = exists;
439
- function querystring(params, prefix) {
440
- if (prefix === void 0) { prefix = ''; }
441
- return Object.keys(params)
442
- .map(function (key) { return querystringSingleKey(key, params[key], prefix); })
443
- .filter(function (part) { return part.length > 0; })
444
- .join('&');
445
- }
446
- exports.querystring = querystring;
447
- function querystringSingleKey(key, value, keyPrefix) {
448
- if (keyPrefix === void 0) { keyPrefix = ''; }
449
- var fullKey = keyPrefix + (keyPrefix.length ? "[".concat(key, "]") : key);
450
- if (value instanceof Array) {
451
- var multiValue = value.map(function (singleValue) { return encodeURIComponent(String(singleValue)); })
452
- .join("&".concat(encodeURIComponent(fullKey), "="));
453
- return "".concat(encodeURIComponent(fullKey), "=").concat(multiValue);
454
- }
455
- if (value instanceof Set) {
456
- var valueAsArray = Array.from(value);
457
- return querystringSingleKey(key, valueAsArray, keyPrefix);
458
- }
459
- if (value instanceof Date) {
460
- return "".concat(encodeURIComponent(fullKey), "=").concat(encodeURIComponent(value.toISOString()));
461
- }
462
- if (value instanceof Object) {
463
- return querystring(value, fullKey);
464
- }
465
- return "".concat(encodeURIComponent(fullKey), "=").concat(encodeURIComponent(String(value)));
466
- }
467
- function mapValues(data, fn) {
468
- return Object.keys(data).reduce(function (acc, key) {
469
- var _a;
470
- return (__assign(__assign({}, acc), (_a = {}, _a[key] = fn(data[key]), _a)));
471
- }, {});
472
- }
473
- exports.mapValues = mapValues;
474
- function canConsumeForm(consumes) {
475
- for (var _i = 0, consumes_1 = consumes; _i < consumes_1.length; _i++) {
476
- var consume = consumes_1[_i];
477
- if ('multipart/form-data' === consume.contentType) {
478
- return true;
479
- }
480
- }
481
- return false;
482
- }
483
- exports.canConsumeForm = canConsumeForm;
484
- var JSONApiResponse = /** @class */ (function () {
485
- function JSONApiResponse(raw, transformer) {
486
- if (transformer === void 0) { transformer = function (jsonValue) { return jsonValue; }; }
487
- this.raw = raw;
488
- this.transformer = transformer;
489
- }
490
- JSONApiResponse.prototype.value = function () {
491
- return __awaiter(this, void 0, void 0, function () {
492
- var _a;
493
- return __generator(this, function (_b) {
494
- switch (_b.label) {
495
- case 0:
496
- _a = this.transformer;
497
- return [4 /*yield*/, this.raw.json()];
498
- case 1: return [2 /*return*/, _a.apply(this, [_b.sent()])];
499
- }
500
- });
501
- });
502
- };
503
- return JSONApiResponse;
504
- }());
505
- exports.JSONApiResponse = JSONApiResponse;
506
- var VoidApiResponse = /** @class */ (function () {
507
- function VoidApiResponse(raw) {
508
- this.raw = raw;
509
- }
510
- VoidApiResponse.prototype.value = function () {
511
- return __awaiter(this, void 0, void 0, function () {
512
- return __generator(this, function (_a) {
513
- return [2 /*return*/, undefined];
514
- });
515
- });
516
- };
517
- return VoidApiResponse;
518
- }());
519
- exports.VoidApiResponse = VoidApiResponse;
520
- var BlobApiResponse = /** @class */ (function () {
521
- function BlobApiResponse(raw) {
522
- this.raw = raw;
523
- }
524
- BlobApiResponse.prototype.value = function () {
525
- return __awaiter(this, void 0, void 0, function () {
526
- return __generator(this, function (_a) {
527
- switch (_a.label) {
528
- case 0: return [4 /*yield*/, this.raw.blob()];
529
- case 1: return [2 /*return*/, _a.sent()];
530
- }
531
- });
532
- });
533
- };
534
- ;
535
- return BlobApiResponse;
536
- }());
537
- exports.BlobApiResponse = BlobApiResponse;
538
- var TextApiResponse = /** @class */ (function () {
539
- function TextApiResponse(raw) {
540
- this.raw = raw;
541
- }
542
- TextApiResponse.prototype.value = function () {
543
- return __awaiter(this, void 0, void 0, function () {
544
- return __generator(this, function (_a) {
545
- switch (_a.label) {
546
- case 0: return [4 /*yield*/, this.raw.text()];
547
- case 1: return [2 /*return*/, _a.sent()];
548
- }
549
- });
550
- });
551
- };
552
- ;
553
- return TextApiResponse;
554
- }());
555
- exports.TextApiResponse = TextApiResponse;
@@ -1,111 +0,0 @@
1
- components:
2
- schemas: {}
3
- securitySchemes:
4
- AuthType:
5
- description: OAuth2Session if you are logged in
6
- in: header
7
- name: x-twitter-auth-type
8
- type: apiKey
9
- CookieAuthToken:
10
- description: HttpOnly cookie
11
- in: cookie
12
- name: auth_token
13
- type: apiKey
14
- CookieCt0:
15
- description: document.cookie.split('; ').find(row => row.startsWith('ct0='));
16
- in: cookie
17
- name: ct0
18
- type: apiKey
19
- CsrfToken:
20
- description: document.cookie.split('; ').find(row => row.startsWith('ct0='));
21
- in: header
22
- name: x-csrf-token
23
- type: apiKey
24
- info:
25
- contact:
26
- email: yuki@yuki0311.com
27
- description: Twitter OpenAPI(Swagger) specification
28
- license:
29
- name: GNU Affero General Public License v3.
30
- url: https://raw.githubusercontent.com/fa0311/twitter-openapi/main/LICENSE.txt
31
- termsOfService: https://github.com/fa0311
32
- title: Twitter OpenAPI
33
- version: 0.0.1
34
- openapi: 3.0.3
35
- paths:
36
- /1.1/friends/following/list.json:
37
- $ref: ./paths/v1.1-get.yaml#/paths/~11.1~1friends~1following~1list.json
38
- /1.1/friendships/create.json:
39
- $ref: ./paths/v1.1-post.yaml#/paths/~11.1~1friendships~1create.json
40
- /1.1/friendships/destroy.json:
41
- $ref: ./paths/v1.1-post.yaml#/paths/~11.1~1friendships~1destroy.json
42
- /1.1/search/typeahead.json:
43
- $ref: ./paths/v1.1-get.yaml#/paths/~11.1~1search~1typeahead.json
44
- /2/search/adaptive.json:
45
- $ref: ./paths/v2.0-get.yaml#/paths/~12~1search~1adaptive.json
46
- /graphql/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
47
- $ref: ./paths/post.yaml#/paths/~1graphql~11RyAhNwby-gzGCRVsMxKbQ~1CreateTweet
48
- /graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
49
- $ref: ./paths/timeline.yaml#/paths/~1graphql~12TemLyqrMpTeAmysdbnVqw~1ListLatestTweetsTimeline
50
- /graphql/5fmEkRT-1AdHqEsbVgehMg/Likes:
51
- $ref: ./paths/usertweets.yaml#/paths/~1graphql~15fmEkRT-1AdHqEsbVgehMg~1Likes
52
- /graphql/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
53
- $ref: ./paths/profile.yaml#/paths/~1graphql~19zwVLJ48lmVUk8u_Gh9DmA~1ProfileSpotlightsQuery
54
- /graphql/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
55
- $ref: ./paths/timeline.yaml#/paths/~1graphql~1HCosKfLNW1AcOo3la3mMgg~1HomeTimeline
56
- /graphql/HuTx74BxAnezK1gWvYY7zg/UserTweets:
57
- $ref: ./paths/usertweets.yaml#/paths/~1graphql~1HuTx74BxAnezK1gWvYY7zg~1UserTweets
58
- /graphql/IWP6Zt14sARO29lJT35bBw/Following:
59
- $ref: ./paths/follow.yaml#/paths/~1graphql~1IWP6Zt14sARO29lJT35bBw~1Following
60
- /graphql/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
61
- $ref: ./paths/usertweets.yaml#/paths/~1graphql~1RIWc55YCNyUJ-U3HHGYkdg~1UserTweetsAndReplies
62
- /graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
63
- $ref: ./paths/post.yaml#/paths/~1graphql~1VaenaVgh5q5ih7kvyVjgtg~1DeleteTweet
64
- /graphql/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
65
- $ref: ./paths/usertweets.yaml#/paths/~1graphql~1YqiE3JL1KNgf9nSljYdxaA~1UserMedia
66
- /graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
67
- $ref: ./paths/post.yaml#/paths/~1graphql~1ZYKSe-w7KEslx3JhSIk5LA~1UnfavoriteTweet
68
- /graphql/djdTXDIk2qhd4OStqlUFeQ/Followers:
69
- $ref: ./paths/follow.yaml#/paths/~1graphql~1djdTXDIk2qhd4OStqlUFeQ~1Followers
70
- /graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
71
- $ref: ./paths/post.yaml#/paths/~1graphql~1iQtK4dl5hBmXewYZuEOKVw~1DeleteRetweet
72
- /graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
73
- $ref: ./paths/post.yaml#/paths/~1graphql~1lI07N6Otwv1PhnEgXILM7A~1FavoriteTweet
74
- /graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
75
- $ref: ./paths/post.yaml#/paths/~1graphql~1ojPdsZsimiJrUGLR1sjUtA~1CreateRetweet
76
- /graphql/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
77
- $ref: ./paths/user.yaml#/paths/~1graphql~1sLVLhk0bGj3MVFEKTdax1w~1UserByScreenName
78
- /graphql/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
79
- $ref: ./paths/bookmarks.yaml#/paths/~1graphql~1tmd4ifV8RHltzn8ymGg1aw~1Bookmarks
80
- /graphql/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
81
- $ref: ./paths/tweet.yaml#/paths/~1graphql~1wNNG8DBB8EaXw1lq4vFWGA~1TweetDetail
82
- /graphql/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
83
- $ref: ./paths/timeline.yaml#/paths/~1graphql~1zhX91JE87mWvfprhYE97xA~1HomeLatestTimeline
84
- /other:
85
- $ref: ./paths/other.yaml#/paths/~1other
86
- security:
87
- - CsrfToken: []
88
- - CookieCt0: []
89
- - CookieAuthToken: []
90
- - AuthType: []
91
- servers:
92
- - url: https://twitter.com/i/api
93
- tags:
94
- - description: response User
95
- name: user
96
- - description: response User list
97
- name: user-list
98
- - description: response tweet
99
- name: tweet
100
- - description: post
101
- name: post
102
- - description: legacy APIs get
103
- name: v1.1-get
104
- - description: legacy APIs post
105
- name: v1.1-post
106
- - description: legacy APIs get
107
- name: v2.0-get
108
- - description: legacy APIs post
109
- name: v2.0-post
110
- - description: other
111
- name: other