twitter-openapi-typescript-generated 0.0.7 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (454) hide show
  1. package/.openapi-generator/FILES +51 -1
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +2 -2
  4. package/dist/apis/DefaultApi.d.ts +3 -3
  5. package/dist/apis/DefaultApi.d.ts.map +1 -1
  6. package/dist/apis/DefaultApi.js +1 -1
  7. package/dist/apis/DefaultApi.js.map +1 -1
  8. package/dist/apis/OtherApi.d.ts +3 -3
  9. package/dist/apis/OtherApi.d.ts.map +1 -1
  10. package/dist/apis/OtherApi.js +1 -1
  11. package/dist/apis/OtherApi.js.map +1 -1
  12. package/dist/apis/PostApi.d.ts +13 -13
  13. package/dist/apis/PostApi.d.ts.map +1 -1
  14. package/dist/apis/PostApi.js +6 -6
  15. package/dist/apis/PostApi.js.map +1 -1
  16. package/dist/apis/TweetApi.d.ts +47 -19
  17. package/dist/apis/TweetApi.d.ts.map +1 -1
  18. package/dist/apis/TweetApi.js +187 -9
  19. package/dist/apis/TweetApi.js.map +1 -1
  20. package/dist/apis/UserApi.d.ts +16 -3
  21. package/dist/apis/UserApi.d.ts.map +1 -1
  22. package/dist/apis/UserApi.js +84 -1
  23. package/dist/apis/UserApi.js.map +1 -1
  24. package/dist/apis/UserListApi.d.ts +45 -5
  25. package/dist/apis/UserListApi.d.ts.map +1 -1
  26. package/dist/apis/UserListApi.js +257 -2
  27. package/dist/apis/UserListApi.js.map +1 -1
  28. package/dist/apis/UsersApi.d.ts +32 -0
  29. package/dist/apis/UsersApi.d.ts.map +1 -0
  30. package/dist/apis/UsersApi.js +164 -0
  31. package/dist/apis/UsersApi.js.map +1 -0
  32. package/dist/apis/index.d.ts +1 -0
  33. package/dist/apis/index.d.ts.map +1 -1
  34. package/dist/apis/index.js +1 -0
  35. package/dist/apis/index.js.map +1 -1
  36. package/dist/models/ContentItemType.d.ts +2 -0
  37. package/dist/models/ContentItemType.d.ts.map +1 -1
  38. package/dist/models/ContentItemType.js +3 -1
  39. package/dist/models/ContentItemType.js.map +1 -1
  40. package/dist/models/CursorType.d.ts +27 -0
  41. package/dist/models/CursorType.d.ts.map +1 -0
  42. package/dist/models/CursorType.js +40 -0
  43. package/dist/models/CursorType.js.map +1 -0
  44. package/dist/models/Entities.d.ts +12 -6
  45. package/dist/models/Entities.d.ts.map +1 -1
  46. package/dist/models/ErrorExtensions.d.ts +63 -0
  47. package/dist/models/ErrorExtensions.d.ts.map +1 -0
  48. package/dist/models/ErrorExtensions.js +67 -0
  49. package/dist/models/ErrorExtensions.js.map +1 -0
  50. package/dist/models/Errors.d.ts +32 -0
  51. package/dist/models/Errors.d.ts.map +1 -0
  52. package/dist/models/Errors.js +51 -0
  53. package/dist/models/Errors.js.map +1 -0
  54. package/dist/models/GetBookmarks200Response.d.ts +23 -0
  55. package/dist/models/GetBookmarks200Response.d.ts.map +1 -0
  56. package/dist/models/GetBookmarks200Response.js +57 -0
  57. package/dist/models/GetBookmarks200Response.js.map +1 -0
  58. package/dist/models/GetFavoriters200Response.d.ts +23 -0
  59. package/dist/models/GetFavoriters200Response.d.ts.map +1 -0
  60. package/dist/models/GetFavoriters200Response.js +57 -0
  61. package/dist/models/GetFavoriters200Response.js.map +1 -0
  62. package/dist/models/GetFollowers200Response.d.ts +23 -0
  63. package/dist/models/GetFollowers200Response.d.ts.map +1 -0
  64. package/dist/models/GetFollowers200Response.js +57 -0
  65. package/dist/models/GetFollowers200Response.js.map +1 -0
  66. package/dist/models/GetHomeLatestTimeline200Response.d.ts +23 -0
  67. package/dist/models/GetHomeLatestTimeline200Response.d.ts.map +1 -0
  68. package/dist/models/GetHomeLatestTimeline200Response.js +57 -0
  69. package/dist/models/GetHomeLatestTimeline200Response.js.map +1 -0
  70. package/dist/models/GetLikes200Response.d.ts +23 -0
  71. package/dist/models/GetLikes200Response.d.ts.map +1 -0
  72. package/dist/models/GetLikes200Response.js +57 -0
  73. package/dist/models/GetLikes200Response.js.map +1 -0
  74. package/dist/models/GetListLatestTweetsTimeline200Response.d.ts +23 -0
  75. package/dist/models/GetListLatestTweetsTimeline200Response.d.ts.map +1 -0
  76. package/dist/models/GetListLatestTweetsTimeline200Response.js +57 -0
  77. package/dist/models/GetListLatestTweetsTimeline200Response.js.map +1 -0
  78. package/dist/models/GetProfileSpotlightsQuery200Response.d.ts +23 -0
  79. package/dist/models/GetProfileSpotlightsQuery200Response.d.ts.map +1 -0
  80. package/dist/models/GetProfileSpotlightsQuery200Response.js +57 -0
  81. package/dist/models/GetProfileSpotlightsQuery200Response.js.map +1 -0
  82. package/dist/models/GetRetweeters200Response.d.ts +23 -0
  83. package/dist/models/GetRetweeters200Response.d.ts.map +1 -0
  84. package/dist/models/GetRetweeters200Response.js +57 -0
  85. package/dist/models/GetRetweeters200Response.js.map +1 -0
  86. package/dist/models/GetSearchTimeline200Response.d.ts +23 -0
  87. package/dist/models/GetSearchTimeline200Response.d.ts.map +1 -0
  88. package/dist/models/GetSearchTimeline200Response.js +57 -0
  89. package/dist/models/GetSearchTimeline200Response.js.map +1 -0
  90. package/dist/models/GetTweetDetail200Response.d.ts +23 -0
  91. package/dist/models/GetTweetDetail200Response.d.ts.map +1 -0
  92. package/dist/models/GetTweetDetail200Response.js +57 -0
  93. package/dist/models/GetTweetDetail200Response.js.map +1 -0
  94. package/dist/models/GetUserByRestId200Response.d.ts +23 -0
  95. package/dist/models/GetUserByRestId200Response.d.ts.map +1 -0
  96. package/dist/models/GetUserByRestId200Response.js +57 -0
  97. package/dist/models/GetUserByRestId200Response.js.map +1 -0
  98. package/dist/models/GetUserHighlightsTweets200Response.d.ts +23 -0
  99. package/dist/models/GetUserHighlightsTweets200Response.d.ts.map +1 -0
  100. package/dist/models/GetUserHighlightsTweets200Response.js +57 -0
  101. package/dist/models/GetUserHighlightsTweets200Response.js.map +1 -0
  102. package/dist/models/GetUsersByRestIds200Response.d.ts +23 -0
  103. package/dist/models/GetUsersByRestIds200Response.d.ts.map +1 -0
  104. package/dist/models/GetUsersByRestIds200Response.js +57 -0
  105. package/dist/models/GetUsersByRestIds200Response.js.map +1 -0
  106. package/dist/models/InstructionType.d.ts +3 -0
  107. package/dist/models/InstructionType.d.ts.map +1 -1
  108. package/dist/models/InstructionType.js +3 -0
  109. package/dist/models/InstructionType.js.map +1 -1
  110. package/dist/models/InstructionUnion.d.ts +9 -0
  111. package/dist/models/InstructionUnion.d.ts.map +1 -1
  112. package/dist/models/InstructionUnion.js +15 -0
  113. package/dist/models/InstructionUnion.js.map +1 -1
  114. package/dist/models/ItemContentUnion.d.ts +9 -3
  115. package/dist/models/ItemContentUnion.d.ts.map +1 -1
  116. package/dist/models/ItemContentUnion.js +17 -7
  117. package/dist/models/ItemContentUnion.js.map +1 -1
  118. package/dist/models/ListLatestTweetsTimelineResponse.d.ts +33 -0
  119. package/dist/models/ListLatestTweetsTimelineResponse.d.ts.map +1 -0
  120. package/dist/models/ListLatestTweetsTimelineResponse.js +52 -0
  121. package/dist/models/ListLatestTweetsTimelineResponse.js.map +1 -0
  122. package/dist/models/Location.d.ts +38 -0
  123. package/dist/models/Location.d.ts.map +1 -0
  124. package/dist/models/Location.js +54 -0
  125. package/dist/models/Location.js.map +1 -0
  126. package/dist/models/Media.d.ts +8 -4
  127. package/dist/models/Media.d.ts.map +1 -1
  128. package/dist/models/MediaOriginalInfo.d.ts +4 -2
  129. package/dist/models/MediaOriginalInfo.d.ts.map +1 -1
  130. package/dist/models/ModelError.d.ts +89 -0
  131. package/dist/models/ModelError.d.ts.map +1 -0
  132. package/dist/models/ModelError.js +81 -0
  133. package/dist/models/ModelError.js.map +1 -0
  134. package/dist/models/ModuleEntry.d.ts +4 -2
  135. package/dist/models/ModuleEntry.d.ts.map +1 -1
  136. package/dist/models/Other200Response.d.ts +22 -0
  137. package/dist/models/Other200Response.d.ts.map +1 -0
  138. package/dist/models/Other200Response.js +53 -0
  139. package/dist/models/Other200Response.js.map +1 -0
  140. package/dist/models/PostCreateRetweet200Response.d.ts +23 -0
  141. package/dist/models/PostCreateRetweet200Response.d.ts.map +1 -0
  142. package/dist/models/PostCreateRetweet200Response.js +57 -0
  143. package/dist/models/PostCreateRetweet200Response.js.map +1 -0
  144. package/dist/models/PostCreateTweet200Response.d.ts +23 -0
  145. package/dist/models/PostCreateTweet200Response.d.ts.map +1 -0
  146. package/dist/models/PostCreateTweet200Response.js +57 -0
  147. package/dist/models/PostCreateTweet200Response.js.map +1 -0
  148. package/dist/models/PostDeleteRetweet200Response.d.ts +23 -0
  149. package/dist/models/PostDeleteRetweet200Response.d.ts.map +1 -0
  150. package/dist/models/PostDeleteRetweet200Response.js +57 -0
  151. package/dist/models/PostDeleteRetweet200Response.js.map +1 -0
  152. package/dist/models/PostDeleteTweet200Response.d.ts +23 -0
  153. package/dist/models/PostDeleteTweet200Response.d.ts.map +1 -0
  154. package/dist/models/PostDeleteTweet200Response.js +57 -0
  155. package/dist/models/PostDeleteTweet200Response.js.map +1 -0
  156. package/dist/models/PostFavoriteTweet200Response.d.ts +23 -0
  157. package/dist/models/PostFavoriteTweet200Response.d.ts.map +1 -0
  158. package/dist/models/PostFavoriteTweet200Response.js +57 -0
  159. package/dist/models/PostFavoriteTweet200Response.js.map +1 -0
  160. package/dist/models/PostUnfavoriteTweet200Response.d.ts +23 -0
  161. package/dist/models/PostUnfavoriteTweet200Response.d.ts.map +1 -0
  162. package/dist/models/PostUnfavoriteTweet200Response.js +57 -0
  163. package/dist/models/PostUnfavoriteTweet200Response.js.map +1 -0
  164. package/dist/models/SearchByRawQuery.d.ts +33 -0
  165. package/dist/models/SearchByRawQuery.d.ts.map +1 -0
  166. package/dist/models/SearchByRawQuery.js +52 -0
  167. package/dist/models/SearchByRawQuery.js.map +1 -0
  168. package/dist/models/SearchTimeline.d.ts +33 -0
  169. package/dist/models/SearchTimeline.d.ts.map +1 -0
  170. package/dist/models/SearchTimeline.js +52 -0
  171. package/dist/models/SearchTimeline.js.map +1 -0
  172. package/dist/models/SearchTimelineData.d.ts +33 -0
  173. package/dist/models/SearchTimelineData.d.ts.map +1 -0
  174. package/dist/models/SearchTimelineData.js +52 -0
  175. package/dist/models/SearchTimelineData.js.map +1 -0
  176. package/dist/models/SearchTimelineResponse.d.ts +33 -0
  177. package/dist/models/SearchTimelineResponse.d.ts.map +1 -0
  178. package/dist/models/SearchTimelineResponse.js +52 -0
  179. package/dist/models/SearchTimelineResponse.js.map +1 -0
  180. package/dist/models/Timeline.d.ts +8 -4
  181. package/dist/models/Timeline.d.ts.map +1 -1
  182. package/dist/models/TimelineAddToModule.d.ts +52 -0
  183. package/dist/models/TimelineAddToModule.d.ts.map +1 -0
  184. package/dist/models/TimelineAddToModule.js +62 -0
  185. package/dist/models/TimelineAddToModule.js.map +1 -0
  186. package/dist/models/TimelineMessagePrompt.d.ts +34 -0
  187. package/dist/models/TimelineMessagePrompt.d.ts.map +1 -0
  188. package/dist/models/TimelineMessagePrompt.js +59 -0
  189. package/dist/models/TimelineMessagePrompt.js.map +1 -0
  190. package/dist/models/TimelinePrompt.d.ts +34 -0
  191. package/dist/models/TimelinePrompt.d.ts.map +1 -0
  192. package/dist/models/TimelinePrompt.js +59 -0
  193. package/dist/models/TimelinePrompt.js.map +1 -0
  194. package/dist/models/TimelineReplaceEntry.d.ts +46 -0
  195. package/dist/models/TimelineReplaceEntry.d.ts.map +1 -0
  196. package/dist/models/TimelineReplaceEntry.js +59 -0
  197. package/dist/models/TimelineReplaceEntry.js.map +1 -0
  198. package/dist/models/TimelineShowAlert.d.ts +101 -0
  199. package/dist/models/TimelineShowAlert.d.ts.map +1 -0
  200. package/dist/models/TimelineShowAlert.js +85 -0
  201. package/dist/models/TimelineShowAlert.js.map +1 -0
  202. package/dist/models/TimelineShowAlertRichText.d.ts +40 -0
  203. package/dist/models/TimelineShowAlertRichText.d.ts.map +1 -0
  204. package/dist/models/TimelineShowAlertRichText.js +53 -0
  205. package/dist/models/TimelineShowAlertRichText.js.map +1 -0
  206. package/dist/models/TimelineTimelineCursor.d.ts +3 -13
  207. package/dist/models/TimelineTimelineCursor.d.ts.map +1 -1
  208. package/dist/models/TimelineTimelineCursor.js +4 -13
  209. package/dist/models/TimelineTimelineCursor.js.map +1 -1
  210. package/dist/models/TimelineTimelineItem.d.ts +8 -4
  211. package/dist/models/TimelineTimelineItem.d.ts.map +1 -1
  212. package/dist/models/TimelineTimelineModule.d.ts +12 -6
  213. package/dist/models/TimelineTimelineModule.d.ts.map +1 -1
  214. package/dist/models/TimelineTweet.d.ts +4 -2
  215. package/dist/models/TimelineTweet.d.ts.map +1 -1
  216. package/dist/models/Tracing.d.ts +32 -0
  217. package/dist/models/Tracing.d.ts.map +1 -0
  218. package/dist/models/Tracing.js +51 -0
  219. package/dist/models/Tracing.js.map +1 -0
  220. package/dist/models/Tweet.d.ts +5 -3
  221. package/dist/models/Tweet.d.ts.map +1 -1
  222. package/dist/models/Tweet.js +1 -2
  223. package/dist/models/Tweet.js.map +1 -1
  224. package/dist/models/TweetFavoritersResponse.d.ts +33 -0
  225. package/dist/models/TweetFavoritersResponse.d.ts.map +1 -0
  226. package/dist/models/TweetFavoritersResponse.js +52 -0
  227. package/dist/models/TweetFavoritersResponse.js.map +1 -0
  228. package/dist/models/TweetFavoritersResponseData.d.ts +33 -0
  229. package/dist/models/TweetFavoritersResponseData.d.ts.map +1 -0
  230. package/dist/models/TweetFavoritersResponseData.js +52 -0
  231. package/dist/models/TweetFavoritersResponseData.js.map +1 -0
  232. package/dist/models/TweetRetweetersResponse.d.ts +33 -0
  233. package/dist/models/TweetRetweetersResponse.d.ts.map +1 -0
  234. package/dist/models/TweetRetweetersResponse.js +52 -0
  235. package/dist/models/TweetRetweetersResponse.js.map +1 -0
  236. package/dist/models/TweetRetweetersResponseData.d.ts +33 -0
  237. package/dist/models/TweetRetweetersResponseData.d.ts.map +1 -0
  238. package/dist/models/TweetRetweetersResponseData.js +52 -0
  239. package/dist/models/TweetRetweetersResponseData.js.map +1 -0
  240. package/dist/models/TweetTombstone.d.ts +1 -0
  241. package/dist/models/TweetTombstone.d.ts.map +1 -1
  242. package/dist/models/TweetTombstone.js +13 -6
  243. package/dist/models/TweetTombstone.js.map +1 -1
  244. package/dist/models/TypeName.d.ts +3 -0
  245. package/dist/models/TypeName.d.ts.map +1 -1
  246. package/dist/models/TypeName.js +4 -1
  247. package/dist/models/TypeName.js.map +1 -1
  248. package/dist/models/User.d.ts +8 -4
  249. package/dist/models/User.d.ts.map +1 -1
  250. package/dist/models/UserHighlightsTweetsData.d.ts +33 -0
  251. package/dist/models/UserHighlightsTweetsData.d.ts.map +1 -0
  252. package/dist/models/UserHighlightsTweetsData.js +52 -0
  253. package/dist/models/UserHighlightsTweetsData.js.map +1 -0
  254. package/dist/models/UserHighlightsTweetsResponse.d.ts +33 -0
  255. package/dist/models/UserHighlightsTweetsResponse.d.ts.map +1 -0
  256. package/dist/models/UserHighlightsTweetsResponse.js +52 -0
  257. package/dist/models/UserHighlightsTweetsResponse.js.map +1 -0
  258. package/dist/models/UserHighlightsTweetsResult.d.ts +40 -0
  259. package/dist/models/UserHighlightsTweetsResult.d.ts.map +1 -0
  260. package/dist/models/UserHighlightsTweetsResult.js +56 -0
  261. package/dist/models/UserHighlightsTweetsResult.js.map +1 -0
  262. package/dist/models/UserHighlightsTweetsTimeline.d.ts +33 -0
  263. package/dist/models/UserHighlightsTweetsTimeline.d.ts.map +1 -0
  264. package/dist/models/UserHighlightsTweetsTimeline.js +52 -0
  265. package/dist/models/UserHighlightsTweetsTimeline.js.map +1 -0
  266. package/dist/models/UserHighlightsTweetsUser.d.ts +33 -0
  267. package/dist/models/UserHighlightsTweetsUser.d.ts.map +1 -0
  268. package/dist/models/UserHighlightsTweetsUser.js +52 -0
  269. package/dist/models/UserHighlightsTweetsUser.js.map +1 -0
  270. package/dist/models/UserLegacy.d.ts +9 -7
  271. package/dist/models/UserLegacy.d.ts.map +1 -1
  272. package/dist/models/UserLegacy.js +5 -10
  273. package/dist/models/UserLegacy.js.map +1 -1
  274. package/dist/models/UserResultByScreenNameResult.d.ts +4 -2
  275. package/dist/models/UserResultByScreenNameResult.d.ts.map +1 -1
  276. package/dist/models/UserResults.d.ts +3 -3
  277. package/dist/models/UserResults.d.ts.map +1 -1
  278. package/dist/models/UserResults.js +3 -3
  279. package/dist/models/UserResults.js.map +1 -1
  280. package/dist/models/UserUnavailable.d.ts +39 -0
  281. package/dist/models/UserUnavailable.d.ts.map +1 -0
  282. package/dist/models/UserUnavailable.js +55 -0
  283. package/dist/models/UserUnavailable.js.map +1 -0
  284. package/dist/models/UserUnion.d.ts +27 -0
  285. package/dist/models/UserUnion.d.ts.map +1 -0
  286. package/dist/models/UserUnion.js +65 -0
  287. package/dist/models/UserUnion.js.map +1 -0
  288. package/dist/models/UsersResponse.d.ts +33 -0
  289. package/dist/models/UsersResponse.d.ts.map +1 -0
  290. package/dist/models/UsersResponse.js +52 -0
  291. package/dist/models/UsersResponse.js.map +1 -0
  292. package/dist/models/UsersResponseData.d.ts +33 -0
  293. package/dist/models/UsersResponseData.d.ts.map +1 -0
  294. package/dist/models/UsersResponseData.js +52 -0
  295. package/dist/models/UsersResponseData.js.map +1 -0
  296. package/dist/models/index.d.ts +50 -1
  297. package/dist/models/index.d.ts.map +1 -1
  298. package/dist/models/index.js +50 -1
  299. package/dist/models/index.js.map +1 -1
  300. package/package.json +3 -2
  301. package/src/apis/DefaultApi.ts +6 -6
  302. package/src/apis/OtherApi.ts +6 -6
  303. package/src/apis/PostApi.ts +36 -36
  304. package/src/apis/TweetApi.ts +234 -42
  305. package/src/apis/UserApi.ts +90 -6
  306. package/src/apis/UserListApi.ts +276 -9
  307. package/src/apis/UsersApi.ts +114 -0
  308. package/src/apis/index.ts +1 -0
  309. package/src/models/ContentItemType.ts +3 -1
  310. package/src/models/CursorType.ts +41 -0
  311. package/src/models/Entities.ts +6 -6
  312. package/src/models/ErrorExtensions.ts +118 -0
  313. package/src/models/Errors.ts +66 -0
  314. package/src/models/GetBookmarks200Response.ts +65 -0
  315. package/src/models/GetFavoriters200Response.ts +65 -0
  316. package/src/models/GetFollowers200Response.ts +65 -0
  317. package/src/models/GetHomeLatestTimeline200Response.ts +65 -0
  318. package/src/models/GetLikes200Response.ts +65 -0
  319. package/src/models/GetListLatestTweetsTimeline200Response.ts +65 -0
  320. package/src/models/GetProfileSpotlightsQuery200Response.ts +65 -0
  321. package/src/models/GetRetweeters200Response.ts +65 -0
  322. package/src/models/GetSearchTimeline200Response.ts +65 -0
  323. package/src/models/GetTweetDetail200Response.ts +65 -0
  324. package/src/models/GetUserByRestId200Response.ts +65 -0
  325. package/src/models/GetUserHighlightsTweets200Response.ts +65 -0
  326. package/src/models/GetUsersByRestIds200Response.ts +65 -0
  327. package/src/models/InstructionType.ts +3 -0
  328. package/src/models/InstructionUnion.ts +34 -1
  329. package/src/models/ItemContentUnion.ts +30 -8
  330. package/src/models/{ListTweetsTimelineResponse.ts → ListLatestTweetsTimelineResponse.ts} +9 -9
  331. package/src/models/Location.ts +75 -0
  332. package/src/models/Media.ts +4 -4
  333. package/src/models/MediaOriginalInfo.ts +2 -2
  334. package/src/models/ModelError.ts +166 -0
  335. package/src/models/ModuleEntry.ts +2 -2
  336. package/src/models/Other200Response.ts +55 -0
  337. package/src/models/PostCreateRetweet200Response.ts +65 -0
  338. package/src/models/PostCreateTweet200Response.ts +65 -0
  339. package/src/models/PostDeleteRetweet200Response.ts +65 -0
  340. package/src/models/PostDeleteTweet200Response.ts +65 -0
  341. package/src/models/PostFavoriteTweet200Response.ts +65 -0
  342. package/src/models/PostUnfavoriteTweet200Response.ts +65 -0
  343. package/src/models/SearchByRawQuery.ts +73 -0
  344. package/src/models/SearchTimeline.ts +73 -0
  345. package/src/models/SearchTimelineData.ts +73 -0
  346. package/src/models/SearchTimelineResponse.ts +73 -0
  347. package/src/models/Timeline.ts +4 -4
  348. package/src/models/TimelineAddToModule.ts +105 -0
  349. package/src/models/TimelineMessagePrompt.ts +75 -0
  350. package/src/models/TimelinePrompt.ts +75 -0
  351. package/src/models/TimelineReplaceEntry.ts +97 -0
  352. package/src/models/TimelineShowAlert.ts +169 -0
  353. package/src/models/TimelineShowAlertRichText.ts +73 -0
  354. package/src/models/TimelineTimelineCursor.ts +10 -18
  355. package/src/models/TimelineTimelineItem.ts +4 -4
  356. package/src/models/TimelineTimelineModule.ts +6 -6
  357. package/src/models/TimelineTweet.ts +2 -2
  358. package/src/models/Tracing.ts +66 -0
  359. package/src/models/Tweet.ts +4 -5
  360. package/src/models/TweetFavoritersResponse.ts +73 -0
  361. package/src/models/TweetFavoritersResponseData.ts +73 -0
  362. package/src/models/TweetRetweetersResponse.ts +73 -0
  363. package/src/models/TweetRetweetersResponseData.ts +73 -0
  364. package/src/models/TweetTombstone.ts +3 -0
  365. package/src/models/TypeName.ts +4 -1
  366. package/src/models/User.ts +4 -4
  367. package/src/models/UserHighlightsTweetsData.ts +73 -0
  368. package/src/models/UserHighlightsTweetsResponse.ts +73 -0
  369. package/src/models/UserHighlightsTweetsResult.ts +88 -0
  370. package/src/models/UserHighlightsTweetsTimeline.ts +73 -0
  371. package/src/models/UserHighlightsTweetsUser.ts +73 -0
  372. package/src/models/UserLegacy.ts +12 -17
  373. package/src/models/UserResultByScreenNameResult.ts +2 -2
  374. package/src/models/UserResults.ts +9 -9
  375. package/src/models/UserUnavailable.ts +82 -0
  376. package/src/models/UserUnion.ts +72 -0
  377. package/src/models/UsersResponse.ts +73 -0
  378. package/src/models/UsersResponseData.ts +73 -0
  379. package/src/models/index.ts +50 -1
  380. package/tools/openapi-generator-config.yaml +1 -1
  381. package/tools/win/replace.py +1 -1
  382. package/twitter-openapi/.github/workflows/test-build.yaml +87 -0
  383. package/twitter-openapi/.github/workflows/test-python.yaml +100 -0
  384. package/twitter-openapi/.vscode/launch.json +25 -0
  385. package/twitter-openapi/.vscode/settings.json +1 -1
  386. package/twitter-openapi/.vscode/tasks.json +45 -0
  387. package/twitter-openapi/CONTRIBUTING.md +13 -0
  388. package/twitter-openapi/README.md +2 -2
  389. package/twitter-openapi/dist/compatible/openapi-3.0.yaml +19 -3
  390. package/twitter-openapi/dist/compatible/paths/bookmarks.yaml +3 -1
  391. package/twitter-openapi/dist/compatible/paths/follow.yaml +99 -2
  392. package/twitter-openapi/dist/compatible/paths/other.yaml +2 -1
  393. package/twitter-openapi/dist/compatible/paths/post.yaml +18 -6
  394. package/twitter-openapi/dist/compatible/paths/profile.yaml +5 -2
  395. package/twitter-openapi/dist/compatible/paths/timeline.yaml +128 -5
  396. package/twitter-openapi/dist/compatible/paths/tweet.yaml +199 -1
  397. package/twitter-openapi/dist/compatible/paths/user.yaml +151 -1
  398. package/twitter-openapi/dist/compatible/paths/usertweets.yaml +140 -4
  399. package/twitter-openapi/dist/compatible/schemas/content.yaml +35 -15
  400. package/twitter-openapi/dist/compatible/schemas/error.yaml +94 -0
  401. package/twitter-openapi/dist/compatible/schemas/instruction.yaml +77 -4
  402. package/twitter-openapi/dist/compatible/schemas/timeline.yaml +2 -0
  403. package/twitter-openapi/dist/compatible/schemas/tweet.yaml +8 -1
  404. package/twitter-openapi/dist/compatible/schemas/typename.yaml +3 -0
  405. package/twitter-openapi/dist/compatible/schemas/user.yaml +23 -7
  406. package/twitter-openapi/dist/docs/openapi-3.0.yaml +19 -3
  407. package/twitter-openapi/dist/docs/paths/bookmarks.yaml +3 -1
  408. package/twitter-openapi/dist/docs/paths/follow.yaml +201 -2
  409. package/twitter-openapi/dist/docs/paths/other.yaml +2 -1
  410. package/twitter-openapi/dist/docs/paths/post.yaml +18 -6
  411. package/twitter-openapi/dist/docs/paths/profile.yaml +5 -2
  412. package/twitter-openapi/dist/docs/paths/timeline.yaml +235 -5
  413. package/twitter-openapi/dist/docs/paths/tweet.yaml +389 -1
  414. package/twitter-openapi/dist/docs/paths/user.yaml +221 -1
  415. package/twitter-openapi/dist/docs/paths/usertweets.yaml +250 -4
  416. package/twitter-openapi/dist/docs/schemas/content.yaml +35 -15
  417. package/twitter-openapi/dist/docs/schemas/error.yaml +94 -0
  418. package/twitter-openapi/dist/docs/schemas/instruction.yaml +77 -4
  419. package/twitter-openapi/dist/docs/schemas/timeline.yaml +2 -0
  420. package/twitter-openapi/dist/docs/schemas/tweet.yaml +8 -1
  421. package/twitter-openapi/dist/docs/schemas/typename.yaml +3 -0
  422. package/twitter-openapi/dist/docs/schemas/user.yaml +23 -7
  423. package/twitter-openapi/src/config/placeholder.json +190 -0
  424. package/twitter-openapi/src/openapi/openapi-3.0.yaml +5 -3
  425. package/twitter-openapi/src/openapi/paths/bookmarks.yaml +3 -1
  426. package/twitter-openapi/src/openapi/paths/follow.yaml +22 -2
  427. package/twitter-openapi/src/openapi/paths/other.yaml +2 -1
  428. package/twitter-openapi/src/openapi/paths/post.yaml +18 -6
  429. package/twitter-openapi/src/openapi/paths/profile.yaml +6 -3
  430. package/twitter-openapi/src/openapi/paths/timeline.yaml +54 -4
  431. package/twitter-openapi/src/openapi/paths/tweet.yaml +63 -1
  432. package/twitter-openapi/src/openapi/paths/user.yaml +51 -1
  433. package/twitter-openapi/src/openapi/paths/usertweets.yaml +66 -4
  434. package/twitter-openapi/src/openapi/schemas/content.yaml +47 -18
  435. package/twitter-openapi/src/openapi/schemas/error.yaml +99 -0
  436. package/twitter-openapi/src/openapi/schemas/instruction.yaml +79 -5
  437. package/twitter-openapi/src/openapi/schemas/timeline.yaml +4 -2
  438. package/twitter-openapi/src/openapi/schemas/tweet.yaml +16 -9
  439. package/twitter-openapi/src/openapi/schemas/typename.yaml +3 -0
  440. package/twitter-openapi/src/openapi/schemas/user.yaml +33 -10
  441. package/twitter-openapi/test/dart-dio/openapi-generator-config.yaml +2 -0
  442. package/twitter-openapi/test/local.sh +6 -0
  443. package/twitter-openapi/test/python/openapi-generator-config.yaml +4 -0
  444. package/twitter-openapi/test/python/test_serialize.py +160 -0
  445. package/twitter-openapi/test/typescript-fetch/openapi-generator-config.yaml +4 -0
  446. package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
  447. package/twitter-openapi/tools/__pycache__/hooks.cpython-310.pyc +0 -0
  448. package/twitter-openapi/tools/build_config.py +1 -1
  449. package/twitter-openapi/tools/hooks.py +23 -0
  450. package/twitter-openapi/tools/login.py +17 -0
  451. package/dist/models/ListTweetsTimelineResponse.d.ts +0 -33
  452. package/dist/models/ListTweetsTimelineResponse.d.ts.map +0 -1
  453. package/dist/models/ListTweetsTimelineResponse.js +0 -52
  454. package/dist/models/ListTweetsTimelineResponse.js.map +0 -1
@@ -0,0 +1,164 @@
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 __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
31
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
32
+ return new (P || (P = Promise))(function (resolve, reject) {
33
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
34
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
35
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
36
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
37
+ });
38
+ };
39
+ var __generator = (this && this.__generator) || function (thisArg, body) {
40
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
41
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
42
+ function verb(n) { return function (v) { return step([n, v]); }; }
43
+ function step(op) {
44
+ if (f) throw new TypeError("Generator is already executing.");
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
+ 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;
47
+ if (y = 0, t) op = [op[0] & 2, t.value];
48
+ switch (op[0]) {
49
+ case 0: case 1: t = op; break;
50
+ case 4: _.label++; return { value: op[1], done: false };
51
+ case 5: _.label++; y = op[1]; op = [0]; continue;
52
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
53
+ default:
54
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
55
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
56
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
57
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
58
+ if (t[2]) _.ops.pop();
59
+ _.trys.pop(); continue;
60
+ }
61
+ op = body.call(thisArg, _);
62
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
63
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
64
+ }
65
+ };
66
+ Object.defineProperty(exports, "__esModule", { value: true });
67
+ exports.UsersApi = void 0;
68
+ var runtime = require("../runtime");
69
+ var models_1 = require("../models");
70
+ /**
71
+ *
72
+ */
73
+ var UsersApi = /** @class */ (function (_super) {
74
+ __extends(UsersApi, _super);
75
+ function UsersApi() {
76
+ return _super !== null && _super.apply(this, arguments) || this;
77
+ }
78
+ /**
79
+ * get users by rest ids
80
+ */
81
+ UsersApi.prototype.getUsersByRestIdsRaw = function (requestParameters, initOverrides) {
82
+ return __awaiter(this, void 0, void 0, function () {
83
+ var queryParameters, headerParameters, token, tokenString, response;
84
+ return __generator(this, function (_a) {
85
+ switch (_a.label) {
86
+ case 0:
87
+ if (requestParameters.pathQueryId === null || requestParameters.pathQueryId === undefined) {
88
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter requestParameters.pathQueryId was null or undefined when calling getUsersByRestIds.');
89
+ }
90
+ if (requestParameters.variables === null || requestParameters.variables === undefined) {
91
+ throw new runtime.RequiredError('variables', 'Required parameter requestParameters.variables was null or undefined when calling getUsersByRestIds.');
92
+ }
93
+ if (requestParameters.features === null || requestParameters.features === undefined) {
94
+ throw new runtime.RequiredError('features', 'Required parameter requestParameters.features was null or undefined when calling getUsersByRestIds.');
95
+ }
96
+ queryParameters = {};
97
+ if (requestParameters.variables !== undefined) {
98
+ queryParameters['variables'] = requestParameters.variables;
99
+ }
100
+ if (requestParameters.features !== undefined) {
101
+ queryParameters['features'] = requestParameters.features;
102
+ }
103
+ headerParameters = {};
104
+ if (this.configuration && this.configuration.apiKey) {
105
+ headerParameters["x-twitter-client-language"] = this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
106
+ }
107
+ if (this.configuration && this.configuration.apiKey) {
108
+ headerParameters["x-twitter-active-user"] = this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
109
+ }
110
+ if (this.configuration && this.configuration.apiKey) {
111
+ headerParameters["user-agent"] = this.configuration.apiKey("user-agent"); // UserAgent authentication
112
+ }
113
+ if (this.configuration && this.configuration.apiKey) {
114
+ headerParameters["x-twitter-auth-type"] = this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
115
+ }
116
+ if (this.configuration && this.configuration.apiKey) {
117
+ headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
118
+ }
119
+ if (this.configuration && this.configuration.apiKey) {
120
+ headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
121
+ }
122
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
123
+ token = this.configuration.accessToken;
124
+ return [4 /*yield*/, token("BearerAuth", [])];
125
+ case 1:
126
+ tokenString = _a.sent();
127
+ if (tokenString) {
128
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
129
+ }
130
+ _a.label = 2;
131
+ case 2: return [4 /*yield*/, this.request({
132
+ path: "/graphql/{pathQueryId}/UsersByRestIds".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters.pathQueryId))),
133
+ method: 'GET',
134
+ headers: headerParameters,
135
+ query: queryParameters,
136
+ }, initOverrides)];
137
+ case 3:
138
+ response = _a.sent();
139
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, models_1.GetUsersByRestIds200ResponseFromJSON)(jsonValue); })];
140
+ }
141
+ });
142
+ });
143
+ };
144
+ /**
145
+ * get users by rest ids
146
+ */
147
+ UsersApi.prototype.getUsersByRestIds = function (requestParameters, initOverrides) {
148
+ return __awaiter(this, void 0, void 0, function () {
149
+ var response;
150
+ return __generator(this, function (_a) {
151
+ switch (_a.label) {
152
+ case 0: return [4 /*yield*/, this.getUsersByRestIdsRaw(requestParameters, initOverrides)];
153
+ case 1:
154
+ response = _a.sent();
155
+ return [4 /*yield*/, response.value()];
156
+ case 2: return [2 /*return*/, _a.sent()];
157
+ }
158
+ });
159
+ });
160
+ };
161
+ return UsersApi;
162
+ }(runtime.BaseAPI));
163
+ exports.UsersApi = UsersApi;
164
+ //# sourceMappingURL=UsersApi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UsersApi.js","sourceRoot":"","sources":["../../src/apis/UsersApi.ts"],"names":[],"mappings":"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"}
@@ -4,6 +4,7 @@ export * from './PostApi';
4
4
  export * from './TweetApi';
5
5
  export * from './UserApi';
6
6
  export * from './UserListApi';
7
+ export * from './UsersApi';
7
8
  export * from './V11GetApi';
8
9
  export * from './V11PostApi';
9
10
  export * from './V20GetApi';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC"}
@@ -22,6 +22,7 @@ __exportStar(require("./PostApi"), exports);
22
22
  __exportStar(require("./TweetApi"), exports);
23
23
  __exportStar(require("./UserApi"), exports);
24
24
  __exportStar(require("./UserListApi"), exports);
25
+ __exportStar(require("./UsersApi"), exports);
25
26
  __exportStar(require("./V11GetApi"), exports);
26
27
  __exportStar(require("./V11PostApi"), exports);
27
28
  __exportStar(require("./V20GetApi"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/apis/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+CAA6B;AAC7B,6CAA2B;AAC3B,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,gDAA8B;AAC9B,8CAA4B;AAC5B,+CAA6B;AAC7B,8CAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/apis/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+CAA6B;AAC7B,6CAA2B;AAC3B,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,gDAA8B;AAC9B,6CAA2B;AAC3B,8CAA4B;AAC5B,+CAA6B;AAC7B,8CAA4B"}
@@ -17,6 +17,8 @@ export declare const ContentItemType: {
17
17
  readonly TimelineTweet: "TimelineTweet";
18
18
  readonly TimelineTimelineCursor: "TimelineTimelineCursor";
19
19
  readonly TimelineUser: "TimelineUser";
20
+ readonly TimelinePrompt: "TimelinePrompt";
21
+ readonly TimelineMessagePrompt: "TimelineMessagePrompt";
20
22
  };
21
23
  export type ContentItemType = typeof ContentItemType[keyof typeof ContentItemType];
22
24
  export declare function ContentItemTypeFromJSON(json: any): ContentItemType;
@@ -1 +1 @@
1
- {"version":3,"file":"ContentItemType.d.ts","sourceRoot":"","sources":["../../src/models/ContentItemType.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;CAIlB,CAAC;AACX,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAGnF,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CAErG;AAED,wBAAgB,qBAAqB,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,GAAG,GAAG,CAEzE"}
1
+ {"version":3,"file":"ContentItemType.d.ts","sourceRoot":"","sources":["../../src/models/ContentItemType.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;CAMlB,CAAC;AACX,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAGnF,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CAErG;AAED,wBAAgB,qBAAqB,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,GAAG,GAAG,CAEzE"}
@@ -21,7 +21,9 @@ exports.ContentItemTypeToJSON = exports.ContentItemTypeFromJSONTyped = exports.C
21
21
  exports.ContentItemType = {
22
22
  TimelineTweet: 'TimelineTweet',
23
23
  TimelineTimelineCursor: 'TimelineTimelineCursor',
24
- TimelineUser: 'TimelineUser'
24
+ TimelineUser: 'TimelineUser',
25
+ TimelinePrompt: 'TimelinePrompt',
26
+ TimelineMessagePrompt: 'TimelineMessagePrompt'
25
27
  };
26
28
  function ContentItemTypeFromJSON(json) {
27
29
  return ContentItemTypeFromJSONTyped(json, false);
@@ -1 +1 @@
1
- {"version":3,"file":"ContentItemType.js","sourceRoot":"","sources":["../../src/models/ContentItemType.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAGH;;;GAGG;AACU,QAAA,eAAe,GAAG;IAC3B,aAAa,EAAE,eAAe;IAC9B,sBAAsB,EAAE,wBAAwB;IAChD,YAAY,EAAE,cAAc;CACtB,CAAC;AAIX,SAAgB,uBAAuB,CAAC,IAAS;IAC7C,OAAO,4BAA4B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrD,CAAC;AAFD,0DAEC;AAED,SAAgB,4BAA4B,CAAC,IAAS,EAAE,mBAA4B;IAChF,OAAO,IAAuB,CAAC;AACnC,CAAC;AAFD,oEAEC;AAED,SAAgB,qBAAqB,CAAC,KAA8B;IAChE,OAAO,KAAY,CAAC;AACxB,CAAC;AAFD,sDAEC"}
1
+ {"version":3,"file":"ContentItemType.js","sourceRoot":"","sources":["../../src/models/ContentItemType.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAGH;;;GAGG;AACU,QAAA,eAAe,GAAG;IAC3B,aAAa,EAAE,eAAe;IAC9B,sBAAsB,EAAE,wBAAwB;IAChD,YAAY,EAAE,cAAc;IAC5B,cAAc,EAAE,gBAAgB;IAChC,qBAAqB,EAAE,uBAAuB;CACxC,CAAC;AAIX,SAAgB,uBAAuB,CAAC,IAAS;IAC7C,OAAO,4BAA4B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrD,CAAC;AAFD,0DAEC;AAED,SAAgB,4BAA4B,CAAC,IAAS,EAAE,mBAA4B;IAChF,OAAO,IAAuB,CAAC;AACnC,CAAC;AAFD,oEAEC;AAED,SAAgB,qBAAqB,CAAC,KAA8B;IAChE,OAAO,KAAY,CAAC;AACxB,CAAC;AAFD,sDAEC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Twitter OpenAPI
3
+ * Twitter OpenAPI(Swagger) specification
4
+ *
5
+ * The version of the OpenAPI document: 0.0.1
6
+ * Contact: yuki@yuki0311.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ */
16
+ export declare const CursorType: {
17
+ readonly Top: "Top";
18
+ readonly Bottom: "Bottom";
19
+ readonly ShowMore: "ShowMore";
20
+ readonly ShowMoreThreads: "ShowMoreThreads";
21
+ readonly Gap: "Gap";
22
+ };
23
+ export type CursorType = typeof CursorType[keyof typeof CursorType];
24
+ export declare function CursorTypeFromJSON(json: any): CursorType;
25
+ export declare function CursorTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CursorType;
26
+ export declare function CursorTypeToJSON(value?: CursorType | null): any;
27
+ //# sourceMappingURL=CursorType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CursorType.d.ts","sourceRoot":"","sources":["../../src/models/CursorType.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,UAAU;;;;;;CAMb,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAGpE,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAExD;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,UAAU,CAE3F;AAED,wBAAgB,gBAAgB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,IAAI,GAAG,GAAG,CAE/D"}
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Twitter OpenAPI
6
+ * Twitter OpenAPI(Swagger) specification
7
+ *
8
+ * The version of the OpenAPI document: 0.0.1
9
+ * Contact: yuki@yuki0311.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CursorTypeToJSON = exports.CursorTypeFromJSONTyped = exports.CursorTypeFromJSON = exports.CursorType = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ */
21
+ exports.CursorType = {
22
+ Top: 'Top',
23
+ Bottom: 'Bottom',
24
+ ShowMore: 'ShowMore',
25
+ ShowMoreThreads: 'ShowMoreThreads',
26
+ Gap: 'Gap'
27
+ };
28
+ function CursorTypeFromJSON(json) {
29
+ return CursorTypeFromJSONTyped(json, false);
30
+ }
31
+ exports.CursorTypeFromJSON = CursorTypeFromJSON;
32
+ function CursorTypeFromJSONTyped(json, ignoreDiscriminator) {
33
+ return json;
34
+ }
35
+ exports.CursorTypeFromJSONTyped = CursorTypeFromJSONTyped;
36
+ function CursorTypeToJSON(value) {
37
+ return value;
38
+ }
39
+ exports.CursorTypeToJSON = CursorTypeToJSON;
40
+ //# sourceMappingURL=CursorType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CursorType.js","sourceRoot":"","sources":["../../src/models/CursorType.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAGH;;;GAGG;AACU,QAAA,UAAU,GAAG;IACtB,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,eAAe,EAAE,iBAAiB;IAClC,GAAG,EAAE,KAAK;CACJ,CAAC;AAIX,SAAgB,kBAAkB,CAAC,IAAS;IACxC,OAAO,uBAAuB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChD,CAAC;AAFD,gDAEC;AAED,SAAgB,uBAAuB,CAAC,IAAS,EAAE,mBAA4B;IAC3E,OAAO,IAAkB,CAAC;AAC9B,CAAC;AAFD,0DAEC;AAED,SAAgB,gBAAgB,CAAC,KAAyB;IACtD,OAAO,KAAY,CAAC;AACxB,CAAC;AAFD,4CAEC"}
@@ -19,10 +19,12 @@ import type { Url } from './Url';
19
19
  export interface Entities {
20
20
  /**
21
21
  *
22
- * @type {Array<object>}
22
+ * @type {Array<{ [key: string]: any; }>}
23
23
  * @memberof Entities
24
24
  */
25
- hashtags: Array<object>;
25
+ hashtags: Array<{
26
+ [key: string]: any;
27
+ }>;
26
28
  /**
27
29
  *
28
30
  * @type {Array<Media>}
@@ -31,10 +33,12 @@ export interface Entities {
31
33
  media?: Array<Media>;
32
34
  /**
33
35
  *
34
- * @type {Array<object>}
36
+ * @type {Array<{ [key: string]: any; }>}
35
37
  * @memberof Entities
36
38
  */
37
- symbols: Array<object>;
39
+ symbols: Array<{
40
+ [key: string]: any;
41
+ }>;
38
42
  /**
39
43
  *
40
44
  * @type {Array<Url>}
@@ -43,10 +47,12 @@ export interface Entities {
43
47
  urls: Array<Url>;
44
48
  /**
45
49
  *
46
- * @type {Array<object>}
50
+ * @type {Array<{ [key: string]: any; }>}
47
51
  * @memberof Entities
48
52
  */
49
- userMentions: Array<object>;
53
+ userMentions: Array<{
54
+ [key: string]: any;
55
+ }>;
50
56
  }
51
57
  /**
52
58
  * Check if a given object implements the Entities interface.
@@ -1 +1 @@
1
- {"version":3,"file":"Entities.d.ts","sourceRoot":"","sources":["../../src/models/Entities.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAMrC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAOjC;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACrB;;;;OAIG;IACH,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACrB;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB;;;;OAIG;IACH,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IACjB;;;;OAIG;IACH,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAQzD;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAEpD;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,QAAQ,CAYvF;AAED,wBAAgB,cAAc,CAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,IAAI,GAAG,GAAG,CAe3D"}
1
+ {"version":3,"file":"Entities.d.ts","sourceRoot":"","sources":["../../src/models/Entities.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAMrC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAOjC;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACrB;;;;OAIG;IACH,QAAQ,EAAE,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC,CAAC;IACzC;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACrB;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC,CAAC;IACxC;;;;OAIG;IACH,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IACjB;;;;OAIG;IACH,YAAY,EAAE,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC,CAAC;CAChD;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAQzD;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAEpD;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,QAAQ,CAYvF;AAED,wBAAgB,cAAc,CAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,IAAI,GAAG,GAAG,CAe3D"}
@@ -0,0 +1,63 @@
1
+ /**
2
+ * Twitter OpenAPI
3
+ * Twitter OpenAPI(Swagger) specification
4
+ *
5
+ * The version of the OpenAPI document: 0.0.1
6
+ * Contact: yuki@yuki0311.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Tracing } from './Tracing';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ErrorExtensions
17
+ */
18
+ export interface ErrorExtensions {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof ErrorExtensions
23
+ */
24
+ code: number;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ErrorExtensions
29
+ */
30
+ kind: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof ErrorExtensions
35
+ */
36
+ name: string;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof ErrorExtensions
41
+ */
42
+ retryAfter: number;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof ErrorExtensions
47
+ */
48
+ source: string;
49
+ /**
50
+ *
51
+ * @type {Tracing}
52
+ * @memberof ErrorExtensions
53
+ */
54
+ tracing: Tracing;
55
+ }
56
+ /**
57
+ * Check if a given object implements the ErrorExtensions interface.
58
+ */
59
+ export declare function instanceOfErrorExtensions(value: object): boolean;
60
+ export declare function ErrorExtensionsFromJSON(json: any): ErrorExtensions;
61
+ export declare function ErrorExtensionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorExtensions;
62
+ export declare function ErrorExtensionsToJSON(value?: ErrorExtensions | null): any;
63
+ //# sourceMappingURL=ErrorExtensions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ErrorExtensions.d.ts","sourceRoot":"","sources":["../../src/models/ErrorExtensions.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAOzC;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAUhE;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CAarG;AAED,wBAAgB,qBAAqB,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,GAAG,GAAG,CAgBzE"}
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Twitter OpenAPI
6
+ * Twitter OpenAPI(Swagger) specification
7
+ *
8
+ * The version of the OpenAPI document: 0.0.1
9
+ * Contact: yuki@yuki0311.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ErrorExtensionsToJSON = exports.ErrorExtensionsFromJSONTyped = exports.ErrorExtensionsFromJSON = exports.instanceOfErrorExtensions = void 0;
17
+ var Tracing_1 = require("./Tracing");
18
+ /**
19
+ * Check if a given object implements the ErrorExtensions interface.
20
+ */
21
+ function instanceOfErrorExtensions(value) {
22
+ var isInstance = true;
23
+ isInstance = isInstance && "code" in value;
24
+ isInstance = isInstance && "kind" in value;
25
+ isInstance = isInstance && "name" in value;
26
+ isInstance = isInstance && "retryAfter" in value;
27
+ isInstance = isInstance && "source" in value;
28
+ isInstance = isInstance && "tracing" in value;
29
+ return isInstance;
30
+ }
31
+ exports.instanceOfErrorExtensions = instanceOfErrorExtensions;
32
+ function ErrorExtensionsFromJSON(json) {
33
+ return ErrorExtensionsFromJSONTyped(json, false);
34
+ }
35
+ exports.ErrorExtensionsFromJSON = ErrorExtensionsFromJSON;
36
+ function ErrorExtensionsFromJSONTyped(json, ignoreDiscriminator) {
37
+ if ((json === undefined) || (json === null)) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'code': json['code'],
42
+ 'kind': json['kind'],
43
+ 'name': json['name'],
44
+ 'retryAfter': json['retry_after'],
45
+ 'source': json['source'],
46
+ 'tracing': (0, Tracing_1.TracingFromJSON)(json['tracing']),
47
+ };
48
+ }
49
+ exports.ErrorExtensionsFromJSONTyped = ErrorExtensionsFromJSONTyped;
50
+ function ErrorExtensionsToJSON(value) {
51
+ if (value === undefined) {
52
+ return undefined;
53
+ }
54
+ if (value === null) {
55
+ return null;
56
+ }
57
+ return {
58
+ 'code': value.code,
59
+ 'kind': value.kind,
60
+ 'name': value.name,
61
+ 'retry_after': value.retryAfter,
62
+ 'source': value.source,
63
+ 'tracing': (0, Tracing_1.TracingToJSON)(value.tracing),
64
+ };
65
+ }
66
+ exports.ErrorExtensionsToJSON = ErrorExtensionsToJSON;
67
+ //# sourceMappingURL=ErrorExtensions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ErrorExtensions.js","sourceRoot":"","sources":["../../src/models/ErrorExtensions.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,qCAImB;AA8CnB;;GAEG;AACH,SAAgB,yBAAyB,CAAC,KAAa;IACnD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,MAAM,IAAI,KAAK,CAAC;IAC3C,UAAU,GAAG,UAAU,IAAI,MAAM,IAAI,KAAK,CAAC;IAC3C,UAAU,GAAG,UAAU,IAAI,MAAM,IAAI,KAAK,CAAC;IAC3C,UAAU,GAAG,UAAU,IAAI,YAAY,IAAI,KAAK,CAAC;IACjD,UAAU,GAAG,UAAU,IAAI,QAAQ,IAAI,KAAK,CAAC;IAC7C,UAAU,GAAG,UAAU,IAAI,SAAS,IAAI,KAAK,CAAC;IAE9C,OAAO,UAAU,CAAC;AACtB,CAAC;AAVD,8DAUC;AAED,SAAgB,uBAAuB,CAAC,IAAS;IAC7C,OAAO,4BAA4B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrD,CAAC;AAFD,0DAEC;AAED,SAAgB,4BAA4B,CAAC,IAAS,EAAE,mBAA4B;IAChF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,YAAY,EAAE,IAAI,CAAC,aAAa,CAAC;QACjC,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;QACxB,SAAS,EAAE,IAAA,yBAAe,EAAC,IAAI,CAAC,SAAS,CAAC,CAAC;KAC9C,CAAC;AACN,CAAC;AAbD,oEAaC;AAED,SAAgB,qBAAqB,CAAC,KAA8B;IAChE,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,aAAa,EAAE,KAAK,CAAC,UAAU;QAC/B,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,SAAS,EAAE,IAAA,uBAAa,EAAC,KAAK,CAAC,OAAO,CAAC;KAC1C,CAAC;AACN,CAAC;AAhBD,sDAgBC"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Twitter OpenAPI
3
+ * Twitter OpenAPI(Swagger) specification
4
+ *
5
+ * The version of the OpenAPI document: 0.0.1
6
+ * Contact: yuki@yuki0311.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface Errors
16
+ */
17
+ export interface Errors {
18
+ /**
19
+ *
20
+ * @type {Array<Error>}
21
+ * @memberof Errors
22
+ */
23
+ errors: Array<Error>;
24
+ }
25
+ /**
26
+ * Check if a given object implements the Errors interface.
27
+ */
28
+ export declare function instanceOfErrors(value: object): boolean;
29
+ export declare function ErrorsFromJSON(json: any): Errors;
30
+ export declare function ErrorsFromJSONTyped(json: any, ignoreDiscriminator: boolean): Errors;
31
+ export declare function ErrorsToJSON(value?: Errors | null): any;
32
+ //# sourceMappingURL=Errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/models/Errors.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,MAAM;IACnB;;;;OAIG;IACH,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAKvD;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM,CAEhD;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,MAAM,CAQnF;AAED,wBAAgB,YAAY,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,GAAG,CAWvD"}
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Twitter OpenAPI
6
+ * Twitter OpenAPI(Swagger) specification
7
+ *
8
+ * The version of the OpenAPI document: 0.0.1
9
+ * Contact: yuki@yuki0311.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ErrorsToJSON = exports.ErrorsFromJSONTyped = exports.ErrorsFromJSON = exports.instanceOfErrors = void 0;
17
+ /**
18
+ * Check if a given object implements the Errors interface.
19
+ */
20
+ function instanceOfErrors(value) {
21
+ var isInstance = true;
22
+ isInstance = isInstance && "errors" in value;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfErrors = instanceOfErrors;
26
+ function ErrorsFromJSON(json) {
27
+ return ErrorsFromJSONTyped(json, false);
28
+ }
29
+ exports.ErrorsFromJSON = ErrorsFromJSON;
30
+ function ErrorsFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'errors': json['errors'],
36
+ };
37
+ }
38
+ exports.ErrorsFromJSONTyped = ErrorsFromJSONTyped;
39
+ function ErrorsToJSON(value) {
40
+ if (value === undefined) {
41
+ return undefined;
42
+ }
43
+ if (value === null) {
44
+ return null;
45
+ }
46
+ return {
47
+ 'errors': value.errors,
48
+ };
49
+ }
50
+ exports.ErrorsToJSON = ErrorsToJSON;
51
+ //# sourceMappingURL=Errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/models/Errors.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAiBH;;GAEG;AACH,SAAgB,gBAAgB,CAAC,KAAa;IAC1C,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,QAAQ,IAAI,KAAK,CAAC;IAE7C,OAAO,UAAU,CAAC;AACtB,CAAC;AALD,4CAKC;AAED,SAAgB,cAAc,CAAC,IAAS;IACpC,OAAO,mBAAmB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5C,CAAC;AAFD,wCAEC;AAED,SAAgB,mBAAmB,CAAC,IAAS,EAAE,mBAA4B;IACvE,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;KAC3B,CAAC;AACN,CAAC;AARD,kDAQC;AAED,SAAgB,YAAY,CAAC,KAAqB;IAC9C,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,QAAQ,EAAE,KAAK,CAAC,MAAM;KACzB,CAAC;AACN,CAAC;AAXD,oCAWC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Twitter OpenAPI
3
+ * Twitter OpenAPI(Swagger) specification
4
+ *
5
+ * The version of the OpenAPI document: 0.0.1
6
+ * Contact: yuki@yuki0311.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { BookmarksResponse } from './BookmarksResponse';
13
+ import { Errors } from './Errors';
14
+ /**
15
+ * @type GetBookmarks200Response
16
+ *
17
+ * @export
18
+ */
19
+ export type GetBookmarks200Response = BookmarksResponse | Errors;
20
+ export declare function GetBookmarks200ResponseFromJSON(json: any): GetBookmarks200Response;
21
+ export declare function GetBookmarks200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetBookmarks200Response;
22
+ export declare function GetBookmarks200ResponseToJSON(value?: GetBookmarks200Response | null): any;
23
+ //# sourceMappingURL=GetBookmarks200Response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetBookmarks200Response.d.ts","sourceRoot":"","sources":["../../src/models/GetBookmarks200Response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,EACH,iBAAiB,EAKpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,MAAM,EAKT,MAAM,UAAU,CAAC;AAElB;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,GAAG,MAAM,CAAC;AAEjE,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAElF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CAKrH;AAED,wBAAgB,6BAA6B,CAAC,KAAK,CAAC,EAAE,uBAAuB,GAAG,IAAI,GAAG,GAAG,CAgBzF"}