twitter-openapi-typescript-generated 0.0.26 → 0.0.28

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 (364) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/DefaultApi.d.ts +5 -5
  3. package/dist/apis/DefaultApi.d.ts.map +1 -1
  4. package/dist/apis/DefaultApi.js +174 -158
  5. package/dist/apis/DefaultApi.js.map +1 -1
  6. package/dist/apis/OtherApi.d.ts +3 -3
  7. package/dist/apis/OtherApi.d.ts.map +1 -1
  8. package/dist/apis/OtherApi.js +87 -79
  9. package/dist/apis/OtherApi.js.map +1 -1
  10. package/dist/apis/PostApi.d.ts +17 -17
  11. package/dist/apis/PostApi.d.ts.map +1 -1
  12. package/dist/apis/PostApi.js +696 -632
  13. package/dist/apis/PostApi.js.map +1 -1
  14. package/dist/apis/TweetApi.d.ts +23 -23
  15. package/dist/apis/TweetApi.d.ts.map +1 -1
  16. package/dist/apis/TweetApi.js +957 -869
  17. package/dist/apis/TweetApi.js.map +1 -1
  18. package/dist/apis/UserApi.d.ts +5 -5
  19. package/dist/apis/UserApi.d.ts.map +1 -1
  20. package/dist/apis/UserApi.js +174 -158
  21. package/dist/apis/UserApi.js.map +1 -1
  22. package/dist/apis/UserListApi.d.ts +11 -11
  23. package/dist/apis/UserListApi.d.ts.map +1 -1
  24. package/dist/apis/UserListApi.js +435 -395
  25. package/dist/apis/UserListApi.js.map +1 -1
  26. package/dist/apis/UsersApi.d.ts +3 -3
  27. package/dist/apis/UsersApi.d.ts.map +1 -1
  28. package/dist/apis/UsersApi.js +87 -79
  29. package/dist/apis/UsersApi.js.map +1 -1
  30. package/dist/apis/V11GetApi.d.ts.map +1 -1
  31. package/dist/apis/V11GetApi.js +172 -156
  32. package/dist/apis/V11GetApi.js.map +1 -1
  33. package/dist/apis/V11PostApi.d.ts.map +1 -1
  34. package/dist/apis/V11PostApi.js +170 -154
  35. package/dist/apis/V11PostApi.js.map +1 -1
  36. package/dist/apis/V20GetApi.d.ts.map +1 -1
  37. package/dist/apis/V20GetApi.js +86 -78
  38. package/dist/apis/V20GetApi.js.map +1 -1
  39. package/dist/models/AuthorCommunityRelationship.d.ts +1 -0
  40. package/dist/models/AuthorCommunityRelationship.d.ts.map +1 -1
  41. package/dist/models/AuthorCommunityRelationship.js +2 -1
  42. package/dist/models/AuthorCommunityRelationship.js.map +1 -1
  43. package/dist/models/BookmarksResponse.d.ts +7 -1
  44. package/dist/models/BookmarksResponse.d.ts.map +1 -1
  45. package/dist/models/BookmarksResponse.js +3 -3
  46. package/dist/models/BookmarksResponse.js.map +1 -1
  47. package/dist/models/BookmarksResponseData.d.ts +1 -1
  48. package/dist/models/BookmarksResponseData.d.ts.map +1 -1
  49. package/dist/models/BookmarksResponseData.js +1 -3
  50. package/dist/models/BookmarksResponseData.js.map +1 -1
  51. package/dist/models/CommunityActions.d.ts +11 -4
  52. package/dist/models/CommunityActions.d.ts.map +1 -1
  53. package/dist/models/CommunityActions.js +7 -12
  54. package/dist/models/CommunityActions.js.map +1 -1
  55. package/dist/models/CommunityData.d.ts +1 -1
  56. package/dist/models/CommunityData.d.ts.map +1 -1
  57. package/dist/models/CommunityData.js +1 -3
  58. package/dist/models/CommunityData.js.map +1 -1
  59. package/dist/models/CommunityRelationship.d.ts +53 -0
  60. package/dist/models/CommunityRelationship.d.ts.map +1 -0
  61. package/dist/models/CommunityRelationship.js +61 -0
  62. package/dist/models/CommunityRelationship.js.map +1 -0
  63. package/dist/models/CommunityUnpinActionResult.d.ts +33 -0
  64. package/dist/models/CommunityUnpinActionResult.d.ts.map +1 -0
  65. package/dist/models/CommunityUnpinActionResult.js +49 -0
  66. package/dist/models/CommunityUnpinActionResult.js.map +1 -0
  67. package/dist/models/CreateBookmarkResponse.d.ts +6 -0
  68. package/dist/models/CreateBookmarkResponse.d.ts.map +1 -1
  69. package/dist/models/CreateBookmarkResponse.js +2 -0
  70. package/dist/models/CreateBookmarkResponse.js.map +1 -1
  71. package/dist/models/CreateBookmarkResponseData.d.ts +1 -1
  72. package/dist/models/CreateBookmarkResponseData.d.ts.map +1 -1
  73. package/dist/models/CreateBookmarkResponseData.js +1 -3
  74. package/dist/models/CreateBookmarkResponseData.js.map +1 -1
  75. package/dist/models/CreateRetweetResponse.d.ts +6 -0
  76. package/dist/models/CreateRetweetResponse.d.ts.map +1 -1
  77. package/dist/models/CreateRetweetResponse.js +2 -0
  78. package/dist/models/CreateRetweetResponse.js.map +1 -1
  79. package/dist/models/CreateRetweetResponseData.d.ts +1 -1
  80. package/dist/models/CreateRetweetResponseData.d.ts.map +1 -1
  81. package/dist/models/CreateRetweetResponseData.js +1 -3
  82. package/dist/models/CreateRetweetResponseData.js.map +1 -1
  83. package/dist/models/CreateTweetResponse.d.ts +6 -0
  84. package/dist/models/CreateTweetResponse.d.ts.map +1 -1
  85. package/dist/models/CreateTweetResponse.js +2 -0
  86. package/dist/models/CreateTweetResponse.js.map +1 -1
  87. package/dist/models/CreateTweetResponseData.d.ts +1 -1
  88. package/dist/models/CreateTweetResponseData.d.ts.map +1 -1
  89. package/dist/models/CreateTweetResponseData.js +1 -3
  90. package/dist/models/CreateTweetResponseData.js.map +1 -1
  91. package/dist/models/CursorType.d.ts +1 -0
  92. package/dist/models/CursorType.d.ts.map +1 -1
  93. package/dist/models/CursorType.js +2 -1
  94. package/dist/models/CursorType.js.map +1 -1
  95. package/dist/models/DeleteBookmarkResponse.d.ts +6 -0
  96. package/dist/models/DeleteBookmarkResponse.d.ts.map +1 -1
  97. package/dist/models/DeleteBookmarkResponse.js +2 -0
  98. package/dist/models/DeleteBookmarkResponse.js.map +1 -1
  99. package/dist/models/DeleteBookmarkResponseData.d.ts +1 -1
  100. package/dist/models/DeleteBookmarkResponseData.d.ts.map +1 -1
  101. package/dist/models/DeleteBookmarkResponseData.js +1 -3
  102. package/dist/models/DeleteBookmarkResponseData.js.map +1 -1
  103. package/dist/models/DeleteRetweetResponse.d.ts +6 -0
  104. package/dist/models/DeleteRetweetResponse.d.ts.map +1 -1
  105. package/dist/models/DeleteRetweetResponse.js +2 -0
  106. package/dist/models/DeleteRetweetResponse.js.map +1 -1
  107. package/dist/models/DeleteRetweetResponseData.d.ts +3 -3
  108. package/dist/models/DeleteRetweetResponseData.js +3 -3
  109. package/dist/models/DeleteTweetResponse.d.ts +6 -0
  110. package/dist/models/DeleteTweetResponse.d.ts.map +1 -1
  111. package/dist/models/DeleteTweetResponse.js +2 -0
  112. package/dist/models/DeleteTweetResponse.js.map +1 -1
  113. package/dist/models/DisplayTreatment.d.ts +6 -0
  114. package/dist/models/DisplayTreatment.d.ts.map +1 -1
  115. package/dist/models/DisplayTreatment.js +2 -0
  116. package/dist/models/DisplayTreatment.js.map +1 -1
  117. package/dist/models/FavoriteTweet.d.ts +1 -1
  118. package/dist/models/FavoriteTweet.d.ts.map +1 -1
  119. package/dist/models/FavoriteTweet.js +1 -3
  120. package/dist/models/FavoriteTweet.js.map +1 -1
  121. package/dist/models/FavoriteTweetResponse.d.ts +39 -0
  122. package/dist/models/FavoriteTweetResponse.d.ts.map +1 -0
  123. package/dist/models/FavoriteTweetResponse.js +51 -0
  124. package/dist/models/FavoriteTweetResponse.js.map +1 -0
  125. package/dist/models/FollowResponse.d.ts +6 -0
  126. package/dist/models/FollowResponse.d.ts.map +1 -1
  127. package/dist/models/FollowResponse.js +2 -0
  128. package/dist/models/FollowResponse.js.map +1 -1
  129. package/dist/models/FollowResponseData.d.ts +1 -1
  130. package/dist/models/FollowResponseData.d.ts.map +1 -1
  131. package/dist/models/FollowResponseData.js +1 -3
  132. package/dist/models/FollowResponseData.js.map +1 -1
  133. package/dist/models/HomeTimelineResponseData.d.ts +1 -1
  134. package/dist/models/HomeTimelineResponseData.d.ts.map +1 -1
  135. package/dist/models/HomeTimelineResponseData.js +1 -3
  136. package/dist/models/HomeTimelineResponseData.js.map +1 -1
  137. package/dist/models/ListLatestTweetsTimelineResponse.d.ts +6 -0
  138. package/dist/models/ListLatestTweetsTimelineResponse.d.ts.map +1 -1
  139. package/dist/models/ListLatestTweetsTimelineResponse.js +2 -0
  140. package/dist/models/ListLatestTweetsTimelineResponse.js.map +1 -1
  141. package/dist/models/ListTweetsTimelineData.d.ts +1 -1
  142. package/dist/models/ListTweetsTimelineData.d.ts.map +1 -1
  143. package/dist/models/ListTweetsTimelineData.js +1 -3
  144. package/dist/models/ListTweetsTimelineData.js.map +1 -1
  145. package/dist/models/OtherObjectAll.d.ts +33 -0
  146. package/dist/models/OtherObjectAll.d.ts.map +1 -0
  147. package/dist/models/{OtherResponse.js → OtherObjectAll.js} +12 -12
  148. package/dist/models/OtherObjectAll.js.map +1 -0
  149. package/dist/models/PostCreateTweetRequestVariablesMedia.d.ts +1 -1
  150. package/dist/models/PostCreateTweetRequestVariablesMedia.d.ts.map +1 -1
  151. package/dist/models/PostCreateTweetRequestVariablesMedia.js +2 -4
  152. package/dist/models/PostCreateTweetRequestVariablesMedia.js.map +1 -1
  153. package/dist/models/ProfileResponse.d.ts +6 -0
  154. package/dist/models/ProfileResponse.d.ts.map +1 -1
  155. package/dist/models/ProfileResponse.js +2 -0
  156. package/dist/models/ProfileResponse.js.map +1 -1
  157. package/dist/models/ProfileResponseData.d.ts +1 -1
  158. package/dist/models/ProfileResponseData.d.ts.map +1 -1
  159. package/dist/models/ProfileResponseData.js +1 -3
  160. package/dist/models/ProfileResponseData.js.map +1 -1
  161. package/dist/models/SearchTimelineData.d.ts +1 -1
  162. package/dist/models/SearchTimelineData.d.ts.map +1 -1
  163. package/dist/models/SearchTimelineData.js +1 -3
  164. package/dist/models/SearchTimelineData.js.map +1 -1
  165. package/dist/models/SearchTimelineResponse.d.ts +6 -0
  166. package/dist/models/SearchTimelineResponse.d.ts.map +1 -1
  167. package/dist/models/SearchTimelineResponse.js +2 -0
  168. package/dist/models/SearchTimelineResponse.js.map +1 -1
  169. package/dist/models/SensitiveMediaWarning.d.ts +3 -3
  170. package/dist/models/SensitiveMediaWarning.d.ts.map +1 -1
  171. package/dist/models/SensitiveMediaWarning.js +3 -9
  172. package/dist/models/SensitiveMediaWarning.js.map +1 -1
  173. package/dist/models/TimelineResponse.d.ts +6 -0
  174. package/dist/models/TimelineResponse.d.ts.map +1 -1
  175. package/dist/models/TimelineResponse.js +2 -0
  176. package/dist/models/TimelineResponse.js.map +1 -1
  177. package/dist/models/Tweet.d.ts +7 -0
  178. package/dist/models/Tweet.d.ts.map +1 -1
  179. package/dist/models/Tweet.js +3 -0
  180. package/dist/models/Tweet.js.map +1 -1
  181. package/dist/models/TweetDetailResponse.d.ts +6 -0
  182. package/dist/models/TweetDetailResponse.d.ts.map +1 -1
  183. package/dist/models/TweetDetailResponse.js +2 -0
  184. package/dist/models/TweetDetailResponse.js.map +1 -1
  185. package/dist/models/TweetDetailResponseData.d.ts +1 -1
  186. package/dist/models/TweetDetailResponseData.d.ts.map +1 -1
  187. package/dist/models/TweetDetailResponseData.js +1 -3
  188. package/dist/models/TweetDetailResponseData.js.map +1 -1
  189. package/dist/models/TweetFavoritersResponse.d.ts +6 -0
  190. package/dist/models/TweetFavoritersResponse.d.ts.map +1 -1
  191. package/dist/models/TweetFavoritersResponse.js +2 -0
  192. package/dist/models/TweetFavoritersResponse.js.map +1 -1
  193. package/dist/models/TweetFavoritersResponseData.d.ts +1 -1
  194. package/dist/models/TweetFavoritersResponseData.d.ts.map +1 -1
  195. package/dist/models/TweetFavoritersResponseData.js +1 -3
  196. package/dist/models/TweetFavoritersResponseData.js.map +1 -1
  197. package/dist/models/TweetResultByRestIdData.d.ts +1 -1
  198. package/dist/models/TweetResultByRestIdData.d.ts.map +1 -1
  199. package/dist/models/TweetResultByRestIdData.js +1 -3
  200. package/dist/models/TweetResultByRestIdData.js.map +1 -1
  201. package/dist/models/TweetResultByRestIdResponse.d.ts +6 -0
  202. package/dist/models/TweetResultByRestIdResponse.d.ts.map +1 -1
  203. package/dist/models/TweetResultByRestIdResponse.js +2 -0
  204. package/dist/models/TweetResultByRestIdResponse.js.map +1 -1
  205. package/dist/models/TweetRetweetersResponse.d.ts +6 -0
  206. package/dist/models/TweetRetweetersResponse.d.ts.map +1 -1
  207. package/dist/models/TweetRetweetersResponse.js +2 -0
  208. package/dist/models/TweetRetweetersResponse.js.map +1 -1
  209. package/dist/models/TweetRetweetersResponseData.d.ts +1 -1
  210. package/dist/models/TweetRetweetersResponseData.d.ts.map +1 -1
  211. package/dist/models/TweetRetweetersResponseData.js +1 -3
  212. package/dist/models/TweetRetweetersResponseData.js.map +1 -1
  213. package/dist/models/TypeName.d.ts +1 -0
  214. package/dist/models/TypeName.d.ts.map +1 -1
  215. package/dist/models/TypeName.js +1 -0
  216. package/dist/models/TypeName.js.map +1 -1
  217. package/dist/models/UnfavoriteTweet.d.ts +1 -1
  218. package/dist/models/UnfavoriteTweet.d.ts.map +1 -1
  219. package/dist/models/UnfavoriteTweet.js +1 -3
  220. package/dist/models/UnfavoriteTweet.js.map +1 -1
  221. package/dist/models/UnfavoriteTweetResponse.d.ts +39 -0
  222. package/dist/models/UnfavoriteTweetResponse.d.ts.map +1 -0
  223. package/dist/models/UnfavoriteTweetResponse.js +51 -0
  224. package/dist/models/UnfavoriteTweetResponse.js.map +1 -0
  225. package/dist/models/UserHighlightsTweetsData.d.ts +1 -1
  226. package/dist/models/UserHighlightsTweetsData.d.ts.map +1 -1
  227. package/dist/models/UserHighlightsTweetsData.js +1 -3
  228. package/dist/models/UserHighlightsTweetsData.js.map +1 -1
  229. package/dist/models/UserHighlightsTweetsResponse.d.ts +6 -0
  230. package/dist/models/UserHighlightsTweetsResponse.d.ts.map +1 -1
  231. package/dist/models/UserHighlightsTweetsResponse.js +2 -0
  232. package/dist/models/UserHighlightsTweetsResponse.js.map +1 -1
  233. package/dist/models/UserResponse.d.ts +6 -0
  234. package/dist/models/UserResponse.d.ts.map +1 -1
  235. package/dist/models/UserResponse.js +2 -0
  236. package/dist/models/UserResponse.js.map +1 -1
  237. package/dist/models/UserTweetsData.d.ts +1 -1
  238. package/dist/models/UserTweetsData.d.ts.map +1 -1
  239. package/dist/models/UserTweetsData.js +1 -3
  240. package/dist/models/UserTweetsData.js.map +1 -1
  241. package/dist/models/UserTweetsResponse.d.ts +6 -0
  242. package/dist/models/UserTweetsResponse.d.ts.map +1 -1
  243. package/dist/models/UserTweetsResponse.js +2 -0
  244. package/dist/models/UserTweetsResponse.js.map +1 -1
  245. package/dist/models/UsersResponse.d.ts +6 -0
  246. package/dist/models/UsersResponse.d.ts.map +1 -1
  247. package/dist/models/UsersResponse.js +2 -0
  248. package/dist/models/UsersResponse.js.map +1 -1
  249. package/dist/models/UsersResponseData.d.ts +1 -1
  250. package/dist/models/UsersResponseData.d.ts.map +1 -1
  251. package/dist/models/UsersResponseData.js +2 -4
  252. package/dist/models/UsersResponseData.js.map +1 -1
  253. package/dist/models/index.d.ts +5 -27
  254. package/dist/models/index.d.ts.map +1 -1
  255. package/dist/models/index.js +5 -27
  256. package/dist/models/index.js.map +1 -1
  257. package/package.json +1 -1
  258. package/dist/models/Errors.d.ts +0 -39
  259. package/dist/models/Errors.d.ts.map +0 -1
  260. package/dist/models/Errors.js +0 -51
  261. package/dist/models/Errors.js.map +0 -1
  262. package/dist/models/ErrorsData.d.ts +0 -32
  263. package/dist/models/ErrorsData.d.ts.map +0 -1
  264. package/dist/models/ErrorsData.js +0 -46
  265. package/dist/models/ErrorsData.js.map +0 -1
  266. package/dist/models/FavoriteTweetResponseData.d.ts +0 -33
  267. package/dist/models/FavoriteTweetResponseData.d.ts.map +0 -1
  268. package/dist/models/FavoriteTweetResponseData.js +0 -49
  269. package/dist/models/FavoriteTweetResponseData.js.map +0 -1
  270. package/dist/models/GetBookmarks200Response.d.ts +0 -23
  271. package/dist/models/GetBookmarks200Response.d.ts.map +0 -1
  272. package/dist/models/GetBookmarks200Response.js +0 -49
  273. package/dist/models/GetBookmarks200Response.js.map +0 -1
  274. package/dist/models/GetFavoriters200Response.d.ts +0 -23
  275. package/dist/models/GetFavoriters200Response.d.ts.map +0 -1
  276. package/dist/models/GetFavoriters200Response.js +0 -49
  277. package/dist/models/GetFavoriters200Response.js.map +0 -1
  278. package/dist/models/GetFollowers200Response.d.ts +0 -23
  279. package/dist/models/GetFollowers200Response.d.ts.map +0 -1
  280. package/dist/models/GetFollowers200Response.js +0 -49
  281. package/dist/models/GetFollowers200Response.js.map +0 -1
  282. package/dist/models/GetHomeLatestTimeline200Response.d.ts +0 -23
  283. package/dist/models/GetHomeLatestTimeline200Response.d.ts.map +0 -1
  284. package/dist/models/GetHomeLatestTimeline200Response.js +0 -49
  285. package/dist/models/GetHomeLatestTimeline200Response.js.map +0 -1
  286. package/dist/models/GetLikes200Response.d.ts +0 -23
  287. package/dist/models/GetLikes200Response.d.ts.map +0 -1
  288. package/dist/models/GetLikes200Response.js +0 -49
  289. package/dist/models/GetLikes200Response.js.map +0 -1
  290. package/dist/models/GetListLatestTweetsTimeline200Response.d.ts +0 -23
  291. package/dist/models/GetListLatestTweetsTimeline200Response.d.ts.map +0 -1
  292. package/dist/models/GetListLatestTweetsTimeline200Response.js +0 -49
  293. package/dist/models/GetListLatestTweetsTimeline200Response.js.map +0 -1
  294. package/dist/models/GetProfileSpotlightsQuery200Response.d.ts +0 -23
  295. package/dist/models/GetProfileSpotlightsQuery200Response.d.ts.map +0 -1
  296. package/dist/models/GetProfileSpotlightsQuery200Response.js +0 -49
  297. package/dist/models/GetProfileSpotlightsQuery200Response.js.map +0 -1
  298. package/dist/models/GetRetweeters200Response.d.ts +0 -23
  299. package/dist/models/GetRetweeters200Response.d.ts.map +0 -1
  300. package/dist/models/GetRetweeters200Response.js +0 -49
  301. package/dist/models/GetRetweeters200Response.js.map +0 -1
  302. package/dist/models/GetSearchTimeline200Response.d.ts +0 -23
  303. package/dist/models/GetSearchTimeline200Response.d.ts.map +0 -1
  304. package/dist/models/GetSearchTimeline200Response.js +0 -49
  305. package/dist/models/GetSearchTimeline200Response.js.map +0 -1
  306. package/dist/models/GetTweetDetail200Response.d.ts +0 -23
  307. package/dist/models/GetTweetDetail200Response.d.ts.map +0 -1
  308. package/dist/models/GetTweetDetail200Response.js +0 -49
  309. package/dist/models/GetTweetDetail200Response.js.map +0 -1
  310. package/dist/models/GetTweetResultByRestId200Response.d.ts +0 -23
  311. package/dist/models/GetTweetResultByRestId200Response.d.ts.map +0 -1
  312. package/dist/models/GetTweetResultByRestId200Response.js +0 -49
  313. package/dist/models/GetTweetResultByRestId200Response.js.map +0 -1
  314. package/dist/models/GetUserByRestId200Response.d.ts +0 -23
  315. package/dist/models/GetUserByRestId200Response.d.ts.map +0 -1
  316. package/dist/models/GetUserByRestId200Response.js +0 -49
  317. package/dist/models/GetUserByRestId200Response.js.map +0 -1
  318. package/dist/models/GetUserHighlightsTweets200Response.d.ts +0 -23
  319. package/dist/models/GetUserHighlightsTweets200Response.d.ts.map +0 -1
  320. package/dist/models/GetUserHighlightsTweets200Response.js +0 -49
  321. package/dist/models/GetUserHighlightsTweets200Response.js.map +0 -1
  322. package/dist/models/GetUsersByRestIds200Response.d.ts +0 -23
  323. package/dist/models/GetUsersByRestIds200Response.d.ts.map +0 -1
  324. package/dist/models/GetUsersByRestIds200Response.js +0 -49
  325. package/dist/models/GetUsersByRestIds200Response.js.map +0 -1
  326. package/dist/models/OtherResponse.d.ts +0 -33
  327. package/dist/models/OtherResponse.d.ts.map +0 -1
  328. package/dist/models/OtherResponse.js.map +0 -1
  329. package/dist/models/PostCreateBookmark200Response.d.ts +0 -23
  330. package/dist/models/PostCreateBookmark200Response.d.ts.map +0 -1
  331. package/dist/models/PostCreateBookmark200Response.js +0 -49
  332. package/dist/models/PostCreateBookmark200Response.js.map +0 -1
  333. package/dist/models/PostCreateRetweet200Response.d.ts +0 -23
  334. package/dist/models/PostCreateRetweet200Response.d.ts.map +0 -1
  335. package/dist/models/PostCreateRetweet200Response.js +0 -49
  336. package/dist/models/PostCreateRetweet200Response.js.map +0 -1
  337. package/dist/models/PostCreateTweet200Response.d.ts +0 -23
  338. package/dist/models/PostCreateTweet200Response.d.ts.map +0 -1
  339. package/dist/models/PostCreateTweet200Response.js +0 -49
  340. package/dist/models/PostCreateTweet200Response.js.map +0 -1
  341. package/dist/models/PostDeleteBookmark200Response.d.ts +0 -23
  342. package/dist/models/PostDeleteBookmark200Response.d.ts.map +0 -1
  343. package/dist/models/PostDeleteBookmark200Response.js +0 -49
  344. package/dist/models/PostDeleteBookmark200Response.js.map +0 -1
  345. package/dist/models/PostDeleteRetweet200Response.d.ts +0 -23
  346. package/dist/models/PostDeleteRetweet200Response.d.ts.map +0 -1
  347. package/dist/models/PostDeleteRetweet200Response.js +0 -49
  348. package/dist/models/PostDeleteRetweet200Response.js.map +0 -1
  349. package/dist/models/PostDeleteTweet200Response.d.ts +0 -23
  350. package/dist/models/PostDeleteTweet200Response.d.ts.map +0 -1
  351. package/dist/models/PostDeleteTweet200Response.js +0 -49
  352. package/dist/models/PostDeleteTweet200Response.js.map +0 -1
  353. package/dist/models/PostFavoriteTweet200Response.d.ts +0 -23
  354. package/dist/models/PostFavoriteTweet200Response.d.ts.map +0 -1
  355. package/dist/models/PostFavoriteTweet200Response.js +0 -49
  356. package/dist/models/PostFavoriteTweet200Response.js.map +0 -1
  357. package/dist/models/PostUnfavoriteTweet200Response.d.ts +0 -23
  358. package/dist/models/PostUnfavoriteTweet200Response.d.ts.map +0 -1
  359. package/dist/models/PostUnfavoriteTweet200Response.js +0 -49
  360. package/dist/models/PostUnfavoriteTweet200Response.js.map +0 -1
  361. package/dist/models/UnfavoriteTweetResponseData.d.ts +0 -33
  362. package/dist/models/UnfavoriteTweetResponseData.d.ts.map +0 -1
  363. package/dist/models/UnfavoriteTweetResponseData.js +0 -49
  364. package/dist/models/UnfavoriteTweetResponseData.js.map +0 -1
@@ -80,9 +80,9 @@ var TweetApi = /** @class */ (function (_super) {
80
80
  */
81
81
  TweetApi.prototype.getBookmarksRaw = function (requestParameters, initOverrides) {
82
82
  return __awaiter(this, void 0, void 0, function () {
83
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
84
- return __generator(this, function (_10) {
85
- switch (_10.label) {
83
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, token, tokenString, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, response;
84
+ return __generator(this, function (_12) {
85
+ switch (_12.label) {
86
86
  case 0:
87
87
  if (requestParameters['pathQueryId'] == null) {
88
88
  throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getBookmarks().');
@@ -103,158 +103,166 @@ var TweetApi = /** @class */ (function (_super) {
103
103
  headerParameters = {};
104
104
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
105
105
  _a = headerParameters;
106
- _b = "x-twitter-client-language";
107
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
106
+ _b = "Accept";
107
+ return [4 /*yield*/, this.configuration.apiKey("Accept")];
108
108
  case 1:
109
- _a[_b] = _10.sent(); // ClientLanguage authentication
110
- _10.label = 2;
109
+ _a[_b] = _12.sent(); // Accept authentication
110
+ _12.label = 2;
111
111
  case 2:
112
112
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 4];
113
113
  _c = headerParameters;
114
- _d = "Accept";
115
- return [4 /*yield*/, this.configuration.apiKey("Accept")];
114
+ _d = "x-twitter-client-language";
115
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
116
116
  case 3:
117
- _c[_d] = _10.sent(); // Accept authentication
118
- _10.label = 4;
117
+ _c[_d] = _12.sent(); // ClientLanguage authentication
118
+ _12.label = 4;
119
119
  case 4:
120
120
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
121
121
  _e = headerParameters;
122
- _f = "Priority";
123
- return [4 /*yield*/, this.configuration.apiKey("Priority")];
122
+ _f = "Referer";
123
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
124
124
  case 5:
125
- _e[_f] = _10.sent(); // Priority authentication
126
- _10.label = 6;
125
+ _e[_f] = _12.sent(); // Referer authentication
126
+ _12.label = 6;
127
127
  case 6:
128
128
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
129
129
  _g = headerParameters;
130
130
  _h = "Sec-Fetch-Dest";
131
131
  return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
132
132
  case 7:
133
- _g[_h] = _10.sent(); // SecFetchDest authentication
134
- _10.label = 8;
133
+ _g[_h] = _12.sent(); // SecFetchDest authentication
134
+ _12.label = 8;
135
135
  case 8:
136
136
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
137
137
  _j = headerParameters;
138
- _k = "Referer";
139
- return [4 /*yield*/, this.configuration.apiKey("Referer")];
138
+ _k = "Sec-Ch-Ua-Platform";
139
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
140
140
  case 9:
141
- _j[_k] = _10.sent(); // Referer authentication
142
- _10.label = 10;
141
+ _j[_k] = _12.sent(); // SecChUaPlatform authentication
142
+ _12.label = 10;
143
143
  case 10:
144
144
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
145
145
  _l = headerParameters;
146
- _m = "Sec-Ch-Ua-Platform";
147
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
146
+ _m = "Sec-Fetch-Mode";
147
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
148
148
  case 11:
149
- _l[_m] = _10.sent(); // SecChUaPlatform authentication
150
- _10.label = 12;
149
+ _l[_m] = _12.sent(); // SecFetchMode authentication
150
+ _12.label = 12;
151
151
  case 12:
152
152
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
153
153
  _o = headerParameters;
154
- _p = "Sec-Fetch-Mode";
155
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
154
+ _p = "x-csrf-token";
155
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
156
156
  case 13:
157
- _o[_p] = _10.sent(); // SecFetchMode authentication
158
- _10.label = 14;
157
+ _o[_p] = _12.sent(); // CsrfToken authentication
158
+ _12.label = 14;
159
159
  case 14:
160
160
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
161
161
  _q = headerParameters;
162
- _r = "x-csrf-token";
163
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
162
+ _r = "x-client-uuid";
163
+ return [4 /*yield*/, this.configuration.apiKey("x-client-uuid")];
164
164
  case 15:
165
- _q[_r] = _10.sent(); // CsrfToken authentication
166
- _10.label = 16;
165
+ _q[_r] = _12.sent(); // ClientUuid authentication
166
+ _12.label = 16;
167
167
  case 16:
168
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
169
- _s = headerParameters;
170
- _t = "x-guest-token";
171
- return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
172
- case 17:
173
- _s[_t] = _10.sent(); // GuestToken authentication
174
- _10.label = 18;
175
- case 18:
176
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
168
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
177
169
  token = this.configuration.accessToken;
178
170
  return [4 /*yield*/, token("BearerAuth", [])];
179
- case 19:
180
- tokenString = _10.sent();
171
+ case 17:
172
+ tokenString = _12.sent();
181
173
  if (tokenString) {
182
174
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
183
175
  }
184
- _10.label = 20;
176
+ _12.label = 18;
177
+ case 18:
178
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
179
+ _s = headerParameters;
180
+ _t = "x-guest-token";
181
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
182
+ case 19:
183
+ _s[_t] = _12.sent(); // GuestToken authentication
184
+ _12.label = 20;
185
185
  case 20:
186
186
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
187
187
  _u = headerParameters;
188
188
  _v = "Sec-Ch-Ua";
189
189
  return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
190
190
  case 21:
191
- _u[_v] = _10.sent(); // SecChUa authentication
192
- _10.label = 22;
191
+ _u[_v] = _12.sent(); // SecChUa authentication
192
+ _12.label = 22;
193
193
  case 22:
194
194
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
195
195
  _w = headerParameters;
196
- _x = "x-twitter-active-user";
197
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
196
+ _x = "x-client-transaction-id";
197
+ return [4 /*yield*/, this.configuration.apiKey("x-client-transaction-id")];
198
198
  case 23:
199
- _w[_x] = _10.sent(); // ActiveUser authentication
200
- _10.label = 24;
199
+ _w[_x] = _12.sent(); // ClientTransactionId authentication
200
+ _12.label = 24;
201
201
  case 24:
202
202
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
203
203
  _y = headerParameters;
204
- _z = "user-agent";
205
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
204
+ _z = "x-twitter-active-user";
205
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
206
206
  case 25:
207
- _y[_z] = _10.sent(); // UserAgent authentication
208
- _10.label = 26;
207
+ _y[_z] = _12.sent(); // ActiveUser authentication
208
+ _12.label = 26;
209
209
  case 26:
210
210
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
211
211
  _0 = headerParameters;
212
- _1 = "Accept-Language";
213
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
212
+ _1 = "user-agent";
213
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
214
214
  case 27:
215
- _0[_1] = _10.sent(); // AcceptLanguage authentication
216
- _10.label = 28;
215
+ _0[_1] = _12.sent(); // UserAgent authentication
216
+ _12.label = 28;
217
217
  case 28:
218
218
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
219
219
  _2 = headerParameters;
220
- _3 = "Sec-Fetch-Site";
221
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
220
+ _3 = "Accept-Language";
221
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
222
222
  case 29:
223
- _2[_3] = _10.sent(); // SecFetchSite authentication
224
- _10.label = 30;
223
+ _2[_3] = _12.sent(); // AcceptLanguage authentication
224
+ _12.label = 30;
225
225
  case 30:
226
226
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
227
227
  _4 = headerParameters;
228
- _5 = "x-twitter-auth-type";
229
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
228
+ _5 = "Sec-Fetch-Site";
229
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
230
230
  case 31:
231
- _4[_5] = _10.sent(); // AuthType authentication
232
- _10.label = 32;
231
+ _4[_5] = _12.sent(); // SecFetchSite authentication
232
+ _12.label = 32;
233
233
  case 32:
234
234
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
235
235
  _6 = headerParameters;
236
- _7 = "Sec-Ch-Ua-Mobile";
237
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
236
+ _7 = "x-twitter-auth-type";
237
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
238
238
  case 33:
239
- _6[_7] = _10.sent(); // SecChUaMobile authentication
240
- _10.label = 34;
239
+ _6[_7] = _12.sent(); // AuthType authentication
240
+ _12.label = 34;
241
241
  case 34:
242
242
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 36];
243
243
  _8 = headerParameters;
244
- _9 = "Accept-Encoding";
245
- return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
244
+ _9 = "Sec-Ch-Ua-Mobile";
245
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
246
246
  case 35:
247
- _8[_9] = _10.sent(); // AcceptEncoding authentication
248
- _10.label = 36;
249
- case 36: return [4 /*yield*/, this.request({
247
+ _8[_9] = _12.sent(); // SecChUaMobile authentication
248
+ _12.label = 36;
249
+ case 36:
250
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 38];
251
+ _10 = headerParameters;
252
+ _11 = "Accept-Encoding";
253
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
254
+ case 37:
255
+ _10[_11] = _12.sent(); // AcceptEncoding authentication
256
+ _12.label = 38;
257
+ case 38: return [4 /*yield*/, this.request({
250
258
  path: "/graphql/{pathQueryId}/Bookmarks".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
251
259
  method: 'GET',
252
260
  headers: headerParameters,
253
261
  query: queryParameters,
254
262
  }, initOverrides)];
255
- case 37:
256
- response = _10.sent();
257
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetBookmarks200ResponseFromJSON)(jsonValue); })];
263
+ case 39:
264
+ response = _12.sent();
265
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.BookmarksResponseFromJSON)(jsonValue); })];
258
266
  }
259
267
  });
260
268
  });
@@ -281,9 +289,9 @@ var TweetApi = /** @class */ (function (_super) {
281
289
  */
282
290
  TweetApi.prototype.getHomeLatestTimelineRaw = function (requestParameters, initOverrides) {
283
291
  return __awaiter(this, void 0, void 0, function () {
284
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
285
- return __generator(this, function (_10) {
286
- switch (_10.label) {
292
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, token, tokenString, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, response;
293
+ return __generator(this, function (_12) {
294
+ switch (_12.label) {
287
295
  case 0:
288
296
  if (requestParameters['pathQueryId'] == null) {
289
297
  throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getHomeLatestTimeline().');
@@ -304,158 +312,166 @@ var TweetApi = /** @class */ (function (_super) {
304
312
  headerParameters = {};
305
313
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
306
314
  _a = headerParameters;
307
- _b = "x-twitter-client-language";
308
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
315
+ _b = "Accept";
316
+ return [4 /*yield*/, this.configuration.apiKey("Accept")];
309
317
  case 1:
310
- _a[_b] = _10.sent(); // ClientLanguage authentication
311
- _10.label = 2;
318
+ _a[_b] = _12.sent(); // Accept authentication
319
+ _12.label = 2;
312
320
  case 2:
313
321
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 4];
314
322
  _c = headerParameters;
315
- _d = "Accept";
316
- return [4 /*yield*/, this.configuration.apiKey("Accept")];
323
+ _d = "x-twitter-client-language";
324
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
317
325
  case 3:
318
- _c[_d] = _10.sent(); // Accept authentication
319
- _10.label = 4;
326
+ _c[_d] = _12.sent(); // ClientLanguage authentication
327
+ _12.label = 4;
320
328
  case 4:
321
329
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
322
330
  _e = headerParameters;
323
- _f = "Priority";
324
- return [4 /*yield*/, this.configuration.apiKey("Priority")];
331
+ _f = "Referer";
332
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
325
333
  case 5:
326
- _e[_f] = _10.sent(); // Priority authentication
327
- _10.label = 6;
334
+ _e[_f] = _12.sent(); // Referer authentication
335
+ _12.label = 6;
328
336
  case 6:
329
337
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
330
338
  _g = headerParameters;
331
339
  _h = "Sec-Fetch-Dest";
332
340
  return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
333
341
  case 7:
334
- _g[_h] = _10.sent(); // SecFetchDest authentication
335
- _10.label = 8;
342
+ _g[_h] = _12.sent(); // SecFetchDest authentication
343
+ _12.label = 8;
336
344
  case 8:
337
345
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
338
346
  _j = headerParameters;
339
- _k = "Referer";
340
- return [4 /*yield*/, this.configuration.apiKey("Referer")];
347
+ _k = "Sec-Ch-Ua-Platform";
348
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
341
349
  case 9:
342
- _j[_k] = _10.sent(); // Referer authentication
343
- _10.label = 10;
350
+ _j[_k] = _12.sent(); // SecChUaPlatform authentication
351
+ _12.label = 10;
344
352
  case 10:
345
353
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
346
354
  _l = headerParameters;
347
- _m = "Sec-Ch-Ua-Platform";
348
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
355
+ _m = "Sec-Fetch-Mode";
356
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
349
357
  case 11:
350
- _l[_m] = _10.sent(); // SecChUaPlatform authentication
351
- _10.label = 12;
358
+ _l[_m] = _12.sent(); // SecFetchMode authentication
359
+ _12.label = 12;
352
360
  case 12:
353
361
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
354
362
  _o = headerParameters;
355
- _p = "Sec-Fetch-Mode";
356
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
363
+ _p = "x-csrf-token";
364
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
357
365
  case 13:
358
- _o[_p] = _10.sent(); // SecFetchMode authentication
359
- _10.label = 14;
366
+ _o[_p] = _12.sent(); // CsrfToken authentication
367
+ _12.label = 14;
360
368
  case 14:
361
369
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
362
370
  _q = headerParameters;
363
- _r = "x-csrf-token";
364
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
371
+ _r = "x-client-uuid";
372
+ return [4 /*yield*/, this.configuration.apiKey("x-client-uuid")];
365
373
  case 15:
366
- _q[_r] = _10.sent(); // CsrfToken authentication
367
- _10.label = 16;
374
+ _q[_r] = _12.sent(); // ClientUuid authentication
375
+ _12.label = 16;
368
376
  case 16:
369
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
370
- _s = headerParameters;
371
- _t = "x-guest-token";
372
- return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
373
- case 17:
374
- _s[_t] = _10.sent(); // GuestToken authentication
375
- _10.label = 18;
376
- case 18:
377
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
377
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
378
378
  token = this.configuration.accessToken;
379
379
  return [4 /*yield*/, token("BearerAuth", [])];
380
- case 19:
381
- tokenString = _10.sent();
380
+ case 17:
381
+ tokenString = _12.sent();
382
382
  if (tokenString) {
383
383
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
384
384
  }
385
- _10.label = 20;
385
+ _12.label = 18;
386
+ case 18:
387
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
388
+ _s = headerParameters;
389
+ _t = "x-guest-token";
390
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
391
+ case 19:
392
+ _s[_t] = _12.sent(); // GuestToken authentication
393
+ _12.label = 20;
386
394
  case 20:
387
395
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
388
396
  _u = headerParameters;
389
397
  _v = "Sec-Ch-Ua";
390
398
  return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
391
399
  case 21:
392
- _u[_v] = _10.sent(); // SecChUa authentication
393
- _10.label = 22;
400
+ _u[_v] = _12.sent(); // SecChUa authentication
401
+ _12.label = 22;
394
402
  case 22:
395
403
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
396
404
  _w = headerParameters;
397
- _x = "x-twitter-active-user";
398
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
405
+ _x = "x-client-transaction-id";
406
+ return [4 /*yield*/, this.configuration.apiKey("x-client-transaction-id")];
399
407
  case 23:
400
- _w[_x] = _10.sent(); // ActiveUser authentication
401
- _10.label = 24;
408
+ _w[_x] = _12.sent(); // ClientTransactionId authentication
409
+ _12.label = 24;
402
410
  case 24:
403
411
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
404
412
  _y = headerParameters;
405
- _z = "user-agent";
406
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
413
+ _z = "x-twitter-active-user";
414
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
407
415
  case 25:
408
- _y[_z] = _10.sent(); // UserAgent authentication
409
- _10.label = 26;
416
+ _y[_z] = _12.sent(); // ActiveUser authentication
417
+ _12.label = 26;
410
418
  case 26:
411
419
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
412
420
  _0 = headerParameters;
413
- _1 = "Accept-Language";
414
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
421
+ _1 = "user-agent";
422
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
415
423
  case 27:
416
- _0[_1] = _10.sent(); // AcceptLanguage authentication
417
- _10.label = 28;
424
+ _0[_1] = _12.sent(); // UserAgent authentication
425
+ _12.label = 28;
418
426
  case 28:
419
427
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
420
428
  _2 = headerParameters;
421
- _3 = "Sec-Fetch-Site";
422
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
429
+ _3 = "Accept-Language";
430
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
423
431
  case 29:
424
- _2[_3] = _10.sent(); // SecFetchSite authentication
425
- _10.label = 30;
432
+ _2[_3] = _12.sent(); // AcceptLanguage authentication
433
+ _12.label = 30;
426
434
  case 30:
427
435
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
428
436
  _4 = headerParameters;
429
- _5 = "x-twitter-auth-type";
430
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
437
+ _5 = "Sec-Fetch-Site";
438
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
431
439
  case 31:
432
- _4[_5] = _10.sent(); // AuthType authentication
433
- _10.label = 32;
440
+ _4[_5] = _12.sent(); // SecFetchSite authentication
441
+ _12.label = 32;
434
442
  case 32:
435
443
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
436
444
  _6 = headerParameters;
437
- _7 = "Sec-Ch-Ua-Mobile";
438
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
445
+ _7 = "x-twitter-auth-type";
446
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
439
447
  case 33:
440
- _6[_7] = _10.sent(); // SecChUaMobile authentication
441
- _10.label = 34;
448
+ _6[_7] = _12.sent(); // AuthType authentication
449
+ _12.label = 34;
442
450
  case 34:
443
451
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 36];
444
452
  _8 = headerParameters;
445
- _9 = "Accept-Encoding";
446
- return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
453
+ _9 = "Sec-Ch-Ua-Mobile";
454
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
447
455
  case 35:
448
- _8[_9] = _10.sent(); // AcceptEncoding authentication
449
- _10.label = 36;
450
- case 36: return [4 /*yield*/, this.request({
456
+ _8[_9] = _12.sent(); // SecChUaMobile authentication
457
+ _12.label = 36;
458
+ case 36:
459
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 38];
460
+ _10 = headerParameters;
461
+ _11 = "Accept-Encoding";
462
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
463
+ case 37:
464
+ _10[_11] = _12.sent(); // AcceptEncoding authentication
465
+ _12.label = 38;
466
+ case 38: return [4 /*yield*/, this.request({
451
467
  path: "/graphql/{pathQueryId}/HomeLatestTimeline".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
452
468
  method: 'GET',
453
469
  headers: headerParameters,
454
470
  query: queryParameters,
455
471
  }, initOverrides)];
456
- case 37:
457
- response = _10.sent();
458
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetHomeLatestTimeline200ResponseFromJSON)(jsonValue); })];
472
+ case 39:
473
+ response = _12.sent();
474
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.TimelineResponseFromJSON)(jsonValue); })];
459
475
  }
460
476
  });
461
477
  });
@@ -482,9 +498,9 @@ var TweetApi = /** @class */ (function (_super) {
482
498
  */
483
499
  TweetApi.prototype.getHomeTimelineRaw = function (requestParameters, initOverrides) {
484
500
  return __awaiter(this, void 0, void 0, function () {
485
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
486
- return __generator(this, function (_10) {
487
- switch (_10.label) {
501
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, token, tokenString, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, response;
502
+ return __generator(this, function (_12) {
503
+ switch (_12.label) {
488
504
  case 0:
489
505
  if (requestParameters['pathQueryId'] == null) {
490
506
  throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getHomeTimeline().');
@@ -505,158 +521,166 @@ var TweetApi = /** @class */ (function (_super) {
505
521
  headerParameters = {};
506
522
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
507
523
  _a = headerParameters;
508
- _b = "x-twitter-client-language";
509
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
524
+ _b = "Accept";
525
+ return [4 /*yield*/, this.configuration.apiKey("Accept")];
510
526
  case 1:
511
- _a[_b] = _10.sent(); // ClientLanguage authentication
512
- _10.label = 2;
527
+ _a[_b] = _12.sent(); // Accept authentication
528
+ _12.label = 2;
513
529
  case 2:
514
530
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 4];
515
531
  _c = headerParameters;
516
- _d = "Accept";
517
- return [4 /*yield*/, this.configuration.apiKey("Accept")];
532
+ _d = "x-twitter-client-language";
533
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
518
534
  case 3:
519
- _c[_d] = _10.sent(); // Accept authentication
520
- _10.label = 4;
535
+ _c[_d] = _12.sent(); // ClientLanguage authentication
536
+ _12.label = 4;
521
537
  case 4:
522
538
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
523
539
  _e = headerParameters;
524
- _f = "Priority";
525
- return [4 /*yield*/, this.configuration.apiKey("Priority")];
540
+ _f = "Referer";
541
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
526
542
  case 5:
527
- _e[_f] = _10.sent(); // Priority authentication
528
- _10.label = 6;
543
+ _e[_f] = _12.sent(); // Referer authentication
544
+ _12.label = 6;
529
545
  case 6:
530
546
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
531
547
  _g = headerParameters;
532
548
  _h = "Sec-Fetch-Dest";
533
549
  return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
534
550
  case 7:
535
- _g[_h] = _10.sent(); // SecFetchDest authentication
536
- _10.label = 8;
551
+ _g[_h] = _12.sent(); // SecFetchDest authentication
552
+ _12.label = 8;
537
553
  case 8:
538
554
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
539
555
  _j = headerParameters;
540
- _k = "Referer";
541
- return [4 /*yield*/, this.configuration.apiKey("Referer")];
556
+ _k = "Sec-Ch-Ua-Platform";
557
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
542
558
  case 9:
543
- _j[_k] = _10.sent(); // Referer authentication
544
- _10.label = 10;
559
+ _j[_k] = _12.sent(); // SecChUaPlatform authentication
560
+ _12.label = 10;
545
561
  case 10:
546
562
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
547
563
  _l = headerParameters;
548
- _m = "Sec-Ch-Ua-Platform";
549
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
564
+ _m = "Sec-Fetch-Mode";
565
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
550
566
  case 11:
551
- _l[_m] = _10.sent(); // SecChUaPlatform authentication
552
- _10.label = 12;
567
+ _l[_m] = _12.sent(); // SecFetchMode authentication
568
+ _12.label = 12;
553
569
  case 12:
554
570
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
555
571
  _o = headerParameters;
556
- _p = "Sec-Fetch-Mode";
557
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
572
+ _p = "x-csrf-token";
573
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
558
574
  case 13:
559
- _o[_p] = _10.sent(); // SecFetchMode authentication
560
- _10.label = 14;
575
+ _o[_p] = _12.sent(); // CsrfToken authentication
576
+ _12.label = 14;
561
577
  case 14:
562
578
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
563
579
  _q = headerParameters;
564
- _r = "x-csrf-token";
565
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
580
+ _r = "x-client-uuid";
581
+ return [4 /*yield*/, this.configuration.apiKey("x-client-uuid")];
566
582
  case 15:
567
- _q[_r] = _10.sent(); // CsrfToken authentication
568
- _10.label = 16;
583
+ _q[_r] = _12.sent(); // ClientUuid authentication
584
+ _12.label = 16;
569
585
  case 16:
570
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
571
- _s = headerParameters;
572
- _t = "x-guest-token";
573
- return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
574
- case 17:
575
- _s[_t] = _10.sent(); // GuestToken authentication
576
- _10.label = 18;
577
- case 18:
578
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
586
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
579
587
  token = this.configuration.accessToken;
580
588
  return [4 /*yield*/, token("BearerAuth", [])];
581
- case 19:
582
- tokenString = _10.sent();
589
+ case 17:
590
+ tokenString = _12.sent();
583
591
  if (tokenString) {
584
592
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
585
593
  }
586
- _10.label = 20;
594
+ _12.label = 18;
595
+ case 18:
596
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
597
+ _s = headerParameters;
598
+ _t = "x-guest-token";
599
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
600
+ case 19:
601
+ _s[_t] = _12.sent(); // GuestToken authentication
602
+ _12.label = 20;
587
603
  case 20:
588
604
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
589
605
  _u = headerParameters;
590
606
  _v = "Sec-Ch-Ua";
591
607
  return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
592
608
  case 21:
593
- _u[_v] = _10.sent(); // SecChUa authentication
594
- _10.label = 22;
609
+ _u[_v] = _12.sent(); // SecChUa authentication
610
+ _12.label = 22;
595
611
  case 22:
596
612
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
597
613
  _w = headerParameters;
598
- _x = "x-twitter-active-user";
599
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
614
+ _x = "x-client-transaction-id";
615
+ return [4 /*yield*/, this.configuration.apiKey("x-client-transaction-id")];
600
616
  case 23:
601
- _w[_x] = _10.sent(); // ActiveUser authentication
602
- _10.label = 24;
617
+ _w[_x] = _12.sent(); // ClientTransactionId authentication
618
+ _12.label = 24;
603
619
  case 24:
604
620
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
605
621
  _y = headerParameters;
606
- _z = "user-agent";
607
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
622
+ _z = "x-twitter-active-user";
623
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
608
624
  case 25:
609
- _y[_z] = _10.sent(); // UserAgent authentication
610
- _10.label = 26;
625
+ _y[_z] = _12.sent(); // ActiveUser authentication
626
+ _12.label = 26;
611
627
  case 26:
612
628
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
613
629
  _0 = headerParameters;
614
- _1 = "Accept-Language";
615
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
630
+ _1 = "user-agent";
631
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
616
632
  case 27:
617
- _0[_1] = _10.sent(); // AcceptLanguage authentication
618
- _10.label = 28;
633
+ _0[_1] = _12.sent(); // UserAgent authentication
634
+ _12.label = 28;
619
635
  case 28:
620
636
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
621
637
  _2 = headerParameters;
622
- _3 = "Sec-Fetch-Site";
623
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
638
+ _3 = "Accept-Language";
639
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
624
640
  case 29:
625
- _2[_3] = _10.sent(); // SecFetchSite authentication
626
- _10.label = 30;
641
+ _2[_3] = _12.sent(); // AcceptLanguage authentication
642
+ _12.label = 30;
627
643
  case 30:
628
644
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
629
645
  _4 = headerParameters;
630
- _5 = "x-twitter-auth-type";
631
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
646
+ _5 = "Sec-Fetch-Site";
647
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
632
648
  case 31:
633
- _4[_5] = _10.sent(); // AuthType authentication
634
- _10.label = 32;
649
+ _4[_5] = _12.sent(); // SecFetchSite authentication
650
+ _12.label = 32;
635
651
  case 32:
636
652
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
637
653
  _6 = headerParameters;
638
- _7 = "Sec-Ch-Ua-Mobile";
639
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
654
+ _7 = "x-twitter-auth-type";
655
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
640
656
  case 33:
641
- _6[_7] = _10.sent(); // SecChUaMobile authentication
642
- _10.label = 34;
657
+ _6[_7] = _12.sent(); // AuthType authentication
658
+ _12.label = 34;
643
659
  case 34:
644
660
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 36];
645
661
  _8 = headerParameters;
646
- _9 = "Accept-Encoding";
647
- return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
662
+ _9 = "Sec-Ch-Ua-Mobile";
663
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
648
664
  case 35:
649
- _8[_9] = _10.sent(); // AcceptEncoding authentication
650
- _10.label = 36;
651
- case 36: return [4 /*yield*/, this.request({
665
+ _8[_9] = _12.sent(); // SecChUaMobile authentication
666
+ _12.label = 36;
667
+ case 36:
668
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 38];
669
+ _10 = headerParameters;
670
+ _11 = "Accept-Encoding";
671
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
672
+ case 37:
673
+ _10[_11] = _12.sent(); // AcceptEncoding authentication
674
+ _12.label = 38;
675
+ case 38: return [4 /*yield*/, this.request({
652
676
  path: "/graphql/{pathQueryId}/HomeTimeline".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
653
677
  method: 'GET',
654
678
  headers: headerParameters,
655
679
  query: queryParameters,
656
680
  }, initOverrides)];
657
- case 37:
658
- response = _10.sent();
659
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetHomeLatestTimeline200ResponseFromJSON)(jsonValue); })];
681
+ case 39:
682
+ response = _12.sent();
683
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.TimelineResponseFromJSON)(jsonValue); })];
660
684
  }
661
685
  });
662
686
  });
@@ -683,9 +707,9 @@ var TweetApi = /** @class */ (function (_super) {
683
707
  */
684
708
  TweetApi.prototype.getLikesRaw = function (requestParameters, initOverrides) {
685
709
  return __awaiter(this, void 0, void 0, function () {
686
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
687
- return __generator(this, function (_10) {
688
- switch (_10.label) {
710
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, token, tokenString, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, response;
711
+ return __generator(this, function (_12) {
712
+ switch (_12.label) {
689
713
  case 0:
690
714
  if (requestParameters['pathQueryId'] == null) {
691
715
  throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getLikes().');
@@ -712,158 +736,166 @@ var TweetApi = /** @class */ (function (_super) {
712
736
  headerParameters = {};
713
737
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
714
738
  _a = headerParameters;
715
- _b = "x-twitter-client-language";
716
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
739
+ _b = "Accept";
740
+ return [4 /*yield*/, this.configuration.apiKey("Accept")];
717
741
  case 1:
718
- _a[_b] = _10.sent(); // ClientLanguage authentication
719
- _10.label = 2;
742
+ _a[_b] = _12.sent(); // Accept authentication
743
+ _12.label = 2;
720
744
  case 2:
721
745
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 4];
722
746
  _c = headerParameters;
723
- _d = "Accept";
724
- return [4 /*yield*/, this.configuration.apiKey("Accept")];
747
+ _d = "x-twitter-client-language";
748
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
725
749
  case 3:
726
- _c[_d] = _10.sent(); // Accept authentication
727
- _10.label = 4;
750
+ _c[_d] = _12.sent(); // ClientLanguage authentication
751
+ _12.label = 4;
728
752
  case 4:
729
753
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
730
754
  _e = headerParameters;
731
- _f = "Priority";
732
- return [4 /*yield*/, this.configuration.apiKey("Priority")];
755
+ _f = "Referer";
756
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
733
757
  case 5:
734
- _e[_f] = _10.sent(); // Priority authentication
735
- _10.label = 6;
758
+ _e[_f] = _12.sent(); // Referer authentication
759
+ _12.label = 6;
736
760
  case 6:
737
761
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
738
762
  _g = headerParameters;
739
763
  _h = "Sec-Fetch-Dest";
740
764
  return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
741
765
  case 7:
742
- _g[_h] = _10.sent(); // SecFetchDest authentication
743
- _10.label = 8;
766
+ _g[_h] = _12.sent(); // SecFetchDest authentication
767
+ _12.label = 8;
744
768
  case 8:
745
769
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
746
770
  _j = headerParameters;
747
- _k = "Referer";
748
- return [4 /*yield*/, this.configuration.apiKey("Referer")];
771
+ _k = "Sec-Ch-Ua-Platform";
772
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
749
773
  case 9:
750
- _j[_k] = _10.sent(); // Referer authentication
751
- _10.label = 10;
774
+ _j[_k] = _12.sent(); // SecChUaPlatform authentication
775
+ _12.label = 10;
752
776
  case 10:
753
777
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
754
778
  _l = headerParameters;
755
- _m = "Sec-Ch-Ua-Platform";
756
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
779
+ _m = "Sec-Fetch-Mode";
780
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
757
781
  case 11:
758
- _l[_m] = _10.sent(); // SecChUaPlatform authentication
759
- _10.label = 12;
782
+ _l[_m] = _12.sent(); // SecFetchMode authentication
783
+ _12.label = 12;
760
784
  case 12:
761
785
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
762
786
  _o = headerParameters;
763
- _p = "Sec-Fetch-Mode";
764
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
787
+ _p = "x-csrf-token";
788
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
765
789
  case 13:
766
- _o[_p] = _10.sent(); // SecFetchMode authentication
767
- _10.label = 14;
790
+ _o[_p] = _12.sent(); // CsrfToken authentication
791
+ _12.label = 14;
768
792
  case 14:
769
793
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
770
794
  _q = headerParameters;
771
- _r = "x-csrf-token";
772
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
795
+ _r = "x-client-uuid";
796
+ return [4 /*yield*/, this.configuration.apiKey("x-client-uuid")];
773
797
  case 15:
774
- _q[_r] = _10.sent(); // CsrfToken authentication
775
- _10.label = 16;
798
+ _q[_r] = _12.sent(); // ClientUuid authentication
799
+ _12.label = 16;
776
800
  case 16:
777
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
778
- _s = headerParameters;
779
- _t = "x-guest-token";
780
- return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
781
- case 17:
782
- _s[_t] = _10.sent(); // GuestToken authentication
783
- _10.label = 18;
784
- case 18:
785
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
801
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
786
802
  token = this.configuration.accessToken;
787
803
  return [4 /*yield*/, token("BearerAuth", [])];
788
- case 19:
789
- tokenString = _10.sent();
804
+ case 17:
805
+ tokenString = _12.sent();
790
806
  if (tokenString) {
791
807
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
792
808
  }
793
- _10.label = 20;
809
+ _12.label = 18;
810
+ case 18:
811
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
812
+ _s = headerParameters;
813
+ _t = "x-guest-token";
814
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
815
+ case 19:
816
+ _s[_t] = _12.sent(); // GuestToken authentication
817
+ _12.label = 20;
794
818
  case 20:
795
819
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
796
820
  _u = headerParameters;
797
821
  _v = "Sec-Ch-Ua";
798
822
  return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
799
823
  case 21:
800
- _u[_v] = _10.sent(); // SecChUa authentication
801
- _10.label = 22;
824
+ _u[_v] = _12.sent(); // SecChUa authentication
825
+ _12.label = 22;
802
826
  case 22:
803
827
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
804
828
  _w = headerParameters;
805
- _x = "x-twitter-active-user";
806
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
829
+ _x = "x-client-transaction-id";
830
+ return [4 /*yield*/, this.configuration.apiKey("x-client-transaction-id")];
807
831
  case 23:
808
- _w[_x] = _10.sent(); // ActiveUser authentication
809
- _10.label = 24;
832
+ _w[_x] = _12.sent(); // ClientTransactionId authentication
833
+ _12.label = 24;
810
834
  case 24:
811
835
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
812
836
  _y = headerParameters;
813
- _z = "user-agent";
814
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
837
+ _z = "x-twitter-active-user";
838
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
815
839
  case 25:
816
- _y[_z] = _10.sent(); // UserAgent authentication
817
- _10.label = 26;
840
+ _y[_z] = _12.sent(); // ActiveUser authentication
841
+ _12.label = 26;
818
842
  case 26:
819
843
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
820
844
  _0 = headerParameters;
821
- _1 = "Accept-Language";
822
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
845
+ _1 = "user-agent";
846
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
823
847
  case 27:
824
- _0[_1] = _10.sent(); // AcceptLanguage authentication
825
- _10.label = 28;
848
+ _0[_1] = _12.sent(); // UserAgent authentication
849
+ _12.label = 28;
826
850
  case 28:
827
851
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
828
852
  _2 = headerParameters;
829
- _3 = "Sec-Fetch-Site";
830
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
853
+ _3 = "Accept-Language";
854
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
831
855
  case 29:
832
- _2[_3] = _10.sent(); // SecFetchSite authentication
833
- _10.label = 30;
856
+ _2[_3] = _12.sent(); // AcceptLanguage authentication
857
+ _12.label = 30;
834
858
  case 30:
835
859
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
836
860
  _4 = headerParameters;
837
- _5 = "x-twitter-auth-type";
838
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
861
+ _5 = "Sec-Fetch-Site";
862
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
839
863
  case 31:
840
- _4[_5] = _10.sent(); // AuthType authentication
841
- _10.label = 32;
864
+ _4[_5] = _12.sent(); // SecFetchSite authentication
865
+ _12.label = 32;
842
866
  case 32:
843
867
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
844
868
  _6 = headerParameters;
845
- _7 = "Sec-Ch-Ua-Mobile";
846
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
869
+ _7 = "x-twitter-auth-type";
870
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
847
871
  case 33:
848
- _6[_7] = _10.sent(); // SecChUaMobile authentication
849
- _10.label = 34;
872
+ _6[_7] = _12.sent(); // AuthType authentication
873
+ _12.label = 34;
850
874
  case 34:
851
875
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 36];
852
876
  _8 = headerParameters;
853
- _9 = "Accept-Encoding";
854
- return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
877
+ _9 = "Sec-Ch-Ua-Mobile";
878
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
855
879
  case 35:
856
- _8[_9] = _10.sent(); // AcceptEncoding authentication
857
- _10.label = 36;
858
- case 36: return [4 /*yield*/, this.request({
880
+ _8[_9] = _12.sent(); // SecChUaMobile authentication
881
+ _12.label = 36;
882
+ case 36:
883
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 38];
884
+ _10 = headerParameters;
885
+ _11 = "Accept-Encoding";
886
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
887
+ case 37:
888
+ _10[_11] = _12.sent(); // AcceptEncoding authentication
889
+ _12.label = 38;
890
+ case 38: return [4 /*yield*/, this.request({
859
891
  path: "/graphql/{pathQueryId}/Likes".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
860
892
  method: 'GET',
861
893
  headers: headerParameters,
862
894
  query: queryParameters,
863
895
  }, initOverrides)];
864
- case 37:
865
- response = _10.sent();
866
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetLikes200ResponseFromJSON)(jsonValue); })];
896
+ case 39:
897
+ response = _12.sent();
898
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.UserTweetsResponseFromJSON)(jsonValue); })];
867
899
  }
868
900
  });
869
901
  });
@@ -890,9 +922,9 @@ var TweetApi = /** @class */ (function (_super) {
890
922
  */
891
923
  TweetApi.prototype.getListLatestTweetsTimelineRaw = function (requestParameters, initOverrides) {
892
924
  return __awaiter(this, void 0, void 0, function () {
893
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
894
- return __generator(this, function (_10) {
895
- switch (_10.label) {
925
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, token, tokenString, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, response;
926
+ return __generator(this, function (_12) {
927
+ switch (_12.label) {
896
928
  case 0:
897
929
  if (requestParameters['pathQueryId'] == null) {
898
930
  throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getListLatestTweetsTimeline().');
@@ -913,158 +945,166 @@ var TweetApi = /** @class */ (function (_super) {
913
945
  headerParameters = {};
914
946
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
915
947
  _a = headerParameters;
916
- _b = "x-twitter-client-language";
917
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
948
+ _b = "Accept";
949
+ return [4 /*yield*/, this.configuration.apiKey("Accept")];
918
950
  case 1:
919
- _a[_b] = _10.sent(); // ClientLanguage authentication
920
- _10.label = 2;
951
+ _a[_b] = _12.sent(); // Accept authentication
952
+ _12.label = 2;
921
953
  case 2:
922
954
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 4];
923
955
  _c = headerParameters;
924
- _d = "Accept";
925
- return [4 /*yield*/, this.configuration.apiKey("Accept")];
956
+ _d = "x-twitter-client-language";
957
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
926
958
  case 3:
927
- _c[_d] = _10.sent(); // Accept authentication
928
- _10.label = 4;
959
+ _c[_d] = _12.sent(); // ClientLanguage authentication
960
+ _12.label = 4;
929
961
  case 4:
930
962
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
931
963
  _e = headerParameters;
932
- _f = "Priority";
933
- return [4 /*yield*/, this.configuration.apiKey("Priority")];
964
+ _f = "Referer";
965
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
934
966
  case 5:
935
- _e[_f] = _10.sent(); // Priority authentication
936
- _10.label = 6;
967
+ _e[_f] = _12.sent(); // Referer authentication
968
+ _12.label = 6;
937
969
  case 6:
938
970
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
939
971
  _g = headerParameters;
940
972
  _h = "Sec-Fetch-Dest";
941
973
  return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
942
974
  case 7:
943
- _g[_h] = _10.sent(); // SecFetchDest authentication
944
- _10.label = 8;
975
+ _g[_h] = _12.sent(); // SecFetchDest authentication
976
+ _12.label = 8;
945
977
  case 8:
946
978
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
947
979
  _j = headerParameters;
948
- _k = "Referer";
949
- return [4 /*yield*/, this.configuration.apiKey("Referer")];
980
+ _k = "Sec-Ch-Ua-Platform";
981
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
950
982
  case 9:
951
- _j[_k] = _10.sent(); // Referer authentication
952
- _10.label = 10;
983
+ _j[_k] = _12.sent(); // SecChUaPlatform authentication
984
+ _12.label = 10;
953
985
  case 10:
954
986
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
955
987
  _l = headerParameters;
956
- _m = "Sec-Ch-Ua-Platform";
957
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
988
+ _m = "Sec-Fetch-Mode";
989
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
958
990
  case 11:
959
- _l[_m] = _10.sent(); // SecChUaPlatform authentication
960
- _10.label = 12;
991
+ _l[_m] = _12.sent(); // SecFetchMode authentication
992
+ _12.label = 12;
961
993
  case 12:
962
994
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
963
995
  _o = headerParameters;
964
- _p = "Sec-Fetch-Mode";
965
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
996
+ _p = "x-csrf-token";
997
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
966
998
  case 13:
967
- _o[_p] = _10.sent(); // SecFetchMode authentication
968
- _10.label = 14;
999
+ _o[_p] = _12.sent(); // CsrfToken authentication
1000
+ _12.label = 14;
969
1001
  case 14:
970
1002
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
971
1003
  _q = headerParameters;
972
- _r = "x-csrf-token";
973
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
1004
+ _r = "x-client-uuid";
1005
+ return [4 /*yield*/, this.configuration.apiKey("x-client-uuid")];
974
1006
  case 15:
975
- _q[_r] = _10.sent(); // CsrfToken authentication
976
- _10.label = 16;
1007
+ _q[_r] = _12.sent(); // ClientUuid authentication
1008
+ _12.label = 16;
977
1009
  case 16:
978
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
979
- _s = headerParameters;
980
- _t = "x-guest-token";
981
- return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
982
- case 17:
983
- _s[_t] = _10.sent(); // GuestToken authentication
984
- _10.label = 18;
985
- case 18:
986
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
1010
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
987
1011
  token = this.configuration.accessToken;
988
1012
  return [4 /*yield*/, token("BearerAuth", [])];
989
- case 19:
990
- tokenString = _10.sent();
1013
+ case 17:
1014
+ tokenString = _12.sent();
991
1015
  if (tokenString) {
992
1016
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
993
1017
  }
994
- _10.label = 20;
1018
+ _12.label = 18;
1019
+ case 18:
1020
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
1021
+ _s = headerParameters;
1022
+ _t = "x-guest-token";
1023
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
1024
+ case 19:
1025
+ _s[_t] = _12.sent(); // GuestToken authentication
1026
+ _12.label = 20;
995
1027
  case 20:
996
1028
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
997
1029
  _u = headerParameters;
998
1030
  _v = "Sec-Ch-Ua";
999
1031
  return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
1000
1032
  case 21:
1001
- _u[_v] = _10.sent(); // SecChUa authentication
1002
- _10.label = 22;
1033
+ _u[_v] = _12.sent(); // SecChUa authentication
1034
+ _12.label = 22;
1003
1035
  case 22:
1004
1036
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
1005
1037
  _w = headerParameters;
1006
- _x = "x-twitter-active-user";
1007
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
1038
+ _x = "x-client-transaction-id";
1039
+ return [4 /*yield*/, this.configuration.apiKey("x-client-transaction-id")];
1008
1040
  case 23:
1009
- _w[_x] = _10.sent(); // ActiveUser authentication
1010
- _10.label = 24;
1041
+ _w[_x] = _12.sent(); // ClientTransactionId authentication
1042
+ _12.label = 24;
1011
1043
  case 24:
1012
1044
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
1013
1045
  _y = headerParameters;
1014
- _z = "user-agent";
1015
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
1046
+ _z = "x-twitter-active-user";
1047
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
1016
1048
  case 25:
1017
- _y[_z] = _10.sent(); // UserAgent authentication
1018
- _10.label = 26;
1049
+ _y[_z] = _12.sent(); // ActiveUser authentication
1050
+ _12.label = 26;
1019
1051
  case 26:
1020
1052
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
1021
1053
  _0 = headerParameters;
1022
- _1 = "Accept-Language";
1023
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
1054
+ _1 = "user-agent";
1055
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
1024
1056
  case 27:
1025
- _0[_1] = _10.sent(); // AcceptLanguage authentication
1026
- _10.label = 28;
1057
+ _0[_1] = _12.sent(); // UserAgent authentication
1058
+ _12.label = 28;
1027
1059
  case 28:
1028
1060
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
1029
1061
  _2 = headerParameters;
1030
- _3 = "Sec-Fetch-Site";
1031
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
1062
+ _3 = "Accept-Language";
1063
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
1032
1064
  case 29:
1033
- _2[_3] = _10.sent(); // SecFetchSite authentication
1034
- _10.label = 30;
1065
+ _2[_3] = _12.sent(); // AcceptLanguage authentication
1066
+ _12.label = 30;
1035
1067
  case 30:
1036
1068
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
1037
1069
  _4 = headerParameters;
1038
- _5 = "x-twitter-auth-type";
1039
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
1070
+ _5 = "Sec-Fetch-Site";
1071
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
1040
1072
  case 31:
1041
- _4[_5] = _10.sent(); // AuthType authentication
1042
- _10.label = 32;
1073
+ _4[_5] = _12.sent(); // SecFetchSite authentication
1074
+ _12.label = 32;
1043
1075
  case 32:
1044
1076
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
1045
1077
  _6 = headerParameters;
1046
- _7 = "Sec-Ch-Ua-Mobile";
1047
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
1078
+ _7 = "x-twitter-auth-type";
1079
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
1048
1080
  case 33:
1049
- _6[_7] = _10.sent(); // SecChUaMobile authentication
1050
- _10.label = 34;
1081
+ _6[_7] = _12.sent(); // AuthType authentication
1082
+ _12.label = 34;
1051
1083
  case 34:
1052
1084
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 36];
1053
1085
  _8 = headerParameters;
1054
- _9 = "Accept-Encoding";
1055
- return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
1086
+ _9 = "Sec-Ch-Ua-Mobile";
1087
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
1056
1088
  case 35:
1057
- _8[_9] = _10.sent(); // AcceptEncoding authentication
1058
- _10.label = 36;
1059
- case 36: return [4 /*yield*/, this.request({
1089
+ _8[_9] = _12.sent(); // SecChUaMobile authentication
1090
+ _12.label = 36;
1091
+ case 36:
1092
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 38];
1093
+ _10 = headerParameters;
1094
+ _11 = "Accept-Encoding";
1095
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
1096
+ case 37:
1097
+ _10[_11] = _12.sent(); // AcceptEncoding authentication
1098
+ _12.label = 38;
1099
+ case 38: return [4 /*yield*/, this.request({
1060
1100
  path: "/graphql/{pathQueryId}/ListLatestTweetsTimeline".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
1061
1101
  method: 'GET',
1062
1102
  headers: headerParameters,
1063
1103
  query: queryParameters,
1064
1104
  }, initOverrides)];
1065
- case 37:
1066
- response = _10.sent();
1067
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetListLatestTweetsTimeline200ResponseFromJSON)(jsonValue); })];
1105
+ case 39:
1106
+ response = _12.sent();
1107
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ListLatestTweetsTimelineResponseFromJSON)(jsonValue); })];
1068
1108
  }
1069
1109
  });
1070
1110
  });
@@ -1091,9 +1131,9 @@ var TweetApi = /** @class */ (function (_super) {
1091
1131
  */
1092
1132
  TweetApi.prototype.getSearchTimelineRaw = function (requestParameters, initOverrides) {
1093
1133
  return __awaiter(this, void 0, void 0, function () {
1094
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
1095
- return __generator(this, function (_10) {
1096
- switch (_10.label) {
1134
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, token, tokenString, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, response;
1135
+ return __generator(this, function (_12) {
1136
+ switch (_12.label) {
1097
1137
  case 0:
1098
1138
  if (requestParameters['pathQueryId'] == null) {
1099
1139
  throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getSearchTimeline().');
@@ -1114,158 +1154,166 @@ var TweetApi = /** @class */ (function (_super) {
1114
1154
  headerParameters = {};
1115
1155
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
1116
1156
  _a = headerParameters;
1117
- _b = "x-twitter-client-language";
1118
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
1157
+ _b = "Accept";
1158
+ return [4 /*yield*/, this.configuration.apiKey("Accept")];
1119
1159
  case 1:
1120
- _a[_b] = _10.sent(); // ClientLanguage authentication
1121
- _10.label = 2;
1160
+ _a[_b] = _12.sent(); // Accept authentication
1161
+ _12.label = 2;
1122
1162
  case 2:
1123
1163
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 4];
1124
1164
  _c = headerParameters;
1125
- _d = "Accept";
1126
- return [4 /*yield*/, this.configuration.apiKey("Accept")];
1165
+ _d = "x-twitter-client-language";
1166
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
1127
1167
  case 3:
1128
- _c[_d] = _10.sent(); // Accept authentication
1129
- _10.label = 4;
1168
+ _c[_d] = _12.sent(); // ClientLanguage authentication
1169
+ _12.label = 4;
1130
1170
  case 4:
1131
1171
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
1132
1172
  _e = headerParameters;
1133
- _f = "Priority";
1134
- return [4 /*yield*/, this.configuration.apiKey("Priority")];
1173
+ _f = "Referer";
1174
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
1135
1175
  case 5:
1136
- _e[_f] = _10.sent(); // Priority authentication
1137
- _10.label = 6;
1176
+ _e[_f] = _12.sent(); // Referer authentication
1177
+ _12.label = 6;
1138
1178
  case 6:
1139
1179
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
1140
1180
  _g = headerParameters;
1141
1181
  _h = "Sec-Fetch-Dest";
1142
1182
  return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
1143
1183
  case 7:
1144
- _g[_h] = _10.sent(); // SecFetchDest authentication
1145
- _10.label = 8;
1184
+ _g[_h] = _12.sent(); // SecFetchDest authentication
1185
+ _12.label = 8;
1146
1186
  case 8:
1147
1187
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
1148
1188
  _j = headerParameters;
1149
- _k = "Referer";
1150
- return [4 /*yield*/, this.configuration.apiKey("Referer")];
1189
+ _k = "Sec-Ch-Ua-Platform";
1190
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
1151
1191
  case 9:
1152
- _j[_k] = _10.sent(); // Referer authentication
1153
- _10.label = 10;
1192
+ _j[_k] = _12.sent(); // SecChUaPlatform authentication
1193
+ _12.label = 10;
1154
1194
  case 10:
1155
1195
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
1156
1196
  _l = headerParameters;
1157
- _m = "Sec-Ch-Ua-Platform";
1158
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
1197
+ _m = "Sec-Fetch-Mode";
1198
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
1159
1199
  case 11:
1160
- _l[_m] = _10.sent(); // SecChUaPlatform authentication
1161
- _10.label = 12;
1200
+ _l[_m] = _12.sent(); // SecFetchMode authentication
1201
+ _12.label = 12;
1162
1202
  case 12:
1163
1203
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
1164
1204
  _o = headerParameters;
1165
- _p = "Sec-Fetch-Mode";
1166
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
1205
+ _p = "x-csrf-token";
1206
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
1167
1207
  case 13:
1168
- _o[_p] = _10.sent(); // SecFetchMode authentication
1169
- _10.label = 14;
1208
+ _o[_p] = _12.sent(); // CsrfToken authentication
1209
+ _12.label = 14;
1170
1210
  case 14:
1171
1211
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
1172
1212
  _q = headerParameters;
1173
- _r = "x-csrf-token";
1174
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
1213
+ _r = "x-client-uuid";
1214
+ return [4 /*yield*/, this.configuration.apiKey("x-client-uuid")];
1175
1215
  case 15:
1176
- _q[_r] = _10.sent(); // CsrfToken authentication
1177
- _10.label = 16;
1216
+ _q[_r] = _12.sent(); // ClientUuid authentication
1217
+ _12.label = 16;
1178
1218
  case 16:
1179
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
1180
- _s = headerParameters;
1181
- _t = "x-guest-token";
1182
- return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
1183
- case 17:
1184
- _s[_t] = _10.sent(); // GuestToken authentication
1185
- _10.label = 18;
1186
- case 18:
1187
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
1219
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
1188
1220
  token = this.configuration.accessToken;
1189
1221
  return [4 /*yield*/, token("BearerAuth", [])];
1190
- case 19:
1191
- tokenString = _10.sent();
1222
+ case 17:
1223
+ tokenString = _12.sent();
1192
1224
  if (tokenString) {
1193
1225
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
1194
1226
  }
1195
- _10.label = 20;
1227
+ _12.label = 18;
1228
+ case 18:
1229
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
1230
+ _s = headerParameters;
1231
+ _t = "x-guest-token";
1232
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
1233
+ case 19:
1234
+ _s[_t] = _12.sent(); // GuestToken authentication
1235
+ _12.label = 20;
1196
1236
  case 20:
1197
1237
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
1198
1238
  _u = headerParameters;
1199
1239
  _v = "Sec-Ch-Ua";
1200
1240
  return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
1201
1241
  case 21:
1202
- _u[_v] = _10.sent(); // SecChUa authentication
1203
- _10.label = 22;
1242
+ _u[_v] = _12.sent(); // SecChUa authentication
1243
+ _12.label = 22;
1204
1244
  case 22:
1205
1245
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
1206
1246
  _w = headerParameters;
1207
- _x = "x-twitter-active-user";
1208
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
1247
+ _x = "x-client-transaction-id";
1248
+ return [4 /*yield*/, this.configuration.apiKey("x-client-transaction-id")];
1209
1249
  case 23:
1210
- _w[_x] = _10.sent(); // ActiveUser authentication
1211
- _10.label = 24;
1250
+ _w[_x] = _12.sent(); // ClientTransactionId authentication
1251
+ _12.label = 24;
1212
1252
  case 24:
1213
1253
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
1214
1254
  _y = headerParameters;
1215
- _z = "user-agent";
1216
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
1255
+ _z = "x-twitter-active-user";
1256
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
1217
1257
  case 25:
1218
- _y[_z] = _10.sent(); // UserAgent authentication
1219
- _10.label = 26;
1258
+ _y[_z] = _12.sent(); // ActiveUser authentication
1259
+ _12.label = 26;
1220
1260
  case 26:
1221
1261
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
1222
1262
  _0 = headerParameters;
1223
- _1 = "Accept-Language";
1224
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
1263
+ _1 = "user-agent";
1264
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
1225
1265
  case 27:
1226
- _0[_1] = _10.sent(); // AcceptLanguage authentication
1227
- _10.label = 28;
1266
+ _0[_1] = _12.sent(); // UserAgent authentication
1267
+ _12.label = 28;
1228
1268
  case 28:
1229
1269
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
1230
1270
  _2 = headerParameters;
1231
- _3 = "Sec-Fetch-Site";
1232
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
1271
+ _3 = "Accept-Language";
1272
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
1233
1273
  case 29:
1234
- _2[_3] = _10.sent(); // SecFetchSite authentication
1235
- _10.label = 30;
1274
+ _2[_3] = _12.sent(); // AcceptLanguage authentication
1275
+ _12.label = 30;
1236
1276
  case 30:
1237
1277
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
1238
1278
  _4 = headerParameters;
1239
- _5 = "x-twitter-auth-type";
1240
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
1279
+ _5 = "Sec-Fetch-Site";
1280
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
1241
1281
  case 31:
1242
- _4[_5] = _10.sent(); // AuthType authentication
1243
- _10.label = 32;
1282
+ _4[_5] = _12.sent(); // SecFetchSite authentication
1283
+ _12.label = 32;
1244
1284
  case 32:
1245
1285
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
1246
1286
  _6 = headerParameters;
1247
- _7 = "Sec-Ch-Ua-Mobile";
1248
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
1287
+ _7 = "x-twitter-auth-type";
1288
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
1249
1289
  case 33:
1250
- _6[_7] = _10.sent(); // SecChUaMobile authentication
1251
- _10.label = 34;
1290
+ _6[_7] = _12.sent(); // AuthType authentication
1291
+ _12.label = 34;
1252
1292
  case 34:
1253
1293
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 36];
1254
1294
  _8 = headerParameters;
1255
- _9 = "Accept-Encoding";
1256
- return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
1295
+ _9 = "Sec-Ch-Ua-Mobile";
1296
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
1257
1297
  case 35:
1258
- _8[_9] = _10.sent(); // AcceptEncoding authentication
1259
- _10.label = 36;
1260
- case 36: return [4 /*yield*/, this.request({
1298
+ _8[_9] = _12.sent(); // SecChUaMobile authentication
1299
+ _12.label = 36;
1300
+ case 36:
1301
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 38];
1302
+ _10 = headerParameters;
1303
+ _11 = "Accept-Encoding";
1304
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
1305
+ case 37:
1306
+ _10[_11] = _12.sent(); // AcceptEncoding authentication
1307
+ _12.label = 38;
1308
+ case 38: return [4 /*yield*/, this.request({
1261
1309
  path: "/graphql/{pathQueryId}/SearchTimeline".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
1262
1310
  method: 'GET',
1263
1311
  headers: headerParameters,
1264
1312
  query: queryParameters,
1265
1313
  }, initOverrides)];
1266
- case 37:
1267
- response = _10.sent();
1268
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetSearchTimeline200ResponseFromJSON)(jsonValue); })];
1314
+ case 39:
1315
+ response = _12.sent();
1316
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.SearchTimelineResponseFromJSON)(jsonValue); })];
1269
1317
  }
1270
1318
  });
1271
1319
  });
@@ -1292,9 +1340,9 @@ var TweetApi = /** @class */ (function (_super) {
1292
1340
  */
1293
1341
  TweetApi.prototype.getTweetDetailRaw = function (requestParameters, initOverrides) {
1294
1342
  return __awaiter(this, void 0, void 0, function () {
1295
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
1296
- return __generator(this, function (_10) {
1297
- switch (_10.label) {
1343
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, token, tokenString, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, response;
1344
+ return __generator(this, function (_12) {
1345
+ switch (_12.label) {
1298
1346
  case 0:
1299
1347
  if (requestParameters['pathQueryId'] == null) {
1300
1348
  throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getTweetDetail().');
@@ -1321,158 +1369,166 @@ var TweetApi = /** @class */ (function (_super) {
1321
1369
  headerParameters = {};
1322
1370
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
1323
1371
  _a = headerParameters;
1324
- _b = "x-twitter-client-language";
1325
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
1372
+ _b = "Accept";
1373
+ return [4 /*yield*/, this.configuration.apiKey("Accept")];
1326
1374
  case 1:
1327
- _a[_b] = _10.sent(); // ClientLanguage authentication
1328
- _10.label = 2;
1375
+ _a[_b] = _12.sent(); // Accept authentication
1376
+ _12.label = 2;
1329
1377
  case 2:
1330
1378
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 4];
1331
1379
  _c = headerParameters;
1332
- _d = "Accept";
1333
- return [4 /*yield*/, this.configuration.apiKey("Accept")];
1380
+ _d = "x-twitter-client-language";
1381
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
1334
1382
  case 3:
1335
- _c[_d] = _10.sent(); // Accept authentication
1336
- _10.label = 4;
1383
+ _c[_d] = _12.sent(); // ClientLanguage authentication
1384
+ _12.label = 4;
1337
1385
  case 4:
1338
1386
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
1339
1387
  _e = headerParameters;
1340
- _f = "Priority";
1341
- return [4 /*yield*/, this.configuration.apiKey("Priority")];
1388
+ _f = "Referer";
1389
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
1342
1390
  case 5:
1343
- _e[_f] = _10.sent(); // Priority authentication
1344
- _10.label = 6;
1391
+ _e[_f] = _12.sent(); // Referer authentication
1392
+ _12.label = 6;
1345
1393
  case 6:
1346
1394
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
1347
1395
  _g = headerParameters;
1348
1396
  _h = "Sec-Fetch-Dest";
1349
1397
  return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
1350
1398
  case 7:
1351
- _g[_h] = _10.sent(); // SecFetchDest authentication
1352
- _10.label = 8;
1399
+ _g[_h] = _12.sent(); // SecFetchDest authentication
1400
+ _12.label = 8;
1353
1401
  case 8:
1354
1402
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
1355
1403
  _j = headerParameters;
1356
- _k = "Referer";
1357
- return [4 /*yield*/, this.configuration.apiKey("Referer")];
1404
+ _k = "Sec-Ch-Ua-Platform";
1405
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
1358
1406
  case 9:
1359
- _j[_k] = _10.sent(); // Referer authentication
1360
- _10.label = 10;
1407
+ _j[_k] = _12.sent(); // SecChUaPlatform authentication
1408
+ _12.label = 10;
1361
1409
  case 10:
1362
1410
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
1363
1411
  _l = headerParameters;
1364
- _m = "Sec-Ch-Ua-Platform";
1365
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
1412
+ _m = "Sec-Fetch-Mode";
1413
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
1366
1414
  case 11:
1367
- _l[_m] = _10.sent(); // SecChUaPlatform authentication
1368
- _10.label = 12;
1415
+ _l[_m] = _12.sent(); // SecFetchMode authentication
1416
+ _12.label = 12;
1369
1417
  case 12:
1370
1418
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
1371
1419
  _o = headerParameters;
1372
- _p = "Sec-Fetch-Mode";
1373
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
1420
+ _p = "x-csrf-token";
1421
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
1374
1422
  case 13:
1375
- _o[_p] = _10.sent(); // SecFetchMode authentication
1376
- _10.label = 14;
1423
+ _o[_p] = _12.sent(); // CsrfToken authentication
1424
+ _12.label = 14;
1377
1425
  case 14:
1378
1426
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
1379
1427
  _q = headerParameters;
1380
- _r = "x-csrf-token";
1381
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
1428
+ _r = "x-client-uuid";
1429
+ return [4 /*yield*/, this.configuration.apiKey("x-client-uuid")];
1382
1430
  case 15:
1383
- _q[_r] = _10.sent(); // CsrfToken authentication
1384
- _10.label = 16;
1431
+ _q[_r] = _12.sent(); // ClientUuid authentication
1432
+ _12.label = 16;
1385
1433
  case 16:
1386
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
1387
- _s = headerParameters;
1388
- _t = "x-guest-token";
1389
- return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
1390
- case 17:
1391
- _s[_t] = _10.sent(); // GuestToken authentication
1392
- _10.label = 18;
1393
- case 18:
1394
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
1434
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
1395
1435
  token = this.configuration.accessToken;
1396
1436
  return [4 /*yield*/, token("BearerAuth", [])];
1397
- case 19:
1398
- tokenString = _10.sent();
1437
+ case 17:
1438
+ tokenString = _12.sent();
1399
1439
  if (tokenString) {
1400
1440
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
1401
1441
  }
1402
- _10.label = 20;
1442
+ _12.label = 18;
1443
+ case 18:
1444
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
1445
+ _s = headerParameters;
1446
+ _t = "x-guest-token";
1447
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
1448
+ case 19:
1449
+ _s[_t] = _12.sent(); // GuestToken authentication
1450
+ _12.label = 20;
1403
1451
  case 20:
1404
1452
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
1405
1453
  _u = headerParameters;
1406
1454
  _v = "Sec-Ch-Ua";
1407
1455
  return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
1408
1456
  case 21:
1409
- _u[_v] = _10.sent(); // SecChUa authentication
1410
- _10.label = 22;
1457
+ _u[_v] = _12.sent(); // SecChUa authentication
1458
+ _12.label = 22;
1411
1459
  case 22:
1412
1460
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
1413
1461
  _w = headerParameters;
1414
- _x = "x-twitter-active-user";
1415
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
1462
+ _x = "x-client-transaction-id";
1463
+ return [4 /*yield*/, this.configuration.apiKey("x-client-transaction-id")];
1416
1464
  case 23:
1417
- _w[_x] = _10.sent(); // ActiveUser authentication
1418
- _10.label = 24;
1465
+ _w[_x] = _12.sent(); // ClientTransactionId authentication
1466
+ _12.label = 24;
1419
1467
  case 24:
1420
1468
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
1421
1469
  _y = headerParameters;
1422
- _z = "user-agent";
1423
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
1470
+ _z = "x-twitter-active-user";
1471
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
1424
1472
  case 25:
1425
- _y[_z] = _10.sent(); // UserAgent authentication
1426
- _10.label = 26;
1473
+ _y[_z] = _12.sent(); // ActiveUser authentication
1474
+ _12.label = 26;
1427
1475
  case 26:
1428
1476
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
1429
1477
  _0 = headerParameters;
1430
- _1 = "Accept-Language";
1431
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
1478
+ _1 = "user-agent";
1479
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
1432
1480
  case 27:
1433
- _0[_1] = _10.sent(); // AcceptLanguage authentication
1434
- _10.label = 28;
1481
+ _0[_1] = _12.sent(); // UserAgent authentication
1482
+ _12.label = 28;
1435
1483
  case 28:
1436
1484
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
1437
1485
  _2 = headerParameters;
1438
- _3 = "Sec-Fetch-Site";
1439
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
1486
+ _3 = "Accept-Language";
1487
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
1440
1488
  case 29:
1441
- _2[_3] = _10.sent(); // SecFetchSite authentication
1442
- _10.label = 30;
1489
+ _2[_3] = _12.sent(); // AcceptLanguage authentication
1490
+ _12.label = 30;
1443
1491
  case 30:
1444
1492
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
1445
1493
  _4 = headerParameters;
1446
- _5 = "x-twitter-auth-type";
1447
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
1494
+ _5 = "Sec-Fetch-Site";
1495
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
1448
1496
  case 31:
1449
- _4[_5] = _10.sent(); // AuthType authentication
1450
- _10.label = 32;
1497
+ _4[_5] = _12.sent(); // SecFetchSite authentication
1498
+ _12.label = 32;
1451
1499
  case 32:
1452
1500
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
1453
1501
  _6 = headerParameters;
1454
- _7 = "Sec-Ch-Ua-Mobile";
1455
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
1502
+ _7 = "x-twitter-auth-type";
1503
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
1456
1504
  case 33:
1457
- _6[_7] = _10.sent(); // SecChUaMobile authentication
1458
- _10.label = 34;
1505
+ _6[_7] = _12.sent(); // AuthType authentication
1506
+ _12.label = 34;
1459
1507
  case 34:
1460
1508
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 36];
1461
1509
  _8 = headerParameters;
1462
- _9 = "Accept-Encoding";
1463
- return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
1510
+ _9 = "Sec-Ch-Ua-Mobile";
1511
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
1464
1512
  case 35:
1465
- _8[_9] = _10.sent(); // AcceptEncoding authentication
1466
- _10.label = 36;
1467
- case 36: return [4 /*yield*/, this.request({
1513
+ _8[_9] = _12.sent(); // SecChUaMobile authentication
1514
+ _12.label = 36;
1515
+ case 36:
1516
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 38];
1517
+ _10 = headerParameters;
1518
+ _11 = "Accept-Encoding";
1519
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
1520
+ case 37:
1521
+ _10[_11] = _12.sent(); // AcceptEncoding authentication
1522
+ _12.label = 38;
1523
+ case 38: return [4 /*yield*/, this.request({
1468
1524
  path: "/graphql/{pathQueryId}/TweetDetail".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
1469
1525
  method: 'GET',
1470
1526
  headers: headerParameters,
1471
1527
  query: queryParameters,
1472
1528
  }, initOverrides)];
1473
- case 37:
1474
- response = _10.sent();
1475
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetTweetDetail200ResponseFromJSON)(jsonValue); })];
1529
+ case 39:
1530
+ response = _12.sent();
1531
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.TweetDetailResponseFromJSON)(jsonValue); })];
1476
1532
  }
1477
1533
  });
1478
1534
  });
@@ -1499,9 +1555,9 @@ var TweetApi = /** @class */ (function (_super) {
1499
1555
  */
1500
1556
  TweetApi.prototype.getUserHighlightsTweetsRaw = function (requestParameters, initOverrides) {
1501
1557
  return __awaiter(this, void 0, void 0, function () {
1502
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
1503
- return __generator(this, function (_10) {
1504
- switch (_10.label) {
1558
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, token, tokenString, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, response;
1559
+ return __generator(this, function (_12) {
1560
+ switch (_12.label) {
1505
1561
  case 0:
1506
1562
  if (requestParameters['pathQueryId'] == null) {
1507
1563
  throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getUserHighlightsTweets().');
@@ -1522,158 +1578,166 @@ var TweetApi = /** @class */ (function (_super) {
1522
1578
  headerParameters = {};
1523
1579
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
1524
1580
  _a = headerParameters;
1525
- _b = "x-twitter-client-language";
1526
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
1581
+ _b = "Accept";
1582
+ return [4 /*yield*/, this.configuration.apiKey("Accept")];
1527
1583
  case 1:
1528
- _a[_b] = _10.sent(); // ClientLanguage authentication
1529
- _10.label = 2;
1584
+ _a[_b] = _12.sent(); // Accept authentication
1585
+ _12.label = 2;
1530
1586
  case 2:
1531
1587
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 4];
1532
1588
  _c = headerParameters;
1533
- _d = "Accept";
1534
- return [4 /*yield*/, this.configuration.apiKey("Accept")];
1589
+ _d = "x-twitter-client-language";
1590
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
1535
1591
  case 3:
1536
- _c[_d] = _10.sent(); // Accept authentication
1537
- _10.label = 4;
1592
+ _c[_d] = _12.sent(); // ClientLanguage authentication
1593
+ _12.label = 4;
1538
1594
  case 4:
1539
1595
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
1540
1596
  _e = headerParameters;
1541
- _f = "Priority";
1542
- return [4 /*yield*/, this.configuration.apiKey("Priority")];
1597
+ _f = "Referer";
1598
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
1543
1599
  case 5:
1544
- _e[_f] = _10.sent(); // Priority authentication
1545
- _10.label = 6;
1600
+ _e[_f] = _12.sent(); // Referer authentication
1601
+ _12.label = 6;
1546
1602
  case 6:
1547
1603
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
1548
1604
  _g = headerParameters;
1549
1605
  _h = "Sec-Fetch-Dest";
1550
1606
  return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
1551
1607
  case 7:
1552
- _g[_h] = _10.sent(); // SecFetchDest authentication
1553
- _10.label = 8;
1608
+ _g[_h] = _12.sent(); // SecFetchDest authentication
1609
+ _12.label = 8;
1554
1610
  case 8:
1555
1611
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
1556
1612
  _j = headerParameters;
1557
- _k = "Referer";
1558
- return [4 /*yield*/, this.configuration.apiKey("Referer")];
1613
+ _k = "Sec-Ch-Ua-Platform";
1614
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
1559
1615
  case 9:
1560
- _j[_k] = _10.sent(); // Referer authentication
1561
- _10.label = 10;
1616
+ _j[_k] = _12.sent(); // SecChUaPlatform authentication
1617
+ _12.label = 10;
1562
1618
  case 10:
1563
1619
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
1564
1620
  _l = headerParameters;
1565
- _m = "Sec-Ch-Ua-Platform";
1566
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
1621
+ _m = "Sec-Fetch-Mode";
1622
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
1567
1623
  case 11:
1568
- _l[_m] = _10.sent(); // SecChUaPlatform authentication
1569
- _10.label = 12;
1624
+ _l[_m] = _12.sent(); // SecFetchMode authentication
1625
+ _12.label = 12;
1570
1626
  case 12:
1571
1627
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
1572
1628
  _o = headerParameters;
1573
- _p = "Sec-Fetch-Mode";
1574
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
1629
+ _p = "x-csrf-token";
1630
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
1575
1631
  case 13:
1576
- _o[_p] = _10.sent(); // SecFetchMode authentication
1577
- _10.label = 14;
1632
+ _o[_p] = _12.sent(); // CsrfToken authentication
1633
+ _12.label = 14;
1578
1634
  case 14:
1579
1635
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
1580
1636
  _q = headerParameters;
1581
- _r = "x-csrf-token";
1582
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
1637
+ _r = "x-client-uuid";
1638
+ return [4 /*yield*/, this.configuration.apiKey("x-client-uuid")];
1583
1639
  case 15:
1584
- _q[_r] = _10.sent(); // CsrfToken authentication
1585
- _10.label = 16;
1640
+ _q[_r] = _12.sent(); // ClientUuid authentication
1641
+ _12.label = 16;
1586
1642
  case 16:
1587
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
1588
- _s = headerParameters;
1589
- _t = "x-guest-token";
1590
- return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
1591
- case 17:
1592
- _s[_t] = _10.sent(); // GuestToken authentication
1593
- _10.label = 18;
1594
- case 18:
1595
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
1643
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
1596
1644
  token = this.configuration.accessToken;
1597
1645
  return [4 /*yield*/, token("BearerAuth", [])];
1598
- case 19:
1599
- tokenString = _10.sent();
1646
+ case 17:
1647
+ tokenString = _12.sent();
1600
1648
  if (tokenString) {
1601
1649
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
1602
1650
  }
1603
- _10.label = 20;
1651
+ _12.label = 18;
1652
+ case 18:
1653
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
1654
+ _s = headerParameters;
1655
+ _t = "x-guest-token";
1656
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
1657
+ case 19:
1658
+ _s[_t] = _12.sent(); // GuestToken authentication
1659
+ _12.label = 20;
1604
1660
  case 20:
1605
1661
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
1606
1662
  _u = headerParameters;
1607
1663
  _v = "Sec-Ch-Ua";
1608
1664
  return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
1609
1665
  case 21:
1610
- _u[_v] = _10.sent(); // SecChUa authentication
1611
- _10.label = 22;
1666
+ _u[_v] = _12.sent(); // SecChUa authentication
1667
+ _12.label = 22;
1612
1668
  case 22:
1613
1669
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
1614
1670
  _w = headerParameters;
1615
- _x = "x-twitter-active-user";
1616
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
1671
+ _x = "x-client-transaction-id";
1672
+ return [4 /*yield*/, this.configuration.apiKey("x-client-transaction-id")];
1617
1673
  case 23:
1618
- _w[_x] = _10.sent(); // ActiveUser authentication
1619
- _10.label = 24;
1674
+ _w[_x] = _12.sent(); // ClientTransactionId authentication
1675
+ _12.label = 24;
1620
1676
  case 24:
1621
1677
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
1622
1678
  _y = headerParameters;
1623
- _z = "user-agent";
1624
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
1679
+ _z = "x-twitter-active-user";
1680
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
1625
1681
  case 25:
1626
- _y[_z] = _10.sent(); // UserAgent authentication
1627
- _10.label = 26;
1682
+ _y[_z] = _12.sent(); // ActiveUser authentication
1683
+ _12.label = 26;
1628
1684
  case 26:
1629
1685
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
1630
1686
  _0 = headerParameters;
1631
- _1 = "Accept-Language";
1632
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
1687
+ _1 = "user-agent";
1688
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
1633
1689
  case 27:
1634
- _0[_1] = _10.sent(); // AcceptLanguage authentication
1635
- _10.label = 28;
1690
+ _0[_1] = _12.sent(); // UserAgent authentication
1691
+ _12.label = 28;
1636
1692
  case 28:
1637
1693
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
1638
1694
  _2 = headerParameters;
1639
- _3 = "Sec-Fetch-Site";
1640
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
1695
+ _3 = "Accept-Language";
1696
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
1641
1697
  case 29:
1642
- _2[_3] = _10.sent(); // SecFetchSite authentication
1643
- _10.label = 30;
1698
+ _2[_3] = _12.sent(); // AcceptLanguage authentication
1699
+ _12.label = 30;
1644
1700
  case 30:
1645
1701
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
1646
1702
  _4 = headerParameters;
1647
- _5 = "x-twitter-auth-type";
1648
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
1703
+ _5 = "Sec-Fetch-Site";
1704
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
1649
1705
  case 31:
1650
- _4[_5] = _10.sent(); // AuthType authentication
1651
- _10.label = 32;
1706
+ _4[_5] = _12.sent(); // SecFetchSite authentication
1707
+ _12.label = 32;
1652
1708
  case 32:
1653
1709
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
1654
1710
  _6 = headerParameters;
1655
- _7 = "Sec-Ch-Ua-Mobile";
1656
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
1711
+ _7 = "x-twitter-auth-type";
1712
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
1657
1713
  case 33:
1658
- _6[_7] = _10.sent(); // SecChUaMobile authentication
1659
- _10.label = 34;
1714
+ _6[_7] = _12.sent(); // AuthType authentication
1715
+ _12.label = 34;
1660
1716
  case 34:
1661
1717
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 36];
1662
1718
  _8 = headerParameters;
1663
- _9 = "Accept-Encoding";
1664
- return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
1719
+ _9 = "Sec-Ch-Ua-Mobile";
1720
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
1665
1721
  case 35:
1666
- _8[_9] = _10.sent(); // AcceptEncoding authentication
1667
- _10.label = 36;
1668
- case 36: return [4 /*yield*/, this.request({
1722
+ _8[_9] = _12.sent(); // SecChUaMobile authentication
1723
+ _12.label = 36;
1724
+ case 36:
1725
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 38];
1726
+ _10 = headerParameters;
1727
+ _11 = "Accept-Encoding";
1728
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
1729
+ case 37:
1730
+ _10[_11] = _12.sent(); // AcceptEncoding authentication
1731
+ _12.label = 38;
1732
+ case 38: return [4 /*yield*/, this.request({
1669
1733
  path: "/graphql/{pathQueryId}/UserHighlightsTweets".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
1670
1734
  method: 'GET',
1671
1735
  headers: headerParameters,
1672
1736
  query: queryParameters,
1673
1737
  }, initOverrides)];
1674
- case 37:
1675
- response = _10.sent();
1676
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetUserHighlightsTweets200ResponseFromJSON)(jsonValue); })];
1738
+ case 39:
1739
+ response = _12.sent();
1740
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.UserHighlightsTweetsResponseFromJSON)(jsonValue); })];
1677
1741
  }
1678
1742
  });
1679
1743
  });
@@ -1700,9 +1764,9 @@ var TweetApi = /** @class */ (function (_super) {
1700
1764
  */
1701
1765
  TweetApi.prototype.getUserMediaRaw = function (requestParameters, initOverrides) {
1702
1766
  return __awaiter(this, void 0, void 0, function () {
1703
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
1704
- return __generator(this, function (_10) {
1705
- switch (_10.label) {
1767
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, token, tokenString, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, response;
1768
+ return __generator(this, function (_12) {
1769
+ switch (_12.label) {
1706
1770
  case 0:
1707
1771
  if (requestParameters['pathQueryId'] == null) {
1708
1772
  throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getUserMedia().');
@@ -1729,158 +1793,166 @@ var TweetApi = /** @class */ (function (_super) {
1729
1793
  headerParameters = {};
1730
1794
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
1731
1795
  _a = headerParameters;
1732
- _b = "x-twitter-client-language";
1733
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
1796
+ _b = "Accept";
1797
+ return [4 /*yield*/, this.configuration.apiKey("Accept")];
1734
1798
  case 1:
1735
- _a[_b] = _10.sent(); // ClientLanguage authentication
1736
- _10.label = 2;
1799
+ _a[_b] = _12.sent(); // Accept authentication
1800
+ _12.label = 2;
1737
1801
  case 2:
1738
1802
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 4];
1739
1803
  _c = headerParameters;
1740
- _d = "Accept";
1741
- return [4 /*yield*/, this.configuration.apiKey("Accept")];
1804
+ _d = "x-twitter-client-language";
1805
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
1742
1806
  case 3:
1743
- _c[_d] = _10.sent(); // Accept authentication
1744
- _10.label = 4;
1807
+ _c[_d] = _12.sent(); // ClientLanguage authentication
1808
+ _12.label = 4;
1745
1809
  case 4:
1746
1810
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
1747
1811
  _e = headerParameters;
1748
- _f = "Priority";
1749
- return [4 /*yield*/, this.configuration.apiKey("Priority")];
1812
+ _f = "Referer";
1813
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
1750
1814
  case 5:
1751
- _e[_f] = _10.sent(); // Priority authentication
1752
- _10.label = 6;
1815
+ _e[_f] = _12.sent(); // Referer authentication
1816
+ _12.label = 6;
1753
1817
  case 6:
1754
1818
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
1755
1819
  _g = headerParameters;
1756
1820
  _h = "Sec-Fetch-Dest";
1757
1821
  return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
1758
1822
  case 7:
1759
- _g[_h] = _10.sent(); // SecFetchDest authentication
1760
- _10.label = 8;
1823
+ _g[_h] = _12.sent(); // SecFetchDest authentication
1824
+ _12.label = 8;
1761
1825
  case 8:
1762
1826
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
1763
1827
  _j = headerParameters;
1764
- _k = "Referer";
1765
- return [4 /*yield*/, this.configuration.apiKey("Referer")];
1828
+ _k = "Sec-Ch-Ua-Platform";
1829
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
1766
1830
  case 9:
1767
- _j[_k] = _10.sent(); // Referer authentication
1768
- _10.label = 10;
1831
+ _j[_k] = _12.sent(); // SecChUaPlatform authentication
1832
+ _12.label = 10;
1769
1833
  case 10:
1770
1834
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
1771
1835
  _l = headerParameters;
1772
- _m = "Sec-Ch-Ua-Platform";
1773
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
1836
+ _m = "Sec-Fetch-Mode";
1837
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
1774
1838
  case 11:
1775
- _l[_m] = _10.sent(); // SecChUaPlatform authentication
1776
- _10.label = 12;
1839
+ _l[_m] = _12.sent(); // SecFetchMode authentication
1840
+ _12.label = 12;
1777
1841
  case 12:
1778
1842
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
1779
1843
  _o = headerParameters;
1780
- _p = "Sec-Fetch-Mode";
1781
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
1844
+ _p = "x-csrf-token";
1845
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
1782
1846
  case 13:
1783
- _o[_p] = _10.sent(); // SecFetchMode authentication
1784
- _10.label = 14;
1847
+ _o[_p] = _12.sent(); // CsrfToken authentication
1848
+ _12.label = 14;
1785
1849
  case 14:
1786
1850
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
1787
1851
  _q = headerParameters;
1788
- _r = "x-csrf-token";
1789
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
1852
+ _r = "x-client-uuid";
1853
+ return [4 /*yield*/, this.configuration.apiKey("x-client-uuid")];
1790
1854
  case 15:
1791
- _q[_r] = _10.sent(); // CsrfToken authentication
1792
- _10.label = 16;
1855
+ _q[_r] = _12.sent(); // ClientUuid authentication
1856
+ _12.label = 16;
1793
1857
  case 16:
1794
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
1795
- _s = headerParameters;
1796
- _t = "x-guest-token";
1797
- return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
1798
- case 17:
1799
- _s[_t] = _10.sent(); // GuestToken authentication
1800
- _10.label = 18;
1801
- case 18:
1802
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
1858
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
1803
1859
  token = this.configuration.accessToken;
1804
1860
  return [4 /*yield*/, token("BearerAuth", [])];
1805
- case 19:
1806
- tokenString = _10.sent();
1861
+ case 17:
1862
+ tokenString = _12.sent();
1807
1863
  if (tokenString) {
1808
1864
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
1809
1865
  }
1810
- _10.label = 20;
1866
+ _12.label = 18;
1867
+ case 18:
1868
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
1869
+ _s = headerParameters;
1870
+ _t = "x-guest-token";
1871
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
1872
+ case 19:
1873
+ _s[_t] = _12.sent(); // GuestToken authentication
1874
+ _12.label = 20;
1811
1875
  case 20:
1812
1876
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
1813
1877
  _u = headerParameters;
1814
1878
  _v = "Sec-Ch-Ua";
1815
1879
  return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
1816
1880
  case 21:
1817
- _u[_v] = _10.sent(); // SecChUa authentication
1818
- _10.label = 22;
1881
+ _u[_v] = _12.sent(); // SecChUa authentication
1882
+ _12.label = 22;
1819
1883
  case 22:
1820
1884
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
1821
1885
  _w = headerParameters;
1822
- _x = "x-twitter-active-user";
1823
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
1886
+ _x = "x-client-transaction-id";
1887
+ return [4 /*yield*/, this.configuration.apiKey("x-client-transaction-id")];
1824
1888
  case 23:
1825
- _w[_x] = _10.sent(); // ActiveUser authentication
1826
- _10.label = 24;
1889
+ _w[_x] = _12.sent(); // ClientTransactionId authentication
1890
+ _12.label = 24;
1827
1891
  case 24:
1828
1892
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
1829
1893
  _y = headerParameters;
1830
- _z = "user-agent";
1831
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
1894
+ _z = "x-twitter-active-user";
1895
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
1832
1896
  case 25:
1833
- _y[_z] = _10.sent(); // UserAgent authentication
1834
- _10.label = 26;
1897
+ _y[_z] = _12.sent(); // ActiveUser authentication
1898
+ _12.label = 26;
1835
1899
  case 26:
1836
1900
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
1837
1901
  _0 = headerParameters;
1838
- _1 = "Accept-Language";
1839
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
1902
+ _1 = "user-agent";
1903
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
1840
1904
  case 27:
1841
- _0[_1] = _10.sent(); // AcceptLanguage authentication
1842
- _10.label = 28;
1905
+ _0[_1] = _12.sent(); // UserAgent authentication
1906
+ _12.label = 28;
1843
1907
  case 28:
1844
1908
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
1845
1909
  _2 = headerParameters;
1846
- _3 = "Sec-Fetch-Site";
1847
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
1910
+ _3 = "Accept-Language";
1911
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
1848
1912
  case 29:
1849
- _2[_3] = _10.sent(); // SecFetchSite authentication
1850
- _10.label = 30;
1913
+ _2[_3] = _12.sent(); // AcceptLanguage authentication
1914
+ _12.label = 30;
1851
1915
  case 30:
1852
1916
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
1853
1917
  _4 = headerParameters;
1854
- _5 = "x-twitter-auth-type";
1855
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
1918
+ _5 = "Sec-Fetch-Site";
1919
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
1856
1920
  case 31:
1857
- _4[_5] = _10.sent(); // AuthType authentication
1858
- _10.label = 32;
1921
+ _4[_5] = _12.sent(); // SecFetchSite authentication
1922
+ _12.label = 32;
1859
1923
  case 32:
1860
1924
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
1861
1925
  _6 = headerParameters;
1862
- _7 = "Sec-Ch-Ua-Mobile";
1863
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
1926
+ _7 = "x-twitter-auth-type";
1927
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
1864
1928
  case 33:
1865
- _6[_7] = _10.sent(); // SecChUaMobile authentication
1866
- _10.label = 34;
1929
+ _6[_7] = _12.sent(); // AuthType authentication
1930
+ _12.label = 34;
1867
1931
  case 34:
1868
1932
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 36];
1869
1933
  _8 = headerParameters;
1870
- _9 = "Accept-Encoding";
1871
- return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
1934
+ _9 = "Sec-Ch-Ua-Mobile";
1935
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
1872
1936
  case 35:
1873
- _8[_9] = _10.sent(); // AcceptEncoding authentication
1874
- _10.label = 36;
1875
- case 36: return [4 /*yield*/, this.request({
1937
+ _8[_9] = _12.sent(); // SecChUaMobile authentication
1938
+ _12.label = 36;
1939
+ case 36:
1940
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 38];
1941
+ _10 = headerParameters;
1942
+ _11 = "Accept-Encoding";
1943
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
1944
+ case 37:
1945
+ _10[_11] = _12.sent(); // AcceptEncoding authentication
1946
+ _12.label = 38;
1947
+ case 38: return [4 /*yield*/, this.request({
1876
1948
  path: "/graphql/{pathQueryId}/UserMedia".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
1877
1949
  method: 'GET',
1878
1950
  headers: headerParameters,
1879
1951
  query: queryParameters,
1880
1952
  }, initOverrides)];
1881
- case 37:
1882
- response = _10.sent();
1883
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetLikes200ResponseFromJSON)(jsonValue); })];
1953
+ case 39:
1954
+ response = _12.sent();
1955
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.UserTweetsResponseFromJSON)(jsonValue); })];
1884
1956
  }
1885
1957
  });
1886
1958
  });
@@ -1907,9 +1979,9 @@ var TweetApi = /** @class */ (function (_super) {
1907
1979
  */
1908
1980
  TweetApi.prototype.getUserTweetsRaw = function (requestParameters, initOverrides) {
1909
1981
  return __awaiter(this, void 0, void 0, function () {
1910
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
1911
- return __generator(this, function (_10) {
1912
- switch (_10.label) {
1982
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, token, tokenString, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, response;
1983
+ return __generator(this, function (_12) {
1984
+ switch (_12.label) {
1913
1985
  case 0:
1914
1986
  if (requestParameters['pathQueryId'] == null) {
1915
1987
  throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getUserTweets().');
@@ -1936,158 +2008,166 @@ var TweetApi = /** @class */ (function (_super) {
1936
2008
  headerParameters = {};
1937
2009
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
1938
2010
  _a = headerParameters;
1939
- _b = "x-twitter-client-language";
1940
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
2011
+ _b = "Accept";
2012
+ return [4 /*yield*/, this.configuration.apiKey("Accept")];
1941
2013
  case 1:
1942
- _a[_b] = _10.sent(); // ClientLanguage authentication
1943
- _10.label = 2;
2014
+ _a[_b] = _12.sent(); // Accept authentication
2015
+ _12.label = 2;
1944
2016
  case 2:
1945
2017
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 4];
1946
2018
  _c = headerParameters;
1947
- _d = "Accept";
1948
- return [4 /*yield*/, this.configuration.apiKey("Accept")];
2019
+ _d = "x-twitter-client-language";
2020
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
1949
2021
  case 3:
1950
- _c[_d] = _10.sent(); // Accept authentication
1951
- _10.label = 4;
2022
+ _c[_d] = _12.sent(); // ClientLanguage authentication
2023
+ _12.label = 4;
1952
2024
  case 4:
1953
2025
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
1954
2026
  _e = headerParameters;
1955
- _f = "Priority";
1956
- return [4 /*yield*/, this.configuration.apiKey("Priority")];
2027
+ _f = "Referer";
2028
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
1957
2029
  case 5:
1958
- _e[_f] = _10.sent(); // Priority authentication
1959
- _10.label = 6;
2030
+ _e[_f] = _12.sent(); // Referer authentication
2031
+ _12.label = 6;
1960
2032
  case 6:
1961
2033
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
1962
2034
  _g = headerParameters;
1963
2035
  _h = "Sec-Fetch-Dest";
1964
2036
  return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
1965
2037
  case 7:
1966
- _g[_h] = _10.sent(); // SecFetchDest authentication
1967
- _10.label = 8;
2038
+ _g[_h] = _12.sent(); // SecFetchDest authentication
2039
+ _12.label = 8;
1968
2040
  case 8:
1969
2041
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
1970
2042
  _j = headerParameters;
1971
- _k = "Referer";
1972
- return [4 /*yield*/, this.configuration.apiKey("Referer")];
2043
+ _k = "Sec-Ch-Ua-Platform";
2044
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
1973
2045
  case 9:
1974
- _j[_k] = _10.sent(); // Referer authentication
1975
- _10.label = 10;
2046
+ _j[_k] = _12.sent(); // SecChUaPlatform authentication
2047
+ _12.label = 10;
1976
2048
  case 10:
1977
2049
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
1978
2050
  _l = headerParameters;
1979
- _m = "Sec-Ch-Ua-Platform";
1980
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
2051
+ _m = "Sec-Fetch-Mode";
2052
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
1981
2053
  case 11:
1982
- _l[_m] = _10.sent(); // SecChUaPlatform authentication
1983
- _10.label = 12;
2054
+ _l[_m] = _12.sent(); // SecFetchMode authentication
2055
+ _12.label = 12;
1984
2056
  case 12:
1985
2057
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
1986
2058
  _o = headerParameters;
1987
- _p = "Sec-Fetch-Mode";
1988
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
2059
+ _p = "x-csrf-token";
2060
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
1989
2061
  case 13:
1990
- _o[_p] = _10.sent(); // SecFetchMode authentication
1991
- _10.label = 14;
2062
+ _o[_p] = _12.sent(); // CsrfToken authentication
2063
+ _12.label = 14;
1992
2064
  case 14:
1993
2065
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
1994
2066
  _q = headerParameters;
1995
- _r = "x-csrf-token";
1996
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
2067
+ _r = "x-client-uuid";
2068
+ return [4 /*yield*/, this.configuration.apiKey("x-client-uuid")];
1997
2069
  case 15:
1998
- _q[_r] = _10.sent(); // CsrfToken authentication
1999
- _10.label = 16;
2070
+ _q[_r] = _12.sent(); // ClientUuid authentication
2071
+ _12.label = 16;
2000
2072
  case 16:
2001
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
2002
- _s = headerParameters;
2003
- _t = "x-guest-token";
2004
- return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
2005
- case 17:
2006
- _s[_t] = _10.sent(); // GuestToken authentication
2007
- _10.label = 18;
2008
- case 18:
2009
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
2073
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
2010
2074
  token = this.configuration.accessToken;
2011
2075
  return [4 /*yield*/, token("BearerAuth", [])];
2012
- case 19:
2013
- tokenString = _10.sent();
2076
+ case 17:
2077
+ tokenString = _12.sent();
2014
2078
  if (tokenString) {
2015
2079
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
2016
2080
  }
2017
- _10.label = 20;
2081
+ _12.label = 18;
2082
+ case 18:
2083
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
2084
+ _s = headerParameters;
2085
+ _t = "x-guest-token";
2086
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
2087
+ case 19:
2088
+ _s[_t] = _12.sent(); // GuestToken authentication
2089
+ _12.label = 20;
2018
2090
  case 20:
2019
2091
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
2020
2092
  _u = headerParameters;
2021
2093
  _v = "Sec-Ch-Ua";
2022
2094
  return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
2023
2095
  case 21:
2024
- _u[_v] = _10.sent(); // SecChUa authentication
2025
- _10.label = 22;
2096
+ _u[_v] = _12.sent(); // SecChUa authentication
2097
+ _12.label = 22;
2026
2098
  case 22:
2027
2099
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
2028
2100
  _w = headerParameters;
2029
- _x = "x-twitter-active-user";
2030
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
2101
+ _x = "x-client-transaction-id";
2102
+ return [4 /*yield*/, this.configuration.apiKey("x-client-transaction-id")];
2031
2103
  case 23:
2032
- _w[_x] = _10.sent(); // ActiveUser authentication
2033
- _10.label = 24;
2104
+ _w[_x] = _12.sent(); // ClientTransactionId authentication
2105
+ _12.label = 24;
2034
2106
  case 24:
2035
2107
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
2036
2108
  _y = headerParameters;
2037
- _z = "user-agent";
2038
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
2109
+ _z = "x-twitter-active-user";
2110
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
2039
2111
  case 25:
2040
- _y[_z] = _10.sent(); // UserAgent authentication
2041
- _10.label = 26;
2112
+ _y[_z] = _12.sent(); // ActiveUser authentication
2113
+ _12.label = 26;
2042
2114
  case 26:
2043
2115
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
2044
2116
  _0 = headerParameters;
2045
- _1 = "Accept-Language";
2046
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
2117
+ _1 = "user-agent";
2118
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
2047
2119
  case 27:
2048
- _0[_1] = _10.sent(); // AcceptLanguage authentication
2049
- _10.label = 28;
2120
+ _0[_1] = _12.sent(); // UserAgent authentication
2121
+ _12.label = 28;
2050
2122
  case 28:
2051
2123
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
2052
2124
  _2 = headerParameters;
2053
- _3 = "Sec-Fetch-Site";
2054
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
2125
+ _3 = "Accept-Language";
2126
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
2055
2127
  case 29:
2056
- _2[_3] = _10.sent(); // SecFetchSite authentication
2057
- _10.label = 30;
2128
+ _2[_3] = _12.sent(); // AcceptLanguage authentication
2129
+ _12.label = 30;
2058
2130
  case 30:
2059
2131
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
2060
2132
  _4 = headerParameters;
2061
- _5 = "x-twitter-auth-type";
2062
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
2133
+ _5 = "Sec-Fetch-Site";
2134
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
2063
2135
  case 31:
2064
- _4[_5] = _10.sent(); // AuthType authentication
2065
- _10.label = 32;
2136
+ _4[_5] = _12.sent(); // SecFetchSite authentication
2137
+ _12.label = 32;
2066
2138
  case 32:
2067
2139
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
2068
2140
  _6 = headerParameters;
2069
- _7 = "Sec-Ch-Ua-Mobile";
2070
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
2141
+ _7 = "x-twitter-auth-type";
2142
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
2071
2143
  case 33:
2072
- _6[_7] = _10.sent(); // SecChUaMobile authentication
2073
- _10.label = 34;
2144
+ _6[_7] = _12.sent(); // AuthType authentication
2145
+ _12.label = 34;
2074
2146
  case 34:
2075
2147
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 36];
2076
2148
  _8 = headerParameters;
2077
- _9 = "Accept-Encoding";
2078
- return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
2149
+ _9 = "Sec-Ch-Ua-Mobile";
2150
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
2079
2151
  case 35:
2080
- _8[_9] = _10.sent(); // AcceptEncoding authentication
2081
- _10.label = 36;
2082
- case 36: return [4 /*yield*/, this.request({
2152
+ _8[_9] = _12.sent(); // SecChUaMobile authentication
2153
+ _12.label = 36;
2154
+ case 36:
2155
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 38];
2156
+ _10 = headerParameters;
2157
+ _11 = "Accept-Encoding";
2158
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
2159
+ case 37:
2160
+ _10[_11] = _12.sent(); // AcceptEncoding authentication
2161
+ _12.label = 38;
2162
+ case 38: return [4 /*yield*/, this.request({
2083
2163
  path: "/graphql/{pathQueryId}/UserTweets".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
2084
2164
  method: 'GET',
2085
2165
  headers: headerParameters,
2086
2166
  query: queryParameters,
2087
2167
  }, initOverrides)];
2088
- case 37:
2089
- response = _10.sent();
2090
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetLikes200ResponseFromJSON)(jsonValue); })];
2168
+ case 39:
2169
+ response = _12.sent();
2170
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.UserTweetsResponseFromJSON)(jsonValue); })];
2091
2171
  }
2092
2172
  });
2093
2173
  });
@@ -2114,9 +2194,9 @@ var TweetApi = /** @class */ (function (_super) {
2114
2194
  */
2115
2195
  TweetApi.prototype.getUserTweetsAndRepliesRaw = function (requestParameters, initOverrides) {
2116
2196
  return __awaiter(this, void 0, void 0, function () {
2117
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
2118
- return __generator(this, function (_10) {
2119
- switch (_10.label) {
2197
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, token, tokenString, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, response;
2198
+ return __generator(this, function (_12) {
2199
+ switch (_12.label) {
2120
2200
  case 0:
2121
2201
  if (requestParameters['pathQueryId'] == null) {
2122
2202
  throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getUserTweetsAndReplies().');
@@ -2143,158 +2223,166 @@ var TweetApi = /** @class */ (function (_super) {
2143
2223
  headerParameters = {};
2144
2224
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
2145
2225
  _a = headerParameters;
2146
- _b = "x-twitter-client-language";
2147
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
2226
+ _b = "Accept";
2227
+ return [4 /*yield*/, this.configuration.apiKey("Accept")];
2148
2228
  case 1:
2149
- _a[_b] = _10.sent(); // ClientLanguage authentication
2150
- _10.label = 2;
2229
+ _a[_b] = _12.sent(); // Accept authentication
2230
+ _12.label = 2;
2151
2231
  case 2:
2152
2232
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 4];
2153
2233
  _c = headerParameters;
2154
- _d = "Accept";
2155
- return [4 /*yield*/, this.configuration.apiKey("Accept")];
2234
+ _d = "x-twitter-client-language";
2235
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
2156
2236
  case 3:
2157
- _c[_d] = _10.sent(); // Accept authentication
2158
- _10.label = 4;
2237
+ _c[_d] = _12.sent(); // ClientLanguage authentication
2238
+ _12.label = 4;
2159
2239
  case 4:
2160
2240
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
2161
2241
  _e = headerParameters;
2162
- _f = "Priority";
2163
- return [4 /*yield*/, this.configuration.apiKey("Priority")];
2242
+ _f = "Referer";
2243
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
2164
2244
  case 5:
2165
- _e[_f] = _10.sent(); // Priority authentication
2166
- _10.label = 6;
2245
+ _e[_f] = _12.sent(); // Referer authentication
2246
+ _12.label = 6;
2167
2247
  case 6:
2168
2248
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
2169
2249
  _g = headerParameters;
2170
2250
  _h = "Sec-Fetch-Dest";
2171
2251
  return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
2172
2252
  case 7:
2173
- _g[_h] = _10.sent(); // SecFetchDest authentication
2174
- _10.label = 8;
2253
+ _g[_h] = _12.sent(); // SecFetchDest authentication
2254
+ _12.label = 8;
2175
2255
  case 8:
2176
2256
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
2177
2257
  _j = headerParameters;
2178
- _k = "Referer";
2179
- return [4 /*yield*/, this.configuration.apiKey("Referer")];
2258
+ _k = "Sec-Ch-Ua-Platform";
2259
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
2180
2260
  case 9:
2181
- _j[_k] = _10.sent(); // Referer authentication
2182
- _10.label = 10;
2261
+ _j[_k] = _12.sent(); // SecChUaPlatform authentication
2262
+ _12.label = 10;
2183
2263
  case 10:
2184
2264
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
2185
2265
  _l = headerParameters;
2186
- _m = "Sec-Ch-Ua-Platform";
2187
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
2266
+ _m = "Sec-Fetch-Mode";
2267
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
2188
2268
  case 11:
2189
- _l[_m] = _10.sent(); // SecChUaPlatform authentication
2190
- _10.label = 12;
2269
+ _l[_m] = _12.sent(); // SecFetchMode authentication
2270
+ _12.label = 12;
2191
2271
  case 12:
2192
2272
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
2193
2273
  _o = headerParameters;
2194
- _p = "Sec-Fetch-Mode";
2195
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
2274
+ _p = "x-csrf-token";
2275
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
2196
2276
  case 13:
2197
- _o[_p] = _10.sent(); // SecFetchMode authentication
2198
- _10.label = 14;
2277
+ _o[_p] = _12.sent(); // CsrfToken authentication
2278
+ _12.label = 14;
2199
2279
  case 14:
2200
2280
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
2201
2281
  _q = headerParameters;
2202
- _r = "x-csrf-token";
2203
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
2282
+ _r = "x-client-uuid";
2283
+ return [4 /*yield*/, this.configuration.apiKey("x-client-uuid")];
2204
2284
  case 15:
2205
- _q[_r] = _10.sent(); // CsrfToken authentication
2206
- _10.label = 16;
2285
+ _q[_r] = _12.sent(); // ClientUuid authentication
2286
+ _12.label = 16;
2207
2287
  case 16:
2208
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
2209
- _s = headerParameters;
2210
- _t = "x-guest-token";
2211
- return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
2212
- case 17:
2213
- _s[_t] = _10.sent(); // GuestToken authentication
2214
- _10.label = 18;
2215
- case 18:
2216
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
2288
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
2217
2289
  token = this.configuration.accessToken;
2218
2290
  return [4 /*yield*/, token("BearerAuth", [])];
2219
- case 19:
2220
- tokenString = _10.sent();
2291
+ case 17:
2292
+ tokenString = _12.sent();
2221
2293
  if (tokenString) {
2222
2294
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
2223
2295
  }
2224
- _10.label = 20;
2296
+ _12.label = 18;
2297
+ case 18:
2298
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
2299
+ _s = headerParameters;
2300
+ _t = "x-guest-token";
2301
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
2302
+ case 19:
2303
+ _s[_t] = _12.sent(); // GuestToken authentication
2304
+ _12.label = 20;
2225
2305
  case 20:
2226
2306
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
2227
2307
  _u = headerParameters;
2228
2308
  _v = "Sec-Ch-Ua";
2229
2309
  return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
2230
2310
  case 21:
2231
- _u[_v] = _10.sent(); // SecChUa authentication
2232
- _10.label = 22;
2311
+ _u[_v] = _12.sent(); // SecChUa authentication
2312
+ _12.label = 22;
2233
2313
  case 22:
2234
2314
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
2235
2315
  _w = headerParameters;
2236
- _x = "x-twitter-active-user";
2237
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
2316
+ _x = "x-client-transaction-id";
2317
+ return [4 /*yield*/, this.configuration.apiKey("x-client-transaction-id")];
2238
2318
  case 23:
2239
- _w[_x] = _10.sent(); // ActiveUser authentication
2240
- _10.label = 24;
2319
+ _w[_x] = _12.sent(); // ClientTransactionId authentication
2320
+ _12.label = 24;
2241
2321
  case 24:
2242
2322
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
2243
2323
  _y = headerParameters;
2244
- _z = "user-agent";
2245
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
2324
+ _z = "x-twitter-active-user";
2325
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
2246
2326
  case 25:
2247
- _y[_z] = _10.sent(); // UserAgent authentication
2248
- _10.label = 26;
2327
+ _y[_z] = _12.sent(); // ActiveUser authentication
2328
+ _12.label = 26;
2249
2329
  case 26:
2250
2330
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
2251
2331
  _0 = headerParameters;
2252
- _1 = "Accept-Language";
2253
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
2332
+ _1 = "user-agent";
2333
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
2254
2334
  case 27:
2255
- _0[_1] = _10.sent(); // AcceptLanguage authentication
2256
- _10.label = 28;
2335
+ _0[_1] = _12.sent(); // UserAgent authentication
2336
+ _12.label = 28;
2257
2337
  case 28:
2258
2338
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
2259
2339
  _2 = headerParameters;
2260
- _3 = "Sec-Fetch-Site";
2261
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
2340
+ _3 = "Accept-Language";
2341
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
2262
2342
  case 29:
2263
- _2[_3] = _10.sent(); // SecFetchSite authentication
2264
- _10.label = 30;
2343
+ _2[_3] = _12.sent(); // AcceptLanguage authentication
2344
+ _12.label = 30;
2265
2345
  case 30:
2266
2346
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
2267
2347
  _4 = headerParameters;
2268
- _5 = "x-twitter-auth-type";
2269
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
2348
+ _5 = "Sec-Fetch-Site";
2349
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
2270
2350
  case 31:
2271
- _4[_5] = _10.sent(); // AuthType authentication
2272
- _10.label = 32;
2351
+ _4[_5] = _12.sent(); // SecFetchSite authentication
2352
+ _12.label = 32;
2273
2353
  case 32:
2274
2354
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
2275
2355
  _6 = headerParameters;
2276
- _7 = "Sec-Ch-Ua-Mobile";
2277
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
2356
+ _7 = "x-twitter-auth-type";
2357
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
2278
2358
  case 33:
2279
- _6[_7] = _10.sent(); // SecChUaMobile authentication
2280
- _10.label = 34;
2359
+ _6[_7] = _12.sent(); // AuthType authentication
2360
+ _12.label = 34;
2281
2361
  case 34:
2282
2362
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 36];
2283
2363
  _8 = headerParameters;
2284
- _9 = "Accept-Encoding";
2285
- return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
2364
+ _9 = "Sec-Ch-Ua-Mobile";
2365
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
2286
2366
  case 35:
2287
- _8[_9] = _10.sent(); // AcceptEncoding authentication
2288
- _10.label = 36;
2289
- case 36: return [4 /*yield*/, this.request({
2367
+ _8[_9] = _12.sent(); // SecChUaMobile authentication
2368
+ _12.label = 36;
2369
+ case 36:
2370
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 38];
2371
+ _10 = headerParameters;
2372
+ _11 = "Accept-Encoding";
2373
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
2374
+ case 37:
2375
+ _10[_11] = _12.sent(); // AcceptEncoding authentication
2376
+ _12.label = 38;
2377
+ case 38: return [4 /*yield*/, this.request({
2290
2378
  path: "/graphql/{pathQueryId}/UserTweetsAndReplies".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
2291
2379
  method: 'GET',
2292
2380
  headers: headerParameters,
2293
2381
  query: queryParameters,
2294
2382
  }, initOverrides)];
2295
- case 37:
2296
- response = _10.sent();
2297
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetLikes200ResponseFromJSON)(jsonValue); })];
2383
+ case 39:
2384
+ response = _12.sent();
2385
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.UserTweetsResponseFromJSON)(jsonValue); })];
2298
2386
  }
2299
2387
  });
2300
2388
  });