twitter-openapi-typescript-generated 0.0.39 → 0.0.41

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 (2434) hide show
  1. package/LICENSE +31 -31
  2. package/LICENSE.AGPL +660 -660
  3. package/README.md +152 -6
  4. package/dist/apis/DefaultApi.d.ts +21 -1
  5. package/dist/apis/DefaultApi.js +215 -505
  6. package/dist/apis/OtherApi.d.ts +0 -1
  7. package/dist/apis/OtherApi.js +90 -259
  8. package/dist/apis/PostApi.d.ts +190 -1
  9. package/dist/apis/PostApi.js +1434 -1792
  10. package/dist/apis/TweetApi.d.ts +419 -1
  11. package/dist/apis/TweetApi.js +2681 -3463
  12. package/dist/apis/UserApi.d.ts +90 -1
  13. package/dist/apis/UserApi.js +542 -502
  14. package/dist/apis/UserListApi.d.ts +232 -1
  15. package/dist/apis/UserListApi.js +1324 -1167
  16. package/dist/apis/UsersApi.d.ts +9 -1
  17. package/dist/apis/UsersApi.js +106 -275
  18. package/dist/apis/V11GetApi.d.ts +69 -1
  19. package/dist/apis/V11GetApi.js +311 -599
  20. package/dist/apis/V11PostApi.d.ts +84 -1
  21. package/dist/apis/V11PostApi.js +369 -653
  22. package/dist/apis/V20GetApi.d.ts +111 -1
  23. package/dist/apis/V20GetApi.js +310 -478
  24. package/dist/apis/index.d.ts +0 -1
  25. package/dist/apis/index.js +0 -1
  26. package/dist/esm/apis/DefaultApi.d.ts +75 -0
  27. package/dist/esm/apis/DefaultApi.js +266 -0
  28. package/dist/esm/apis/OtherApi.d.ts +30 -0
  29. package/dist/esm/apis/OtherApi.js +128 -0
  30. package/dist/esm/apis/PostApi.d.ts +351 -0
  31. package/dist/esm/apis/PostApi.js +1566 -0
  32. package/dist/esm/apis/TweetApi.d.ts +708 -0
  33. package/dist/esm/apis/TweetApi.js +2881 -0
  34. package/dist/esm/apis/UserApi.d.ts +143 -0
  35. package/dist/esm/apis/UserApi.js +595 -0
  36. package/dist/esm/apis/UserListApi.d.ts +337 -0
  37. package/dist/esm/apis/UserListApi.js +1416 -0
  38. package/dist/esm/apis/UsersApi.d.ts +44 -0
  39. package/dist/esm/apis/UsersApi.js +144 -0
  40. package/dist/esm/apis/V11GetApi.d.ts +137 -0
  41. package/dist/esm/apis/V11GetApi.js +362 -0
  42. package/dist/esm/apis/V11PostApi.d.ts +157 -0
  43. package/dist/esm/apis/V11PostApi.js +420 -0
  44. package/dist/esm/apis/V20GetApi.d.ts +179 -0
  45. package/dist/esm/apis/V20GetApi.js +348 -0
  46. package/dist/esm/apis/index.d.ts +10 -0
  47. package/dist/esm/apis/index.js +12 -0
  48. package/dist/esm/index.d.ts +3 -0
  49. package/dist/esm/index.js +5 -0
  50. package/dist/esm/models/AboutCommunityResult.d.ts +36 -0
  51. package/dist/esm/models/AboutCommunityResult.js +49 -0
  52. package/dist/esm/models/AboutCommunityResults.d.ts +31 -0
  53. package/dist/esm/models/AboutCommunityResults.js +44 -0
  54. package/dist/esm/models/AboutCommunityTweetData.d.ts +31 -0
  55. package/dist/esm/models/AboutCommunityTweetData.js +44 -0
  56. package/dist/esm/models/AdditionalMediaInfo.d.ts +52 -0
  57. package/dist/esm/models/AdditionalMediaInfo.js +55 -0
  58. package/dist/esm/models/AdditionalMediaInfoCallToActions.d.ts +35 -0
  59. package/dist/esm/models/AdditionalMediaInfoCallToActions.js +44 -0
  60. package/dist/esm/models/AdditionalMediaInfoCallToActionsUrl.d.ts +30 -0
  61. package/dist/esm/models/AdditionalMediaInfoCallToActionsUrl.js +43 -0
  62. package/dist/esm/models/AllowDownloadStatus.d.ts +30 -0
  63. package/dist/esm/models/AllowDownloadStatus.js +41 -0
  64. package/dist/esm/models/AnalysisResults.d.ts +31 -0
  65. package/dist/esm/models/AnalysisResults.js +44 -0
  66. package/dist/esm/models/Article.d.ts +31 -0
  67. package/dist/esm/models/Article.js +44 -0
  68. package/dist/esm/models/ArticleCoverMedia.d.ts +43 -0
  69. package/dist/esm/models/ArticleCoverMedia.js +56 -0
  70. package/dist/esm/models/ArticleCoverMediaColorInfo.d.ts +31 -0
  71. package/dist/esm/models/ArticleCoverMediaColorInfo.js +44 -0
  72. package/dist/esm/models/ArticleCoverMediaColorInfoPalette.d.ts +35 -0
  73. package/dist/esm/models/ArticleCoverMediaColorInfoPalette.js +48 -0
  74. package/dist/esm/models/ArticleCoverMediaColorInfoPaletteRGB.d.ts +38 -0
  75. package/dist/esm/models/ArticleCoverMediaColorInfoPaletteRGB.js +51 -0
  76. package/dist/esm/models/ArticleCoverMediaInfo.d.ts +48 -0
  77. package/dist/esm/models/ArticleCoverMediaInfo.js +59 -0
  78. package/dist/esm/models/ArticleLifecycleState.d.ts +30 -0
  79. package/dist/esm/models/ArticleLifecycleState.js +43 -0
  80. package/dist/esm/models/ArticleMetadata.d.ts +30 -0
  81. package/dist/esm/models/ArticleMetadata.js +43 -0
  82. package/dist/esm/models/ArticlePreview.d.ts +43 -0
  83. package/dist/esm/models/ArticlePreview.js +54 -0
  84. package/dist/esm/models/ArticleResult.d.ts +71 -0
  85. package/dist/esm/models/ArticleResult.js +72 -0
  86. package/dist/esm/models/ArticleResults.d.ts +31 -0
  87. package/dist/esm/models/ArticleResults.js +44 -0
  88. package/dist/esm/models/AuthorCommunityRelationship.d.ts +50 -0
  89. package/dist/esm/models/AuthorCommunityRelationship.js +58 -0
  90. package/dist/esm/models/BadgeCounts.d.ts +46 -0
  91. package/dist/esm/models/BadgeCounts.js +59 -0
  92. package/dist/esm/models/BirdwatchEntity.d.ts +39 -0
  93. package/dist/esm/models/BirdwatchEntity.js +52 -0
  94. package/dist/esm/models/BirdwatchEntityRef.d.ts +61 -0
  95. package/dist/esm/models/BirdwatchEntityRef.js +64 -0
  96. package/dist/esm/models/BirdwatchPivot.d.ts +97 -0
  97. package/dist/esm/models/BirdwatchPivot.js +91 -0
  98. package/dist/esm/models/BirdwatchPivotCallToAction.d.ts +38 -0
  99. package/dist/esm/models/BirdwatchPivotCallToAction.js +51 -0
  100. package/dist/esm/models/BirdwatchPivotFooter.d.ts +35 -0
  101. package/dist/esm/models/BirdwatchPivotFooter.js +48 -0
  102. package/dist/esm/models/BirdwatchPivotNote.d.ts +43 -0
  103. package/dist/esm/models/BirdwatchPivotNote.js +50 -0
  104. package/dist/esm/models/BirdwatchPivotSubtitle.d.ts +35 -0
  105. package/dist/esm/models/BirdwatchPivotSubtitle.js +48 -0
  106. package/dist/esm/models/BookmarksResponse.d.ts +36 -0
  107. package/dist/esm/models/BookmarksResponse.js +45 -0
  108. package/dist/esm/models/BookmarksResponseData.d.ts +31 -0
  109. package/dist/esm/models/BookmarksResponseData.js +44 -0
  110. package/dist/esm/models/BookmarksTimeline.d.ts +31 -0
  111. package/dist/esm/models/BookmarksTimeline.js +44 -0
  112. package/dist/esm/models/Callback.d.ts +30 -0
  113. package/dist/esm/models/Callback.js +43 -0
  114. package/dist/esm/models/CashtagAttachment.d.ts +30 -0
  115. package/dist/esm/models/CashtagAttachment.js +43 -0
  116. package/dist/esm/models/ClientEventInfo.d.ts +40 -0
  117. package/dist/esm/models/ClientEventInfo.js +45 -0
  118. package/dist/esm/models/CommunitiesActions.d.ts +30 -0
  119. package/dist/esm/models/CommunitiesActions.js +43 -0
  120. package/dist/esm/models/Community.d.ts +167 -0
  121. package/dist/esm/models/Community.js +121 -0
  122. package/dist/esm/models/CommunityAboutTimelineResponse.d.ts +36 -0
  123. package/dist/esm/models/CommunityAboutTimelineResponse.js +47 -0
  124. package/dist/esm/models/CommunityActions.d.ts +51 -0
  125. package/dist/esm/models/CommunityActions.js +54 -0
  126. package/dist/esm/models/CommunityDeleteActionResult.d.ts +42 -0
  127. package/dist/esm/models/CommunityDeleteActionResult.js +56 -0
  128. package/dist/esm/models/CommunityDiscoveryTimelineResponse.d.ts +36 -0
  129. package/dist/esm/models/CommunityDiscoveryTimelineResponse.js +47 -0
  130. package/dist/esm/models/CommunityDiscoveryTimelineResponseData.d.ts +31 -0
  131. package/dist/esm/models/CommunityDiscoveryTimelineResponseData.js +44 -0
  132. package/dist/esm/models/CommunityDiscoveryTimelineViewer.d.ts +31 -0
  133. package/dist/esm/models/CommunityDiscoveryTimelineViewer.js +44 -0
  134. package/dist/esm/models/CommunityInvitesResult.d.ts +46 -0
  135. package/dist/esm/models/CommunityInvitesResult.js +60 -0
  136. package/dist/esm/models/CommunityJoinAction.d.ts +31 -0
  137. package/dist/esm/models/CommunityJoinAction.js +44 -0
  138. package/dist/esm/models/CommunityJoinActionResultUnion.d.ts +27 -0
  139. package/dist/esm/models/CommunityJoinActionResultUnion.js +47 -0
  140. package/dist/esm/models/CommunityJoinActionUnavailable.d.ts +46 -0
  141. package/dist/esm/models/CommunityJoinActionUnavailable.js +60 -0
  142. package/dist/esm/models/CommunityJoinRequestsResult.d.ts +31 -0
  143. package/dist/esm/models/CommunityJoinRequestsResult.js +44 -0
  144. package/dist/esm/models/CommunityLeaveActionResult.d.ts +46 -0
  145. package/dist/esm/models/CommunityLeaveActionResult.js +60 -0
  146. package/dist/esm/models/CommunityMediaTimelineResponse.d.ts +36 -0
  147. package/dist/esm/models/CommunityMediaTimelineResponse.js +47 -0
  148. package/dist/esm/models/CommunityPinActionResult.d.ts +31 -0
  149. package/dist/esm/models/CommunityPinActionResult.js +44 -0
  150. package/dist/esm/models/CommunityRelationship.d.ts +45 -0
  151. package/dist/esm/models/CommunityRelationship.js +56 -0
  152. package/dist/esm/models/CommunityResult.d.ts +31 -0
  153. package/dist/esm/models/CommunityResult.js +44 -0
  154. package/dist/esm/models/CommunityRule.d.ts +38 -0
  155. package/dist/esm/models/CommunityRule.js +49 -0
  156. package/dist/esm/models/CommunityTweetsTimelineResponse.d.ts +36 -0
  157. package/dist/esm/models/CommunityTweetsTimelineResponse.js +47 -0
  158. package/dist/esm/models/CommunityUnavailable.d.ts +31 -0
  159. package/dist/esm/models/CommunityUnavailable.js +44 -0
  160. package/dist/esm/models/CommunityUnion.d.ts +27 -0
  161. package/dist/esm/models/CommunityUnion.js +47 -0
  162. package/dist/esm/models/CommunityUnpinActionResult.d.ts +31 -0
  163. package/dist/esm/models/CommunityUnpinActionResult.js +44 -0
  164. package/dist/esm/models/CommunityUrls.d.ts +31 -0
  165. package/dist/esm/models/CommunityUrls.js +44 -0
  166. package/dist/esm/models/CommunityUrlsPermalink.d.ts +30 -0
  167. package/dist/esm/models/CommunityUrlsPermalink.js +43 -0
  168. package/dist/esm/models/ConnectTabTimelineResponse.d.ts +36 -0
  169. package/dist/esm/models/ConnectTabTimelineResponse.js +47 -0
  170. package/dist/esm/models/ConnectTabTimelineResponseData.d.ts +31 -0
  171. package/dist/esm/models/ConnectTabTimelineResponseData.js +44 -0
  172. package/dist/esm/models/ContentDisclosure.d.ts +36 -0
  173. package/dist/esm/models/ContentDisclosure.js +45 -0
  174. package/dist/esm/models/ContentDisclosureAdvertisingDisclosure.d.ts +30 -0
  175. package/dist/esm/models/ContentDisclosureAdvertisingDisclosure.js +43 -0
  176. package/dist/esm/models/ContentDisclosureAiGeneratedDisclosure.d.ts +48 -0
  177. package/dist/esm/models/ContentDisclosureAiGeneratedDisclosure.js +58 -0
  178. package/dist/esm/models/ContentEntryType.d.ts +26 -0
  179. package/dist/esm/models/ContentEntryType.js +44 -0
  180. package/dist/esm/models/ContentItemType.d.ts +35 -0
  181. package/dist/esm/models/ContentItemType.js +53 -0
  182. package/dist/esm/models/ContentUnion.d.ts +30 -0
  183. package/dist/esm/models/ContentUnion.js +52 -0
  184. package/dist/esm/models/ConversationControl.d.ts +39 -0
  185. package/dist/esm/models/ConversationControl.js +51 -0
  186. package/dist/esm/models/CoverCta.d.ts +56 -0
  187. package/dist/esm/models/CoverCta.js +64 -0
  188. package/dist/esm/models/CreateBookmarkResponse.d.ts +36 -0
  189. package/dist/esm/models/CreateBookmarkResponse.js +47 -0
  190. package/dist/esm/models/CreateBookmarkResponseData.d.ts +30 -0
  191. package/dist/esm/models/CreateBookmarkResponseData.js +41 -0
  192. package/dist/esm/models/CreateDraftTweetResponse.d.ts +36 -0
  193. package/dist/esm/models/CreateDraftTweetResponse.js +47 -0
  194. package/dist/esm/models/CreateDraftTweetResponseData.d.ts +31 -0
  195. package/dist/esm/models/CreateDraftTweetResponseData.js +44 -0
  196. package/dist/esm/models/CreateDraftTweetResponseTweet.d.ts +30 -0
  197. package/dist/esm/models/CreateDraftTweetResponseTweet.js +43 -0
  198. package/dist/esm/models/CreateRetweet.d.ts +31 -0
  199. package/dist/esm/models/CreateRetweet.js +44 -0
  200. package/dist/esm/models/CreateRetweetResponse.d.ts +36 -0
  201. package/dist/esm/models/CreateRetweetResponse.js +47 -0
  202. package/dist/esm/models/CreateRetweetResponseData.d.ts +31 -0
  203. package/dist/esm/models/CreateRetweetResponseData.js +42 -0
  204. package/dist/esm/models/CreateRetweetResponseResult.d.ts +31 -0
  205. package/dist/esm/models/CreateRetweetResponseResult.js +44 -0
  206. package/dist/esm/models/CreateTweet.d.ts +31 -0
  207. package/dist/esm/models/CreateTweet.js +44 -0
  208. package/dist/esm/models/CreateTweetResponse.d.ts +36 -0
  209. package/dist/esm/models/CreateTweetResponse.js +47 -0
  210. package/dist/esm/models/CreateTweetResponseData.d.ts +31 -0
  211. package/dist/esm/models/CreateTweetResponseData.js +42 -0
  212. package/dist/esm/models/CreateTweetResponseResult.d.ts +31 -0
  213. package/dist/esm/models/CreateTweetResponseResult.js +44 -0
  214. package/dist/esm/models/CtaClientEventInfo.d.ts +37 -0
  215. package/dist/esm/models/CtaClientEventInfo.js +51 -0
  216. package/dist/esm/models/CursorType.d.ts +29 -0
  217. package/dist/esm/models/CursorType.js +47 -0
  218. package/dist/esm/models/DeleteBookmarkResponse.d.ts +36 -0
  219. package/dist/esm/models/DeleteBookmarkResponse.js +47 -0
  220. package/dist/esm/models/DeleteBookmarkResponseData.d.ts +30 -0
  221. package/dist/esm/models/DeleteBookmarkResponseData.js +41 -0
  222. package/dist/esm/models/DeleteDraftTweetsResponse.d.ts +36 -0
  223. package/dist/esm/models/DeleteDraftTweetsResponse.js +47 -0
  224. package/dist/esm/models/DeleteDraftTweetsResponseData.d.ts +30 -0
  225. package/dist/esm/models/DeleteDraftTweetsResponseData.js +43 -0
  226. package/dist/esm/models/DeleteListResponse.d.ts +36 -0
  227. package/dist/esm/models/DeleteListResponse.js +47 -0
  228. package/dist/esm/models/DeleteListResponseData.d.ts +30 -0
  229. package/dist/esm/models/DeleteListResponseData.js +43 -0
  230. package/dist/esm/models/DeleteRetweet.d.ts +31 -0
  231. package/dist/esm/models/DeleteRetweet.js +44 -0
  232. package/dist/esm/models/DeleteRetweetResponse.d.ts +36 -0
  233. package/dist/esm/models/DeleteRetweetResponse.js +47 -0
  234. package/dist/esm/models/DeleteRetweetResponseData.d.ts +31 -0
  235. package/dist/esm/models/DeleteRetweetResponseData.js +42 -0
  236. package/dist/esm/models/DeleteRetweetResponseResult.d.ts +31 -0
  237. package/dist/esm/models/DeleteRetweetResponseResult.js +42 -0
  238. package/dist/esm/models/DeleteTweetResponse.d.ts +36 -0
  239. package/dist/esm/models/DeleteTweetResponse.js +47 -0
  240. package/dist/esm/models/DeleteTweetResponseData.d.ts +31 -0
  241. package/dist/esm/models/DeleteTweetResponseData.js +42 -0
  242. package/dist/esm/models/DeleteTweetResponseResult.d.ts +30 -0
  243. package/dist/esm/models/DeleteTweetResponseResult.js +43 -0
  244. package/dist/esm/models/DisplayTreatment.d.ts +34 -0
  245. package/dist/esm/models/DisplayTreatment.js +45 -0
  246. package/dist/esm/models/DisplayType.d.ts +27 -0
  247. package/dist/esm/models/DisplayType.js +45 -0
  248. package/dist/esm/models/DraftList.d.ts +31 -0
  249. package/dist/esm/models/DraftList.js +44 -0
  250. package/dist/esm/models/DraftTweet.d.ts +40 -0
  251. package/dist/esm/models/DraftTweet.js +53 -0
  252. package/dist/esm/models/DraftTweetCreateRequest.d.ts +52 -0
  253. package/dist/esm/models/DraftTweetCreateRequest.js +63 -0
  254. package/dist/esm/models/DraftTweetUser.d.ts +35 -0
  255. package/dist/esm/models/DraftTweetUser.js +48 -0
  256. package/dist/esm/models/DraftTweetUserResults.d.ts +31 -0
  257. package/dist/esm/models/DraftTweetUserResults.js +44 -0
  258. package/dist/esm/models/DraftTweetsViewer.d.ts +31 -0
  259. package/dist/esm/models/DraftTweetsViewer.js +44 -0
  260. package/dist/esm/models/Entities.d.ts +64 -0
  261. package/dist/esm/models/Entities.js +57 -0
  262. package/dist/esm/models/ErrorExtensions.d.ts +51 -0
  263. package/dist/esm/models/ErrorExtensions.js +60 -0
  264. package/dist/esm/models/ErrorResponse.d.ts +70 -0
  265. package/dist/esm/models/ErrorResponse.js +79 -0
  266. package/dist/esm/models/ErrorResponsePathInner.d.ts +21 -0
  267. package/dist/esm/models/ErrorResponsePathInner.js +43 -0
  268. package/dist/esm/models/ExplorePage.d.ts +35 -0
  269. package/dist/esm/models/ExplorePage.js +48 -0
  270. package/dist/esm/models/ExplorePageBody.d.ts +40 -0
  271. package/dist/esm/models/ExplorePageBody.js +53 -0
  272. package/dist/esm/models/ExplorePageResponse.d.ts +36 -0
  273. package/dist/esm/models/ExplorePageResponse.js +47 -0
  274. package/dist/esm/models/ExplorePageResponseData.d.ts +31 -0
  275. package/dist/esm/models/ExplorePageResponseData.js +44 -0
  276. package/dist/esm/models/ExploreTimeline.d.ts +48 -0
  277. package/dist/esm/models/ExploreTimeline.js +61 -0
  278. package/dist/esm/models/ExploreTimelineScribeConfig.d.ts +34 -0
  279. package/dist/esm/models/ExploreTimelineScribeConfig.js +47 -0
  280. package/dist/esm/models/ExtMediaAvailability.d.ts +42 -0
  281. package/dist/esm/models/ExtMediaAvailability.js +50 -0
  282. package/dist/esm/models/ExtendedEntities.d.ts +31 -0
  283. package/dist/esm/models/ExtendedEntities.js +44 -0
  284. package/dist/esm/models/FavoriteTweet.d.ts +30 -0
  285. package/dist/esm/models/FavoriteTweet.js +41 -0
  286. package/dist/esm/models/FavoriteTweetResponse.d.ts +36 -0
  287. package/dist/esm/models/FavoriteTweetResponse.js +47 -0
  288. package/dist/esm/models/FeedbackInfo.d.ts +35 -0
  289. package/dist/esm/models/FeedbackInfo.js +44 -0
  290. package/dist/esm/models/FetchDraftTweetsResponse.d.ts +36 -0
  291. package/dist/esm/models/FetchDraftTweetsResponse.js +47 -0
  292. package/dist/esm/models/FetchDraftTweetsResponseData.d.ts +31 -0
  293. package/dist/esm/models/FetchDraftTweetsResponseData.js +44 -0
  294. package/dist/esm/models/FetchScheduledTweetsResponse.d.ts +36 -0
  295. package/dist/esm/models/FetchScheduledTweetsResponse.js +47 -0
  296. package/dist/esm/models/FetchScheduledTweetsResponseData.d.ts +31 -0
  297. package/dist/esm/models/FetchScheduledTweetsResponseData.js +44 -0
  298. package/dist/esm/models/FollowResponse.d.ts +36 -0
  299. package/dist/esm/models/FollowResponse.js +47 -0
  300. package/dist/esm/models/FollowResponseData.d.ts +31 -0
  301. package/dist/esm/models/FollowResponseData.js +42 -0
  302. package/dist/esm/models/FollowResponseResult.d.ts +36 -0
  303. package/dist/esm/models/FollowResponseResult.js +49 -0
  304. package/dist/esm/models/FollowResponseUser.d.ts +31 -0
  305. package/dist/esm/models/FollowResponseUser.js +44 -0
  306. package/dist/esm/models/FollowTimeline.d.ts +31 -0
  307. package/dist/esm/models/FollowTimeline.js +44 -0
  308. package/dist/esm/models/GenericTimelineByIdResponse.d.ts +36 -0
  309. package/dist/esm/models/GenericTimelineByIdResponse.js +47 -0
  310. package/dist/esm/models/GenericTimelineByIdResponseData.d.ts +31 -0
  311. package/dist/esm/models/GenericTimelineByIdResponseData.js +44 -0
  312. package/dist/esm/models/GrokAnnotation.d.ts +30 -0
  313. package/dist/esm/models/GrokAnnotation.js +41 -0
  314. package/dist/esm/models/GrokEntity.d.ts +39 -0
  315. package/dist/esm/models/GrokEntity.js +52 -0
  316. package/dist/esm/models/GrokEntityRef.d.ts +65 -0
  317. package/dist/esm/models/GrokEntityRef.js +66 -0
  318. package/dist/esm/models/GrokImageAnnotation.d.ts +34 -0
  319. package/dist/esm/models/GrokImageAnnotation.js +47 -0
  320. package/dist/esm/models/GrokShareAttachment.d.ts +31 -0
  321. package/dist/esm/models/GrokShareAttachment.js +44 -0
  322. package/dist/esm/models/GrokShareAttachmentItem.d.ts +45 -0
  323. package/dist/esm/models/GrokShareAttachmentItem.js +52 -0
  324. package/dist/esm/models/GrokTranslatedBio.d.ts +43 -0
  325. package/dist/esm/models/GrokTranslatedBio.js +56 -0
  326. package/dist/esm/models/GrokTranslatedBioWithAvailability.d.ts +35 -0
  327. package/dist/esm/models/GrokTranslatedBioWithAvailability.js +46 -0
  328. package/dist/esm/models/GrokTranslatedCommunityNote.d.ts +47 -0
  329. package/dist/esm/models/GrokTranslatedCommunityNote.js +58 -0
  330. package/dist/esm/models/GrokTranslatedCommunityNoteWithAvailability.d.ts +35 -0
  331. package/dist/esm/models/GrokTranslatedCommunityNoteWithAvailability.js +46 -0
  332. package/dist/esm/models/GrokTranslatedPost.d.ts +53 -0
  333. package/dist/esm/models/GrokTranslatedPost.js +52 -0
  334. package/dist/esm/models/GrokTranslatedPostWithAvailability.d.ts +35 -0
  335. package/dist/esm/models/GrokTranslatedPostWithAvailability.js +46 -0
  336. package/dist/esm/models/Highlight.d.ts +31 -0
  337. package/dist/esm/models/Highlight.js +44 -0
  338. package/dist/esm/models/HomeTimelineHome.d.ts +31 -0
  339. package/dist/esm/models/HomeTimelineHome.js +44 -0
  340. package/dist/esm/models/HomeTimelineResponseData.d.ts +31 -0
  341. package/dist/esm/models/HomeTimelineResponseData.js +44 -0
  342. package/dist/esm/models/InstructionType.d.ts +33 -0
  343. package/dist/esm/models/InstructionType.js +51 -0
  344. package/dist/esm/models/InstructionUnion.d.ts +51 -0
  345. package/dist/esm/models/InstructionUnion.js +87 -0
  346. package/dist/esm/models/ItemContentUnion.d.ts +57 -0
  347. package/dist/esm/models/ItemContentUnion.js +97 -0
  348. package/dist/esm/models/ItemResult.d.ts +36 -0
  349. package/dist/esm/models/ItemResult.js +45 -0
  350. package/dist/esm/models/LimitedActionResultsData.d.ts +50 -0
  351. package/dist/esm/models/LimitedActionResultsData.js +62 -0
  352. package/dist/esm/models/ListBannerMedia.d.ts +31 -0
  353. package/dist/esm/models/ListBannerMedia.js +44 -0
  354. package/dist/esm/models/ListBannerMediaInfo.d.ts +43 -0
  355. package/dist/esm/models/ListBannerMediaInfo.js +56 -0
  356. package/dist/esm/models/ListBannerMediaSalientRect.d.ts +42 -0
  357. package/dist/esm/models/ListBannerMediaSalientRect.js +55 -0
  358. package/dist/esm/models/ListLatestTweetsTimelineResponse.d.ts +36 -0
  359. package/dist/esm/models/ListLatestTweetsTimelineResponse.js +47 -0
  360. package/dist/esm/models/ListMembersList.d.ts +31 -0
  361. package/dist/esm/models/ListMembersList.js +44 -0
  362. package/dist/esm/models/ListMembersResponse.d.ts +36 -0
  363. package/dist/esm/models/ListMembersResponse.js +47 -0
  364. package/dist/esm/models/ListMembersResponseData.d.ts +31 -0
  365. package/dist/esm/models/ListMembersResponseData.js +44 -0
  366. package/dist/esm/models/ListRecommendedUsersList.d.ts +31 -0
  367. package/dist/esm/models/ListRecommendedUsersList.js +44 -0
  368. package/dist/esm/models/ListRecommendedUsersResponse.d.ts +36 -0
  369. package/dist/esm/models/ListRecommendedUsersResponse.js +47 -0
  370. package/dist/esm/models/ListRecommendedUsersResponseData.d.ts +31 -0
  371. package/dist/esm/models/ListRecommendedUsersResponseData.js +44 -0
  372. package/dist/esm/models/ListResponse.d.ts +36 -0
  373. package/dist/esm/models/ListResponse.js +47 -0
  374. package/dist/esm/models/ListResponseData.d.ts +31 -0
  375. package/dist/esm/models/ListResponseData.js +44 -0
  376. package/dist/esm/models/ListSubscribersList.d.ts +31 -0
  377. package/dist/esm/models/ListSubscribersList.js +44 -0
  378. package/dist/esm/models/ListSubscribersResponse.d.ts +36 -0
  379. package/dist/esm/models/ListSubscribersResponse.js +47 -0
  380. package/dist/esm/models/ListSubscribersResponseData.d.ts +31 -0
  381. package/dist/esm/models/ListSubscribersResponseData.js +44 -0
  382. package/dist/esm/models/ListTweetsTimelineData.d.ts +31 -0
  383. package/dist/esm/models/ListTweetsTimelineData.js +44 -0
  384. package/dist/esm/models/ListTweetsTimelineList.d.ts +31 -0
  385. package/dist/esm/models/ListTweetsTimelineList.js +44 -0
  386. package/dist/esm/models/Location.d.ts +34 -0
  387. package/dist/esm/models/Location.js +47 -0
  388. package/dist/esm/models/Media.d.ts +132 -0
  389. package/dist/esm/models/Media.js +122 -0
  390. package/dist/esm/models/MediaCommunityResult.d.ts +36 -0
  391. package/dist/esm/models/MediaCommunityResult.js +49 -0
  392. package/dist/esm/models/MediaCommunityResults.d.ts +31 -0
  393. package/dist/esm/models/MediaCommunityResults.js +44 -0
  394. package/dist/esm/models/MediaCommunityTweetData.d.ts +31 -0
  395. package/dist/esm/models/MediaCommunityTweetData.js +44 -0
  396. package/dist/esm/models/MediaExtended.d.ts +137 -0
  397. package/dist/esm/models/MediaExtended.js +123 -0
  398. package/dist/esm/models/MediaOriginalInfo.d.ts +39 -0
  399. package/dist/esm/models/MediaOriginalInfo.js +50 -0
  400. package/dist/esm/models/MediaOriginalInfoFocusRect.d.ts +42 -0
  401. package/dist/esm/models/MediaOriginalInfoFocusRect.js +55 -0
  402. package/dist/esm/models/MediaResult.d.ts +35 -0
  403. package/dist/esm/models/MediaResult.js +46 -0
  404. package/dist/esm/models/MediaResults.d.ts +31 -0
  405. package/dist/esm/models/MediaResults.js +44 -0
  406. package/dist/esm/models/MediaSize.d.ts +46 -0
  407. package/dist/esm/models/MediaSize.js +58 -0
  408. package/dist/esm/models/MediaSizes.d.ts +43 -0
  409. package/dist/esm/models/MediaSizes.js +56 -0
  410. package/dist/esm/models/MediaStats.d.ts +30 -0
  411. package/dist/esm/models/MediaStats.js +43 -0
  412. package/dist/esm/models/MediaVideoInfo.d.ts +39 -0
  413. package/dist/esm/models/MediaVideoInfo.js +50 -0
  414. package/dist/esm/models/MediaVideoInfoVariant.d.ts +38 -0
  415. package/dist/esm/models/MediaVideoInfoVariant.js +49 -0
  416. package/dist/esm/models/MediaVisibilityResults.d.ts +31 -0
  417. package/dist/esm/models/MediaVisibilityResults.js +44 -0
  418. package/dist/esm/models/MediaVisibilityResultsBlurredImageInterstitial.d.ts +39 -0
  419. package/dist/esm/models/MediaVisibilityResultsBlurredImageInterstitial.js +52 -0
  420. package/dist/esm/models/ModuleEntry.d.ts +41 -0
  421. package/dist/esm/models/ModuleEntry.js +50 -0
  422. package/dist/esm/models/ModuleItem.d.ts +39 -0
  423. package/dist/esm/models/ModuleItem.js +50 -0
  424. package/dist/esm/models/NoteTweet.d.ts +35 -0
  425. package/dist/esm/models/NoteTweet.js +46 -0
  426. package/dist/esm/models/NoteTweetResult.d.ts +31 -0
  427. package/dist/esm/models/NoteTweetResult.js +44 -0
  428. package/dist/esm/models/NoteTweetResultData.d.ts +49 -0
  429. package/dist/esm/models/NoteTweetResultData.js +58 -0
  430. package/dist/esm/models/NoteTweetResultMedia.d.ts +31 -0
  431. package/dist/esm/models/NoteTweetResultMedia.js +44 -0
  432. package/dist/esm/models/NoteTweetResultMediaInlineMedia.d.ts +34 -0
  433. package/dist/esm/models/NoteTweetResultMediaInlineMedia.js +47 -0
  434. package/dist/esm/models/NoteTweetResultRichText.d.ts +31 -0
  435. package/dist/esm/models/NoteTweetResultRichText.js +44 -0
  436. package/dist/esm/models/NoteTweetResultRichTextTag.d.ts +46 -0
  437. package/dist/esm/models/NoteTweetResultRichTextTag.js +58 -0
  438. package/dist/esm/models/NotificationTemplate.d.ts +39 -0
  439. package/dist/esm/models/NotificationTemplate.js +46 -0
  440. package/dist/esm/models/NotificationsResult.d.ts +40 -0
  441. package/dist/esm/models/NotificationsResult.js +53 -0
  442. package/dist/esm/models/NotificationsTimelineData.d.ts +31 -0
  443. package/dist/esm/models/NotificationsTimelineData.js +44 -0
  444. package/dist/esm/models/NotificationsTimelineResponse.d.ts +36 -0
  445. package/dist/esm/models/NotificationsTimelineResponse.js +47 -0
  446. package/dist/esm/models/NotificationsUserResults.d.ts +31 -0
  447. package/dist/esm/models/NotificationsUserResults.js +44 -0
  448. package/dist/esm/models/NotificationsViewerV2.d.ts +31 -0
  449. package/dist/esm/models/NotificationsViewerV2.js +44 -0
  450. package/dist/esm/models/OneFactorLoginEligibility.d.ts +30 -0
  451. package/dist/esm/models/OneFactorLoginEligibility.js +43 -0
  452. package/dist/esm/models/OtherObjectAll.d.ts +31 -0
  453. package/dist/esm/models/OtherObjectAll.js +42 -0
  454. package/dist/esm/models/PostCreateBookmarkRequest.d.ts +35 -0
  455. package/dist/esm/models/PostCreateBookmarkRequest.js +48 -0
  456. package/dist/esm/models/PostCreateBookmarkRequestVariables.d.ts +30 -0
  457. package/dist/esm/models/PostCreateBookmarkRequestVariables.js +43 -0
  458. package/dist/esm/models/PostCreateDraftTweetRequest.d.ts +35 -0
  459. package/dist/esm/models/PostCreateDraftTweetRequest.js +48 -0
  460. package/dist/esm/models/PostCreateDraftTweetRequestVariables.d.ts +31 -0
  461. package/dist/esm/models/PostCreateDraftTweetRequestVariables.js +44 -0
  462. package/dist/esm/models/PostCreateDraftTweetRequestVariablesPostTweetRequest.d.ts +46 -0
  463. package/dist/esm/models/PostCreateDraftTweetRequestVariablesPostTweetRequest.js +59 -0
  464. package/dist/esm/models/PostCreateListRequest.d.ts +40 -0
  465. package/dist/esm/models/PostCreateListRequest.js +53 -0
  466. package/dist/esm/models/PostCreateListRequestFeatures.d.ts +46 -0
  467. package/dist/esm/models/PostCreateListRequestFeatures.js +59 -0
  468. package/dist/esm/models/PostCreateListRequestVariables.d.ts +38 -0
  469. package/dist/esm/models/PostCreateListRequestVariables.js +51 -0
  470. package/dist/esm/models/PostCreateRetweetRequest.d.ts +35 -0
  471. package/dist/esm/models/PostCreateRetweetRequest.js +48 -0
  472. package/dist/esm/models/PostCreateRetweetRequestVariables.d.ts +34 -0
  473. package/dist/esm/models/PostCreateRetweetRequestVariables.js +47 -0
  474. package/dist/esm/models/PostCreateTweetRequest.d.ts +40 -0
  475. package/dist/esm/models/PostCreateTweetRequest.js +53 -0
  476. package/dist/esm/models/PostCreateTweetRequestFeatures.d.ts +174 -0
  477. package/dist/esm/models/PostCreateTweetRequestFeatures.js +187 -0
  478. package/dist/esm/models/PostCreateTweetRequestVariables.d.ts +61 -0
  479. package/dist/esm/models/PostCreateTweetRequestVariables.js +66 -0
  480. package/dist/esm/models/PostCreateTweetRequestVariablesConversationControl.d.ts +30 -0
  481. package/dist/esm/models/PostCreateTweetRequestVariablesConversationControl.js +43 -0
  482. package/dist/esm/models/PostCreateTweetRequestVariablesMedia.d.ts +35 -0
  483. package/dist/esm/models/PostCreateTweetRequestVariablesMedia.js +46 -0
  484. package/dist/esm/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.d.ts +34 -0
  485. package/dist/esm/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.js +47 -0
  486. package/dist/esm/models/PostCreateTweetRequestVariablesReply.d.ts +34 -0
  487. package/dist/esm/models/PostCreateTweetRequestVariablesReply.js +47 -0
  488. package/dist/esm/models/PostCta.d.ts +47 -0
  489. package/dist/esm/models/PostCta.js +60 -0
  490. package/dist/esm/models/PostCtaTitleText.d.ts +35 -0
  491. package/dist/esm/models/PostCtaTitleText.js +48 -0
  492. package/dist/esm/models/PostCtaTitleTextEntity.d.ts +39 -0
  493. package/dist/esm/models/PostCtaTitleTextEntity.js +52 -0
  494. package/dist/esm/models/PostCtaTitleTextEntityRef.d.ts +36 -0
  495. package/dist/esm/models/PostCtaTitleTextEntityRef.js +47 -0
  496. package/dist/esm/models/PostCtaUserResults.d.ts +31 -0
  497. package/dist/esm/models/PostCtaUserResults.js +44 -0
  498. package/dist/esm/models/PostCtaUserResultsAvatar.d.ts +30 -0
  499. package/dist/esm/models/PostCtaUserResultsAvatar.js +43 -0
  500. package/dist/esm/models/PostCtaUserResultsResult.d.ts +36 -0
  501. package/dist/esm/models/PostCtaUserResultsResult.js +49 -0
  502. package/dist/esm/models/PostDeleteBookmarkRequest.d.ts +35 -0
  503. package/dist/esm/models/PostDeleteBookmarkRequest.js +48 -0
  504. package/dist/esm/models/PostDeleteDraftTweetsRequest.d.ts +35 -0
  505. package/dist/esm/models/PostDeleteDraftTweetsRequest.js +48 -0
  506. package/dist/esm/models/PostDeleteDraftTweetsRequestVariables.d.ts +30 -0
  507. package/dist/esm/models/PostDeleteDraftTweetsRequestVariables.js +43 -0
  508. package/dist/esm/models/PostDeleteListRequest.d.ts +35 -0
  509. package/dist/esm/models/PostDeleteListRequest.js +48 -0
  510. package/dist/esm/models/PostDeleteListRequestVariables.d.ts +30 -0
  511. package/dist/esm/models/PostDeleteListRequestVariables.js +43 -0
  512. package/dist/esm/models/PostDeleteRetweetRequest.d.ts +35 -0
  513. package/dist/esm/models/PostDeleteRetweetRequest.js +48 -0
  514. package/dist/esm/models/PostDeleteRetweetRequestVariables.d.ts +34 -0
  515. package/dist/esm/models/PostDeleteRetweetRequestVariables.js +47 -0
  516. package/dist/esm/models/PostDeleteTweetRequest.d.ts +35 -0
  517. package/dist/esm/models/PostDeleteTweetRequest.js +48 -0
  518. package/dist/esm/models/PostFavoriteTweetRequest.d.ts +35 -0
  519. package/dist/esm/models/PostFavoriteTweetRequest.js +48 -0
  520. package/dist/esm/models/PostListAddMemberRequest.d.ts +40 -0
  521. package/dist/esm/models/PostListAddMemberRequest.js +53 -0
  522. package/dist/esm/models/PostListAddMemberRequestVariables.d.ts +34 -0
  523. package/dist/esm/models/PostListAddMemberRequestVariables.js +47 -0
  524. package/dist/esm/models/PostListRemoveMemberRequest.d.ts +40 -0
  525. package/dist/esm/models/PostListRemoveMemberRequest.js +53 -0
  526. package/dist/esm/models/PostUnfavoriteTweetRequest.d.ts +35 -0
  527. package/dist/esm/models/PostUnfavoriteTweetRequest.js +48 -0
  528. package/dist/esm/models/PrimaryCommunityTopic.d.ts +34 -0
  529. package/dist/esm/models/PrimaryCommunityTopic.js +47 -0
  530. package/dist/esm/models/ProfileBio.d.ts +39 -0
  531. package/dist/esm/models/ProfileBio.js +48 -0
  532. package/dist/esm/models/ProfileBioEntities.d.ts +35 -0
  533. package/dist/esm/models/ProfileBioEntities.js +46 -0
  534. package/dist/esm/models/ProfileBioEntitiesUrls.d.ts +31 -0
  535. package/dist/esm/models/ProfileBioEntitiesUrls.js +42 -0
  536. package/dist/esm/models/ProfileResponse.d.ts +36 -0
  537. package/dist/esm/models/ProfileResponse.js +47 -0
  538. package/dist/esm/models/ProfileResponseData.d.ts +31 -0
  539. package/dist/esm/models/ProfileResponseData.js +42 -0
  540. package/dist/esm/models/QuotedRefResult.d.ts +31 -0
  541. package/dist/esm/models/QuotedRefResult.js +42 -0
  542. package/dist/esm/models/QuotedStatusPermalink.d.ts +38 -0
  543. package/dist/esm/models/QuotedStatusPermalink.js +51 -0
  544. package/dist/esm/models/RankedCommunityResult.d.ts +36 -0
  545. package/dist/esm/models/RankedCommunityResult.js +49 -0
  546. package/dist/esm/models/RankedCommunityResults.d.ts +31 -0
  547. package/dist/esm/models/RankedCommunityResults.js +44 -0
  548. package/dist/esm/models/RankedCommunityTweetData.d.ts +31 -0
  549. package/dist/esm/models/RankedCommunityTweetData.js +44 -0
  550. package/dist/esm/models/Retweet.d.ts +35 -0
  551. package/dist/esm/models/Retweet.js +46 -0
  552. package/dist/esm/models/RetweetLegacy.d.ts +30 -0
  553. package/dist/esm/models/RetweetLegacy.js +43 -0
  554. package/dist/esm/models/RichMessage.d.ts +34 -0
  555. package/dist/esm/models/RichMessage.js +43 -0
  556. package/dist/esm/models/ScheduledTweetsViewer.d.ts +32 -0
  557. package/dist/esm/models/ScheduledTweetsViewer.js +43 -0
  558. package/dist/esm/models/SearchByRawQuery.d.ts +31 -0
  559. package/dist/esm/models/SearchByRawQuery.js +44 -0
  560. package/dist/esm/models/SearchTimeline.d.ts +31 -0
  561. package/dist/esm/models/SearchTimeline.js +44 -0
  562. package/dist/esm/models/SearchTimelineData.d.ts +31 -0
  563. package/dist/esm/models/SearchTimelineData.js +44 -0
  564. package/dist/esm/models/SearchTimelineResponse.d.ts +36 -0
  565. package/dist/esm/models/SearchTimelineResponse.js +47 -0
  566. package/dist/esm/models/SelfThread.d.ts +30 -0
  567. package/dist/esm/models/SelfThread.js +43 -0
  568. package/dist/esm/models/SensitiveMediaWarning.d.ts +38 -0
  569. package/dist/esm/models/SensitiveMediaWarning.js +45 -0
  570. package/dist/esm/models/Session.d.ts +92 -0
  571. package/dist/esm/models/Session.js +104 -0
  572. package/dist/esm/models/Smarttag.d.ts +39 -0
  573. package/dist/esm/models/Smarttag.js +52 -0
  574. package/dist/esm/models/SmarttagTag.d.ts +32 -0
  575. package/dist/esm/models/SmarttagTag.js +43 -0
  576. package/dist/esm/models/SocialContextLandingUrl.d.ts +48 -0
  577. package/dist/esm/models/SocialContextLandingUrl.js +54 -0
  578. package/dist/esm/models/SocialContextUnion.d.ts +27 -0
  579. package/dist/esm/models/SocialContextUnion.js +47 -0
  580. package/dist/esm/models/SocialContextUnionType.d.ts +25 -0
  581. package/dist/esm/models/SocialContextUnionType.js +43 -0
  582. package/dist/esm/models/SuperFollowUserProfile.d.ts +30 -0
  583. package/dist/esm/models/SuperFollowUserProfile.js +43 -0
  584. package/dist/esm/models/SuperFollowsReplyUserResult.d.ts +31 -0
  585. package/dist/esm/models/SuperFollowsReplyUserResult.js +44 -0
  586. package/dist/esm/models/SuperFollowsReplyUserResultCore.d.ts +30 -0
  587. package/dist/esm/models/SuperFollowsReplyUserResultCore.js +43 -0
  588. package/dist/esm/models/SuperFollowsReplyUserResultData.d.ts +36 -0
  589. package/dist/esm/models/SuperFollowsReplyUserResultData.js +47 -0
  590. package/dist/esm/models/SuperFollowsReplyUserResultLegacy.d.ts +30 -0
  591. package/dist/esm/models/SuperFollowsReplyUserResultLegacy.js +43 -0
  592. package/dist/esm/models/Text.d.ts +35 -0
  593. package/dist/esm/models/Text.js +48 -0
  594. package/dist/esm/models/TextEntity.d.ts +39 -0
  595. package/dist/esm/models/TextEntity.js +52 -0
  596. package/dist/esm/models/TextEntityRef.d.ts +52 -0
  597. package/dist/esm/models/TextEntityRef.js +67 -0
  598. package/dist/esm/models/TextHighlight.d.ts +34 -0
  599. package/dist/esm/models/TextHighlight.js +47 -0
  600. package/dist/esm/models/ThumbnailImage.d.ts +38 -0
  601. package/dist/esm/models/ThumbnailImage.js +45 -0
  602. package/dist/esm/models/Timeline.d.ts +43 -0
  603. package/dist/esm/models/Timeline.js +48 -0
  604. package/dist/esm/models/TimelineAddEntries.d.ts +36 -0
  605. package/dist/esm/models/TimelineAddEntries.js +49 -0
  606. package/dist/esm/models/TimelineAddEntry.d.ts +39 -0
  607. package/dist/esm/models/TimelineAddEntry.js +52 -0
  608. package/dist/esm/models/TimelineAddToModule.d.ts +44 -0
  609. package/dist/esm/models/TimelineAddToModule.js +55 -0
  610. package/dist/esm/models/TimelineClearCache.d.ts +31 -0
  611. package/dist/esm/models/TimelineClearCache.js +44 -0
  612. package/dist/esm/models/TimelineClearEntriesUnreadState.d.ts +31 -0
  613. package/dist/esm/models/TimelineClearEntriesUnreadState.js +44 -0
  614. package/dist/esm/models/TimelineCommunity.d.ts +32 -0
  615. package/dist/esm/models/TimelineCommunity.js +38 -0
  616. package/dist/esm/models/TimelineCoverBehavior.d.ts +43 -0
  617. package/dist/esm/models/TimelineCoverBehavior.js +53 -0
  618. package/dist/esm/models/TimelineCoverBehaviorUrl.d.ts +41 -0
  619. package/dist/esm/models/TimelineCoverBehaviorUrl.js +55 -0
  620. package/dist/esm/models/TimelineFrame.d.ts +44 -0
  621. package/dist/esm/models/TimelineFrame.js +57 -0
  622. package/dist/esm/models/TimelineGeneralContext.d.ts +63 -0
  623. package/dist/esm/models/TimelineGeneralContext.js +65 -0
  624. package/dist/esm/models/TimelineHalfCover.d.ts +71 -0
  625. package/dist/esm/models/TimelineHalfCover.js +86 -0
  626. package/dist/esm/models/TimelineLabel.d.ts +45 -0
  627. package/dist/esm/models/TimelineLabel.js +58 -0
  628. package/dist/esm/models/TimelineMarkEntriesUnreadGreaterThanSortIndex.d.ts +35 -0
  629. package/dist/esm/models/TimelineMarkEntriesUnreadGreaterThanSortIndex.js +46 -0
  630. package/dist/esm/models/TimelineMessagePrompt.d.ts +32 -0
  631. package/dist/esm/models/TimelineMessagePrompt.js +38 -0
  632. package/dist/esm/models/TimelineNotification.d.ts +63 -0
  633. package/dist/esm/models/TimelineNotification.js +76 -0
  634. package/dist/esm/models/TimelinePinEntry.d.ts +36 -0
  635. package/dist/esm/models/TimelinePinEntry.js +49 -0
  636. package/dist/esm/models/TimelinePrompt.d.ts +32 -0
  637. package/dist/esm/models/TimelinePrompt.js +38 -0
  638. package/dist/esm/models/TimelineReplaceEntry.d.ts +40 -0
  639. package/dist/esm/models/TimelineReplaceEntry.js +53 -0
  640. package/dist/esm/models/TimelineResponse.d.ts +36 -0
  641. package/dist/esm/models/TimelineResponse.js +47 -0
  642. package/dist/esm/models/TimelineResult.d.ts +35 -0
  643. package/dist/esm/models/TimelineResult.js +44 -0
  644. package/dist/esm/models/TimelineShowAlert.d.ts +88 -0
  645. package/dist/esm/models/TimelineShowAlert.js +81 -0
  646. package/dist/esm/models/TimelineShowAlertRichText.d.ts +36 -0
  647. package/dist/esm/models/TimelineShowAlertRichText.js +43 -0
  648. package/dist/esm/models/TimelineShowCover.d.ts +41 -0
  649. package/dist/esm/models/TimelineShowCover.js +54 -0
  650. package/dist/esm/models/TimelineTerminateTimeline.d.ts +44 -0
  651. package/dist/esm/models/TimelineTerminateTimeline.js +56 -0
  652. package/dist/esm/models/TimelineTimelineCursor.d.ts +58 -0
  653. package/dist/esm/models/TimelineTimelineCursor.js +63 -0
  654. package/dist/esm/models/TimelineTimelineItem.d.ts +52 -0
  655. package/dist/esm/models/TimelineTimelineItem.js +59 -0
  656. package/dist/esm/models/TimelineTimelineModule.d.ts +74 -0
  657. package/dist/esm/models/TimelineTimelineModule.js +69 -0
  658. package/dist/esm/models/TimelineTombstone.d.ts +52 -0
  659. package/dist/esm/models/TimelineTombstone.js +56 -0
  660. package/dist/esm/models/TimelineTopicContext.d.ts +47 -0
  661. package/dist/esm/models/TimelineTopicContext.js +53 -0
  662. package/dist/esm/models/TimelineTrend.d.ts +73 -0
  663. package/dist/esm/models/TimelineTrend.js +74 -0
  664. package/dist/esm/models/TimelineTweet.d.ts +75 -0
  665. package/dist/esm/models/TimelineTweet.js +77 -0
  666. package/dist/esm/models/TimelineTwitterList.d.ts +45 -0
  667. package/dist/esm/models/TimelineTwitterList.js +56 -0
  668. package/dist/esm/models/TimelineUser.d.ts +60 -0
  669. package/dist/esm/models/TimelineUser.js +70 -0
  670. package/dist/esm/models/Timestamp.d.ts +38 -0
  671. package/dist/esm/models/Timestamp.js +51 -0
  672. package/dist/esm/models/TombstoneEntity.d.ts +39 -0
  673. package/dist/esm/models/TombstoneEntity.js +46 -0
  674. package/dist/esm/models/TombstoneInfo.d.ts +35 -0
  675. package/dist/esm/models/TombstoneInfo.js +44 -0
  676. package/dist/esm/models/TombstoneRef.d.ts +52 -0
  677. package/dist/esm/models/TombstoneRef.js +57 -0
  678. package/dist/esm/models/TombstoneRichText.d.ts +39 -0
  679. package/dist/esm/models/TombstoneRichText.js +46 -0
  680. package/dist/esm/models/TopicContext.d.ts +54 -0
  681. package/dist/esm/models/TopicContext.js +53 -0
  682. package/dist/esm/models/Tracing.d.ts +30 -0
  683. package/dist/esm/models/Tracing.js +43 -0
  684. package/dist/esm/models/TrendImage.d.ts +30 -0
  685. package/dist/esm/models/TrendImage.js +41 -0
  686. package/dist/esm/models/TrendMetadata.d.ts +35 -0
  687. package/dist/esm/models/TrendMetadata.js +44 -0
  688. package/dist/esm/models/TrendResults.d.ts +30 -0
  689. package/dist/esm/models/TrendResults.js +43 -0
  690. package/dist/esm/models/Tweet.d.ts +197 -0
  691. package/dist/esm/models/Tweet.js +138 -0
  692. package/dist/esm/models/TweetCard.d.ts +35 -0
  693. package/dist/esm/models/TweetCard.js +44 -0
  694. package/dist/esm/models/TweetCardLegacy.d.ts +49 -0
  695. package/dist/esm/models/TweetCardLegacy.js +58 -0
  696. package/dist/esm/models/TweetCardLegacyBindingValue.d.ts +35 -0
  697. package/dist/esm/models/TweetCardLegacyBindingValue.js +48 -0
  698. package/dist/esm/models/TweetCardLegacyBindingValueData.d.ts +58 -0
  699. package/dist/esm/models/TweetCardLegacyBindingValueData.js +57 -0
  700. package/dist/esm/models/TweetCardLegacyBindingValueDataImage.d.ts +42 -0
  701. package/dist/esm/models/TweetCardLegacyBindingValueDataImage.js +53 -0
  702. package/dist/esm/models/TweetCardPlatform.d.ts +36 -0
  703. package/dist/esm/models/TweetCardPlatform.js +49 -0
  704. package/dist/esm/models/TweetCardPlatformAudience.d.ts +37 -0
  705. package/dist/esm/models/TweetCardPlatformAudience.js +51 -0
  706. package/dist/esm/models/TweetCardPlatformData.d.ts +31 -0
  707. package/dist/esm/models/TweetCardPlatformData.js +44 -0
  708. package/dist/esm/models/TweetCardPlatformDevice.d.ts +34 -0
  709. package/dist/esm/models/TweetCardPlatformDevice.js +47 -0
  710. package/dist/esm/models/TweetDetailResponse.d.ts +36 -0
  711. package/dist/esm/models/TweetDetailResponse.js +47 -0
  712. package/dist/esm/models/TweetDetailResponseData.d.ts +31 -0
  713. package/dist/esm/models/TweetDetailResponseData.js +42 -0
  714. package/dist/esm/models/TweetEditControl.d.ts +51 -0
  715. package/dist/esm/models/TweetEditControl.js +52 -0
  716. package/dist/esm/models/TweetEditControlInitial.d.ts +42 -0
  717. package/dist/esm/models/TweetEditControlInitial.js +55 -0
  718. package/dist/esm/models/TweetEditPrespective.d.ts +34 -0
  719. package/dist/esm/models/TweetEditPrespective.js +43 -0
  720. package/dist/esm/models/TweetFavoritersResponse.d.ts +36 -0
  721. package/dist/esm/models/TweetFavoritersResponse.js +47 -0
  722. package/dist/esm/models/TweetFavoritersResponseData.d.ts +31 -0
  723. package/dist/esm/models/TweetFavoritersResponseData.js +42 -0
  724. package/dist/esm/models/TweetInterstitial.d.ts +53 -0
  725. package/dist/esm/models/TweetInterstitial.js +65 -0
  726. package/dist/esm/models/TweetInterstitialRevealText.d.ts +39 -0
  727. package/dist/esm/models/TweetInterstitialRevealText.js +52 -0
  728. package/dist/esm/models/TweetInterstitialText.d.ts +39 -0
  729. package/dist/esm/models/TweetInterstitialText.js +52 -0
  730. package/dist/esm/models/TweetInterstitialTextEntity.d.ts +39 -0
  731. package/dist/esm/models/TweetInterstitialTextEntity.js +52 -0
  732. package/dist/esm/models/TweetInterstitialTextEntityRef.d.ts +52 -0
  733. package/dist/esm/models/TweetInterstitialTextEntityRef.js +67 -0
  734. package/dist/esm/models/TweetLegacy.d.ts +173 -0
  735. package/dist/esm/models/TweetLegacy.js +151 -0
  736. package/dist/esm/models/TweetLegacyScopes.d.ts +30 -0
  737. package/dist/esm/models/TweetLegacyScopes.js +43 -0
  738. package/dist/esm/models/TweetLimitedActionResults.d.ts +31 -0
  739. package/dist/esm/models/TweetLimitedActionResults.js +44 -0
  740. package/dist/esm/models/TweetPostCta.d.ts +48 -0
  741. package/dist/esm/models/TweetPostCta.js +58 -0
  742. package/dist/esm/models/TweetPreviewDisplay.d.ts +46 -0
  743. package/dist/esm/models/TweetPreviewDisplay.js +59 -0
  744. package/dist/esm/models/TweetPreviewDisplayCta.d.ts +35 -0
  745. package/dist/esm/models/TweetPreviewDisplayCta.js +48 -0
  746. package/dist/esm/models/TweetPreviewDisplayCtaUrl.d.ts +43 -0
  747. package/dist/esm/models/TweetPreviewDisplayCtaUrl.js +55 -0
  748. package/dist/esm/models/TweetPreviewDisplayTweet.d.ts +77 -0
  749. package/dist/esm/models/TweetPreviewDisplayTweet.js +88 -0
  750. package/dist/esm/models/TweetPreviewDisplayTweetViewCount.d.ts +30 -0
  751. package/dist/esm/models/TweetPreviewDisplayTweetViewCount.js +43 -0
  752. package/dist/esm/models/TweetPreviousCounts.d.ts +46 -0
  753. package/dist/esm/models/TweetPreviousCounts.js +59 -0
  754. package/dist/esm/models/TweetResultByRestIdData.d.ts +31 -0
  755. package/dist/esm/models/TweetResultByRestIdData.js +42 -0
  756. package/dist/esm/models/TweetResultByRestIdResponse.d.ts +36 -0
  757. package/dist/esm/models/TweetResultByRestIdResponse.js +47 -0
  758. package/dist/esm/models/TweetRetweetersResponse.d.ts +36 -0
  759. package/dist/esm/models/TweetRetweetersResponse.js +47 -0
  760. package/dist/esm/models/TweetRetweetersResponseData.d.ts +31 -0
  761. package/dist/esm/models/TweetRetweetersResponseData.js +42 -0
  762. package/dist/esm/models/TweetTombstone.d.ts +32 -0
  763. package/dist/esm/models/TweetTombstone.js +38 -0
  764. package/dist/esm/models/TweetUnavailable.d.ts +35 -0
  765. package/dist/esm/models/TweetUnavailable.js +44 -0
  766. package/dist/esm/models/TweetUnion.d.ts +36 -0
  767. package/dist/esm/models/TweetUnion.js +62 -0
  768. package/dist/esm/models/TweetView.d.ts +42 -0
  769. package/dist/esm/models/TweetView.js +52 -0
  770. package/dist/esm/models/TweetWithVisibilityResults.d.ts +52 -0
  771. package/dist/esm/models/TweetWithVisibilityResults.js +57 -0
  772. package/dist/esm/models/TwitterList.d.ts +110 -0
  773. package/dist/esm/models/TwitterList.js +116 -0
  774. package/dist/esm/models/TypeName.d.ts +59 -0
  775. package/dist/esm/models/TypeName.js +77 -0
  776. package/dist/esm/models/UnfavoriteTweet.d.ts +30 -0
  777. package/dist/esm/models/UnfavoriteTweet.js +41 -0
  778. package/dist/esm/models/UnfavoriteTweetResponse.d.ts +36 -0
  779. package/dist/esm/models/UnfavoriteTweetResponse.js +47 -0
  780. package/dist/esm/models/UnifiedCard.d.ts +37 -0
  781. package/dist/esm/models/UnifiedCard.js +51 -0
  782. package/dist/esm/models/Url.d.ts +42 -0
  783. package/dist/esm/models/Url.js +53 -0
  784. package/dist/esm/models/UrtEndpointOptions.d.ts +35 -0
  785. package/dist/esm/models/UrtEndpointOptions.js +46 -0
  786. package/dist/esm/models/UrtEndpointRequestParams.d.ts +34 -0
  787. package/dist/esm/models/UrtEndpointRequestParams.js +47 -0
  788. package/dist/esm/models/User.d.ts +280 -0
  789. package/dist/esm/models/User.js +195 -0
  790. package/dist/esm/models/UserActionCounts.d.ts +30 -0
  791. package/dist/esm/models/UserActionCounts.js +43 -0
  792. package/dist/esm/models/UserAvatar.d.ts +30 -0
  793. package/dist/esm/models/UserAvatar.js +43 -0
  794. package/dist/esm/models/UserBanner.d.ts +30 -0
  795. package/dist/esm/models/UserBanner.js +43 -0
  796. package/dist/esm/models/UserCore.d.ts +38 -0
  797. package/dist/esm/models/UserCore.js +51 -0
  798. package/dist/esm/models/UserDmPermissions.d.ts +30 -0
  799. package/dist/esm/models/UserDmPermissions.js +43 -0
  800. package/dist/esm/models/UserFeatures.d.ts +30 -0
  801. package/dist/esm/models/UserFeatures.js +43 -0
  802. package/dist/esm/models/UserHighlightsInfo.d.ts +34 -0
  803. package/dist/esm/models/UserHighlightsInfo.js +47 -0
  804. package/dist/esm/models/UserHighlightsTweetsData.d.ts +31 -0
  805. package/dist/esm/models/UserHighlightsTweetsData.js +42 -0
  806. package/dist/esm/models/UserHighlightsTweetsResponse.d.ts +36 -0
  807. package/dist/esm/models/UserHighlightsTweetsResponse.js +47 -0
  808. package/dist/esm/models/UserHighlightsTweetsResult.d.ts +36 -0
  809. package/dist/esm/models/UserHighlightsTweetsResult.js +49 -0
  810. package/dist/esm/models/UserHighlightsTweetsTimeline.d.ts +31 -0
  811. package/dist/esm/models/UserHighlightsTweetsTimeline.js +44 -0
  812. package/dist/esm/models/UserHighlightsTweetsUser.d.ts +31 -0
  813. package/dist/esm/models/UserHighlightsTweetsUser.js +44 -0
  814. package/dist/esm/models/UserLegacy.d.ts +216 -0
  815. package/dist/esm/models/UserLegacy.js +178 -0
  816. package/dist/esm/models/UserLegacyExtendedProfile.d.ts +31 -0
  817. package/dist/esm/models/UserLegacyExtendedProfile.js +42 -0
  818. package/dist/esm/models/UserLegacyExtendedProfileBirthdate.d.ts +68 -0
  819. package/dist/esm/models/UserLegacyExtendedProfileBirthdate.js +77 -0
  820. package/dist/esm/models/UserLocation.d.ts +30 -0
  821. package/dist/esm/models/UserLocation.js +43 -0
  822. package/dist/esm/models/UserMediaPermissions.d.ts +30 -0
  823. package/dist/esm/models/UserMediaPermissions.js +43 -0
  824. package/dist/esm/models/UserNotificationsSettings.d.ts +30 -0
  825. package/dist/esm/models/UserNotificationsSettings.js +43 -0
  826. package/dist/esm/models/UserPinnedItems.d.ts +30 -0
  827. package/dist/esm/models/UserPinnedItems.js +41 -0
  828. package/dist/esm/models/UserPrivacy.d.ts +30 -0
  829. package/dist/esm/models/UserPrivacy.js +43 -0
  830. package/dist/esm/models/UserProfessional.d.ts +47 -0
  831. package/dist/esm/models/UserProfessional.js +57 -0
  832. package/dist/esm/models/UserProfessionalCategory.d.ts +38 -0
  833. package/dist/esm/models/UserProfessionalCategory.js +51 -0
  834. package/dist/esm/models/UserProfile.d.ts +31 -0
  835. package/dist/esm/models/UserProfile.js +44 -0
  836. package/dist/esm/models/UserProfileMetadata.d.ts +30 -0
  837. package/dist/esm/models/UserProfileMetadata.js +43 -0
  838. package/dist/esm/models/UserProfileTranslation.d.ts +30 -0
  839. package/dist/esm/models/UserProfileTranslation.js +43 -0
  840. package/dist/esm/models/UserRelationshipCounts.d.ts +34 -0
  841. package/dist/esm/models/UserRelationshipCounts.js +47 -0
  842. package/dist/esm/models/UserRelationshipPerspectives.d.ts +50 -0
  843. package/dist/esm/models/UserRelationshipPerspectives.js +51 -0
  844. package/dist/esm/models/UserResponse.d.ts +36 -0
  845. package/dist/esm/models/UserResponse.js +47 -0
  846. package/dist/esm/models/UserResponseData.d.ts +31 -0
  847. package/dist/esm/models/UserResponseData.js +42 -0
  848. package/dist/esm/models/UserResultByScreenName.d.ts +35 -0
  849. package/dist/esm/models/UserResultByScreenName.js +48 -0
  850. package/dist/esm/models/UserResultByScreenNameCore.d.ts +34 -0
  851. package/dist/esm/models/UserResultByScreenNameCore.js +47 -0
  852. package/dist/esm/models/UserResultByScreenNameLegacy.d.ts +54 -0
  853. package/dist/esm/models/UserResultByScreenNameLegacy.js +53 -0
  854. package/dist/esm/models/UserResultByScreenNameResult.d.ts +69 -0
  855. package/dist/esm/models/UserResultByScreenNameResult.js +76 -0
  856. package/dist/esm/models/UserResultCore.d.ts +31 -0
  857. package/dist/esm/models/UserResultCore.js +44 -0
  858. package/dist/esm/models/UserResultPrivacy.d.ts +30 -0
  859. package/dist/esm/models/UserResultPrivacy.js +43 -0
  860. package/dist/esm/models/UserResultRelationshipPerspectives.d.ts +42 -0
  861. package/dist/esm/models/UserResultRelationshipPerspectives.js +47 -0
  862. package/dist/esm/models/UserResults.d.ts +31 -0
  863. package/dist/esm/models/UserResults.js +42 -0
  864. package/dist/esm/models/UserTipJarSettings.d.ts +62 -0
  865. package/dist/esm/models/UserTipJarSettings.js +57 -0
  866. package/dist/esm/models/UserTweetCounts.d.ts +34 -0
  867. package/dist/esm/models/UserTweetCounts.js +47 -0
  868. package/dist/esm/models/UserTweetsData.d.ts +31 -0
  869. package/dist/esm/models/UserTweetsData.js +42 -0
  870. package/dist/esm/models/UserTweetsResponse.d.ts +36 -0
  871. package/dist/esm/models/UserTweetsResponse.js +47 -0
  872. package/dist/esm/models/UserTweetsResultV1.d.ts +36 -0
  873. package/dist/esm/models/UserTweetsResultV1.js +49 -0
  874. package/dist/esm/models/UserTweetsResultV2.d.ts +36 -0
  875. package/dist/esm/models/UserTweetsResultV2.js +49 -0
  876. package/dist/esm/models/UserTweetsUser.d.ts +31 -0
  877. package/dist/esm/models/UserTweetsUser.js +44 -0
  878. package/dist/esm/models/UserUnavailable.d.ts +39 -0
  879. package/dist/esm/models/UserUnavailable.js +50 -0
  880. package/dist/esm/models/UserUnion.d.ts +27 -0
  881. package/dist/esm/models/UserUnion.js +47 -0
  882. package/dist/esm/models/UserValue.d.ts +34 -0
  883. package/dist/esm/models/UserValue.js +45 -0
  884. package/dist/esm/models/UserVerification.d.ts +42 -0
  885. package/dist/esm/models/UserVerification.js +52 -0
  886. package/dist/esm/models/UserVerificationInfo.d.ts +35 -0
  887. package/dist/esm/models/UserVerificationInfo.js +46 -0
  888. package/dist/esm/models/UserVerificationInfoReason.d.ts +39 -0
  889. package/dist/esm/models/UserVerificationInfoReason.js +50 -0
  890. package/dist/esm/models/UserVerificationInfoReasonDescription.d.ts +35 -0
  891. package/dist/esm/models/UserVerificationInfoReasonDescription.js +48 -0
  892. package/dist/esm/models/UserVerificationInfoReasonDescriptionEntities.d.ts +39 -0
  893. package/dist/esm/models/UserVerificationInfoReasonDescriptionEntities.js +52 -0
  894. package/dist/esm/models/UserVerificationInfoReasonDescriptionEntitiesRef.d.ts +41 -0
  895. package/dist/esm/models/UserVerificationInfoReasonDescriptionEntitiesRef.js +55 -0
  896. package/dist/esm/models/UserWebsite.d.ts +30 -0
  897. package/dist/esm/models/UserWebsite.js +43 -0
  898. package/dist/esm/models/UsersResponse.d.ts +36 -0
  899. package/dist/esm/models/UsersResponse.js +47 -0
  900. package/dist/esm/models/UsersResponseData.d.ts +31 -0
  901. package/dist/esm/models/UsersResponseData.js +42 -0
  902. package/dist/esm/models/ViewerBadgeCountsResponse.d.ts +36 -0
  903. package/dist/esm/models/ViewerBadgeCountsResponse.js +47 -0
  904. package/dist/esm/models/ViewerBadgeCountsResponseData.d.ts +31 -0
  905. package/dist/esm/models/ViewerBadgeCountsResponseData.js +44 -0
  906. package/dist/esm/models/ViewerBadgeCountsResult.d.ts +36 -0
  907. package/dist/esm/models/ViewerBadgeCountsResult.js +49 -0
  908. package/dist/esm/models/ViewerBadgeCountsUserResults.d.ts +31 -0
  909. package/dist/esm/models/ViewerBadgeCountsUserResults.js +44 -0
  910. package/dist/esm/models/ViewerBadgeCountsViewer.d.ts +31 -0
  911. package/dist/esm/models/ViewerBadgeCountsViewer.js +44 -0
  912. package/dist/esm/models/index.d.ts +431 -0
  913. package/dist/esm/models/index.js +433 -0
  914. package/dist/esm/runtime.d.ts +217 -0
  915. package/dist/esm/runtime.js +460 -0
  916. package/dist/index.d.ts +0 -1
  917. package/dist/index.js +0 -1
  918. package/dist/models/AboutCommunityResult.d.ts +0 -5
  919. package/dist/models/AboutCommunityResult.js +5 -7
  920. package/dist/models/AboutCommunityResults.d.ts +0 -3
  921. package/dist/models/AboutCommunityResults.js +2 -4
  922. package/dist/models/AboutCommunityTweetData.d.ts +0 -3
  923. package/dist/models/AboutCommunityTweetData.js +2 -4
  924. package/dist/models/AdditionalMediaInfo.d.ts +0 -13
  925. package/dist/models/AdditionalMediaInfo.js +3 -5
  926. package/dist/models/AdditionalMediaInfoCallToActions.d.ts +0 -5
  927. package/dist/models/AdditionalMediaInfoCallToActions.js +2 -4
  928. package/dist/models/AdditionalMediaInfoCallToActionsUrl.d.ts +0 -3
  929. package/dist/models/AdditionalMediaInfoCallToActionsUrl.js +1 -3
  930. package/dist/models/AllowDownloadStatus.d.ts +0 -3
  931. package/dist/models/AllowDownloadStatus.js +1 -3
  932. package/dist/models/AnalysisResults.d.ts +0 -3
  933. package/dist/models/AnalysisResults.js +2 -4
  934. package/dist/models/Article.d.ts +0 -3
  935. package/dist/models/Article.js +3 -5
  936. package/dist/models/ArticleCoverMedia.d.ts +0 -9
  937. package/dist/models/ArticleCoverMedia.js +5 -7
  938. package/dist/models/ArticleCoverMediaColorInfo.d.ts +0 -3
  939. package/dist/models/ArticleCoverMediaColorInfo.js +2 -4
  940. package/dist/models/ArticleCoverMediaColorInfoPalette.d.ts +0 -5
  941. package/dist/models/ArticleCoverMediaColorInfoPalette.js +2 -4
  942. package/dist/models/ArticleCoverMediaColorInfoPaletteRGB.d.ts +0 -7
  943. package/dist/models/ArticleCoverMediaColorInfoPaletteRGB.js +1 -3
  944. package/dist/models/ArticleCoverMediaInfo.d.ts +0 -11
  945. package/dist/models/ArticleCoverMediaInfo.js +7 -9
  946. package/dist/models/ArticleLifecycleState.d.ts +0 -3
  947. package/dist/models/ArticleLifecycleState.js +2 -4
  948. package/dist/models/ArticleMetadata.d.ts +0 -3
  949. package/dist/models/ArticleMetadata.js +2 -4
  950. package/dist/models/ArticlePreview.d.ts +43 -0
  951. package/dist/models/ArticlePreview.js +61 -0
  952. package/dist/models/ArticleResult.d.ts +15 -16
  953. package/dist/models/ArticleResult.js +13 -11
  954. package/dist/models/ArticleResults.d.ts +0 -3
  955. package/dist/models/ArticleResults.js +2 -4
  956. package/dist/models/AuthorCommunityRelationship.d.ts +3 -9
  957. package/dist/models/AuthorCommunityRelationship.js +8 -9
  958. package/dist/models/BadgeCounts.d.ts +46 -0
  959. package/dist/models/BadgeCounts.js +66 -0
  960. package/dist/models/BirdwatchEntity.d.ts +0 -7
  961. package/dist/models/BirdwatchEntity.js +2 -4
  962. package/dist/models/BirdwatchEntityRef.d.ts +4 -9
  963. package/dist/models/BirdwatchEntityRef.js +5 -5
  964. package/dist/models/BirdwatchPivot.d.ts +12 -21
  965. package/dist/models/BirdwatchPivot.js +17 -10
  966. package/dist/models/BirdwatchPivotCallToAction.d.ts +0 -7
  967. package/dist/models/BirdwatchPivotCallToAction.js +1 -3
  968. package/dist/models/BirdwatchPivotFooter.d.ts +0 -5
  969. package/dist/models/BirdwatchPivotFooter.js +2 -4
  970. package/dist/models/BirdwatchPivotNote.d.ts +13 -3
  971. package/dist/models/BirdwatchPivotNote.js +9 -4
  972. package/dist/models/BirdwatchPivotSubtitle.d.ts +0 -5
  973. package/dist/models/BirdwatchPivotSubtitle.js +2 -4
  974. package/dist/models/BookmarksResponse.d.ts +0 -5
  975. package/dist/models/BookmarksResponse.js +3 -5
  976. package/dist/models/BookmarksResponseData.d.ts +0 -3
  977. package/dist/models/BookmarksResponseData.js +3 -5
  978. package/dist/models/BookmarksTimeline.d.ts +0 -3
  979. package/dist/models/BookmarksTimeline.js +2 -4
  980. package/dist/models/Callback.d.ts +0 -3
  981. package/dist/models/Callback.js +1 -3
  982. package/dist/models/CashtagAttachment.d.ts +30 -0
  983. package/dist/models/CashtagAttachment.js +50 -0
  984. package/dist/models/ClientEventInfo.d.ts +0 -7
  985. package/dist/models/ClientEventInfo.js +1 -3
  986. package/dist/models/CommunitiesActions.d.ts +0 -3
  987. package/dist/models/CommunitiesActions.js +1 -3
  988. package/dist/models/Community.d.ts +138 -5
  989. package/dist/models/Community.js +83 -7
  990. package/dist/models/CommunityAboutTimelineResponse.d.ts +0 -5
  991. package/dist/models/CommunityAboutTimelineResponse.js +3 -5
  992. package/dist/models/CommunityActions.d.ts +0 -11
  993. package/dist/models/CommunityActions.js +6 -8
  994. package/dist/models/CommunityDeleteActionResult.d.ts +0 -5
  995. package/dist/models/CommunityDeleteActionResult.js +6 -6
  996. package/dist/models/CommunityDiscoveryTimelineResponse.d.ts +36 -0
  997. package/dist/models/CommunityDiscoveryTimelineResponse.js +54 -0
  998. package/dist/models/CommunityDiscoveryTimelineResponseData.d.ts +31 -0
  999. package/dist/models/CommunityDiscoveryTimelineResponseData.js +51 -0
  1000. package/dist/models/CommunityDiscoveryTimelineViewer.d.ts +31 -0
  1001. package/dist/models/CommunityDiscoveryTimelineViewer.js +51 -0
  1002. package/dist/models/CommunityInvitesResult.d.ts +0 -7
  1003. package/dist/models/CommunityInvitesResult.js +6 -6
  1004. package/dist/models/CommunityJoinAction.d.ts +0 -3
  1005. package/dist/models/CommunityJoinAction.js +3 -5
  1006. package/dist/models/CommunityJoinActionResultUnion.d.ts +0 -1
  1007. package/dist/models/CommunityJoinActionResultUnion.js +5 -7
  1008. package/dist/models/CommunityJoinActionUnavailable.d.ts +0 -7
  1009. package/dist/models/CommunityJoinActionUnavailable.js +6 -6
  1010. package/dist/models/CommunityJoinRequestsResult.d.ts +0 -3
  1011. package/dist/models/CommunityJoinRequestsResult.js +3 -5
  1012. package/dist/models/CommunityLeaveActionResult.d.ts +0 -7
  1013. package/dist/models/CommunityLeaveActionResult.js +6 -6
  1014. package/dist/models/CommunityMediaTimelineResponse.d.ts +0 -5
  1015. package/dist/models/CommunityMediaTimelineResponse.js +3 -5
  1016. package/dist/models/CommunityPinActionResult.d.ts +0 -3
  1017. package/dist/models/CommunityPinActionResult.js +3 -5
  1018. package/dist/models/CommunityRelationship.d.ts +0 -9
  1019. package/dist/models/CommunityRelationship.js +4 -6
  1020. package/dist/models/CommunityResult.d.ts +31 -0
  1021. package/dist/models/CommunityResult.js +51 -0
  1022. package/dist/models/CommunityRule.d.ts +0 -7
  1023. package/dist/models/CommunityRule.js +2 -4
  1024. package/dist/models/CommunityTweetsTimelineResponse.d.ts +0 -5
  1025. package/dist/models/CommunityTweetsTimelineResponse.js +3 -5
  1026. package/dist/models/CommunityUnavailable.d.ts +31 -0
  1027. package/dist/models/CommunityUnavailable.js +51 -0
  1028. package/dist/models/CommunityUnion.d.ts +27 -0
  1029. package/dist/models/CommunityUnion.js +53 -0
  1030. package/dist/models/CommunityUnpinActionResult.d.ts +0 -3
  1031. package/dist/models/CommunityUnpinActionResult.js +3 -5
  1032. package/dist/models/CommunityUrls.d.ts +0 -3
  1033. package/dist/models/CommunityUrls.js +2 -4
  1034. package/dist/models/CommunityUrlsPermalink.d.ts +0 -3
  1035. package/dist/models/CommunityUrlsPermalink.js +1 -3
  1036. package/dist/models/ConnectTabTimelineResponse.d.ts +36 -0
  1037. package/dist/models/ConnectTabTimelineResponse.js +54 -0
  1038. package/dist/models/ConnectTabTimelineResponseData.d.ts +31 -0
  1039. package/dist/models/ConnectTabTimelineResponseData.js +51 -0
  1040. package/dist/models/ContentDisclosure.d.ts +36 -0
  1041. package/dist/models/ContentDisclosure.js +52 -0
  1042. package/dist/models/ContentDisclosureAdvertisingDisclosure.d.ts +30 -0
  1043. package/dist/models/ContentDisclosureAdvertisingDisclosure.js +50 -0
  1044. package/dist/models/ContentDisclosureAiGeneratedDisclosure.d.ts +48 -0
  1045. package/dist/models/ContentDisclosureAiGeneratedDisclosure.js +66 -0
  1046. package/dist/models/ContentEntryType.d.ts +0 -1
  1047. package/dist/models/ContentEntryType.js +2 -3
  1048. package/dist/models/ContentItemType.d.ts +3 -1
  1049. package/dist/models/ContentItemType.js +5 -3
  1050. package/dist/models/ContentUnion.d.ts +0 -1
  1051. package/dist/models/ContentUnion.js +7 -9
  1052. package/dist/models/ConversationControl.d.ts +0 -3
  1053. package/dist/models/ConversationControl.js +2 -4
  1054. package/dist/models/CoverCta.d.ts +0 -11
  1055. package/dist/models/CoverCta.js +5 -7
  1056. package/dist/models/CreateBookmarkResponse.d.ts +0 -5
  1057. package/dist/models/CreateBookmarkResponse.js +3 -5
  1058. package/dist/models/CreateBookmarkResponseData.d.ts +0 -3
  1059. package/dist/models/CreateBookmarkResponseData.js +1 -3
  1060. package/dist/models/CreateDraftTweetResponse.d.ts +36 -0
  1061. package/dist/models/CreateDraftTweetResponse.js +54 -0
  1062. package/dist/models/CreateDraftTweetResponseData.d.ts +31 -0
  1063. package/dist/models/CreateDraftTweetResponseData.js +51 -0
  1064. package/dist/models/CreateDraftTweetResponseTweet.d.ts +30 -0
  1065. package/dist/models/CreateDraftTweetResponseTweet.js +50 -0
  1066. package/dist/models/CreateRetweet.d.ts +0 -3
  1067. package/dist/models/CreateRetweet.js +2 -4
  1068. package/dist/models/CreateRetweetResponse.d.ts +0 -5
  1069. package/dist/models/CreateRetweetResponse.js +3 -5
  1070. package/dist/models/CreateRetweetResponseData.d.ts +0 -3
  1071. package/dist/models/CreateRetweetResponseData.js +2 -4
  1072. package/dist/models/CreateRetweetResponseResult.d.ts +0 -3
  1073. package/dist/models/CreateRetweetResponseResult.js +3 -5
  1074. package/dist/models/CreateTweet.d.ts +0 -3
  1075. package/dist/models/CreateTweet.js +2 -4
  1076. package/dist/models/CreateTweetResponse.d.ts +0 -5
  1077. package/dist/models/CreateTweetResponse.js +3 -5
  1078. package/dist/models/CreateTweetResponseData.d.ts +0 -3
  1079. package/dist/models/CreateTweetResponseData.js +2 -4
  1080. package/dist/models/CreateTweetResponseResult.d.ts +0 -3
  1081. package/dist/models/CreateTweetResponseResult.js +3 -5
  1082. package/dist/models/CtaClientEventInfo.d.ts +0 -3
  1083. package/dist/models/CtaClientEventInfo.js +4 -4
  1084. package/dist/models/CursorType.d.ts +0 -1
  1085. package/dist/models/CursorType.js +2 -3
  1086. package/dist/models/DeleteBookmarkResponse.d.ts +0 -5
  1087. package/dist/models/DeleteBookmarkResponse.js +3 -5
  1088. package/dist/models/DeleteBookmarkResponseData.d.ts +0 -3
  1089. package/dist/models/DeleteBookmarkResponseData.js +1 -3
  1090. package/dist/models/DeleteDraftTweetsResponse.d.ts +36 -0
  1091. package/dist/models/DeleteDraftTweetsResponse.js +54 -0
  1092. package/dist/models/DeleteDraftTweetsResponseData.d.ts +30 -0
  1093. package/dist/models/DeleteDraftTweetsResponseData.js +50 -0
  1094. package/dist/models/DeleteListResponse.d.ts +36 -0
  1095. package/dist/models/DeleteListResponse.js +54 -0
  1096. package/dist/models/DeleteListResponseData.d.ts +30 -0
  1097. package/dist/models/DeleteListResponseData.js +50 -0
  1098. package/dist/models/DeleteRetweet.d.ts +0 -3
  1099. package/dist/models/DeleteRetweet.js +2 -4
  1100. package/dist/models/DeleteRetweetResponse.d.ts +0 -5
  1101. package/dist/models/DeleteRetweetResponse.js +3 -5
  1102. package/dist/models/DeleteRetweetResponseData.d.ts +0 -3
  1103. package/dist/models/DeleteRetweetResponseData.js +2 -4
  1104. package/dist/models/DeleteRetweetResponseResult.d.ts +0 -3
  1105. package/dist/models/DeleteRetweetResponseResult.js +2 -4
  1106. package/dist/models/DeleteTweetResponse.d.ts +0 -5
  1107. package/dist/models/DeleteTweetResponse.js +3 -5
  1108. package/dist/models/DeleteTweetResponseData.d.ts +0 -3
  1109. package/dist/models/DeleteTweetResponseData.js +2 -4
  1110. package/dist/models/DeleteTweetResponseResult.d.ts +0 -3
  1111. package/dist/models/DeleteTweetResponseResult.js +2 -4
  1112. package/dist/models/DisplayTreatment.d.ts +0 -5
  1113. package/dist/models/DisplayTreatment.js +1 -3
  1114. package/dist/models/DisplayType.d.ts +0 -1
  1115. package/dist/models/DisplayType.js +2 -3
  1116. package/dist/models/DraftList.d.ts +31 -0
  1117. package/dist/models/DraftList.js +51 -0
  1118. package/dist/models/DraftTweet.d.ts +40 -0
  1119. package/dist/models/DraftTweet.js +60 -0
  1120. package/dist/models/DraftTweetCreateRequest.d.ts +52 -0
  1121. package/dist/models/DraftTweetCreateRequest.js +70 -0
  1122. package/dist/models/DraftTweetUser.d.ts +35 -0
  1123. package/dist/models/DraftTweetUser.js +55 -0
  1124. package/dist/models/DraftTweetUserResults.d.ts +31 -0
  1125. package/dist/models/DraftTweetUserResults.js +51 -0
  1126. package/dist/models/DraftTweetsViewer.d.ts +31 -0
  1127. package/dist/models/DraftTweetsViewer.js +51 -0
  1128. package/dist/models/Entities.d.ts +9 -17
  1129. package/dist/models/Entities.js +12 -19
  1130. package/dist/models/ErrorExtensions.d.ts +1 -14
  1131. package/dist/models/ErrorExtensions.js +3 -7
  1132. package/dist/models/ErrorResponse.d.ts +3 -23
  1133. package/dist/models/ErrorResponse.js +8 -11
  1134. package/dist/models/ErrorResponsePathInner.d.ts +21 -0
  1135. package/dist/models/ErrorResponsePathInner.js +49 -0
  1136. package/dist/models/ExplorePage.d.ts +35 -0
  1137. package/dist/models/ExplorePage.js +55 -0
  1138. package/dist/models/ExplorePageBody.d.ts +40 -0
  1139. package/dist/models/ExplorePageBody.js +60 -0
  1140. package/dist/models/ExplorePageResponse.d.ts +36 -0
  1141. package/dist/models/ExplorePageResponse.js +54 -0
  1142. package/dist/models/ExplorePageResponseData.d.ts +31 -0
  1143. package/dist/models/ExplorePageResponseData.js +51 -0
  1144. package/dist/models/ExploreTimeline.d.ts +48 -0
  1145. package/dist/models/ExploreTimeline.js +68 -0
  1146. package/dist/models/ExploreTimelineScribeConfig.d.ts +34 -0
  1147. package/dist/models/ExploreTimelineScribeConfig.js +54 -0
  1148. package/dist/models/ExtMediaAvailability.d.ts +0 -5
  1149. package/dist/models/ExtMediaAvailability.js +2 -4
  1150. package/dist/models/ExtendedEntities.d.ts +0 -3
  1151. package/dist/models/ExtendedEntities.js +2 -4
  1152. package/dist/models/FavoriteTweet.d.ts +0 -3
  1153. package/dist/models/FavoriteTweet.js +1 -3
  1154. package/dist/models/FavoriteTweetResponse.d.ts +0 -5
  1155. package/dist/models/FavoriteTweetResponse.js +3 -5
  1156. package/dist/models/FeedbackInfo.d.ts +0 -5
  1157. package/dist/models/FeedbackInfo.js +2 -4
  1158. package/dist/models/FetchDraftTweetsResponse.d.ts +36 -0
  1159. package/dist/models/FetchDraftTweetsResponse.js +54 -0
  1160. package/dist/models/FetchDraftTweetsResponseData.d.ts +31 -0
  1161. package/dist/models/FetchDraftTweetsResponseData.js +51 -0
  1162. package/dist/models/FetchScheduledTweetsResponse.d.ts +36 -0
  1163. package/dist/models/FetchScheduledTweetsResponse.js +54 -0
  1164. package/dist/models/FetchScheduledTweetsResponseData.d.ts +31 -0
  1165. package/dist/models/FetchScheduledTweetsResponseData.js +51 -0
  1166. package/dist/models/FollowResponse.d.ts +0 -5
  1167. package/dist/models/FollowResponse.js +3 -5
  1168. package/dist/models/FollowResponseData.d.ts +0 -3
  1169. package/dist/models/FollowResponseData.js +2 -4
  1170. package/dist/models/FollowResponseResult.d.ts +0 -5
  1171. package/dist/models/FollowResponseResult.js +4 -6
  1172. package/dist/models/FollowResponseUser.d.ts +0 -3
  1173. package/dist/models/FollowResponseUser.js +2 -4
  1174. package/dist/models/FollowTimeline.d.ts +0 -3
  1175. package/dist/models/FollowTimeline.js +2 -4
  1176. package/dist/models/GenericTimelineByIdResponse.d.ts +36 -0
  1177. package/dist/models/GenericTimelineByIdResponse.js +54 -0
  1178. package/dist/models/GenericTimelineByIdResponseData.d.ts +31 -0
  1179. package/dist/models/GenericTimelineByIdResponseData.js +51 -0
  1180. package/dist/models/GrokAnnotation.d.ts +30 -0
  1181. package/dist/models/GrokAnnotation.js +48 -0
  1182. package/dist/models/GrokEntity.d.ts +39 -0
  1183. package/dist/models/GrokEntity.js +59 -0
  1184. package/dist/models/GrokEntityRef.d.ts +65 -0
  1185. package/dist/models/GrokEntityRef.js +74 -0
  1186. package/dist/models/GrokImageAnnotation.d.ts +0 -5
  1187. package/dist/models/GrokImageAnnotation.js +2 -4
  1188. package/dist/models/GrokShareAttachment.d.ts +0 -3
  1189. package/dist/models/GrokShareAttachment.js +2 -4
  1190. package/dist/models/GrokShareAttachmentItem.d.ts +6 -7
  1191. package/dist/models/GrokShareAttachmentItem.js +5 -5
  1192. package/dist/models/GrokTranslatedBio.d.ts +43 -0
  1193. package/dist/models/GrokTranslatedBio.js +63 -0
  1194. package/dist/models/GrokTranslatedBioWithAvailability.d.ts +35 -0
  1195. package/dist/models/GrokTranslatedBioWithAvailability.js +53 -0
  1196. package/dist/models/GrokTranslatedCommunityNote.d.ts +47 -0
  1197. package/dist/models/GrokTranslatedCommunityNote.js +65 -0
  1198. package/dist/models/GrokTranslatedCommunityNoteWithAvailability.d.ts +35 -0
  1199. package/dist/models/GrokTranslatedCommunityNoteWithAvailability.js +53 -0
  1200. package/dist/models/GrokTranslatedPost.d.ts +53 -0
  1201. package/dist/models/GrokTranslatedPost.js +59 -0
  1202. package/dist/models/GrokTranslatedPostWithAvailability.d.ts +35 -0
  1203. package/dist/models/GrokTranslatedPostWithAvailability.js +53 -0
  1204. package/dist/models/Highlight.d.ts +0 -3
  1205. package/dist/models/Highlight.js +2 -4
  1206. package/dist/models/HomeTimelineHome.d.ts +0 -3
  1207. package/dist/models/HomeTimelineHome.js +3 -5
  1208. package/dist/models/HomeTimelineResponseData.d.ts +0 -3
  1209. package/dist/models/HomeTimelineResponseData.js +2 -4
  1210. package/dist/models/InstructionType.d.ts +0 -1
  1211. package/dist/models/InstructionType.js +2 -3
  1212. package/dist/models/InstructionUnion.d.ts +0 -1
  1213. package/dist/models/InstructionUnion.js +21 -23
  1214. package/dist/models/ItemContentUnion.d.ts +9 -1
  1215. package/dist/models/ItemContentUnion.js +34 -21
  1216. package/dist/models/ItemResult.d.ts +0 -5
  1217. package/dist/models/ItemResult.js +3 -5
  1218. package/dist/models/LimitedActionResultsData.d.ts +0 -3
  1219. package/dist/models/LimitedActionResultsData.js +2 -4
  1220. package/dist/models/ListBannerMedia.d.ts +31 -0
  1221. package/dist/models/ListBannerMedia.js +51 -0
  1222. package/dist/models/ListBannerMediaInfo.d.ts +43 -0
  1223. package/dist/models/ListBannerMediaInfo.js +63 -0
  1224. package/dist/models/ListBannerMediaSalientRect.d.ts +42 -0
  1225. package/dist/models/ListBannerMediaSalientRect.js +62 -0
  1226. package/dist/models/ListLatestTweetsTimelineResponse.d.ts +0 -5
  1227. package/dist/models/ListLatestTweetsTimelineResponse.js +3 -5
  1228. package/dist/models/ListMembersList.d.ts +31 -0
  1229. package/dist/models/ListMembersList.js +51 -0
  1230. package/dist/models/ListMembersResponse.d.ts +36 -0
  1231. package/dist/models/ListMembersResponse.js +54 -0
  1232. package/dist/models/ListMembersResponseData.d.ts +31 -0
  1233. package/dist/models/ListMembersResponseData.js +51 -0
  1234. package/dist/models/ListRecommendedUsersList.d.ts +31 -0
  1235. package/dist/models/ListRecommendedUsersList.js +51 -0
  1236. package/dist/models/ListRecommendedUsersResponse.d.ts +36 -0
  1237. package/dist/models/ListRecommendedUsersResponse.js +54 -0
  1238. package/dist/models/ListRecommendedUsersResponseData.d.ts +31 -0
  1239. package/dist/models/ListRecommendedUsersResponseData.js +51 -0
  1240. package/dist/models/ListResponse.d.ts +36 -0
  1241. package/dist/models/ListResponse.js +54 -0
  1242. package/dist/models/ListResponseData.d.ts +31 -0
  1243. package/dist/models/ListResponseData.js +51 -0
  1244. package/dist/models/ListSubscribersList.d.ts +31 -0
  1245. package/dist/models/ListSubscribersList.js +51 -0
  1246. package/dist/models/ListSubscribersResponse.d.ts +36 -0
  1247. package/dist/models/ListSubscribersResponse.js +54 -0
  1248. package/dist/models/ListSubscribersResponseData.d.ts +31 -0
  1249. package/dist/models/ListSubscribersResponseData.js +51 -0
  1250. package/dist/models/ListTweetsTimelineData.d.ts +0 -3
  1251. package/dist/models/ListTweetsTimelineData.js +2 -4
  1252. package/dist/models/ListTweetsTimelineList.d.ts +0 -3
  1253. package/dist/models/ListTweetsTimelineList.js +3 -5
  1254. package/dist/models/Location.d.ts +0 -5
  1255. package/dist/models/Location.js +1 -3
  1256. package/dist/models/Media.d.ts +9 -41
  1257. package/dist/models/Media.js +22 -19
  1258. package/dist/models/MediaCommunityResult.d.ts +0 -5
  1259. package/dist/models/MediaCommunityResult.js +5 -7
  1260. package/dist/models/MediaCommunityResults.d.ts +0 -3
  1261. package/dist/models/MediaCommunityResults.js +2 -4
  1262. package/dist/models/MediaCommunityTweetData.d.ts +0 -3
  1263. package/dist/models/MediaCommunityTweetData.js +2 -4
  1264. package/dist/models/MediaExtended.d.ts +9 -43
  1265. package/dist/models/MediaExtended.js +22 -19
  1266. package/dist/models/MediaOriginalInfo.d.ts +0 -7
  1267. package/dist/models/MediaOriginalInfo.js +2 -4
  1268. package/dist/models/MediaOriginalInfoFocusRect.d.ts +0 -9
  1269. package/dist/models/MediaOriginalInfoFocusRect.js +1 -3
  1270. package/dist/models/MediaResult.d.ts +0 -5
  1271. package/dist/models/MediaResult.js +3 -5
  1272. package/dist/models/MediaResults.d.ts +0 -3
  1273. package/dist/models/MediaResults.js +2 -4
  1274. package/dist/models/MediaSize.d.ts +0 -7
  1275. package/dist/models/MediaSize.js +2 -4
  1276. package/dist/models/MediaSizes.d.ts +0 -9
  1277. package/dist/models/MediaSizes.js +2 -4
  1278. package/dist/models/MediaStats.d.ts +0 -3
  1279. package/dist/models/MediaStats.js +1 -3
  1280. package/dist/models/MediaVideoInfo.d.ts +0 -7
  1281. package/dist/models/MediaVideoInfo.js +3 -5
  1282. package/dist/models/MediaVideoInfoVariant.d.ts +0 -7
  1283. package/dist/models/MediaVideoInfoVariant.js +2 -4
  1284. package/dist/models/MediaVisibilityResults.d.ts +0 -3
  1285. package/dist/models/MediaVisibilityResults.js +3 -5
  1286. package/dist/models/MediaVisibilityResultsBlurredImageInterstitial.d.ts +0 -7
  1287. package/dist/models/MediaVisibilityResultsBlurredImageInterstitial.js +2 -4
  1288. package/dist/models/ModuleEntry.d.ts +0 -7
  1289. package/dist/models/ModuleEntry.js +4 -6
  1290. package/dist/models/ModuleItem.d.ts +0 -7
  1291. package/dist/models/ModuleItem.js +2 -4
  1292. package/dist/models/NoteTweet.d.ts +1 -6
  1293. package/dist/models/NoteTweet.js +4 -8
  1294. package/dist/models/NoteTweetResult.d.ts +0 -3
  1295. package/dist/models/NoteTweetResult.js +2 -4
  1296. package/dist/models/NoteTweetResultData.d.ts +0 -11
  1297. package/dist/models/NoteTweetResultData.js +5 -7
  1298. package/dist/models/NoteTweetResultMedia.d.ts +0 -3
  1299. package/dist/models/NoteTweetResultMedia.js +3 -5
  1300. package/dist/models/NoteTweetResultMediaInlineMedia.d.ts +0 -5
  1301. package/dist/models/NoteTweetResultMediaInlineMedia.js +2 -4
  1302. package/dist/models/NoteTweetResultRichText.d.ts +0 -3
  1303. package/dist/models/NoteTweetResultRichText.js +3 -5
  1304. package/dist/models/NoteTweetResultRichTextTag.d.ts +0 -7
  1305. package/dist/models/NoteTweetResultRichTextTag.js +5 -7
  1306. package/dist/models/NotificationTemplate.d.ts +0 -7
  1307. package/dist/models/NotificationTemplate.js +2 -4
  1308. package/dist/models/NotificationsResult.d.ts +0 -7
  1309. package/dist/models/NotificationsResult.js +6 -8
  1310. package/dist/models/NotificationsTimelineData.d.ts +0 -3
  1311. package/dist/models/NotificationsTimelineData.js +3 -5
  1312. package/dist/models/NotificationsTimelineResponse.d.ts +0 -5
  1313. package/dist/models/NotificationsTimelineResponse.js +3 -5
  1314. package/dist/models/NotificationsUserResults.d.ts +0 -3
  1315. package/dist/models/NotificationsUserResults.js +2 -4
  1316. package/dist/models/NotificationsViewerV2.d.ts +0 -3
  1317. package/dist/models/NotificationsViewerV2.js +3 -5
  1318. package/dist/models/OneFactorLoginEligibility.d.ts +0 -3
  1319. package/dist/models/OneFactorLoginEligibility.js +1 -3
  1320. package/dist/models/OtherObjectAll.d.ts +0 -3
  1321. package/dist/models/OtherObjectAll.js +2 -4
  1322. package/dist/models/PostCreateBookmarkRequest.d.ts +0 -5
  1323. package/dist/models/PostCreateBookmarkRequest.js +2 -4
  1324. package/dist/models/PostCreateBookmarkRequestVariables.d.ts +0 -3
  1325. package/dist/models/PostCreateBookmarkRequestVariables.js +2 -4
  1326. package/dist/models/PostCreateDraftTweetRequest.d.ts +35 -0
  1327. package/dist/models/PostCreateDraftTweetRequest.js +55 -0
  1328. package/dist/models/PostCreateDraftTweetRequestVariables.d.ts +31 -0
  1329. package/dist/models/PostCreateDraftTweetRequestVariables.js +51 -0
  1330. package/dist/models/PostCreateDraftTweetRequestVariablesPostTweetRequest.d.ts +46 -0
  1331. package/dist/models/PostCreateDraftTweetRequestVariablesPostTweetRequest.js +66 -0
  1332. package/dist/models/PostCreateListRequest.d.ts +40 -0
  1333. package/dist/models/PostCreateListRequest.js +60 -0
  1334. package/dist/models/PostCreateListRequestFeatures.d.ts +46 -0
  1335. package/dist/models/PostCreateListRequestFeatures.js +66 -0
  1336. package/dist/models/PostCreateListRequestVariables.d.ts +38 -0
  1337. package/dist/models/PostCreateListRequestVariables.js +58 -0
  1338. package/dist/models/PostCreateRetweetRequest.d.ts +0 -5
  1339. package/dist/models/PostCreateRetweetRequest.js +2 -4
  1340. package/dist/models/PostCreateRetweetRequestVariables.d.ts +0 -5
  1341. package/dist/models/PostCreateRetweetRequestVariables.js +3 -5
  1342. package/dist/models/PostCreateTweetRequest.d.ts +0 -7
  1343. package/dist/models/PostCreateTweetRequest.js +3 -5
  1344. package/dist/models/PostCreateTweetRequestFeatures.d.ts +42 -69
  1345. package/dist/models/PostCreateTweetRequestFeatures.js +70 -40
  1346. package/dist/models/PostCreateTweetRequestVariables.d.ts +0 -17
  1347. package/dist/models/PostCreateTweetRequestVariables.js +7 -9
  1348. package/dist/models/PostCreateTweetRequestVariablesConversationControl.d.ts +0 -3
  1349. package/dist/models/PostCreateTweetRequestVariablesConversationControl.js +1 -3
  1350. package/dist/models/PostCreateTweetRequestVariablesMedia.d.ts +0 -5
  1351. package/dist/models/PostCreateTweetRequestVariablesMedia.js +3 -5
  1352. package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.d.ts +0 -5
  1353. package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.js +3 -5
  1354. package/dist/models/PostCreateTweetRequestVariablesReply.d.ts +0 -5
  1355. package/dist/models/PostCreateTweetRequestVariablesReply.js +3 -5
  1356. package/dist/models/PostCta.d.ts +47 -0
  1357. package/dist/models/PostCta.js +67 -0
  1358. package/dist/models/PostCtaTitleText.d.ts +35 -0
  1359. package/dist/models/PostCtaTitleText.js +55 -0
  1360. package/dist/models/PostCtaTitleTextEntity.d.ts +39 -0
  1361. package/dist/models/PostCtaTitleTextEntity.js +59 -0
  1362. package/dist/models/PostCtaTitleTextEntityRef.d.ts +36 -0
  1363. package/dist/models/PostCtaTitleTextEntityRef.js +54 -0
  1364. package/dist/models/PostCtaUserResults.d.ts +31 -0
  1365. package/dist/models/PostCtaUserResults.js +51 -0
  1366. package/dist/models/PostCtaUserResultsAvatar.d.ts +30 -0
  1367. package/dist/models/PostCtaUserResultsAvatar.js +50 -0
  1368. package/dist/models/PostCtaUserResultsResult.d.ts +36 -0
  1369. package/dist/models/PostCtaUserResultsResult.js +56 -0
  1370. package/dist/models/PostDeleteBookmarkRequest.d.ts +0 -5
  1371. package/dist/models/PostDeleteBookmarkRequest.js +2 -4
  1372. package/dist/models/PostDeleteDraftTweetsRequest.d.ts +35 -0
  1373. package/dist/models/PostDeleteDraftTweetsRequest.js +55 -0
  1374. package/dist/models/PostDeleteDraftTweetsRequestVariables.d.ts +30 -0
  1375. package/dist/models/PostDeleteDraftTweetsRequestVariables.js +50 -0
  1376. package/dist/models/PostDeleteListRequest.d.ts +35 -0
  1377. package/dist/models/PostDeleteListRequest.js +55 -0
  1378. package/dist/models/PostDeleteListRequestVariables.d.ts +30 -0
  1379. package/dist/models/PostDeleteListRequestVariables.js +50 -0
  1380. package/dist/models/PostDeleteRetweetRequest.d.ts +0 -5
  1381. package/dist/models/PostDeleteRetweetRequest.js +2 -4
  1382. package/dist/models/PostDeleteRetweetRequestVariables.d.ts +0 -5
  1383. package/dist/models/PostDeleteRetweetRequestVariables.js +3 -5
  1384. package/dist/models/PostDeleteTweetRequest.d.ts +0 -5
  1385. package/dist/models/PostDeleteTweetRequest.js +2 -4
  1386. package/dist/models/PostFavoriteTweetRequest.d.ts +0 -5
  1387. package/dist/models/PostFavoriteTweetRequest.js +2 -4
  1388. package/dist/models/PostListAddMemberRequest.d.ts +40 -0
  1389. package/dist/models/PostListAddMemberRequest.js +60 -0
  1390. package/dist/models/PostListAddMemberRequestVariables.d.ts +34 -0
  1391. package/dist/models/PostListAddMemberRequestVariables.js +54 -0
  1392. package/dist/models/PostListRemoveMemberRequest.d.ts +40 -0
  1393. package/dist/models/PostListRemoveMemberRequest.js +60 -0
  1394. package/dist/models/PostUnfavoriteTweetRequest.d.ts +0 -5
  1395. package/dist/models/PostUnfavoriteTweetRequest.js +2 -4
  1396. package/dist/models/PrimaryCommunityTopic.d.ts +0 -5
  1397. package/dist/models/PrimaryCommunityTopic.js +3 -5
  1398. package/dist/models/ProfileBio.d.ts +39 -0
  1399. package/dist/models/ProfileBio.js +55 -0
  1400. package/dist/models/ProfileBioEntities.d.ts +35 -0
  1401. package/dist/models/ProfileBioEntities.js +53 -0
  1402. package/dist/models/ProfileBioEntitiesUrls.d.ts +31 -0
  1403. package/dist/models/ProfileBioEntitiesUrls.js +49 -0
  1404. package/dist/models/ProfileResponse.d.ts +0 -5
  1405. package/dist/models/ProfileResponse.js +3 -5
  1406. package/dist/models/ProfileResponseData.d.ts +0 -3
  1407. package/dist/models/ProfileResponseData.js +2 -4
  1408. package/dist/models/QuotedRefResult.d.ts +0 -3
  1409. package/dist/models/QuotedRefResult.js +2 -4
  1410. package/dist/models/QuotedStatusPermalink.d.ts +0 -7
  1411. package/dist/models/QuotedStatusPermalink.js +1 -3
  1412. package/dist/models/RankedCommunityResult.d.ts +0 -5
  1413. package/dist/models/RankedCommunityResult.js +5 -7
  1414. package/dist/models/RankedCommunityResults.d.ts +0 -3
  1415. package/dist/models/RankedCommunityResults.js +2 -4
  1416. package/dist/models/RankedCommunityTweetData.d.ts +0 -3
  1417. package/dist/models/RankedCommunityTweetData.js +2 -4
  1418. package/dist/models/Retweet.d.ts +1 -6
  1419. package/dist/models/Retweet.js +4 -8
  1420. package/dist/models/RetweetLegacy.d.ts +0 -3
  1421. package/dist/models/RetweetLegacy.js +2 -4
  1422. package/dist/models/RichMessage.d.ts +0 -5
  1423. package/dist/models/RichMessage.js +1 -3
  1424. package/dist/models/ScheduledTweetsViewer.d.ts +32 -0
  1425. package/dist/models/ScheduledTweetsViewer.js +50 -0
  1426. package/dist/models/SearchByRawQuery.d.ts +0 -3
  1427. package/dist/models/SearchByRawQuery.js +3 -5
  1428. package/dist/models/SearchTimeline.d.ts +0 -3
  1429. package/dist/models/SearchTimeline.js +2 -4
  1430. package/dist/models/SearchTimelineData.d.ts +0 -3
  1431. package/dist/models/SearchTimelineData.js +3 -5
  1432. package/dist/models/SearchTimelineResponse.d.ts +0 -5
  1433. package/dist/models/SearchTimelineResponse.js +3 -5
  1434. package/dist/models/SelfThread.d.ts +0 -3
  1435. package/dist/models/SelfThread.js +2 -4
  1436. package/dist/models/SensitiveMediaWarning.d.ts +0 -7
  1437. package/dist/models/SensitiveMediaWarning.js +1 -3
  1438. package/dist/models/Session.d.ts +0 -29
  1439. package/dist/models/Session.js +8 -8
  1440. package/dist/models/Smarttag.d.ts +39 -0
  1441. package/dist/models/Smarttag.js +59 -0
  1442. package/dist/models/SmarttagTag.d.ts +32 -0
  1443. package/dist/models/SmarttagTag.js +50 -0
  1444. package/dist/models/SocialContextLandingUrl.d.ts +0 -7
  1445. package/dist/models/SocialContextLandingUrl.js +3 -5
  1446. package/dist/models/SocialContextUnion.d.ts +0 -1
  1447. package/dist/models/SocialContextUnion.js +5 -7
  1448. package/dist/models/SocialContextUnionType.d.ts +0 -1
  1449. package/dist/models/SocialContextUnionType.js +2 -3
  1450. package/dist/models/SuperFollowUserProfile.d.ts +30 -0
  1451. package/dist/models/SuperFollowUserProfile.js +50 -0
  1452. package/dist/models/SuperFollowsReplyUserResult.d.ts +0 -3
  1453. package/dist/models/SuperFollowsReplyUserResult.js +2 -4
  1454. package/dist/models/SuperFollowsReplyUserResultCore.d.ts +30 -0
  1455. package/dist/models/SuperFollowsReplyUserResultCore.js +50 -0
  1456. package/dist/models/SuperFollowsReplyUserResultData.d.ts +2 -7
  1457. package/dist/models/SuperFollowsReplyUserResultData.js +6 -10
  1458. package/dist/models/SuperFollowsReplyUserResultLegacy.d.ts +0 -3
  1459. package/dist/models/SuperFollowsReplyUserResultLegacy.js +2 -4
  1460. package/dist/models/Text.d.ts +0 -5
  1461. package/dist/models/Text.js +2 -4
  1462. package/dist/models/TextEntity.d.ts +0 -7
  1463. package/dist/models/TextEntity.js +2 -4
  1464. package/dist/models/TextEntityRef.d.ts +0 -7
  1465. package/dist/models/TextEntityRef.js +7 -5
  1466. package/dist/models/TextHighlight.d.ts +0 -5
  1467. package/dist/models/TextHighlight.js +1 -3
  1468. package/dist/models/ThumbnailImage.d.ts +0 -7
  1469. package/dist/models/ThumbnailImage.js +1 -3
  1470. package/dist/models/Timeline.d.ts +0 -7
  1471. package/dist/models/Timeline.js +2 -4
  1472. package/dist/models/TimelineAddEntries.d.ts +0 -5
  1473. package/dist/models/TimelineAddEntries.js +3 -5
  1474. package/dist/models/TimelineAddEntry.d.ts +0 -7
  1475. package/dist/models/TimelineAddEntry.js +2 -4
  1476. package/dist/models/TimelineAddToModule.d.ts +0 -9
  1477. package/dist/models/TimelineAddToModule.js +3 -5
  1478. package/dist/models/TimelineClearCache.d.ts +0 -3
  1479. package/dist/models/TimelineClearCache.js +2 -4
  1480. package/dist/models/TimelineClearEntriesUnreadState.d.ts +0 -3
  1481. package/dist/models/TimelineClearEntriesUnreadState.js +2 -4
  1482. package/dist/models/TimelineCommunity.d.ts +0 -3
  1483. package/dist/models/TimelineCommunity.js +4 -17
  1484. package/dist/models/TimelineCoverBehavior.d.ts +0 -5
  1485. package/dist/models/TimelineCoverBehavior.js +3 -5
  1486. package/dist/models/TimelineCoverBehaviorUrl.d.ts +0 -5
  1487. package/dist/models/TimelineCoverBehaviorUrl.js +5 -5
  1488. package/dist/models/TimelineFrame.d.ts +44 -0
  1489. package/dist/models/TimelineFrame.js +64 -0
  1490. package/dist/models/TimelineGeneralContext.d.ts +0 -11
  1491. package/dist/models/TimelineGeneralContext.js +4 -6
  1492. package/dist/models/TimelineHalfCover.d.ts +0 -15
  1493. package/dist/models/TimelineHalfCover.js +10 -8
  1494. package/dist/models/TimelineLabel.d.ts +45 -0
  1495. package/dist/models/TimelineLabel.js +65 -0
  1496. package/dist/models/TimelineMarkEntriesUnreadGreaterThanSortIndex.d.ts +0 -5
  1497. package/dist/models/TimelineMarkEntriesUnreadGreaterThanSortIndex.js +2 -4
  1498. package/dist/models/TimelineMessagePrompt.d.ts +0 -3
  1499. package/dist/models/TimelineMessagePrompt.js +4 -17
  1500. package/dist/models/TimelineNotification.d.ts +0 -17
  1501. package/dist/models/TimelineNotification.js +11 -13
  1502. package/dist/models/TimelinePinEntry.d.ts +0 -5
  1503. package/dist/models/TimelinePinEntry.js +3 -5
  1504. package/dist/models/TimelinePrompt.d.ts +0 -3
  1505. package/dist/models/TimelinePrompt.js +4 -17
  1506. package/dist/models/TimelineReplaceEntry.d.ts +0 -7
  1507. package/dist/models/TimelineReplaceEntry.js +4 -6
  1508. package/dist/models/TimelineResponse.d.ts +0 -5
  1509. package/dist/models/TimelineResponse.js +3 -5
  1510. package/dist/models/TimelineResult.d.ts +0 -5
  1511. package/dist/models/TimelineResult.js +2 -4
  1512. package/dist/models/TimelineShowAlert.d.ts +6 -20
  1513. package/dist/models/TimelineShowAlert.js +11 -10
  1514. package/dist/models/TimelineShowAlertRichText.d.ts +0 -5
  1515. package/dist/models/TimelineShowAlertRichText.js +1 -3
  1516. package/dist/models/TimelineShowCover.d.ts +0 -7
  1517. package/dist/models/TimelineShowCover.js +4 -6
  1518. package/dist/models/TimelineTerminateTimeline.d.ts +0 -5
  1519. package/dist/models/TimelineTerminateTimeline.js +3 -5
  1520. package/dist/models/TimelineTimelineCursor.d.ts +0 -15
  1521. package/dist/models/TimelineTimelineCursor.js +6 -8
  1522. package/dist/models/TimelineTimelineItem.d.ts +0 -11
  1523. package/dist/models/TimelineTimelineItem.js +6 -8
  1524. package/dist/models/TimelineTimelineModule.d.ts +0 -19
  1525. package/dist/models/TimelineTimelineModule.js +8 -10
  1526. package/dist/models/TimelineTombstone.d.ts +0 -9
  1527. package/dist/models/TimelineTombstone.js +5 -7
  1528. package/dist/models/TimelineTopicContext.d.ts +0 -7
  1529. package/dist/models/TimelineTopicContext.js +4 -6
  1530. package/dist/models/TimelineTrend.d.ts +4 -19
  1531. package/dist/models/TimelineTrend.js +13 -13
  1532. package/dist/models/TimelineTweet.d.ts +0 -17
  1533. package/dist/models/TimelineTweet.js +9 -11
  1534. package/dist/models/TimelineTwitterList.d.ts +45 -0
  1535. package/dist/models/TimelineTwitterList.js +63 -0
  1536. package/dist/models/TimelineUser.d.ts +0 -11
  1537. package/dist/models/TimelineUser.js +8 -10
  1538. package/dist/models/Timestamp.d.ts +0 -7
  1539. package/dist/models/Timestamp.js +1 -3
  1540. package/dist/models/TombstoneEntity.d.ts +0 -7
  1541. package/dist/models/TombstoneEntity.js +2 -4
  1542. package/dist/models/TombstoneInfo.d.ts +0 -5
  1543. package/dist/models/TombstoneInfo.js +2 -4
  1544. package/dist/models/TombstoneRef.d.ts +0 -7
  1545. package/dist/models/TombstoneRef.js +3 -5
  1546. package/dist/models/TombstoneRichText.d.ts +0 -7
  1547. package/dist/models/TombstoneRichText.js +2 -4
  1548. package/dist/models/TopicContext.d.ts +0 -15
  1549. package/dist/models/TopicContext.js +1 -3
  1550. package/dist/models/Tracing.d.ts +0 -3
  1551. package/dist/models/Tracing.js +2 -4
  1552. package/dist/models/TrendImage.d.ts +0 -3
  1553. package/dist/models/TrendImage.js +1 -3
  1554. package/dist/models/TrendMetadata.d.ts +4 -3
  1555. package/dist/models/TrendMetadata.js +4 -4
  1556. package/dist/models/TrendResults.d.ts +0 -3
  1557. package/dist/models/TrendResults.js +2 -4
  1558. package/dist/models/Tweet.d.ts +44 -64
  1559. package/dist/models/Tweet.js +45 -26
  1560. package/dist/models/TweetCard.d.ts +0 -5
  1561. package/dist/models/TweetCard.js +2 -4
  1562. package/dist/models/TweetCardLegacy.d.ts +0 -11
  1563. package/dist/models/TweetCardLegacy.js +5 -7
  1564. package/dist/models/TweetCardLegacyBindingValue.d.ts +0 -5
  1565. package/dist/models/TweetCardLegacyBindingValue.js +2 -4
  1566. package/dist/models/TweetCardLegacyBindingValueData.d.ts +0 -15
  1567. package/dist/models/TweetCardLegacyBindingValueData.js +3 -5
  1568. package/dist/models/TweetCardLegacyBindingValueDataImage.d.ts +0 -9
  1569. package/dist/models/TweetCardLegacyBindingValueDataImage.js +1 -3
  1570. package/dist/models/TweetCardPlatform.d.ts +0 -5
  1571. package/dist/models/TweetCardPlatform.js +3 -5
  1572. package/dist/models/TweetCardPlatformAudience.d.ts +0 -3
  1573. package/dist/models/TweetCardPlatformAudience.js +4 -4
  1574. package/dist/models/TweetCardPlatformData.d.ts +0 -3
  1575. package/dist/models/TweetCardPlatformData.js +2 -4
  1576. package/dist/models/TweetCardPlatformDevice.d.ts +0 -5
  1577. package/dist/models/TweetCardPlatformDevice.js +1 -3
  1578. package/dist/models/TweetDetailResponse.d.ts +0 -5
  1579. package/dist/models/TweetDetailResponse.js +3 -5
  1580. package/dist/models/TweetDetailResponseData.d.ts +0 -3
  1581. package/dist/models/TweetDetailResponseData.js +2 -4
  1582. package/dist/models/TweetEditControl.d.ts +0 -13
  1583. package/dist/models/TweetEditControl.js +2 -4
  1584. package/dist/models/TweetEditControlInitial.d.ts +0 -9
  1585. package/dist/models/TweetEditControlInitial.js +5 -7
  1586. package/dist/models/TweetEditPrespective.d.ts +0 -5
  1587. package/dist/models/TweetEditPrespective.js +1 -3
  1588. package/dist/models/TweetFavoritersResponse.d.ts +0 -5
  1589. package/dist/models/TweetFavoritersResponse.js +3 -5
  1590. package/dist/models/TweetFavoritersResponseData.d.ts +0 -3
  1591. package/dist/models/TweetFavoritersResponseData.js +2 -4
  1592. package/dist/models/TweetInterstitial.d.ts +1 -9
  1593. package/dist/models/TweetInterstitial.js +7 -8
  1594. package/dist/models/TweetInterstitialRevealText.d.ts +0 -7
  1595. package/dist/models/TweetInterstitialRevealText.js +2 -4
  1596. package/dist/models/TweetInterstitialText.d.ts +0 -7
  1597. package/dist/models/TweetInterstitialText.js +2 -4
  1598. package/dist/models/TweetInterstitialTextEntity.d.ts +0 -7
  1599. package/dist/models/TweetInterstitialTextEntity.js +2 -4
  1600. package/dist/models/TweetInterstitialTextEntityRef.d.ts +0 -7
  1601. package/dist/models/TweetInterstitialTextEntityRef.js +7 -5
  1602. package/dist/models/TweetLegacy.d.ts +1 -64
  1603. package/dist/models/TweetLegacy.js +21 -25
  1604. package/dist/models/TweetLegacyScopes.d.ts +0 -3
  1605. package/dist/models/TweetLegacyScopes.js +1 -3
  1606. package/dist/models/TweetLimitedActionResults.d.ts +0 -3
  1607. package/dist/models/TweetLimitedActionResults.js +3 -5
  1608. package/dist/models/TweetPostCta.d.ts +48 -0
  1609. package/dist/models/TweetPostCta.js +66 -0
  1610. package/dist/models/TweetPreviewDisplay.d.ts +0 -9
  1611. package/dist/models/TweetPreviewDisplay.js +7 -9
  1612. package/dist/models/TweetPreviewDisplayCta.d.ts +0 -5
  1613. package/dist/models/TweetPreviewDisplayCta.js +2 -4
  1614. package/dist/models/TweetPreviewDisplayCtaUrl.d.ts +0 -5
  1615. package/dist/models/TweetPreviewDisplayCtaUrl.js +2 -4
  1616. package/dist/models/TweetPreviewDisplayTweet.d.ts +5 -23
  1617. package/dist/models/TweetPreviewDisplayTweet.js +14 -13
  1618. package/dist/models/TweetPreviewDisplayTweetViewCount.d.ts +0 -3
  1619. package/dist/models/TweetPreviewDisplayTweetViewCount.js +1 -3
  1620. package/dist/models/TweetPreviousCounts.d.ts +0 -11
  1621. package/dist/models/TweetPreviousCounts.js +6 -8
  1622. package/dist/models/TweetResultByRestIdData.d.ts +0 -3
  1623. package/dist/models/TweetResultByRestIdData.js +2 -4
  1624. package/dist/models/TweetResultByRestIdResponse.d.ts +0 -5
  1625. package/dist/models/TweetResultByRestIdResponse.js +3 -5
  1626. package/dist/models/TweetRetweetersResponse.d.ts +0 -5
  1627. package/dist/models/TweetRetweetersResponse.js +3 -5
  1628. package/dist/models/TweetRetweetersResponseData.d.ts +0 -3
  1629. package/dist/models/TweetRetweetersResponseData.js +2 -4
  1630. package/dist/models/TweetTombstone.d.ts +0 -3
  1631. package/dist/models/TweetTombstone.js +4 -17
  1632. package/dist/models/TweetUnavailable.d.ts +0 -5
  1633. package/dist/models/TweetUnavailable.js +2 -4
  1634. package/dist/models/TweetUnion.d.ts +0 -1
  1635. package/dist/models/TweetUnion.js +11 -13
  1636. package/dist/models/TweetView.d.ts +0 -5
  1637. package/dist/models/TweetView.js +2 -4
  1638. package/dist/models/TweetWithVisibilityResults.d.ts +0 -11
  1639. package/dist/models/TweetWithVisibilityResults.js +6 -8
  1640. package/dist/models/TwitterList.d.ts +110 -0
  1641. package/dist/models/TwitterList.js +124 -0
  1642. package/dist/models/TypeName.d.ts +6 -1
  1643. package/dist/models/TypeName.js +8 -3
  1644. package/dist/models/UnfavoriteTweet.d.ts +0 -3
  1645. package/dist/models/UnfavoriteTweet.js +1 -3
  1646. package/dist/models/UnfavoriteTweetResponse.d.ts +0 -5
  1647. package/dist/models/UnfavoriteTweetResponse.js +3 -5
  1648. package/dist/models/UnifiedCard.d.ts +0 -3
  1649. package/dist/models/UnifiedCard.js +5 -5
  1650. package/dist/models/Url.d.ts +0 -9
  1651. package/dist/models/Url.js +2 -4
  1652. package/dist/models/UrtEndpointOptions.d.ts +1 -6
  1653. package/dist/models/UrtEndpointOptions.js +3 -7
  1654. package/dist/models/UrtEndpointRequestParams.d.ts +0 -5
  1655. package/dist/models/UrtEndpointRequestParams.js +1 -3
  1656. package/dist/models/User.d.ts +128 -54
  1657. package/dist/models/User.js +88 -19
  1658. package/dist/models/UserActionCounts.d.ts +30 -0
  1659. package/dist/models/UserActionCounts.js +50 -0
  1660. package/dist/models/UserAvatar.d.ts +30 -0
  1661. package/dist/models/UserAvatar.js +50 -0
  1662. package/dist/models/UserBanner.d.ts +30 -0
  1663. package/dist/models/UserBanner.js +50 -0
  1664. package/dist/models/UserCore.d.ts +38 -0
  1665. package/dist/models/UserCore.js +58 -0
  1666. package/dist/models/UserDmPermissions.d.ts +30 -0
  1667. package/dist/models/UserDmPermissions.js +50 -0
  1668. package/dist/models/UserFeatures.d.ts +0 -3
  1669. package/dist/models/UserFeatures.js +2 -4
  1670. package/dist/models/UserHighlightsInfo.d.ts +0 -5
  1671. package/dist/models/UserHighlightsInfo.js +3 -5
  1672. package/dist/models/UserHighlightsTweetsData.d.ts +0 -3
  1673. package/dist/models/UserHighlightsTweetsData.js +2 -4
  1674. package/dist/models/UserHighlightsTweetsResponse.d.ts +0 -5
  1675. package/dist/models/UserHighlightsTweetsResponse.js +3 -5
  1676. package/dist/models/UserHighlightsTweetsResult.d.ts +0 -5
  1677. package/dist/models/UserHighlightsTweetsResult.js +4 -6
  1678. package/dist/models/UserHighlightsTweetsTimeline.d.ts +0 -3
  1679. package/dist/models/UserHighlightsTweetsTimeline.js +2 -4
  1680. package/dist/models/UserHighlightsTweetsUser.d.ts +0 -3
  1681. package/dist/models/UserHighlightsTweetsUser.js +2 -4
  1682. package/dist/models/UserLegacy.d.ts +23 -90
  1683. package/dist/models/UserLegacy.js +36 -36
  1684. package/dist/models/UserLegacyExtendedProfile.d.ts +0 -3
  1685. package/dist/models/UserLegacyExtendedProfile.js +2 -4
  1686. package/dist/models/UserLegacyExtendedProfileBirthdate.d.ts +0 -11
  1687. package/dist/models/UserLegacyExtendedProfileBirthdate.js +4 -6
  1688. package/dist/models/UserLocation.d.ts +30 -0
  1689. package/dist/models/UserLocation.js +50 -0
  1690. package/dist/models/UserMediaPermissions.d.ts +30 -0
  1691. package/dist/models/UserMediaPermissions.js +50 -0
  1692. package/dist/models/UserNotificationsSettings.d.ts +30 -0
  1693. package/dist/models/UserNotificationsSettings.js +50 -0
  1694. package/dist/models/UserPinnedItems.d.ts +30 -0
  1695. package/dist/models/UserPinnedItems.js +48 -0
  1696. package/dist/models/UserPrivacy.d.ts +30 -0
  1697. package/dist/models/UserPrivacy.js +50 -0
  1698. package/dist/models/UserProfessional.d.ts +1 -8
  1699. package/dist/models/UserProfessional.js +7 -11
  1700. package/dist/models/UserProfessionalCategory.d.ts +0 -7
  1701. package/dist/models/UserProfessionalCategory.js +2 -4
  1702. package/dist/models/UserProfile.d.ts +31 -0
  1703. package/dist/models/UserProfile.js +51 -0
  1704. package/dist/models/UserProfileMetadata.d.ts +30 -0
  1705. package/dist/models/UserProfileMetadata.js +50 -0
  1706. package/dist/models/UserProfileTranslation.d.ts +30 -0
  1707. package/dist/models/UserProfileTranslation.js +50 -0
  1708. package/dist/models/UserRelationshipCounts.d.ts +34 -0
  1709. package/dist/models/UserRelationshipCounts.js +54 -0
  1710. package/dist/models/UserRelationshipPerspectives.d.ts +50 -0
  1711. package/dist/models/UserRelationshipPerspectives.js +58 -0
  1712. package/dist/models/UserResponse.d.ts +0 -5
  1713. package/dist/models/UserResponse.js +3 -5
  1714. package/dist/models/UserResponseData.d.ts +0 -3
  1715. package/dist/models/UserResponseData.js +2 -4
  1716. package/dist/models/UserResultByScreenName.d.ts +0 -5
  1717. package/dist/models/UserResultByScreenName.js +2 -4
  1718. package/dist/models/UserResultByScreenNameCore.d.ts +34 -0
  1719. package/dist/models/UserResultByScreenNameCore.js +54 -0
  1720. package/dist/models/UserResultByScreenNameLegacy.d.ts +0 -15
  1721. package/dist/models/UserResultByScreenNameLegacy.js +1 -3
  1722. package/dist/models/UserResultByScreenNameResult.d.ts +20 -12
  1723. package/dist/models/UserResultByScreenNameResult.js +22 -9
  1724. package/dist/models/UserResultCore.d.ts +0 -3
  1725. package/dist/models/UserResultCore.js +3 -5
  1726. package/dist/models/UserResultPrivacy.d.ts +30 -0
  1727. package/dist/models/UserResultPrivacy.js +50 -0
  1728. package/dist/models/UserResultRelationshipPerspectives.d.ts +42 -0
  1729. package/dist/models/UserResultRelationshipPerspectives.js +54 -0
  1730. package/dist/models/UserResults.d.ts +0 -3
  1731. package/dist/models/UserResults.js +2 -4
  1732. package/dist/models/UserTipJarSettings.d.ts +0 -19
  1733. package/dist/models/UserTipJarSettings.js +1 -3
  1734. package/dist/models/UserTweetCounts.d.ts +34 -0
  1735. package/dist/models/UserTweetCounts.js +54 -0
  1736. package/dist/models/UserTweetsData.d.ts +0 -3
  1737. package/dist/models/UserTweetsData.js +2 -4
  1738. package/dist/models/UserTweetsResponse.d.ts +0 -5
  1739. package/dist/models/UserTweetsResponse.js +3 -5
  1740. package/dist/models/UserTweetsResultV1.d.ts +0 -5
  1741. package/dist/models/UserTweetsResultV1.js +4 -6
  1742. package/dist/models/UserTweetsResultV2.d.ts +0 -5
  1743. package/dist/models/UserTweetsResultV2.js +5 -7
  1744. package/dist/models/UserTweetsUser.d.ts +0 -3
  1745. package/dist/models/UserTweetsUser.js +2 -4
  1746. package/dist/models/UserUnavailable.d.ts +0 -7
  1747. package/dist/models/UserUnavailable.js +3 -5
  1748. package/dist/models/UserUnion.d.ts +0 -1
  1749. package/dist/models/UserUnion.js +5 -7
  1750. package/dist/models/UserValue.d.ts +4 -3
  1751. package/dist/models/UserValue.js +4 -4
  1752. package/dist/models/UserVerification.d.ts +42 -0
  1753. package/dist/models/UserVerification.js +60 -0
  1754. package/dist/models/UserVerificationInfo.d.ts +0 -5
  1755. package/dist/models/UserVerificationInfo.js +3 -5
  1756. package/dist/models/UserVerificationInfoReason.d.ts +0 -7
  1757. package/dist/models/UserVerificationInfoReason.js +3 -5
  1758. package/dist/models/UserVerificationInfoReasonDescription.d.ts +0 -5
  1759. package/dist/models/UserVerificationInfoReasonDescription.js +2 -4
  1760. package/dist/models/UserVerificationInfoReasonDescriptionEntities.d.ts +0 -7
  1761. package/dist/models/UserVerificationInfoReasonDescriptionEntities.js +4 -6
  1762. package/dist/models/UserVerificationInfoReasonDescriptionEntitiesRef.d.ts +0 -5
  1763. package/dist/models/UserVerificationInfoReasonDescriptionEntitiesRef.js +5 -5
  1764. package/dist/models/UserWebsite.d.ts +30 -0
  1765. package/dist/models/UserWebsite.js +50 -0
  1766. package/dist/models/UsersResponse.d.ts +0 -5
  1767. package/dist/models/UsersResponse.js +3 -5
  1768. package/dist/models/UsersResponseData.d.ts +0 -3
  1769. package/dist/models/UsersResponseData.js +2 -4
  1770. package/dist/models/ViewerBadgeCountsResponse.d.ts +36 -0
  1771. package/dist/models/ViewerBadgeCountsResponse.js +54 -0
  1772. package/dist/models/ViewerBadgeCountsResponseData.d.ts +31 -0
  1773. package/dist/models/ViewerBadgeCountsResponseData.js +51 -0
  1774. package/dist/models/ViewerBadgeCountsResult.d.ts +36 -0
  1775. package/dist/models/ViewerBadgeCountsResult.js +56 -0
  1776. package/dist/models/ViewerBadgeCountsUserResults.d.ts +31 -0
  1777. package/dist/models/ViewerBadgeCountsUserResults.js +51 -0
  1778. package/dist/models/ViewerBadgeCountsViewer.d.ts +31 -0
  1779. package/dist/models/ViewerBadgeCountsViewer.js +51 -0
  1780. package/dist/models/index.d.ts +122 -2
  1781. package/dist/models/index.js +122 -2
  1782. package/dist/runtime.d.ts +34 -2
  1783. package/dist/runtime.js +341 -442
  1784. package/package.json +21 -25
  1785. package/dist/apis/DefaultApi.d.ts.map +0 -1
  1786. package/dist/apis/DefaultApi.js.map +0 -1
  1787. package/dist/apis/OtherApi.d.ts.map +0 -1
  1788. package/dist/apis/OtherApi.js.map +0 -1
  1789. package/dist/apis/PostApi.d.ts.map +0 -1
  1790. package/dist/apis/PostApi.js.map +0 -1
  1791. package/dist/apis/TweetApi.d.ts.map +0 -1
  1792. package/dist/apis/TweetApi.js.map +0 -1
  1793. package/dist/apis/UserApi.d.ts.map +0 -1
  1794. package/dist/apis/UserApi.js.map +0 -1
  1795. package/dist/apis/UserListApi.d.ts.map +0 -1
  1796. package/dist/apis/UserListApi.js.map +0 -1
  1797. package/dist/apis/UsersApi.d.ts.map +0 -1
  1798. package/dist/apis/UsersApi.js.map +0 -1
  1799. package/dist/apis/V11GetApi.d.ts.map +0 -1
  1800. package/dist/apis/V11GetApi.js.map +0 -1
  1801. package/dist/apis/V11PostApi.d.ts.map +0 -1
  1802. package/dist/apis/V11PostApi.js.map +0 -1
  1803. package/dist/apis/V20GetApi.d.ts.map +0 -1
  1804. package/dist/apis/V20GetApi.js.map +0 -1
  1805. package/dist/apis/index.d.ts.map +0 -1
  1806. package/dist/apis/index.js.map +0 -1
  1807. package/dist/index.d.ts.map +0 -1
  1808. package/dist/index.js.map +0 -1
  1809. package/dist/models/AboutCommunityResult.d.ts.map +0 -1
  1810. package/dist/models/AboutCommunityResult.js.map +0 -1
  1811. package/dist/models/AboutCommunityResults.d.ts.map +0 -1
  1812. package/dist/models/AboutCommunityResults.js.map +0 -1
  1813. package/dist/models/AboutCommunityTweetData.d.ts.map +0 -1
  1814. package/dist/models/AboutCommunityTweetData.js.map +0 -1
  1815. package/dist/models/AdditionalMediaInfo.d.ts.map +0 -1
  1816. package/dist/models/AdditionalMediaInfo.js.map +0 -1
  1817. package/dist/models/AdditionalMediaInfoCallToActions.d.ts.map +0 -1
  1818. package/dist/models/AdditionalMediaInfoCallToActions.js.map +0 -1
  1819. package/dist/models/AdditionalMediaInfoCallToActionsUrl.d.ts.map +0 -1
  1820. package/dist/models/AdditionalMediaInfoCallToActionsUrl.js.map +0 -1
  1821. package/dist/models/AllowDownloadStatus.d.ts.map +0 -1
  1822. package/dist/models/AllowDownloadStatus.js.map +0 -1
  1823. package/dist/models/AnalysisResults.d.ts.map +0 -1
  1824. package/dist/models/AnalysisResults.js.map +0 -1
  1825. package/dist/models/Article.d.ts.map +0 -1
  1826. package/dist/models/Article.js.map +0 -1
  1827. package/dist/models/ArticleCoverMedia.d.ts.map +0 -1
  1828. package/dist/models/ArticleCoverMedia.js.map +0 -1
  1829. package/dist/models/ArticleCoverMediaColorInfo.d.ts.map +0 -1
  1830. package/dist/models/ArticleCoverMediaColorInfo.js.map +0 -1
  1831. package/dist/models/ArticleCoverMediaColorInfoPalette.d.ts.map +0 -1
  1832. package/dist/models/ArticleCoverMediaColorInfoPalette.js.map +0 -1
  1833. package/dist/models/ArticleCoverMediaColorInfoPaletteRGB.d.ts.map +0 -1
  1834. package/dist/models/ArticleCoverMediaColorInfoPaletteRGB.js.map +0 -1
  1835. package/dist/models/ArticleCoverMediaInfo.d.ts.map +0 -1
  1836. package/dist/models/ArticleCoverMediaInfo.js.map +0 -1
  1837. package/dist/models/ArticleLifecycleState.d.ts.map +0 -1
  1838. package/dist/models/ArticleLifecycleState.js.map +0 -1
  1839. package/dist/models/ArticleMetadata.d.ts.map +0 -1
  1840. package/dist/models/ArticleMetadata.js.map +0 -1
  1841. package/dist/models/ArticleResult.d.ts.map +0 -1
  1842. package/dist/models/ArticleResult.js.map +0 -1
  1843. package/dist/models/ArticleResults.d.ts.map +0 -1
  1844. package/dist/models/ArticleResults.js.map +0 -1
  1845. package/dist/models/AuthorCommunityRelationship.d.ts.map +0 -1
  1846. package/dist/models/AuthorCommunityRelationship.js.map +0 -1
  1847. package/dist/models/BirdwatchEntity.d.ts.map +0 -1
  1848. package/dist/models/BirdwatchEntity.js.map +0 -1
  1849. package/dist/models/BirdwatchEntityRef.d.ts.map +0 -1
  1850. package/dist/models/BirdwatchEntityRef.js.map +0 -1
  1851. package/dist/models/BirdwatchPivot.d.ts.map +0 -1
  1852. package/dist/models/BirdwatchPivot.js.map +0 -1
  1853. package/dist/models/BirdwatchPivotCallToAction.d.ts.map +0 -1
  1854. package/dist/models/BirdwatchPivotCallToAction.js.map +0 -1
  1855. package/dist/models/BirdwatchPivotFooter.d.ts.map +0 -1
  1856. package/dist/models/BirdwatchPivotFooter.js.map +0 -1
  1857. package/dist/models/BirdwatchPivotNote.d.ts.map +0 -1
  1858. package/dist/models/BirdwatchPivotNote.js.map +0 -1
  1859. package/dist/models/BirdwatchPivotSubtitle.d.ts.map +0 -1
  1860. package/dist/models/BirdwatchPivotSubtitle.js.map +0 -1
  1861. package/dist/models/BookmarksResponse.d.ts.map +0 -1
  1862. package/dist/models/BookmarksResponse.js.map +0 -1
  1863. package/dist/models/BookmarksResponseData.d.ts.map +0 -1
  1864. package/dist/models/BookmarksResponseData.js.map +0 -1
  1865. package/dist/models/BookmarksTimeline.d.ts.map +0 -1
  1866. package/dist/models/BookmarksTimeline.js.map +0 -1
  1867. package/dist/models/Callback.d.ts.map +0 -1
  1868. package/dist/models/Callback.js.map +0 -1
  1869. package/dist/models/ClientEventInfo.d.ts.map +0 -1
  1870. package/dist/models/ClientEventInfo.js.map +0 -1
  1871. package/dist/models/CommunitiesActions.d.ts.map +0 -1
  1872. package/dist/models/CommunitiesActions.js.map +0 -1
  1873. package/dist/models/Community.d.ts.map +0 -1
  1874. package/dist/models/Community.js.map +0 -1
  1875. package/dist/models/CommunityAboutTimelineResponse.d.ts.map +0 -1
  1876. package/dist/models/CommunityAboutTimelineResponse.js.map +0 -1
  1877. package/dist/models/CommunityActions.d.ts.map +0 -1
  1878. package/dist/models/CommunityActions.js.map +0 -1
  1879. package/dist/models/CommunityData.d.ts +0 -220
  1880. package/dist/models/CommunityData.d.ts.map +0 -1
  1881. package/dist/models/CommunityData.js +0 -133
  1882. package/dist/models/CommunityData.js.map +0 -1
  1883. package/dist/models/CommunityDeleteActionResult.d.ts.map +0 -1
  1884. package/dist/models/CommunityDeleteActionResult.js.map +0 -1
  1885. package/dist/models/CommunityInvitesResult.d.ts.map +0 -1
  1886. package/dist/models/CommunityInvitesResult.js.map +0 -1
  1887. package/dist/models/CommunityJoinAction.d.ts.map +0 -1
  1888. package/dist/models/CommunityJoinAction.js.map +0 -1
  1889. package/dist/models/CommunityJoinActionResultUnion.d.ts.map +0 -1
  1890. package/dist/models/CommunityJoinActionResultUnion.js.map +0 -1
  1891. package/dist/models/CommunityJoinActionUnavailable.d.ts.map +0 -1
  1892. package/dist/models/CommunityJoinActionUnavailable.js.map +0 -1
  1893. package/dist/models/CommunityJoinRequestsResult.d.ts.map +0 -1
  1894. package/dist/models/CommunityJoinRequestsResult.js.map +0 -1
  1895. package/dist/models/CommunityLeaveActionResult.d.ts.map +0 -1
  1896. package/dist/models/CommunityLeaveActionResult.js.map +0 -1
  1897. package/dist/models/CommunityMediaTimelineResponse.d.ts.map +0 -1
  1898. package/dist/models/CommunityMediaTimelineResponse.js.map +0 -1
  1899. package/dist/models/CommunityPinActionResult.d.ts.map +0 -1
  1900. package/dist/models/CommunityPinActionResult.js.map +0 -1
  1901. package/dist/models/CommunityRelationship.d.ts.map +0 -1
  1902. package/dist/models/CommunityRelationship.js.map +0 -1
  1903. package/dist/models/CommunityRule.d.ts.map +0 -1
  1904. package/dist/models/CommunityRule.js.map +0 -1
  1905. package/dist/models/CommunityTweetsTimelineResponse.d.ts.map +0 -1
  1906. package/dist/models/CommunityTweetsTimelineResponse.js.map +0 -1
  1907. package/dist/models/CommunityUnpinActionResult.d.ts.map +0 -1
  1908. package/dist/models/CommunityUnpinActionResult.js.map +0 -1
  1909. package/dist/models/CommunityUrls.d.ts.map +0 -1
  1910. package/dist/models/CommunityUrls.js.map +0 -1
  1911. package/dist/models/CommunityUrlsPermalink.d.ts.map +0 -1
  1912. package/dist/models/CommunityUrlsPermalink.js.map +0 -1
  1913. package/dist/models/ContentEntryType.d.ts.map +0 -1
  1914. package/dist/models/ContentEntryType.js.map +0 -1
  1915. package/dist/models/ContentItemType.d.ts.map +0 -1
  1916. package/dist/models/ContentItemType.js.map +0 -1
  1917. package/dist/models/ContentUnion.d.ts.map +0 -1
  1918. package/dist/models/ContentUnion.js.map +0 -1
  1919. package/dist/models/ConversationControl.d.ts.map +0 -1
  1920. package/dist/models/ConversationControl.js.map +0 -1
  1921. package/dist/models/CoverCta.d.ts.map +0 -1
  1922. package/dist/models/CoverCta.js.map +0 -1
  1923. package/dist/models/CreateBookmarkResponse.d.ts.map +0 -1
  1924. package/dist/models/CreateBookmarkResponse.js.map +0 -1
  1925. package/dist/models/CreateBookmarkResponseData.d.ts.map +0 -1
  1926. package/dist/models/CreateBookmarkResponseData.js.map +0 -1
  1927. package/dist/models/CreateRetweet.d.ts.map +0 -1
  1928. package/dist/models/CreateRetweet.js.map +0 -1
  1929. package/dist/models/CreateRetweetResponse.d.ts.map +0 -1
  1930. package/dist/models/CreateRetweetResponse.js.map +0 -1
  1931. package/dist/models/CreateRetweetResponseData.d.ts.map +0 -1
  1932. package/dist/models/CreateRetweetResponseData.js.map +0 -1
  1933. package/dist/models/CreateRetweetResponseResult.d.ts.map +0 -1
  1934. package/dist/models/CreateRetweetResponseResult.js.map +0 -1
  1935. package/dist/models/CreateTweet.d.ts.map +0 -1
  1936. package/dist/models/CreateTweet.js.map +0 -1
  1937. package/dist/models/CreateTweetResponse.d.ts.map +0 -1
  1938. package/dist/models/CreateTweetResponse.js.map +0 -1
  1939. package/dist/models/CreateTweetResponseData.d.ts.map +0 -1
  1940. package/dist/models/CreateTweetResponseData.js.map +0 -1
  1941. package/dist/models/CreateTweetResponseResult.d.ts.map +0 -1
  1942. package/dist/models/CreateTweetResponseResult.js.map +0 -1
  1943. package/dist/models/CtaClientEventInfo.d.ts.map +0 -1
  1944. package/dist/models/CtaClientEventInfo.js.map +0 -1
  1945. package/dist/models/CursorType.d.ts.map +0 -1
  1946. package/dist/models/CursorType.js.map +0 -1
  1947. package/dist/models/DeleteBookmarkResponse.d.ts.map +0 -1
  1948. package/dist/models/DeleteBookmarkResponse.js.map +0 -1
  1949. package/dist/models/DeleteBookmarkResponseData.d.ts.map +0 -1
  1950. package/dist/models/DeleteBookmarkResponseData.js.map +0 -1
  1951. package/dist/models/DeleteRetweet.d.ts.map +0 -1
  1952. package/dist/models/DeleteRetweet.js.map +0 -1
  1953. package/dist/models/DeleteRetweetResponse.d.ts.map +0 -1
  1954. package/dist/models/DeleteRetweetResponse.js.map +0 -1
  1955. package/dist/models/DeleteRetweetResponseData.d.ts.map +0 -1
  1956. package/dist/models/DeleteRetweetResponseData.js.map +0 -1
  1957. package/dist/models/DeleteRetweetResponseResult.d.ts.map +0 -1
  1958. package/dist/models/DeleteRetweetResponseResult.js.map +0 -1
  1959. package/dist/models/DeleteTweetResponse.d.ts.map +0 -1
  1960. package/dist/models/DeleteTweetResponse.js.map +0 -1
  1961. package/dist/models/DeleteTweetResponseData.d.ts.map +0 -1
  1962. package/dist/models/DeleteTweetResponseData.js.map +0 -1
  1963. package/dist/models/DeleteTweetResponseResult.d.ts.map +0 -1
  1964. package/dist/models/DeleteTweetResponseResult.js.map +0 -1
  1965. package/dist/models/DisplayTreatment.d.ts.map +0 -1
  1966. package/dist/models/DisplayTreatment.js.map +0 -1
  1967. package/dist/models/DisplayType.d.ts.map +0 -1
  1968. package/dist/models/DisplayType.js.map +0 -1
  1969. package/dist/models/Entities.d.ts.map +0 -1
  1970. package/dist/models/Entities.js.map +0 -1
  1971. package/dist/models/ErrorExtensions.d.ts.map +0 -1
  1972. package/dist/models/ErrorExtensions.js.map +0 -1
  1973. package/dist/models/ErrorResponse.d.ts.map +0 -1
  1974. package/dist/models/ErrorResponse.js.map +0 -1
  1975. package/dist/models/ExtMediaAvailability.d.ts.map +0 -1
  1976. package/dist/models/ExtMediaAvailability.js.map +0 -1
  1977. package/dist/models/ExtendedEntities.d.ts.map +0 -1
  1978. package/dist/models/ExtendedEntities.js.map +0 -1
  1979. package/dist/models/FavoriteTweet.d.ts.map +0 -1
  1980. package/dist/models/FavoriteTweet.js.map +0 -1
  1981. package/dist/models/FavoriteTweetResponse.d.ts.map +0 -1
  1982. package/dist/models/FavoriteTweetResponse.js.map +0 -1
  1983. package/dist/models/FeedbackInfo.d.ts.map +0 -1
  1984. package/dist/models/FeedbackInfo.js.map +0 -1
  1985. package/dist/models/FollowResponse.d.ts.map +0 -1
  1986. package/dist/models/FollowResponse.js.map +0 -1
  1987. package/dist/models/FollowResponseData.d.ts.map +0 -1
  1988. package/dist/models/FollowResponseData.js.map +0 -1
  1989. package/dist/models/FollowResponseResult.d.ts.map +0 -1
  1990. package/dist/models/FollowResponseResult.js.map +0 -1
  1991. package/dist/models/FollowResponseUser.d.ts.map +0 -1
  1992. package/dist/models/FollowResponseUser.js.map +0 -1
  1993. package/dist/models/FollowTimeline.d.ts.map +0 -1
  1994. package/dist/models/FollowTimeline.js.map +0 -1
  1995. package/dist/models/GrokImageAnnotation.d.ts.map +0 -1
  1996. package/dist/models/GrokImageAnnotation.js.map +0 -1
  1997. package/dist/models/GrokShareAttachment.d.ts.map +0 -1
  1998. package/dist/models/GrokShareAttachment.js.map +0 -1
  1999. package/dist/models/GrokShareAttachmentItem.d.ts.map +0 -1
  2000. package/dist/models/GrokShareAttachmentItem.js.map +0 -1
  2001. package/dist/models/Highlight.d.ts.map +0 -1
  2002. package/dist/models/Highlight.js.map +0 -1
  2003. package/dist/models/HomeTimelineHome.d.ts.map +0 -1
  2004. package/dist/models/HomeTimelineHome.js.map +0 -1
  2005. package/dist/models/HomeTimelineResponseData.d.ts.map +0 -1
  2006. package/dist/models/HomeTimelineResponseData.js.map +0 -1
  2007. package/dist/models/InstructionType.d.ts.map +0 -1
  2008. package/dist/models/InstructionType.js.map +0 -1
  2009. package/dist/models/InstructionUnion.d.ts.map +0 -1
  2010. package/dist/models/InstructionUnion.js.map +0 -1
  2011. package/dist/models/ItemContentUnion.d.ts.map +0 -1
  2012. package/dist/models/ItemContentUnion.js.map +0 -1
  2013. package/dist/models/ItemResult.d.ts.map +0 -1
  2014. package/dist/models/ItemResult.js.map +0 -1
  2015. package/dist/models/LimitedActionResultsData.d.ts.map +0 -1
  2016. package/dist/models/LimitedActionResultsData.js.map +0 -1
  2017. package/dist/models/ListLatestTweetsTimelineResponse.d.ts.map +0 -1
  2018. package/dist/models/ListLatestTweetsTimelineResponse.js.map +0 -1
  2019. package/dist/models/ListTweetsTimelineData.d.ts.map +0 -1
  2020. package/dist/models/ListTweetsTimelineData.js.map +0 -1
  2021. package/dist/models/ListTweetsTimelineList.d.ts.map +0 -1
  2022. package/dist/models/ListTweetsTimelineList.js.map +0 -1
  2023. package/dist/models/Location.d.ts.map +0 -1
  2024. package/dist/models/Location.js.map +0 -1
  2025. package/dist/models/Media.d.ts.map +0 -1
  2026. package/dist/models/Media.js.map +0 -1
  2027. package/dist/models/MediaCommunityResult.d.ts.map +0 -1
  2028. package/dist/models/MediaCommunityResult.js.map +0 -1
  2029. package/dist/models/MediaCommunityResults.d.ts.map +0 -1
  2030. package/dist/models/MediaCommunityResults.js.map +0 -1
  2031. package/dist/models/MediaCommunityTweetData.d.ts.map +0 -1
  2032. package/dist/models/MediaCommunityTweetData.js.map +0 -1
  2033. package/dist/models/MediaExtended.d.ts.map +0 -1
  2034. package/dist/models/MediaExtended.js.map +0 -1
  2035. package/dist/models/MediaOriginalInfo.d.ts.map +0 -1
  2036. package/dist/models/MediaOriginalInfo.js.map +0 -1
  2037. package/dist/models/MediaOriginalInfoFocusRect.d.ts.map +0 -1
  2038. package/dist/models/MediaOriginalInfoFocusRect.js.map +0 -1
  2039. package/dist/models/MediaResult.d.ts.map +0 -1
  2040. package/dist/models/MediaResult.js.map +0 -1
  2041. package/dist/models/MediaResults.d.ts.map +0 -1
  2042. package/dist/models/MediaResults.js.map +0 -1
  2043. package/dist/models/MediaSize.d.ts.map +0 -1
  2044. package/dist/models/MediaSize.js.map +0 -1
  2045. package/dist/models/MediaSizes.d.ts.map +0 -1
  2046. package/dist/models/MediaSizes.js.map +0 -1
  2047. package/dist/models/MediaStats.d.ts.map +0 -1
  2048. package/dist/models/MediaStats.js.map +0 -1
  2049. package/dist/models/MediaVideoInfo.d.ts.map +0 -1
  2050. package/dist/models/MediaVideoInfo.js.map +0 -1
  2051. package/dist/models/MediaVideoInfoVariant.d.ts.map +0 -1
  2052. package/dist/models/MediaVideoInfoVariant.js.map +0 -1
  2053. package/dist/models/MediaVisibilityResults.d.ts.map +0 -1
  2054. package/dist/models/MediaVisibilityResults.js.map +0 -1
  2055. package/dist/models/MediaVisibilityResultsBlurredImageInterstitial.d.ts.map +0 -1
  2056. package/dist/models/MediaVisibilityResultsBlurredImageInterstitial.js.map +0 -1
  2057. package/dist/models/ModuleEntry.d.ts.map +0 -1
  2058. package/dist/models/ModuleEntry.js.map +0 -1
  2059. package/dist/models/ModuleItem.d.ts.map +0 -1
  2060. package/dist/models/ModuleItem.js.map +0 -1
  2061. package/dist/models/NoteTweet.d.ts.map +0 -1
  2062. package/dist/models/NoteTweet.js.map +0 -1
  2063. package/dist/models/NoteTweetResult.d.ts.map +0 -1
  2064. package/dist/models/NoteTweetResult.js.map +0 -1
  2065. package/dist/models/NoteTweetResultData.d.ts.map +0 -1
  2066. package/dist/models/NoteTweetResultData.js.map +0 -1
  2067. package/dist/models/NoteTweetResultMedia.d.ts.map +0 -1
  2068. package/dist/models/NoteTweetResultMedia.js.map +0 -1
  2069. package/dist/models/NoteTweetResultMediaInlineMedia.d.ts.map +0 -1
  2070. package/dist/models/NoteTweetResultMediaInlineMedia.js.map +0 -1
  2071. package/dist/models/NoteTweetResultRichText.d.ts.map +0 -1
  2072. package/dist/models/NoteTweetResultRichText.js.map +0 -1
  2073. package/dist/models/NoteTweetResultRichTextTag.d.ts.map +0 -1
  2074. package/dist/models/NoteTweetResultRichTextTag.js.map +0 -1
  2075. package/dist/models/NotificationTemplate.d.ts.map +0 -1
  2076. package/dist/models/NotificationTemplate.js.map +0 -1
  2077. package/dist/models/NotificationsResult.d.ts.map +0 -1
  2078. package/dist/models/NotificationsResult.js.map +0 -1
  2079. package/dist/models/NotificationsTimelineData.d.ts.map +0 -1
  2080. package/dist/models/NotificationsTimelineData.js.map +0 -1
  2081. package/dist/models/NotificationsTimelineResponse.d.ts.map +0 -1
  2082. package/dist/models/NotificationsTimelineResponse.js.map +0 -1
  2083. package/dist/models/NotificationsUserResults.d.ts.map +0 -1
  2084. package/dist/models/NotificationsUserResults.js.map +0 -1
  2085. package/dist/models/NotificationsViewerV2.d.ts.map +0 -1
  2086. package/dist/models/NotificationsViewerV2.js.map +0 -1
  2087. package/dist/models/OneFactorLoginEligibility.d.ts.map +0 -1
  2088. package/dist/models/OneFactorLoginEligibility.js.map +0 -1
  2089. package/dist/models/OtherObjectAll.d.ts.map +0 -1
  2090. package/dist/models/OtherObjectAll.js.map +0 -1
  2091. package/dist/models/PostCreateBookmarkRequest.d.ts.map +0 -1
  2092. package/dist/models/PostCreateBookmarkRequest.js.map +0 -1
  2093. package/dist/models/PostCreateBookmarkRequestVariables.d.ts.map +0 -1
  2094. package/dist/models/PostCreateBookmarkRequestVariables.js.map +0 -1
  2095. package/dist/models/PostCreateRetweetRequest.d.ts.map +0 -1
  2096. package/dist/models/PostCreateRetweetRequest.js.map +0 -1
  2097. package/dist/models/PostCreateRetweetRequestVariables.d.ts.map +0 -1
  2098. package/dist/models/PostCreateRetweetRequestVariables.js.map +0 -1
  2099. package/dist/models/PostCreateTweetRequest.d.ts.map +0 -1
  2100. package/dist/models/PostCreateTweetRequest.js.map +0 -1
  2101. package/dist/models/PostCreateTweetRequestFeatures.d.ts.map +0 -1
  2102. package/dist/models/PostCreateTweetRequestFeatures.js.map +0 -1
  2103. package/dist/models/PostCreateTweetRequestVariables.d.ts.map +0 -1
  2104. package/dist/models/PostCreateTweetRequestVariables.js.map +0 -1
  2105. package/dist/models/PostCreateTweetRequestVariablesConversationControl.d.ts.map +0 -1
  2106. package/dist/models/PostCreateTweetRequestVariablesConversationControl.js.map +0 -1
  2107. package/dist/models/PostCreateTweetRequestVariablesMedia.d.ts.map +0 -1
  2108. package/dist/models/PostCreateTweetRequestVariablesMedia.js.map +0 -1
  2109. package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.d.ts.map +0 -1
  2110. package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.js.map +0 -1
  2111. package/dist/models/PostCreateTweetRequestVariablesReply.d.ts.map +0 -1
  2112. package/dist/models/PostCreateTweetRequestVariablesReply.js.map +0 -1
  2113. package/dist/models/PostDeleteBookmarkRequest.d.ts.map +0 -1
  2114. package/dist/models/PostDeleteBookmarkRequest.js.map +0 -1
  2115. package/dist/models/PostDeleteRetweetRequest.d.ts.map +0 -1
  2116. package/dist/models/PostDeleteRetweetRequest.js.map +0 -1
  2117. package/dist/models/PostDeleteRetweetRequestVariables.d.ts.map +0 -1
  2118. package/dist/models/PostDeleteRetweetRequestVariables.js.map +0 -1
  2119. package/dist/models/PostDeleteTweetRequest.d.ts.map +0 -1
  2120. package/dist/models/PostDeleteTweetRequest.js.map +0 -1
  2121. package/dist/models/PostFavoriteTweetRequest.d.ts.map +0 -1
  2122. package/dist/models/PostFavoriteTweetRequest.js.map +0 -1
  2123. package/dist/models/PostUnfavoriteTweetRequest.d.ts.map +0 -1
  2124. package/dist/models/PostUnfavoriteTweetRequest.js.map +0 -1
  2125. package/dist/models/PrimaryCommunityTopic.d.ts.map +0 -1
  2126. package/dist/models/PrimaryCommunityTopic.js.map +0 -1
  2127. package/dist/models/ProfileResponse.d.ts.map +0 -1
  2128. package/dist/models/ProfileResponse.js.map +0 -1
  2129. package/dist/models/ProfileResponseData.d.ts.map +0 -1
  2130. package/dist/models/ProfileResponseData.js.map +0 -1
  2131. package/dist/models/QuotedRefResult.d.ts.map +0 -1
  2132. package/dist/models/QuotedRefResult.js.map +0 -1
  2133. package/dist/models/QuotedStatusPermalink.d.ts.map +0 -1
  2134. package/dist/models/QuotedStatusPermalink.js.map +0 -1
  2135. package/dist/models/RankedCommunityResult.d.ts.map +0 -1
  2136. package/dist/models/RankedCommunityResult.js.map +0 -1
  2137. package/dist/models/RankedCommunityResults.d.ts.map +0 -1
  2138. package/dist/models/RankedCommunityResults.js.map +0 -1
  2139. package/dist/models/RankedCommunityTweetData.d.ts.map +0 -1
  2140. package/dist/models/RankedCommunityTweetData.js.map +0 -1
  2141. package/dist/models/Retweet.d.ts.map +0 -1
  2142. package/dist/models/Retweet.js.map +0 -1
  2143. package/dist/models/RetweetLegacy.d.ts.map +0 -1
  2144. package/dist/models/RetweetLegacy.js.map +0 -1
  2145. package/dist/models/RichMessage.d.ts.map +0 -1
  2146. package/dist/models/RichMessage.js.map +0 -1
  2147. package/dist/models/SearchByRawQuery.d.ts.map +0 -1
  2148. package/dist/models/SearchByRawQuery.js.map +0 -1
  2149. package/dist/models/SearchTimeline.d.ts.map +0 -1
  2150. package/dist/models/SearchTimeline.js.map +0 -1
  2151. package/dist/models/SearchTimelineData.d.ts.map +0 -1
  2152. package/dist/models/SearchTimelineData.js.map +0 -1
  2153. package/dist/models/SearchTimelineResponse.d.ts.map +0 -1
  2154. package/dist/models/SearchTimelineResponse.js.map +0 -1
  2155. package/dist/models/SelfThread.d.ts.map +0 -1
  2156. package/dist/models/SelfThread.js.map +0 -1
  2157. package/dist/models/SensitiveMediaWarning.d.ts.map +0 -1
  2158. package/dist/models/SensitiveMediaWarning.js.map +0 -1
  2159. package/dist/models/Session.d.ts.map +0 -1
  2160. package/dist/models/Session.js.map +0 -1
  2161. package/dist/models/SocialContextLandingUrl.d.ts.map +0 -1
  2162. package/dist/models/SocialContextLandingUrl.js.map +0 -1
  2163. package/dist/models/SocialContextUnion.d.ts.map +0 -1
  2164. package/dist/models/SocialContextUnion.js.map +0 -1
  2165. package/dist/models/SocialContextUnionType.d.ts.map +0 -1
  2166. package/dist/models/SocialContextUnionType.js.map +0 -1
  2167. package/dist/models/SuperFollowsReplyUserResult.d.ts.map +0 -1
  2168. package/dist/models/SuperFollowsReplyUserResult.js.map +0 -1
  2169. package/dist/models/SuperFollowsReplyUserResultData.d.ts.map +0 -1
  2170. package/dist/models/SuperFollowsReplyUserResultData.js.map +0 -1
  2171. package/dist/models/SuperFollowsReplyUserResultLegacy.d.ts.map +0 -1
  2172. package/dist/models/SuperFollowsReplyUserResultLegacy.js.map +0 -1
  2173. package/dist/models/Text.d.ts.map +0 -1
  2174. package/dist/models/Text.js.map +0 -1
  2175. package/dist/models/TextEntity.d.ts.map +0 -1
  2176. package/dist/models/TextEntity.js.map +0 -1
  2177. package/dist/models/TextEntityRef.d.ts.map +0 -1
  2178. package/dist/models/TextEntityRef.js.map +0 -1
  2179. package/dist/models/TextHighlight.d.ts.map +0 -1
  2180. package/dist/models/TextHighlight.js.map +0 -1
  2181. package/dist/models/ThumbnailImage.d.ts.map +0 -1
  2182. package/dist/models/ThumbnailImage.js.map +0 -1
  2183. package/dist/models/Timeline.d.ts.map +0 -1
  2184. package/dist/models/Timeline.js.map +0 -1
  2185. package/dist/models/TimelineAddEntries.d.ts.map +0 -1
  2186. package/dist/models/TimelineAddEntries.js.map +0 -1
  2187. package/dist/models/TimelineAddEntry.d.ts.map +0 -1
  2188. package/dist/models/TimelineAddEntry.js.map +0 -1
  2189. package/dist/models/TimelineAddToModule.d.ts.map +0 -1
  2190. package/dist/models/TimelineAddToModule.js.map +0 -1
  2191. package/dist/models/TimelineClearCache.d.ts.map +0 -1
  2192. package/dist/models/TimelineClearCache.js.map +0 -1
  2193. package/dist/models/TimelineClearEntriesUnreadState.d.ts.map +0 -1
  2194. package/dist/models/TimelineClearEntriesUnreadState.js.map +0 -1
  2195. package/dist/models/TimelineCommunity.d.ts.map +0 -1
  2196. package/dist/models/TimelineCommunity.js.map +0 -1
  2197. package/dist/models/TimelineCoverBehavior.d.ts.map +0 -1
  2198. package/dist/models/TimelineCoverBehavior.js.map +0 -1
  2199. package/dist/models/TimelineCoverBehaviorUrl.d.ts.map +0 -1
  2200. package/dist/models/TimelineCoverBehaviorUrl.js.map +0 -1
  2201. package/dist/models/TimelineGeneralContext.d.ts.map +0 -1
  2202. package/dist/models/TimelineGeneralContext.js.map +0 -1
  2203. package/dist/models/TimelineHalfCover.d.ts.map +0 -1
  2204. package/dist/models/TimelineHalfCover.js.map +0 -1
  2205. package/dist/models/TimelineMarkEntriesUnreadGreaterThanSortIndex.d.ts.map +0 -1
  2206. package/dist/models/TimelineMarkEntriesUnreadGreaterThanSortIndex.js.map +0 -1
  2207. package/dist/models/TimelineMessagePrompt.d.ts.map +0 -1
  2208. package/dist/models/TimelineMessagePrompt.js.map +0 -1
  2209. package/dist/models/TimelineNotification.d.ts.map +0 -1
  2210. package/dist/models/TimelineNotification.js.map +0 -1
  2211. package/dist/models/TimelinePinEntry.d.ts.map +0 -1
  2212. package/dist/models/TimelinePinEntry.js.map +0 -1
  2213. package/dist/models/TimelinePrompt.d.ts.map +0 -1
  2214. package/dist/models/TimelinePrompt.js.map +0 -1
  2215. package/dist/models/TimelineReplaceEntry.d.ts.map +0 -1
  2216. package/dist/models/TimelineReplaceEntry.js.map +0 -1
  2217. package/dist/models/TimelineResponse.d.ts.map +0 -1
  2218. package/dist/models/TimelineResponse.js.map +0 -1
  2219. package/dist/models/TimelineResult.d.ts.map +0 -1
  2220. package/dist/models/TimelineResult.js.map +0 -1
  2221. package/dist/models/TimelineShowAlert.d.ts.map +0 -1
  2222. package/dist/models/TimelineShowAlert.js.map +0 -1
  2223. package/dist/models/TimelineShowAlertRichText.d.ts.map +0 -1
  2224. package/dist/models/TimelineShowAlertRichText.js.map +0 -1
  2225. package/dist/models/TimelineShowCover.d.ts.map +0 -1
  2226. package/dist/models/TimelineShowCover.js.map +0 -1
  2227. package/dist/models/TimelineTerminateTimeline.d.ts.map +0 -1
  2228. package/dist/models/TimelineTerminateTimeline.js.map +0 -1
  2229. package/dist/models/TimelineTimelineCursor.d.ts.map +0 -1
  2230. package/dist/models/TimelineTimelineCursor.js.map +0 -1
  2231. package/dist/models/TimelineTimelineItem.d.ts.map +0 -1
  2232. package/dist/models/TimelineTimelineItem.js.map +0 -1
  2233. package/dist/models/TimelineTimelineModule.d.ts.map +0 -1
  2234. package/dist/models/TimelineTimelineModule.js.map +0 -1
  2235. package/dist/models/TimelineTombstone.d.ts.map +0 -1
  2236. package/dist/models/TimelineTombstone.js.map +0 -1
  2237. package/dist/models/TimelineTopicContext.d.ts.map +0 -1
  2238. package/dist/models/TimelineTopicContext.js.map +0 -1
  2239. package/dist/models/TimelineTrend.d.ts.map +0 -1
  2240. package/dist/models/TimelineTrend.js.map +0 -1
  2241. package/dist/models/TimelineTweet.d.ts.map +0 -1
  2242. package/dist/models/TimelineTweet.js.map +0 -1
  2243. package/dist/models/TimelineUser.d.ts.map +0 -1
  2244. package/dist/models/TimelineUser.js.map +0 -1
  2245. package/dist/models/Timestamp.d.ts.map +0 -1
  2246. package/dist/models/Timestamp.js.map +0 -1
  2247. package/dist/models/TombstoneEntity.d.ts.map +0 -1
  2248. package/dist/models/TombstoneEntity.js.map +0 -1
  2249. package/dist/models/TombstoneInfo.d.ts.map +0 -1
  2250. package/dist/models/TombstoneInfo.js.map +0 -1
  2251. package/dist/models/TombstoneRef.d.ts.map +0 -1
  2252. package/dist/models/TombstoneRef.js.map +0 -1
  2253. package/dist/models/TombstoneRichText.d.ts.map +0 -1
  2254. package/dist/models/TombstoneRichText.js.map +0 -1
  2255. package/dist/models/TopicContext.d.ts.map +0 -1
  2256. package/dist/models/TopicContext.js.map +0 -1
  2257. package/dist/models/Tracing.d.ts.map +0 -1
  2258. package/dist/models/Tracing.js.map +0 -1
  2259. package/dist/models/TrendImage.d.ts.map +0 -1
  2260. package/dist/models/TrendImage.js.map +0 -1
  2261. package/dist/models/TrendMetadata.d.ts.map +0 -1
  2262. package/dist/models/TrendMetadata.js.map +0 -1
  2263. package/dist/models/TrendResults.d.ts.map +0 -1
  2264. package/dist/models/TrendResults.js.map +0 -1
  2265. package/dist/models/Tweet.d.ts.map +0 -1
  2266. package/dist/models/Tweet.js.map +0 -1
  2267. package/dist/models/TweetCard.d.ts.map +0 -1
  2268. package/dist/models/TweetCard.js.map +0 -1
  2269. package/dist/models/TweetCardLegacy.d.ts.map +0 -1
  2270. package/dist/models/TweetCardLegacy.js.map +0 -1
  2271. package/dist/models/TweetCardLegacyBindingValue.d.ts.map +0 -1
  2272. package/dist/models/TweetCardLegacyBindingValue.js.map +0 -1
  2273. package/dist/models/TweetCardLegacyBindingValueData.d.ts.map +0 -1
  2274. package/dist/models/TweetCardLegacyBindingValueData.js.map +0 -1
  2275. package/dist/models/TweetCardLegacyBindingValueDataImage.d.ts.map +0 -1
  2276. package/dist/models/TweetCardLegacyBindingValueDataImage.js.map +0 -1
  2277. package/dist/models/TweetCardPlatform.d.ts.map +0 -1
  2278. package/dist/models/TweetCardPlatform.js.map +0 -1
  2279. package/dist/models/TweetCardPlatformAudience.d.ts.map +0 -1
  2280. package/dist/models/TweetCardPlatformAudience.js.map +0 -1
  2281. package/dist/models/TweetCardPlatformData.d.ts.map +0 -1
  2282. package/dist/models/TweetCardPlatformData.js.map +0 -1
  2283. package/dist/models/TweetCardPlatformDevice.d.ts.map +0 -1
  2284. package/dist/models/TweetCardPlatformDevice.js.map +0 -1
  2285. package/dist/models/TweetDetailResponse.d.ts.map +0 -1
  2286. package/dist/models/TweetDetailResponse.js.map +0 -1
  2287. package/dist/models/TweetDetailResponseData.d.ts.map +0 -1
  2288. package/dist/models/TweetDetailResponseData.js.map +0 -1
  2289. package/dist/models/TweetEditControl.d.ts.map +0 -1
  2290. package/dist/models/TweetEditControl.js.map +0 -1
  2291. package/dist/models/TweetEditControlInitial.d.ts.map +0 -1
  2292. package/dist/models/TweetEditControlInitial.js.map +0 -1
  2293. package/dist/models/TweetEditPrespective.d.ts.map +0 -1
  2294. package/dist/models/TweetEditPrespective.js.map +0 -1
  2295. package/dist/models/TweetFavoritersResponse.d.ts.map +0 -1
  2296. package/dist/models/TweetFavoritersResponse.js.map +0 -1
  2297. package/dist/models/TweetFavoritersResponseData.d.ts.map +0 -1
  2298. package/dist/models/TweetFavoritersResponseData.js.map +0 -1
  2299. package/dist/models/TweetInterstitial.d.ts.map +0 -1
  2300. package/dist/models/TweetInterstitial.js.map +0 -1
  2301. package/dist/models/TweetInterstitialRevealText.d.ts.map +0 -1
  2302. package/dist/models/TweetInterstitialRevealText.js.map +0 -1
  2303. package/dist/models/TweetInterstitialText.d.ts.map +0 -1
  2304. package/dist/models/TweetInterstitialText.js.map +0 -1
  2305. package/dist/models/TweetInterstitialTextEntity.d.ts.map +0 -1
  2306. package/dist/models/TweetInterstitialTextEntity.js.map +0 -1
  2307. package/dist/models/TweetInterstitialTextEntityRef.d.ts.map +0 -1
  2308. package/dist/models/TweetInterstitialTextEntityRef.js.map +0 -1
  2309. package/dist/models/TweetLegacy.d.ts.map +0 -1
  2310. package/dist/models/TweetLegacy.js.map +0 -1
  2311. package/dist/models/TweetLegacyScopes.d.ts.map +0 -1
  2312. package/dist/models/TweetLegacyScopes.js.map +0 -1
  2313. package/dist/models/TweetLimitedActionResults.d.ts.map +0 -1
  2314. package/dist/models/TweetLimitedActionResults.js.map +0 -1
  2315. package/dist/models/TweetPreviewDisplay.d.ts.map +0 -1
  2316. package/dist/models/TweetPreviewDisplay.js.map +0 -1
  2317. package/dist/models/TweetPreviewDisplayCta.d.ts.map +0 -1
  2318. package/dist/models/TweetPreviewDisplayCta.js.map +0 -1
  2319. package/dist/models/TweetPreviewDisplayCtaUrl.d.ts.map +0 -1
  2320. package/dist/models/TweetPreviewDisplayCtaUrl.js.map +0 -1
  2321. package/dist/models/TweetPreviewDisplayTweet.d.ts.map +0 -1
  2322. package/dist/models/TweetPreviewDisplayTweet.js.map +0 -1
  2323. package/dist/models/TweetPreviewDisplayTweetViewCount.d.ts.map +0 -1
  2324. package/dist/models/TweetPreviewDisplayTweetViewCount.js.map +0 -1
  2325. package/dist/models/TweetPreviousCounts.d.ts.map +0 -1
  2326. package/dist/models/TweetPreviousCounts.js.map +0 -1
  2327. package/dist/models/TweetResultByRestIdData.d.ts.map +0 -1
  2328. package/dist/models/TweetResultByRestIdData.js.map +0 -1
  2329. package/dist/models/TweetResultByRestIdResponse.d.ts.map +0 -1
  2330. package/dist/models/TweetResultByRestIdResponse.js.map +0 -1
  2331. package/dist/models/TweetRetweetersResponse.d.ts.map +0 -1
  2332. package/dist/models/TweetRetweetersResponse.js.map +0 -1
  2333. package/dist/models/TweetRetweetersResponseData.d.ts.map +0 -1
  2334. package/dist/models/TweetRetweetersResponseData.js.map +0 -1
  2335. package/dist/models/TweetTombstone.d.ts.map +0 -1
  2336. package/dist/models/TweetTombstone.js.map +0 -1
  2337. package/dist/models/TweetUnavailable.d.ts.map +0 -1
  2338. package/dist/models/TweetUnavailable.js.map +0 -1
  2339. package/dist/models/TweetUnion.d.ts.map +0 -1
  2340. package/dist/models/TweetUnion.js.map +0 -1
  2341. package/dist/models/TweetView.d.ts.map +0 -1
  2342. package/dist/models/TweetView.js.map +0 -1
  2343. package/dist/models/TweetWithVisibilityResults.d.ts.map +0 -1
  2344. package/dist/models/TweetWithVisibilityResults.js.map +0 -1
  2345. package/dist/models/TypeName.d.ts.map +0 -1
  2346. package/dist/models/TypeName.js.map +0 -1
  2347. package/dist/models/UnfavoriteTweet.d.ts.map +0 -1
  2348. package/dist/models/UnfavoriteTweet.js.map +0 -1
  2349. package/dist/models/UnfavoriteTweetResponse.d.ts.map +0 -1
  2350. package/dist/models/UnfavoriteTweetResponse.js.map +0 -1
  2351. package/dist/models/UnifiedCard.d.ts.map +0 -1
  2352. package/dist/models/UnifiedCard.js.map +0 -1
  2353. package/dist/models/Url.d.ts.map +0 -1
  2354. package/dist/models/Url.js.map +0 -1
  2355. package/dist/models/UrtEndpointOptions.d.ts.map +0 -1
  2356. package/dist/models/UrtEndpointOptions.js.map +0 -1
  2357. package/dist/models/UrtEndpointRequestParams.d.ts.map +0 -1
  2358. package/dist/models/UrtEndpointRequestParams.js.map +0 -1
  2359. package/dist/models/User.d.ts.map +0 -1
  2360. package/dist/models/User.js.map +0 -1
  2361. package/dist/models/UserFeatures.d.ts.map +0 -1
  2362. package/dist/models/UserFeatures.js.map +0 -1
  2363. package/dist/models/UserHighlightsInfo.d.ts.map +0 -1
  2364. package/dist/models/UserHighlightsInfo.js.map +0 -1
  2365. package/dist/models/UserHighlightsTweetsData.d.ts.map +0 -1
  2366. package/dist/models/UserHighlightsTweetsData.js.map +0 -1
  2367. package/dist/models/UserHighlightsTweetsResponse.d.ts.map +0 -1
  2368. package/dist/models/UserHighlightsTweetsResponse.js.map +0 -1
  2369. package/dist/models/UserHighlightsTweetsResult.d.ts.map +0 -1
  2370. package/dist/models/UserHighlightsTweetsResult.js.map +0 -1
  2371. package/dist/models/UserHighlightsTweetsTimeline.d.ts.map +0 -1
  2372. package/dist/models/UserHighlightsTweetsTimeline.js.map +0 -1
  2373. package/dist/models/UserHighlightsTweetsUser.d.ts.map +0 -1
  2374. package/dist/models/UserHighlightsTweetsUser.js.map +0 -1
  2375. package/dist/models/UserLegacy.d.ts.map +0 -1
  2376. package/dist/models/UserLegacy.js.map +0 -1
  2377. package/dist/models/UserLegacyExtendedProfile.d.ts.map +0 -1
  2378. package/dist/models/UserLegacyExtendedProfile.js.map +0 -1
  2379. package/dist/models/UserLegacyExtendedProfileBirthdate.d.ts.map +0 -1
  2380. package/dist/models/UserLegacyExtendedProfileBirthdate.js.map +0 -1
  2381. package/dist/models/UserProfessional.d.ts.map +0 -1
  2382. package/dist/models/UserProfessional.js.map +0 -1
  2383. package/dist/models/UserProfessionalCategory.d.ts.map +0 -1
  2384. package/dist/models/UserProfessionalCategory.js.map +0 -1
  2385. package/dist/models/UserResponse.d.ts.map +0 -1
  2386. package/dist/models/UserResponse.js.map +0 -1
  2387. package/dist/models/UserResponseData.d.ts.map +0 -1
  2388. package/dist/models/UserResponseData.js.map +0 -1
  2389. package/dist/models/UserResultByScreenName.d.ts.map +0 -1
  2390. package/dist/models/UserResultByScreenName.js.map +0 -1
  2391. package/dist/models/UserResultByScreenNameLegacy.d.ts.map +0 -1
  2392. package/dist/models/UserResultByScreenNameLegacy.js.map +0 -1
  2393. package/dist/models/UserResultByScreenNameResult.d.ts.map +0 -1
  2394. package/dist/models/UserResultByScreenNameResult.js.map +0 -1
  2395. package/dist/models/UserResultCore.d.ts.map +0 -1
  2396. package/dist/models/UserResultCore.js.map +0 -1
  2397. package/dist/models/UserResults.d.ts.map +0 -1
  2398. package/dist/models/UserResults.js.map +0 -1
  2399. package/dist/models/UserTipJarSettings.d.ts.map +0 -1
  2400. package/dist/models/UserTipJarSettings.js.map +0 -1
  2401. package/dist/models/UserTweetsData.d.ts.map +0 -1
  2402. package/dist/models/UserTweetsData.js.map +0 -1
  2403. package/dist/models/UserTweetsResponse.d.ts.map +0 -1
  2404. package/dist/models/UserTweetsResponse.js.map +0 -1
  2405. package/dist/models/UserTweetsResultV1.d.ts.map +0 -1
  2406. package/dist/models/UserTweetsResultV1.js.map +0 -1
  2407. package/dist/models/UserTweetsResultV2.d.ts.map +0 -1
  2408. package/dist/models/UserTweetsResultV2.js.map +0 -1
  2409. package/dist/models/UserTweetsUser.d.ts.map +0 -1
  2410. package/dist/models/UserTweetsUser.js.map +0 -1
  2411. package/dist/models/UserUnavailable.d.ts.map +0 -1
  2412. package/dist/models/UserUnavailable.js.map +0 -1
  2413. package/dist/models/UserUnion.d.ts.map +0 -1
  2414. package/dist/models/UserUnion.js.map +0 -1
  2415. package/dist/models/UserValue.d.ts.map +0 -1
  2416. package/dist/models/UserValue.js.map +0 -1
  2417. package/dist/models/UserVerificationInfo.d.ts.map +0 -1
  2418. package/dist/models/UserVerificationInfo.js.map +0 -1
  2419. package/dist/models/UserVerificationInfoReason.d.ts.map +0 -1
  2420. package/dist/models/UserVerificationInfoReason.js.map +0 -1
  2421. package/dist/models/UserVerificationInfoReasonDescription.d.ts.map +0 -1
  2422. package/dist/models/UserVerificationInfoReasonDescription.js.map +0 -1
  2423. package/dist/models/UserVerificationInfoReasonDescriptionEntities.d.ts.map +0 -1
  2424. package/dist/models/UserVerificationInfoReasonDescriptionEntities.js.map +0 -1
  2425. package/dist/models/UserVerificationInfoReasonDescriptionEntitiesRef.d.ts.map +0 -1
  2426. package/dist/models/UserVerificationInfoReasonDescriptionEntitiesRef.js.map +0 -1
  2427. package/dist/models/UsersResponse.d.ts.map +0 -1
  2428. package/dist/models/UsersResponse.js.map +0 -1
  2429. package/dist/models/UsersResponseData.d.ts.map +0 -1
  2430. package/dist/models/UsersResponseData.js.map +0 -1
  2431. package/dist/models/index.d.ts.map +0 -1
  2432. package/dist/models/index.js.map +0 -1
  2433. package/dist/runtime.d.ts.map +0 -1
  2434. package/dist/runtime.js.map +0 -1
@@ -0,0 +1,2881 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Twitter OpenAPI
5
+ * Twitter OpenAPI(Swagger) specification
6
+ *
7
+ * The version of the OpenAPI document: 0.0.1
8
+ * Contact: yuki@yuki0311.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import * as runtime from '../runtime';
24
+ import { BookmarksResponseFromJSON, } from '../models/BookmarksResponse';
25
+ import { CommunityAboutTimelineResponseFromJSON, } from '../models/CommunityAboutTimelineResponse';
26
+ import { CommunityDiscoveryTimelineResponseFromJSON, } from '../models/CommunityDiscoveryTimelineResponse';
27
+ import { CommunityMediaTimelineResponseFromJSON, } from '../models/CommunityMediaTimelineResponse';
28
+ import { CommunityTweetsTimelineResponseFromJSON, } from '../models/CommunityTweetsTimelineResponse';
29
+ import { ConnectTabTimelineResponseFromJSON, } from '../models/ConnectTabTimelineResponse';
30
+ import { ExplorePageResponseFromJSON, } from '../models/ExplorePageResponse';
31
+ import { GenericTimelineByIdResponseFromJSON, } from '../models/GenericTimelineByIdResponse';
32
+ import { ListLatestTweetsTimelineResponseFromJSON, } from '../models/ListLatestTweetsTimelineResponse';
33
+ import { NotificationsTimelineResponseFromJSON, } from '../models/NotificationsTimelineResponse';
34
+ import { SearchTimelineResponseFromJSON, } from '../models/SearchTimelineResponse';
35
+ import { TimelineResponseFromJSON, } from '../models/TimelineResponse';
36
+ import { TweetDetailResponseFromJSON, } from '../models/TweetDetailResponse';
37
+ import { UserHighlightsTweetsResponseFromJSON, } from '../models/UserHighlightsTweetsResponse';
38
+ import { UserTweetsResponseFromJSON, } from '../models/UserTweetsResponse';
39
+ /**
40
+ *
41
+ */
42
+ export class TweetApi extends runtime.BaseAPI {
43
+ /**
44
+ * Creates request options for getBookmarks without sending the request
45
+ */
46
+ getBookmarksRequestOpts(requestParameters) {
47
+ return __awaiter(this, void 0, void 0, function* () {
48
+ if (requestParameters['pathQueryId'] == null) {
49
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getBookmarks().');
50
+ }
51
+ if (requestParameters['variables'] == null) {
52
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getBookmarks().');
53
+ }
54
+ if (requestParameters['features'] == null) {
55
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getBookmarks().');
56
+ }
57
+ const queryParameters = {};
58
+ if (requestParameters['variables'] != null) {
59
+ queryParameters['variables'] = requestParameters['variables'];
60
+ }
61
+ if (requestParameters['features'] != null) {
62
+ queryParameters['features'] = requestParameters['features'];
63
+ }
64
+ const headerParameters = {};
65
+ if (this.configuration && this.configuration.apiKey) {
66
+ headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
67
+ }
68
+ if (this.configuration && this.configuration.apiKey) {
69
+ headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
70
+ }
71
+ if (this.configuration && this.configuration.apiKey) {
72
+ headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
73
+ }
74
+ if (this.configuration && this.configuration.apiKey) {
75
+ headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
76
+ }
77
+ if (this.configuration && this.configuration.apiKey) {
78
+ headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
79
+ }
80
+ if (this.configuration && this.configuration.apiKey) {
81
+ headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
82
+ }
83
+ if (this.configuration && this.configuration.apiKey) {
84
+ headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
85
+ }
86
+ if (this.configuration && this.configuration.apiKey) {
87
+ headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
88
+ }
89
+ if (this.configuration && this.configuration.apiKey) {
90
+ headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
91
+ }
92
+ if (this.configuration && this.configuration.accessToken) {
93
+ const token = this.configuration.accessToken;
94
+ const tokenString = yield token("BearerAuth", []);
95
+ if (tokenString) {
96
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
97
+ }
98
+ }
99
+ if (this.configuration && this.configuration.apiKey) {
100
+ headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
101
+ }
102
+ if (this.configuration && this.configuration.apiKey) {
103
+ headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
104
+ }
105
+ if (this.configuration && this.configuration.apiKey) {
106
+ headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
107
+ }
108
+ if (this.configuration && this.configuration.apiKey) {
109
+ headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
110
+ }
111
+ if (this.configuration && this.configuration.apiKey) {
112
+ headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
113
+ }
114
+ if (this.configuration && this.configuration.apiKey) {
115
+ headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
116
+ }
117
+ if (this.configuration && this.configuration.apiKey) {
118
+ headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
119
+ }
120
+ if (this.configuration && this.configuration.apiKey) {
121
+ headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
122
+ }
123
+ if (this.configuration && this.configuration.apiKey) {
124
+ headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
125
+ }
126
+ if (this.configuration && this.configuration.apiKey) {
127
+ headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
128
+ }
129
+ let urlPath = `/graphql/{pathQueryId}/Bookmarks`;
130
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
131
+ return {
132
+ path: urlPath,
133
+ method: 'GET',
134
+ headers: headerParameters,
135
+ query: queryParameters,
136
+ };
137
+ });
138
+ }
139
+ /**
140
+ * get bookmarks
141
+ */
142
+ getBookmarksRaw(requestParameters, initOverrides) {
143
+ return __awaiter(this, void 0, void 0, function* () {
144
+ const requestOptions = yield this.getBookmarksRequestOpts(requestParameters);
145
+ const response = yield this.request(requestOptions, initOverrides);
146
+ return new runtime.JSONApiResponse(response, (jsonValue) => BookmarksResponseFromJSON(jsonValue));
147
+ });
148
+ }
149
+ /**
150
+ * get bookmarks
151
+ */
152
+ getBookmarks(requestParameters, initOverrides) {
153
+ return __awaiter(this, void 0, void 0, function* () {
154
+ const response = yield this.getBookmarksRaw(requestParameters, initOverrides);
155
+ return yield response.value();
156
+ });
157
+ }
158
+ /**
159
+ * Creates request options for getCommunityAboutTimeline without sending the request
160
+ */
161
+ getCommunityAboutTimelineRequestOpts(requestParameters) {
162
+ return __awaiter(this, void 0, void 0, function* () {
163
+ if (requestParameters['pathQueryId'] == null) {
164
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getCommunityAboutTimeline().');
165
+ }
166
+ if (requestParameters['variables'] == null) {
167
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getCommunityAboutTimeline().');
168
+ }
169
+ if (requestParameters['features'] == null) {
170
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getCommunityAboutTimeline().');
171
+ }
172
+ const queryParameters = {};
173
+ if (requestParameters['variables'] != null) {
174
+ queryParameters['variables'] = requestParameters['variables'];
175
+ }
176
+ if (requestParameters['features'] != null) {
177
+ queryParameters['features'] = requestParameters['features'];
178
+ }
179
+ const headerParameters = {};
180
+ if (this.configuration && this.configuration.apiKey) {
181
+ headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
182
+ }
183
+ if (this.configuration && this.configuration.apiKey) {
184
+ headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
185
+ }
186
+ if (this.configuration && this.configuration.apiKey) {
187
+ headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
188
+ }
189
+ if (this.configuration && this.configuration.apiKey) {
190
+ headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
191
+ }
192
+ if (this.configuration && this.configuration.apiKey) {
193
+ headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
194
+ }
195
+ if (this.configuration && this.configuration.apiKey) {
196
+ headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
197
+ }
198
+ if (this.configuration && this.configuration.apiKey) {
199
+ headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
200
+ }
201
+ if (this.configuration && this.configuration.apiKey) {
202
+ headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
203
+ }
204
+ if (this.configuration && this.configuration.apiKey) {
205
+ headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
206
+ }
207
+ if (this.configuration && this.configuration.accessToken) {
208
+ const token = this.configuration.accessToken;
209
+ const tokenString = yield token("BearerAuth", []);
210
+ if (tokenString) {
211
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
212
+ }
213
+ }
214
+ if (this.configuration && this.configuration.apiKey) {
215
+ headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
216
+ }
217
+ if (this.configuration && this.configuration.apiKey) {
218
+ headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
219
+ }
220
+ if (this.configuration && this.configuration.apiKey) {
221
+ headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
222
+ }
223
+ if (this.configuration && this.configuration.apiKey) {
224
+ headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
225
+ }
226
+ if (this.configuration && this.configuration.apiKey) {
227
+ headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
228
+ }
229
+ if (this.configuration && this.configuration.apiKey) {
230
+ headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
231
+ }
232
+ if (this.configuration && this.configuration.apiKey) {
233
+ headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
234
+ }
235
+ if (this.configuration && this.configuration.apiKey) {
236
+ headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
237
+ }
238
+ if (this.configuration && this.configuration.apiKey) {
239
+ headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
240
+ }
241
+ if (this.configuration && this.configuration.apiKey) {
242
+ headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
243
+ }
244
+ let urlPath = `/graphql/{pathQueryId}/CommunityAboutTimeline`;
245
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
246
+ return {
247
+ path: urlPath,
248
+ method: 'GET',
249
+ headers: headerParameters,
250
+ query: queryParameters,
251
+ };
252
+ });
253
+ }
254
+ /**
255
+ * get about of community
256
+ */
257
+ getCommunityAboutTimelineRaw(requestParameters, initOverrides) {
258
+ return __awaiter(this, void 0, void 0, function* () {
259
+ const requestOptions = yield this.getCommunityAboutTimelineRequestOpts(requestParameters);
260
+ const response = yield this.request(requestOptions, initOverrides);
261
+ return new runtime.JSONApiResponse(response, (jsonValue) => CommunityAboutTimelineResponseFromJSON(jsonValue));
262
+ });
263
+ }
264
+ /**
265
+ * get about of community
266
+ */
267
+ getCommunityAboutTimeline(requestParameters, initOverrides) {
268
+ return __awaiter(this, void 0, void 0, function* () {
269
+ const response = yield this.getCommunityAboutTimelineRaw(requestParameters, initOverrides);
270
+ return yield response.value();
271
+ });
272
+ }
273
+ /**
274
+ * Creates request options for getCommunityDiscoveryTimeline without sending the request
275
+ */
276
+ getCommunityDiscoveryTimelineRequestOpts(requestParameters) {
277
+ return __awaiter(this, void 0, void 0, function* () {
278
+ if (requestParameters['pathQueryId'] == null) {
279
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getCommunityDiscoveryTimeline().');
280
+ }
281
+ if (requestParameters['variables'] == null) {
282
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getCommunityDiscoveryTimeline().');
283
+ }
284
+ if (requestParameters['features'] == null) {
285
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getCommunityDiscoveryTimeline().');
286
+ }
287
+ const queryParameters = {};
288
+ if (requestParameters['variables'] != null) {
289
+ queryParameters['variables'] = requestParameters['variables'];
290
+ }
291
+ if (requestParameters['features'] != null) {
292
+ queryParameters['features'] = requestParameters['features'];
293
+ }
294
+ const headerParameters = {};
295
+ if (this.configuration && this.configuration.apiKey) {
296
+ headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
297
+ }
298
+ if (this.configuration && this.configuration.apiKey) {
299
+ headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
300
+ }
301
+ if (this.configuration && this.configuration.apiKey) {
302
+ headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
303
+ }
304
+ if (this.configuration && this.configuration.apiKey) {
305
+ headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
306
+ }
307
+ if (this.configuration && this.configuration.apiKey) {
308
+ headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
309
+ }
310
+ if (this.configuration && this.configuration.apiKey) {
311
+ headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
312
+ }
313
+ if (this.configuration && this.configuration.apiKey) {
314
+ headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
315
+ }
316
+ if (this.configuration && this.configuration.apiKey) {
317
+ headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
318
+ }
319
+ if (this.configuration && this.configuration.apiKey) {
320
+ headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
321
+ }
322
+ if (this.configuration && this.configuration.accessToken) {
323
+ const token = this.configuration.accessToken;
324
+ const tokenString = yield token("BearerAuth", []);
325
+ if (tokenString) {
326
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
327
+ }
328
+ }
329
+ if (this.configuration && this.configuration.apiKey) {
330
+ headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
331
+ }
332
+ if (this.configuration && this.configuration.apiKey) {
333
+ headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
334
+ }
335
+ if (this.configuration && this.configuration.apiKey) {
336
+ headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
337
+ }
338
+ if (this.configuration && this.configuration.apiKey) {
339
+ headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
340
+ }
341
+ if (this.configuration && this.configuration.apiKey) {
342
+ headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
343
+ }
344
+ if (this.configuration && this.configuration.apiKey) {
345
+ headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
346
+ }
347
+ if (this.configuration && this.configuration.apiKey) {
348
+ headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
349
+ }
350
+ if (this.configuration && this.configuration.apiKey) {
351
+ headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
352
+ }
353
+ if (this.configuration && this.configuration.apiKey) {
354
+ headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
355
+ }
356
+ if (this.configuration && this.configuration.apiKey) {
357
+ headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
358
+ }
359
+ let urlPath = `/graphql/{pathQueryId}/CommunityDiscoveryTimeline`;
360
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
361
+ return {
362
+ path: urlPath,
363
+ method: 'GET',
364
+ headers: headerParameters,
365
+ query: queryParameters,
366
+ };
367
+ });
368
+ }
369
+ /**
370
+ * get the communities discovery timeline
371
+ */
372
+ getCommunityDiscoveryTimelineRaw(requestParameters, initOverrides) {
373
+ return __awaiter(this, void 0, void 0, function* () {
374
+ const requestOptions = yield this.getCommunityDiscoveryTimelineRequestOpts(requestParameters);
375
+ const response = yield this.request(requestOptions, initOverrides);
376
+ return new runtime.JSONApiResponse(response, (jsonValue) => CommunityDiscoveryTimelineResponseFromJSON(jsonValue));
377
+ });
378
+ }
379
+ /**
380
+ * get the communities discovery timeline
381
+ */
382
+ getCommunityDiscoveryTimeline(requestParameters, initOverrides) {
383
+ return __awaiter(this, void 0, void 0, function* () {
384
+ const response = yield this.getCommunityDiscoveryTimelineRaw(requestParameters, initOverrides);
385
+ return yield response.value();
386
+ });
387
+ }
388
+ /**
389
+ * Creates request options for getCommunityMediaTimeline without sending the request
390
+ */
391
+ getCommunityMediaTimelineRequestOpts(requestParameters) {
392
+ return __awaiter(this, void 0, void 0, function* () {
393
+ if (requestParameters['pathQueryId'] == null) {
394
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getCommunityMediaTimeline().');
395
+ }
396
+ if (requestParameters['variables'] == null) {
397
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getCommunityMediaTimeline().');
398
+ }
399
+ if (requestParameters['features'] == null) {
400
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getCommunityMediaTimeline().');
401
+ }
402
+ const queryParameters = {};
403
+ if (requestParameters['variables'] != null) {
404
+ queryParameters['variables'] = requestParameters['variables'];
405
+ }
406
+ if (requestParameters['features'] != null) {
407
+ queryParameters['features'] = requestParameters['features'];
408
+ }
409
+ const headerParameters = {};
410
+ if (this.configuration && this.configuration.apiKey) {
411
+ headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
412
+ }
413
+ if (this.configuration && this.configuration.apiKey) {
414
+ headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
415
+ }
416
+ if (this.configuration && this.configuration.apiKey) {
417
+ headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
418
+ }
419
+ if (this.configuration && this.configuration.apiKey) {
420
+ headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
421
+ }
422
+ if (this.configuration && this.configuration.apiKey) {
423
+ headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
424
+ }
425
+ if (this.configuration && this.configuration.apiKey) {
426
+ headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
427
+ }
428
+ if (this.configuration && this.configuration.apiKey) {
429
+ headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
430
+ }
431
+ if (this.configuration && this.configuration.apiKey) {
432
+ headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
433
+ }
434
+ if (this.configuration && this.configuration.apiKey) {
435
+ headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
436
+ }
437
+ if (this.configuration && this.configuration.accessToken) {
438
+ const token = this.configuration.accessToken;
439
+ const tokenString = yield token("BearerAuth", []);
440
+ if (tokenString) {
441
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
442
+ }
443
+ }
444
+ if (this.configuration && this.configuration.apiKey) {
445
+ headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
446
+ }
447
+ if (this.configuration && this.configuration.apiKey) {
448
+ headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
449
+ }
450
+ if (this.configuration && this.configuration.apiKey) {
451
+ headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
452
+ }
453
+ if (this.configuration && this.configuration.apiKey) {
454
+ headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
455
+ }
456
+ if (this.configuration && this.configuration.apiKey) {
457
+ headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
458
+ }
459
+ if (this.configuration && this.configuration.apiKey) {
460
+ headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
461
+ }
462
+ if (this.configuration && this.configuration.apiKey) {
463
+ headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
464
+ }
465
+ if (this.configuration && this.configuration.apiKey) {
466
+ headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
467
+ }
468
+ if (this.configuration && this.configuration.apiKey) {
469
+ headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
470
+ }
471
+ if (this.configuration && this.configuration.apiKey) {
472
+ headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
473
+ }
474
+ let urlPath = `/graphql/{pathQueryId}/CommunityMediaTimeline`;
475
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
476
+ return {
477
+ path: urlPath,
478
+ method: 'GET',
479
+ headers: headerParameters,
480
+ query: queryParameters,
481
+ };
482
+ });
483
+ }
484
+ /**
485
+ * get media list of community
486
+ */
487
+ getCommunityMediaTimelineRaw(requestParameters, initOverrides) {
488
+ return __awaiter(this, void 0, void 0, function* () {
489
+ const requestOptions = yield this.getCommunityMediaTimelineRequestOpts(requestParameters);
490
+ const response = yield this.request(requestOptions, initOverrides);
491
+ return new runtime.JSONApiResponse(response, (jsonValue) => CommunityMediaTimelineResponseFromJSON(jsonValue));
492
+ });
493
+ }
494
+ /**
495
+ * get media list of community
496
+ */
497
+ getCommunityMediaTimeline(requestParameters, initOverrides) {
498
+ return __awaiter(this, void 0, void 0, function* () {
499
+ const response = yield this.getCommunityMediaTimelineRaw(requestParameters, initOverrides);
500
+ return yield response.value();
501
+ });
502
+ }
503
+ /**
504
+ * Creates request options for getCommunityTweetsTimeline without sending the request
505
+ */
506
+ getCommunityTweetsTimelineRequestOpts(requestParameters) {
507
+ return __awaiter(this, void 0, void 0, function* () {
508
+ if (requestParameters['pathQueryId'] == null) {
509
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getCommunityTweetsTimeline().');
510
+ }
511
+ if (requestParameters['variables'] == null) {
512
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getCommunityTweetsTimeline().');
513
+ }
514
+ if (requestParameters['features'] == null) {
515
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getCommunityTweetsTimeline().');
516
+ }
517
+ const queryParameters = {};
518
+ if (requestParameters['variables'] != null) {
519
+ queryParameters['variables'] = requestParameters['variables'];
520
+ }
521
+ if (requestParameters['features'] != null) {
522
+ queryParameters['features'] = requestParameters['features'];
523
+ }
524
+ const headerParameters = {};
525
+ if (this.configuration && this.configuration.apiKey) {
526
+ headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
527
+ }
528
+ if (this.configuration && this.configuration.apiKey) {
529
+ headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
530
+ }
531
+ if (this.configuration && this.configuration.apiKey) {
532
+ headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
533
+ }
534
+ if (this.configuration && this.configuration.apiKey) {
535
+ headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
536
+ }
537
+ if (this.configuration && this.configuration.apiKey) {
538
+ headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
539
+ }
540
+ if (this.configuration && this.configuration.apiKey) {
541
+ headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
542
+ }
543
+ if (this.configuration && this.configuration.apiKey) {
544
+ headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
545
+ }
546
+ if (this.configuration && this.configuration.apiKey) {
547
+ headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
548
+ }
549
+ if (this.configuration && this.configuration.apiKey) {
550
+ headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
551
+ }
552
+ if (this.configuration && this.configuration.accessToken) {
553
+ const token = this.configuration.accessToken;
554
+ const tokenString = yield token("BearerAuth", []);
555
+ if (tokenString) {
556
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
557
+ }
558
+ }
559
+ if (this.configuration && this.configuration.apiKey) {
560
+ headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
561
+ }
562
+ if (this.configuration && this.configuration.apiKey) {
563
+ headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
564
+ }
565
+ if (this.configuration && this.configuration.apiKey) {
566
+ headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
567
+ }
568
+ if (this.configuration && this.configuration.apiKey) {
569
+ headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
570
+ }
571
+ if (this.configuration && this.configuration.apiKey) {
572
+ headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
573
+ }
574
+ if (this.configuration && this.configuration.apiKey) {
575
+ headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
576
+ }
577
+ if (this.configuration && this.configuration.apiKey) {
578
+ headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
579
+ }
580
+ if (this.configuration && this.configuration.apiKey) {
581
+ headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
582
+ }
583
+ if (this.configuration && this.configuration.apiKey) {
584
+ headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
585
+ }
586
+ if (this.configuration && this.configuration.apiKey) {
587
+ headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
588
+ }
589
+ let urlPath = `/graphql/{pathQueryId}/CommunityTweetsTimeline`;
590
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
591
+ return {
592
+ path: urlPath,
593
+ method: 'GET',
594
+ headers: headerParameters,
595
+ query: queryParameters,
596
+ };
597
+ });
598
+ }
599
+ /**
600
+ * get tweet list of community. rankingMode:[Recency, Relevance]
601
+ */
602
+ getCommunityTweetsTimelineRaw(requestParameters, initOverrides) {
603
+ return __awaiter(this, void 0, void 0, function* () {
604
+ const requestOptions = yield this.getCommunityTweetsTimelineRequestOpts(requestParameters);
605
+ const response = yield this.request(requestOptions, initOverrides);
606
+ return new runtime.JSONApiResponse(response, (jsonValue) => CommunityTweetsTimelineResponseFromJSON(jsonValue));
607
+ });
608
+ }
609
+ /**
610
+ * get tweet list of community. rankingMode:[Recency, Relevance]
611
+ */
612
+ getCommunityTweetsTimeline(requestParameters, initOverrides) {
613
+ return __awaiter(this, void 0, void 0, function* () {
614
+ const response = yield this.getCommunityTweetsTimelineRaw(requestParameters, initOverrides);
615
+ return yield response.value();
616
+ });
617
+ }
618
+ /**
619
+ * Creates request options for getConnectTabTimeline without sending the request
620
+ */
621
+ getConnectTabTimelineRequestOpts(requestParameters) {
622
+ return __awaiter(this, void 0, void 0, function* () {
623
+ if (requestParameters['pathQueryId'] == null) {
624
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getConnectTabTimeline().');
625
+ }
626
+ if (requestParameters['variables'] == null) {
627
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getConnectTabTimeline().');
628
+ }
629
+ if (requestParameters['features'] == null) {
630
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getConnectTabTimeline().');
631
+ }
632
+ const queryParameters = {};
633
+ if (requestParameters['variables'] != null) {
634
+ queryParameters['variables'] = requestParameters['variables'];
635
+ }
636
+ if (requestParameters['features'] != null) {
637
+ queryParameters['features'] = requestParameters['features'];
638
+ }
639
+ const headerParameters = {};
640
+ if (this.configuration && this.configuration.apiKey) {
641
+ headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
642
+ }
643
+ if (this.configuration && this.configuration.apiKey) {
644
+ headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
645
+ }
646
+ if (this.configuration && this.configuration.apiKey) {
647
+ headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
648
+ }
649
+ if (this.configuration && this.configuration.apiKey) {
650
+ headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
651
+ }
652
+ if (this.configuration && this.configuration.apiKey) {
653
+ headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
654
+ }
655
+ if (this.configuration && this.configuration.apiKey) {
656
+ headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
657
+ }
658
+ if (this.configuration && this.configuration.apiKey) {
659
+ headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
660
+ }
661
+ if (this.configuration && this.configuration.apiKey) {
662
+ headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
663
+ }
664
+ if (this.configuration && this.configuration.apiKey) {
665
+ headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
666
+ }
667
+ if (this.configuration && this.configuration.accessToken) {
668
+ const token = this.configuration.accessToken;
669
+ const tokenString = yield token("BearerAuth", []);
670
+ if (tokenString) {
671
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
672
+ }
673
+ }
674
+ if (this.configuration && this.configuration.apiKey) {
675
+ headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
676
+ }
677
+ if (this.configuration && this.configuration.apiKey) {
678
+ headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
679
+ }
680
+ if (this.configuration && this.configuration.apiKey) {
681
+ headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
682
+ }
683
+ if (this.configuration && this.configuration.apiKey) {
684
+ headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
685
+ }
686
+ if (this.configuration && this.configuration.apiKey) {
687
+ headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
688
+ }
689
+ if (this.configuration && this.configuration.apiKey) {
690
+ headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
691
+ }
692
+ if (this.configuration && this.configuration.apiKey) {
693
+ headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
694
+ }
695
+ if (this.configuration && this.configuration.apiKey) {
696
+ headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
697
+ }
698
+ if (this.configuration && this.configuration.apiKey) {
699
+ headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
700
+ }
701
+ if (this.configuration && this.configuration.apiKey) {
702
+ headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
703
+ }
704
+ let urlPath = `/graphql/{pathQueryId}/ConnectTabTimeline`;
705
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
706
+ return {
707
+ path: urlPath,
708
+ method: 'GET',
709
+ headers: headerParameters,
710
+ query: queryParameters,
711
+ };
712
+ });
713
+ }
714
+ /**
715
+ * get the Connect tab (who to follow) timeline
716
+ */
717
+ getConnectTabTimelineRaw(requestParameters, initOverrides) {
718
+ return __awaiter(this, void 0, void 0, function* () {
719
+ const requestOptions = yield this.getConnectTabTimelineRequestOpts(requestParameters);
720
+ const response = yield this.request(requestOptions, initOverrides);
721
+ return new runtime.JSONApiResponse(response, (jsonValue) => ConnectTabTimelineResponseFromJSON(jsonValue));
722
+ });
723
+ }
724
+ /**
725
+ * get the Connect tab (who to follow) timeline
726
+ */
727
+ getConnectTabTimeline(requestParameters, initOverrides) {
728
+ return __awaiter(this, void 0, void 0, function* () {
729
+ const response = yield this.getConnectTabTimelineRaw(requestParameters, initOverrides);
730
+ return yield response.value();
731
+ });
732
+ }
733
+ /**
734
+ * Creates request options for getExplorePage without sending the request
735
+ */
736
+ getExplorePageRequestOpts(requestParameters) {
737
+ return __awaiter(this, void 0, void 0, function* () {
738
+ if (requestParameters['pathQueryId'] == null) {
739
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getExplorePage().');
740
+ }
741
+ if (requestParameters['variables'] == null) {
742
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getExplorePage().');
743
+ }
744
+ if (requestParameters['features'] == null) {
745
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getExplorePage().');
746
+ }
747
+ const queryParameters = {};
748
+ if (requestParameters['variables'] != null) {
749
+ queryParameters['variables'] = requestParameters['variables'];
750
+ }
751
+ if (requestParameters['features'] != null) {
752
+ queryParameters['features'] = requestParameters['features'];
753
+ }
754
+ const headerParameters = {};
755
+ if (this.configuration && this.configuration.apiKey) {
756
+ headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
757
+ }
758
+ if (this.configuration && this.configuration.apiKey) {
759
+ headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
760
+ }
761
+ if (this.configuration && this.configuration.apiKey) {
762
+ headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
763
+ }
764
+ if (this.configuration && this.configuration.apiKey) {
765
+ headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
766
+ }
767
+ if (this.configuration && this.configuration.apiKey) {
768
+ headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
769
+ }
770
+ if (this.configuration && this.configuration.apiKey) {
771
+ headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
772
+ }
773
+ if (this.configuration && this.configuration.apiKey) {
774
+ headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
775
+ }
776
+ if (this.configuration && this.configuration.apiKey) {
777
+ headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
778
+ }
779
+ if (this.configuration && this.configuration.apiKey) {
780
+ headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
781
+ }
782
+ if (this.configuration && this.configuration.accessToken) {
783
+ const token = this.configuration.accessToken;
784
+ const tokenString = yield token("BearerAuth", []);
785
+ if (tokenString) {
786
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
787
+ }
788
+ }
789
+ if (this.configuration && this.configuration.apiKey) {
790
+ headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
791
+ }
792
+ if (this.configuration && this.configuration.apiKey) {
793
+ headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
794
+ }
795
+ if (this.configuration && this.configuration.apiKey) {
796
+ headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
797
+ }
798
+ if (this.configuration && this.configuration.apiKey) {
799
+ headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
800
+ }
801
+ if (this.configuration && this.configuration.apiKey) {
802
+ headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
803
+ }
804
+ if (this.configuration && this.configuration.apiKey) {
805
+ headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
806
+ }
807
+ if (this.configuration && this.configuration.apiKey) {
808
+ headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
809
+ }
810
+ if (this.configuration && this.configuration.apiKey) {
811
+ headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
812
+ }
813
+ if (this.configuration && this.configuration.apiKey) {
814
+ headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
815
+ }
816
+ if (this.configuration && this.configuration.apiKey) {
817
+ headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
818
+ }
819
+ let urlPath = `/graphql/{pathQueryId}/ExplorePage`;
820
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
821
+ return {
822
+ path: urlPath,
823
+ method: 'GET',
824
+ headers: headerParameters,
825
+ query: queryParameters,
826
+ };
827
+ });
828
+ }
829
+ /**
830
+ * get the explore page (segmented timelines)
831
+ */
832
+ getExplorePageRaw(requestParameters, initOverrides) {
833
+ return __awaiter(this, void 0, void 0, function* () {
834
+ const requestOptions = yield this.getExplorePageRequestOpts(requestParameters);
835
+ const response = yield this.request(requestOptions, initOverrides);
836
+ return new runtime.JSONApiResponse(response, (jsonValue) => ExplorePageResponseFromJSON(jsonValue));
837
+ });
838
+ }
839
+ /**
840
+ * get the explore page (segmented timelines)
841
+ */
842
+ getExplorePage(requestParameters, initOverrides) {
843
+ return __awaiter(this, void 0, void 0, function* () {
844
+ const response = yield this.getExplorePageRaw(requestParameters, initOverrides);
845
+ return yield response.value();
846
+ });
847
+ }
848
+ /**
849
+ * Creates request options for getGenericTimelineById without sending the request
850
+ */
851
+ getGenericTimelineByIdRequestOpts(requestParameters) {
852
+ return __awaiter(this, void 0, void 0, function* () {
853
+ if (requestParameters['pathQueryId'] == null) {
854
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getGenericTimelineById().');
855
+ }
856
+ if (requestParameters['variables'] == null) {
857
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getGenericTimelineById().');
858
+ }
859
+ if (requestParameters['features'] == null) {
860
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getGenericTimelineById().');
861
+ }
862
+ const queryParameters = {};
863
+ if (requestParameters['variables'] != null) {
864
+ queryParameters['variables'] = requestParameters['variables'];
865
+ }
866
+ if (requestParameters['features'] != null) {
867
+ queryParameters['features'] = requestParameters['features'];
868
+ }
869
+ const headerParameters = {};
870
+ if (this.configuration && this.configuration.apiKey) {
871
+ headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
872
+ }
873
+ if (this.configuration && this.configuration.apiKey) {
874
+ headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
875
+ }
876
+ if (this.configuration && this.configuration.apiKey) {
877
+ headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
878
+ }
879
+ if (this.configuration && this.configuration.apiKey) {
880
+ headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
881
+ }
882
+ if (this.configuration && this.configuration.apiKey) {
883
+ headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
884
+ }
885
+ if (this.configuration && this.configuration.apiKey) {
886
+ headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
887
+ }
888
+ if (this.configuration && this.configuration.apiKey) {
889
+ headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
890
+ }
891
+ if (this.configuration && this.configuration.apiKey) {
892
+ headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
893
+ }
894
+ if (this.configuration && this.configuration.apiKey) {
895
+ headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
896
+ }
897
+ if (this.configuration && this.configuration.accessToken) {
898
+ const token = this.configuration.accessToken;
899
+ const tokenString = yield token("BearerAuth", []);
900
+ if (tokenString) {
901
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
902
+ }
903
+ }
904
+ if (this.configuration && this.configuration.apiKey) {
905
+ headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
906
+ }
907
+ if (this.configuration && this.configuration.apiKey) {
908
+ headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
909
+ }
910
+ if (this.configuration && this.configuration.apiKey) {
911
+ headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
912
+ }
913
+ if (this.configuration && this.configuration.apiKey) {
914
+ headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
915
+ }
916
+ if (this.configuration && this.configuration.apiKey) {
917
+ headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
918
+ }
919
+ if (this.configuration && this.configuration.apiKey) {
920
+ headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
921
+ }
922
+ if (this.configuration && this.configuration.apiKey) {
923
+ headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
924
+ }
925
+ if (this.configuration && this.configuration.apiKey) {
926
+ headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
927
+ }
928
+ if (this.configuration && this.configuration.apiKey) {
929
+ headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
930
+ }
931
+ if (this.configuration && this.configuration.apiKey) {
932
+ headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
933
+ }
934
+ let urlPath = `/graphql/{pathQueryId}/GenericTimelineById`;
935
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
936
+ return {
937
+ path: urlPath,
938
+ method: 'GET',
939
+ headers: headerParameters,
940
+ query: queryParameters,
941
+ };
942
+ });
943
+ }
944
+ /**
945
+ * get a generic timeline by its id (explore tabs)
946
+ */
947
+ getGenericTimelineByIdRaw(requestParameters, initOverrides) {
948
+ return __awaiter(this, void 0, void 0, function* () {
949
+ const requestOptions = yield this.getGenericTimelineByIdRequestOpts(requestParameters);
950
+ const response = yield this.request(requestOptions, initOverrides);
951
+ return new runtime.JSONApiResponse(response, (jsonValue) => GenericTimelineByIdResponseFromJSON(jsonValue));
952
+ });
953
+ }
954
+ /**
955
+ * get a generic timeline by its id (explore tabs)
956
+ */
957
+ getGenericTimelineById(requestParameters, initOverrides) {
958
+ return __awaiter(this, void 0, void 0, function* () {
959
+ const response = yield this.getGenericTimelineByIdRaw(requestParameters, initOverrides);
960
+ return yield response.value();
961
+ });
962
+ }
963
+ /**
964
+ * Creates request options for getHomeLatestTimeline without sending the request
965
+ */
966
+ getHomeLatestTimelineRequestOpts(requestParameters) {
967
+ return __awaiter(this, void 0, void 0, function* () {
968
+ if (requestParameters['pathQueryId'] == null) {
969
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getHomeLatestTimeline().');
970
+ }
971
+ if (requestParameters['variables'] == null) {
972
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getHomeLatestTimeline().');
973
+ }
974
+ if (requestParameters['features'] == null) {
975
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getHomeLatestTimeline().');
976
+ }
977
+ if (requestParameters['fieldToggles'] == null) {
978
+ throw new runtime.RequiredError('fieldToggles', 'Required parameter "fieldToggles" was null or undefined when calling getHomeLatestTimeline().');
979
+ }
980
+ const queryParameters = {};
981
+ if (requestParameters['variables'] != null) {
982
+ queryParameters['variables'] = requestParameters['variables'];
983
+ }
984
+ if (requestParameters['features'] != null) {
985
+ queryParameters['features'] = requestParameters['features'];
986
+ }
987
+ if (requestParameters['fieldToggles'] != null) {
988
+ queryParameters['fieldToggles'] = requestParameters['fieldToggles'];
989
+ }
990
+ const headerParameters = {};
991
+ if (this.configuration && this.configuration.apiKey) {
992
+ headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
993
+ }
994
+ if (this.configuration && this.configuration.apiKey) {
995
+ headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
996
+ }
997
+ if (this.configuration && this.configuration.apiKey) {
998
+ headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
999
+ }
1000
+ if (this.configuration && this.configuration.apiKey) {
1001
+ headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
1002
+ }
1003
+ if (this.configuration && this.configuration.apiKey) {
1004
+ headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
1005
+ }
1006
+ if (this.configuration && this.configuration.apiKey) {
1007
+ headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
1008
+ }
1009
+ if (this.configuration && this.configuration.apiKey) {
1010
+ headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
1011
+ }
1012
+ if (this.configuration && this.configuration.apiKey) {
1013
+ headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
1014
+ }
1015
+ if (this.configuration && this.configuration.apiKey) {
1016
+ headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
1017
+ }
1018
+ if (this.configuration && this.configuration.accessToken) {
1019
+ const token = this.configuration.accessToken;
1020
+ const tokenString = yield token("BearerAuth", []);
1021
+ if (tokenString) {
1022
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1023
+ }
1024
+ }
1025
+ if (this.configuration && this.configuration.apiKey) {
1026
+ headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
1027
+ }
1028
+ if (this.configuration && this.configuration.apiKey) {
1029
+ headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
1030
+ }
1031
+ if (this.configuration && this.configuration.apiKey) {
1032
+ headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
1033
+ }
1034
+ if (this.configuration && this.configuration.apiKey) {
1035
+ headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
1036
+ }
1037
+ if (this.configuration && this.configuration.apiKey) {
1038
+ headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
1039
+ }
1040
+ if (this.configuration && this.configuration.apiKey) {
1041
+ headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
1042
+ }
1043
+ if (this.configuration && this.configuration.apiKey) {
1044
+ headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
1045
+ }
1046
+ if (this.configuration && this.configuration.apiKey) {
1047
+ headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
1048
+ }
1049
+ if (this.configuration && this.configuration.apiKey) {
1050
+ headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
1051
+ }
1052
+ if (this.configuration && this.configuration.apiKey) {
1053
+ headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
1054
+ }
1055
+ let urlPath = `/graphql/{pathQueryId}/HomeLatestTimeline`;
1056
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
1057
+ return {
1058
+ path: urlPath,
1059
+ method: 'GET',
1060
+ headers: headerParameters,
1061
+ query: queryParameters,
1062
+ };
1063
+ });
1064
+ }
1065
+ /**
1066
+ * get tweet list of timeline
1067
+ */
1068
+ getHomeLatestTimelineRaw(requestParameters, initOverrides) {
1069
+ return __awaiter(this, void 0, void 0, function* () {
1070
+ const requestOptions = yield this.getHomeLatestTimelineRequestOpts(requestParameters);
1071
+ const response = yield this.request(requestOptions, initOverrides);
1072
+ return new runtime.JSONApiResponse(response, (jsonValue) => TimelineResponseFromJSON(jsonValue));
1073
+ });
1074
+ }
1075
+ /**
1076
+ * get tweet list of timeline
1077
+ */
1078
+ getHomeLatestTimeline(requestParameters, initOverrides) {
1079
+ return __awaiter(this, void 0, void 0, function* () {
1080
+ const response = yield this.getHomeLatestTimelineRaw(requestParameters, initOverrides);
1081
+ return yield response.value();
1082
+ });
1083
+ }
1084
+ /**
1085
+ * Creates request options for getHomeTimeline without sending the request
1086
+ */
1087
+ getHomeTimelineRequestOpts(requestParameters) {
1088
+ return __awaiter(this, void 0, void 0, function* () {
1089
+ if (requestParameters['pathQueryId'] == null) {
1090
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getHomeTimeline().');
1091
+ }
1092
+ if (requestParameters['variables'] == null) {
1093
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getHomeTimeline().');
1094
+ }
1095
+ if (requestParameters['features'] == null) {
1096
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getHomeTimeline().');
1097
+ }
1098
+ if (requestParameters['fieldToggles'] == null) {
1099
+ throw new runtime.RequiredError('fieldToggles', 'Required parameter "fieldToggles" was null or undefined when calling getHomeTimeline().');
1100
+ }
1101
+ const queryParameters = {};
1102
+ if (requestParameters['variables'] != null) {
1103
+ queryParameters['variables'] = requestParameters['variables'];
1104
+ }
1105
+ if (requestParameters['features'] != null) {
1106
+ queryParameters['features'] = requestParameters['features'];
1107
+ }
1108
+ if (requestParameters['fieldToggles'] != null) {
1109
+ queryParameters['fieldToggles'] = requestParameters['fieldToggles'];
1110
+ }
1111
+ const headerParameters = {};
1112
+ if (this.configuration && this.configuration.apiKey) {
1113
+ headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
1114
+ }
1115
+ if (this.configuration && this.configuration.apiKey) {
1116
+ headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
1117
+ }
1118
+ if (this.configuration && this.configuration.apiKey) {
1119
+ headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
1120
+ }
1121
+ if (this.configuration && this.configuration.apiKey) {
1122
+ headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
1123
+ }
1124
+ if (this.configuration && this.configuration.apiKey) {
1125
+ headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
1126
+ }
1127
+ if (this.configuration && this.configuration.apiKey) {
1128
+ headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
1129
+ }
1130
+ if (this.configuration && this.configuration.apiKey) {
1131
+ headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
1132
+ }
1133
+ if (this.configuration && this.configuration.apiKey) {
1134
+ headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
1135
+ }
1136
+ if (this.configuration && this.configuration.apiKey) {
1137
+ headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
1138
+ }
1139
+ if (this.configuration && this.configuration.accessToken) {
1140
+ const token = this.configuration.accessToken;
1141
+ const tokenString = yield token("BearerAuth", []);
1142
+ if (tokenString) {
1143
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1144
+ }
1145
+ }
1146
+ if (this.configuration && this.configuration.apiKey) {
1147
+ headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
1148
+ }
1149
+ if (this.configuration && this.configuration.apiKey) {
1150
+ headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
1151
+ }
1152
+ if (this.configuration && this.configuration.apiKey) {
1153
+ headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
1154
+ }
1155
+ if (this.configuration && this.configuration.apiKey) {
1156
+ headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
1157
+ }
1158
+ if (this.configuration && this.configuration.apiKey) {
1159
+ headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
1160
+ }
1161
+ if (this.configuration && this.configuration.apiKey) {
1162
+ headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
1163
+ }
1164
+ if (this.configuration && this.configuration.apiKey) {
1165
+ headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
1166
+ }
1167
+ if (this.configuration && this.configuration.apiKey) {
1168
+ headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
1169
+ }
1170
+ if (this.configuration && this.configuration.apiKey) {
1171
+ headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
1172
+ }
1173
+ if (this.configuration && this.configuration.apiKey) {
1174
+ headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
1175
+ }
1176
+ let urlPath = `/graphql/{pathQueryId}/HomeTimeline`;
1177
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
1178
+ return {
1179
+ path: urlPath,
1180
+ method: 'GET',
1181
+ headers: headerParameters,
1182
+ query: queryParameters,
1183
+ };
1184
+ });
1185
+ }
1186
+ /**
1187
+ * get tweet list of timeline
1188
+ */
1189
+ getHomeTimelineRaw(requestParameters, initOverrides) {
1190
+ return __awaiter(this, void 0, void 0, function* () {
1191
+ const requestOptions = yield this.getHomeTimelineRequestOpts(requestParameters);
1192
+ const response = yield this.request(requestOptions, initOverrides);
1193
+ return new runtime.JSONApiResponse(response, (jsonValue) => TimelineResponseFromJSON(jsonValue));
1194
+ });
1195
+ }
1196
+ /**
1197
+ * get tweet list of timeline
1198
+ */
1199
+ getHomeTimeline(requestParameters, initOverrides) {
1200
+ return __awaiter(this, void 0, void 0, function* () {
1201
+ const response = yield this.getHomeTimelineRaw(requestParameters, initOverrides);
1202
+ return yield response.value();
1203
+ });
1204
+ }
1205
+ /**
1206
+ * Creates request options for getLikes without sending the request
1207
+ */
1208
+ getLikesRequestOpts(requestParameters) {
1209
+ return __awaiter(this, void 0, void 0, function* () {
1210
+ if (requestParameters['pathQueryId'] == null) {
1211
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getLikes().');
1212
+ }
1213
+ if (requestParameters['variables'] == null) {
1214
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getLikes().');
1215
+ }
1216
+ if (requestParameters['features'] == null) {
1217
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getLikes().');
1218
+ }
1219
+ if (requestParameters['fieldToggles'] == null) {
1220
+ throw new runtime.RequiredError('fieldToggles', 'Required parameter "fieldToggles" was null or undefined when calling getLikes().');
1221
+ }
1222
+ const queryParameters = {};
1223
+ if (requestParameters['variables'] != null) {
1224
+ queryParameters['variables'] = requestParameters['variables'];
1225
+ }
1226
+ if (requestParameters['features'] != null) {
1227
+ queryParameters['features'] = requestParameters['features'];
1228
+ }
1229
+ if (requestParameters['fieldToggles'] != null) {
1230
+ queryParameters['fieldToggles'] = requestParameters['fieldToggles'];
1231
+ }
1232
+ const headerParameters = {};
1233
+ if (this.configuration && this.configuration.apiKey) {
1234
+ headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
1235
+ }
1236
+ if (this.configuration && this.configuration.apiKey) {
1237
+ headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
1238
+ }
1239
+ if (this.configuration && this.configuration.apiKey) {
1240
+ headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
1241
+ }
1242
+ if (this.configuration && this.configuration.apiKey) {
1243
+ headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
1244
+ }
1245
+ if (this.configuration && this.configuration.apiKey) {
1246
+ headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
1247
+ }
1248
+ if (this.configuration && this.configuration.apiKey) {
1249
+ headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
1250
+ }
1251
+ if (this.configuration && this.configuration.apiKey) {
1252
+ headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
1253
+ }
1254
+ if (this.configuration && this.configuration.apiKey) {
1255
+ headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
1256
+ }
1257
+ if (this.configuration && this.configuration.apiKey) {
1258
+ headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
1259
+ }
1260
+ if (this.configuration && this.configuration.accessToken) {
1261
+ const token = this.configuration.accessToken;
1262
+ const tokenString = yield token("BearerAuth", []);
1263
+ if (tokenString) {
1264
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1265
+ }
1266
+ }
1267
+ if (this.configuration && this.configuration.apiKey) {
1268
+ headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
1269
+ }
1270
+ if (this.configuration && this.configuration.apiKey) {
1271
+ headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
1272
+ }
1273
+ if (this.configuration && this.configuration.apiKey) {
1274
+ headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
1275
+ }
1276
+ if (this.configuration && this.configuration.apiKey) {
1277
+ headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
1278
+ }
1279
+ if (this.configuration && this.configuration.apiKey) {
1280
+ headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
1281
+ }
1282
+ if (this.configuration && this.configuration.apiKey) {
1283
+ headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
1284
+ }
1285
+ if (this.configuration && this.configuration.apiKey) {
1286
+ headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
1287
+ }
1288
+ if (this.configuration && this.configuration.apiKey) {
1289
+ headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
1290
+ }
1291
+ if (this.configuration && this.configuration.apiKey) {
1292
+ headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
1293
+ }
1294
+ if (this.configuration && this.configuration.apiKey) {
1295
+ headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
1296
+ }
1297
+ let urlPath = `/graphql/{pathQueryId}/Likes`;
1298
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
1299
+ return {
1300
+ path: urlPath,
1301
+ method: 'GET',
1302
+ headers: headerParameters,
1303
+ query: queryParameters,
1304
+ };
1305
+ });
1306
+ }
1307
+ /**
1308
+ * get user likes tweets
1309
+ */
1310
+ getLikesRaw(requestParameters, initOverrides) {
1311
+ return __awaiter(this, void 0, void 0, function* () {
1312
+ const requestOptions = yield this.getLikesRequestOpts(requestParameters);
1313
+ const response = yield this.request(requestOptions, initOverrides);
1314
+ return new runtime.JSONApiResponse(response, (jsonValue) => UserTweetsResponseFromJSON(jsonValue));
1315
+ });
1316
+ }
1317
+ /**
1318
+ * get user likes tweets
1319
+ */
1320
+ getLikes(requestParameters, initOverrides) {
1321
+ return __awaiter(this, void 0, void 0, function* () {
1322
+ const response = yield this.getLikesRaw(requestParameters, initOverrides);
1323
+ return yield response.value();
1324
+ });
1325
+ }
1326
+ /**
1327
+ * Creates request options for getListLatestTweetsTimeline without sending the request
1328
+ */
1329
+ getListLatestTweetsTimelineRequestOpts(requestParameters) {
1330
+ return __awaiter(this, void 0, void 0, function* () {
1331
+ if (requestParameters['pathQueryId'] == null) {
1332
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getListLatestTweetsTimeline().');
1333
+ }
1334
+ if (requestParameters['variables'] == null) {
1335
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getListLatestTweetsTimeline().');
1336
+ }
1337
+ if (requestParameters['features'] == null) {
1338
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getListLatestTweetsTimeline().');
1339
+ }
1340
+ const queryParameters = {};
1341
+ if (requestParameters['variables'] != null) {
1342
+ queryParameters['variables'] = requestParameters['variables'];
1343
+ }
1344
+ if (requestParameters['features'] != null) {
1345
+ queryParameters['features'] = requestParameters['features'];
1346
+ }
1347
+ const headerParameters = {};
1348
+ if (this.configuration && this.configuration.apiKey) {
1349
+ headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
1350
+ }
1351
+ if (this.configuration && this.configuration.apiKey) {
1352
+ headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
1353
+ }
1354
+ if (this.configuration && this.configuration.apiKey) {
1355
+ headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
1356
+ }
1357
+ if (this.configuration && this.configuration.apiKey) {
1358
+ headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
1359
+ }
1360
+ if (this.configuration && this.configuration.apiKey) {
1361
+ headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
1362
+ }
1363
+ if (this.configuration && this.configuration.apiKey) {
1364
+ headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
1365
+ }
1366
+ if (this.configuration && this.configuration.apiKey) {
1367
+ headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
1368
+ }
1369
+ if (this.configuration && this.configuration.apiKey) {
1370
+ headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
1371
+ }
1372
+ if (this.configuration && this.configuration.apiKey) {
1373
+ headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
1374
+ }
1375
+ if (this.configuration && this.configuration.accessToken) {
1376
+ const token = this.configuration.accessToken;
1377
+ const tokenString = yield token("BearerAuth", []);
1378
+ if (tokenString) {
1379
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1380
+ }
1381
+ }
1382
+ if (this.configuration && this.configuration.apiKey) {
1383
+ headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
1384
+ }
1385
+ if (this.configuration && this.configuration.apiKey) {
1386
+ headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
1387
+ }
1388
+ if (this.configuration && this.configuration.apiKey) {
1389
+ headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
1390
+ }
1391
+ if (this.configuration && this.configuration.apiKey) {
1392
+ headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
1393
+ }
1394
+ if (this.configuration && this.configuration.apiKey) {
1395
+ headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
1396
+ }
1397
+ if (this.configuration && this.configuration.apiKey) {
1398
+ headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
1399
+ }
1400
+ if (this.configuration && this.configuration.apiKey) {
1401
+ headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
1402
+ }
1403
+ if (this.configuration && this.configuration.apiKey) {
1404
+ headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
1405
+ }
1406
+ if (this.configuration && this.configuration.apiKey) {
1407
+ headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
1408
+ }
1409
+ if (this.configuration && this.configuration.apiKey) {
1410
+ headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
1411
+ }
1412
+ let urlPath = `/graphql/{pathQueryId}/ListLatestTweetsTimeline`;
1413
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
1414
+ return {
1415
+ path: urlPath,
1416
+ method: 'GET',
1417
+ headers: headerParameters,
1418
+ query: queryParameters,
1419
+ };
1420
+ });
1421
+ }
1422
+ /**
1423
+ * get tweet list of timeline
1424
+ */
1425
+ getListLatestTweetsTimelineRaw(requestParameters, initOverrides) {
1426
+ return __awaiter(this, void 0, void 0, function* () {
1427
+ const requestOptions = yield this.getListLatestTweetsTimelineRequestOpts(requestParameters);
1428
+ const response = yield this.request(requestOptions, initOverrides);
1429
+ return new runtime.JSONApiResponse(response, (jsonValue) => ListLatestTweetsTimelineResponseFromJSON(jsonValue));
1430
+ });
1431
+ }
1432
+ /**
1433
+ * get tweet list of timeline
1434
+ */
1435
+ getListLatestTweetsTimeline(requestParameters, initOverrides) {
1436
+ return __awaiter(this, void 0, void 0, function* () {
1437
+ const response = yield this.getListLatestTweetsTimelineRaw(requestParameters, initOverrides);
1438
+ return yield response.value();
1439
+ });
1440
+ }
1441
+ /**
1442
+ * Creates request options for getNotificationsTimeline without sending the request
1443
+ */
1444
+ getNotificationsTimelineRequestOpts(requestParameters) {
1445
+ return __awaiter(this, void 0, void 0, function* () {
1446
+ if (requestParameters['pathQueryId'] == null) {
1447
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getNotificationsTimeline().');
1448
+ }
1449
+ if (requestParameters['variables'] == null) {
1450
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getNotificationsTimeline().');
1451
+ }
1452
+ if (requestParameters['features'] == null) {
1453
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getNotificationsTimeline().');
1454
+ }
1455
+ const queryParameters = {};
1456
+ if (requestParameters['variables'] != null) {
1457
+ queryParameters['variables'] = requestParameters['variables'];
1458
+ }
1459
+ if (requestParameters['features'] != null) {
1460
+ queryParameters['features'] = requestParameters['features'];
1461
+ }
1462
+ const headerParameters = {};
1463
+ if (this.configuration && this.configuration.apiKey) {
1464
+ headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
1465
+ }
1466
+ if (this.configuration && this.configuration.apiKey) {
1467
+ headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
1468
+ }
1469
+ if (this.configuration && this.configuration.apiKey) {
1470
+ headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
1471
+ }
1472
+ if (this.configuration && this.configuration.apiKey) {
1473
+ headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
1474
+ }
1475
+ if (this.configuration && this.configuration.apiKey) {
1476
+ headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
1477
+ }
1478
+ if (this.configuration && this.configuration.apiKey) {
1479
+ headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
1480
+ }
1481
+ if (this.configuration && this.configuration.apiKey) {
1482
+ headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
1483
+ }
1484
+ if (this.configuration && this.configuration.apiKey) {
1485
+ headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
1486
+ }
1487
+ if (this.configuration && this.configuration.apiKey) {
1488
+ headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
1489
+ }
1490
+ if (this.configuration && this.configuration.accessToken) {
1491
+ const token = this.configuration.accessToken;
1492
+ const tokenString = yield token("BearerAuth", []);
1493
+ if (tokenString) {
1494
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1495
+ }
1496
+ }
1497
+ if (this.configuration && this.configuration.apiKey) {
1498
+ headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
1499
+ }
1500
+ if (this.configuration && this.configuration.apiKey) {
1501
+ headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
1502
+ }
1503
+ if (this.configuration && this.configuration.apiKey) {
1504
+ headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
1505
+ }
1506
+ if (this.configuration && this.configuration.apiKey) {
1507
+ headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
1508
+ }
1509
+ if (this.configuration && this.configuration.apiKey) {
1510
+ headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
1511
+ }
1512
+ if (this.configuration && this.configuration.apiKey) {
1513
+ headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
1514
+ }
1515
+ if (this.configuration && this.configuration.apiKey) {
1516
+ headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
1517
+ }
1518
+ if (this.configuration && this.configuration.apiKey) {
1519
+ headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
1520
+ }
1521
+ if (this.configuration && this.configuration.apiKey) {
1522
+ headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
1523
+ }
1524
+ if (this.configuration && this.configuration.apiKey) {
1525
+ headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
1526
+ }
1527
+ let urlPath = `/graphql/{pathQueryId}/NotificationsTimeline`;
1528
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
1529
+ return {
1530
+ path: urlPath,
1531
+ method: 'GET',
1532
+ headers: headerParameters,
1533
+ query: queryParameters,
1534
+ };
1535
+ });
1536
+ }
1537
+ /**
1538
+ * get notification list. timeline_type:[All, Verified, Mentions]
1539
+ */
1540
+ getNotificationsTimelineRaw(requestParameters, initOverrides) {
1541
+ return __awaiter(this, void 0, void 0, function* () {
1542
+ const requestOptions = yield this.getNotificationsTimelineRequestOpts(requestParameters);
1543
+ const response = yield this.request(requestOptions, initOverrides);
1544
+ return new runtime.JSONApiResponse(response, (jsonValue) => NotificationsTimelineResponseFromJSON(jsonValue));
1545
+ });
1546
+ }
1547
+ /**
1548
+ * get notification list. timeline_type:[All, Verified, Mentions]
1549
+ */
1550
+ getNotificationsTimeline(requestParameters, initOverrides) {
1551
+ return __awaiter(this, void 0, void 0, function* () {
1552
+ const response = yield this.getNotificationsTimelineRaw(requestParameters, initOverrides);
1553
+ return yield response.value();
1554
+ });
1555
+ }
1556
+ /**
1557
+ * Creates request options for getSearchTimeline without sending the request
1558
+ */
1559
+ getSearchTimelineRequestOpts(requestParameters) {
1560
+ return __awaiter(this, void 0, void 0, function* () {
1561
+ if (requestParameters['pathQueryId'] == null) {
1562
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getSearchTimeline().');
1563
+ }
1564
+ if (requestParameters['variables'] == null) {
1565
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getSearchTimeline().');
1566
+ }
1567
+ if (requestParameters['features'] == null) {
1568
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getSearchTimeline().');
1569
+ }
1570
+ const queryParameters = {};
1571
+ if (requestParameters['variables'] != null) {
1572
+ queryParameters['variables'] = requestParameters['variables'];
1573
+ }
1574
+ if (requestParameters['features'] != null) {
1575
+ queryParameters['features'] = requestParameters['features'];
1576
+ }
1577
+ const headerParameters = {};
1578
+ if (this.configuration && this.configuration.apiKey) {
1579
+ headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
1580
+ }
1581
+ if (this.configuration && this.configuration.apiKey) {
1582
+ headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
1583
+ }
1584
+ if (this.configuration && this.configuration.apiKey) {
1585
+ headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
1586
+ }
1587
+ if (this.configuration && this.configuration.apiKey) {
1588
+ headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
1589
+ }
1590
+ if (this.configuration && this.configuration.apiKey) {
1591
+ headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
1592
+ }
1593
+ if (this.configuration && this.configuration.apiKey) {
1594
+ headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
1595
+ }
1596
+ if (this.configuration && this.configuration.apiKey) {
1597
+ headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
1598
+ }
1599
+ if (this.configuration && this.configuration.apiKey) {
1600
+ headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
1601
+ }
1602
+ if (this.configuration && this.configuration.apiKey) {
1603
+ headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
1604
+ }
1605
+ if (this.configuration && this.configuration.accessToken) {
1606
+ const token = this.configuration.accessToken;
1607
+ const tokenString = yield token("BearerAuth", []);
1608
+ if (tokenString) {
1609
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1610
+ }
1611
+ }
1612
+ if (this.configuration && this.configuration.apiKey) {
1613
+ headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
1614
+ }
1615
+ if (this.configuration && this.configuration.apiKey) {
1616
+ headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
1617
+ }
1618
+ if (this.configuration && this.configuration.apiKey) {
1619
+ headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
1620
+ }
1621
+ if (this.configuration && this.configuration.apiKey) {
1622
+ headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
1623
+ }
1624
+ if (this.configuration && this.configuration.apiKey) {
1625
+ headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
1626
+ }
1627
+ if (this.configuration && this.configuration.apiKey) {
1628
+ headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
1629
+ }
1630
+ if (this.configuration && this.configuration.apiKey) {
1631
+ headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
1632
+ }
1633
+ if (this.configuration && this.configuration.apiKey) {
1634
+ headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
1635
+ }
1636
+ if (this.configuration && this.configuration.apiKey) {
1637
+ headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
1638
+ }
1639
+ if (this.configuration && this.configuration.apiKey) {
1640
+ headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
1641
+ }
1642
+ let urlPath = `/graphql/{pathQueryId}/SearchTimeline`;
1643
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
1644
+ return {
1645
+ path: urlPath,
1646
+ method: 'GET',
1647
+ headers: headerParameters,
1648
+ query: queryParameters,
1649
+ };
1650
+ });
1651
+ }
1652
+ /**
1653
+ * search tweet list. product:[Top, Latest, People, Photos, Videos]
1654
+ */
1655
+ getSearchTimelineRaw(requestParameters, initOverrides) {
1656
+ return __awaiter(this, void 0, void 0, function* () {
1657
+ const requestOptions = yield this.getSearchTimelineRequestOpts(requestParameters);
1658
+ const response = yield this.request(requestOptions, initOverrides);
1659
+ return new runtime.JSONApiResponse(response, (jsonValue) => SearchTimelineResponseFromJSON(jsonValue));
1660
+ });
1661
+ }
1662
+ /**
1663
+ * search tweet list. product:[Top, Latest, People, Photos, Videos]
1664
+ */
1665
+ getSearchTimeline(requestParameters, initOverrides) {
1666
+ return __awaiter(this, void 0, void 0, function* () {
1667
+ const response = yield this.getSearchTimelineRaw(requestParameters, initOverrides);
1668
+ return yield response.value();
1669
+ });
1670
+ }
1671
+ /**
1672
+ * Creates request options for getTweetDetail without sending the request
1673
+ */
1674
+ getTweetDetailRequestOpts(requestParameters) {
1675
+ return __awaiter(this, void 0, void 0, function* () {
1676
+ if (requestParameters['pathQueryId'] == null) {
1677
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getTweetDetail().');
1678
+ }
1679
+ if (requestParameters['variables'] == null) {
1680
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getTweetDetail().');
1681
+ }
1682
+ if (requestParameters['features'] == null) {
1683
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getTweetDetail().');
1684
+ }
1685
+ if (requestParameters['fieldToggles'] == null) {
1686
+ throw new runtime.RequiredError('fieldToggles', 'Required parameter "fieldToggles" was null or undefined when calling getTweetDetail().');
1687
+ }
1688
+ const queryParameters = {};
1689
+ if (requestParameters['variables'] != null) {
1690
+ queryParameters['variables'] = requestParameters['variables'];
1691
+ }
1692
+ if (requestParameters['features'] != null) {
1693
+ queryParameters['features'] = requestParameters['features'];
1694
+ }
1695
+ if (requestParameters['fieldToggles'] != null) {
1696
+ queryParameters['fieldToggles'] = requestParameters['fieldToggles'];
1697
+ }
1698
+ const headerParameters = {};
1699
+ if (this.configuration && this.configuration.apiKey) {
1700
+ headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
1701
+ }
1702
+ if (this.configuration && this.configuration.apiKey) {
1703
+ headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
1704
+ }
1705
+ if (this.configuration && this.configuration.apiKey) {
1706
+ headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
1707
+ }
1708
+ if (this.configuration && this.configuration.apiKey) {
1709
+ headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
1710
+ }
1711
+ if (this.configuration && this.configuration.apiKey) {
1712
+ headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
1713
+ }
1714
+ if (this.configuration && this.configuration.apiKey) {
1715
+ headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
1716
+ }
1717
+ if (this.configuration && this.configuration.apiKey) {
1718
+ headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
1719
+ }
1720
+ if (this.configuration && this.configuration.apiKey) {
1721
+ headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
1722
+ }
1723
+ if (this.configuration && this.configuration.apiKey) {
1724
+ headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
1725
+ }
1726
+ if (this.configuration && this.configuration.accessToken) {
1727
+ const token = this.configuration.accessToken;
1728
+ const tokenString = yield token("BearerAuth", []);
1729
+ if (tokenString) {
1730
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1731
+ }
1732
+ }
1733
+ if (this.configuration && this.configuration.apiKey) {
1734
+ headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
1735
+ }
1736
+ if (this.configuration && this.configuration.apiKey) {
1737
+ headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
1738
+ }
1739
+ if (this.configuration && this.configuration.apiKey) {
1740
+ headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
1741
+ }
1742
+ if (this.configuration && this.configuration.apiKey) {
1743
+ headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
1744
+ }
1745
+ if (this.configuration && this.configuration.apiKey) {
1746
+ headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
1747
+ }
1748
+ if (this.configuration && this.configuration.apiKey) {
1749
+ headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
1750
+ }
1751
+ if (this.configuration && this.configuration.apiKey) {
1752
+ headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
1753
+ }
1754
+ if (this.configuration && this.configuration.apiKey) {
1755
+ headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
1756
+ }
1757
+ if (this.configuration && this.configuration.apiKey) {
1758
+ headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
1759
+ }
1760
+ if (this.configuration && this.configuration.apiKey) {
1761
+ headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
1762
+ }
1763
+ let urlPath = `/graphql/{pathQueryId}/TweetDetail`;
1764
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
1765
+ return {
1766
+ path: urlPath,
1767
+ method: 'GET',
1768
+ headers: headerParameters,
1769
+ query: queryParameters,
1770
+ };
1771
+ });
1772
+ }
1773
+ /**
1774
+ * get TweetDetail
1775
+ */
1776
+ getTweetDetailRaw(requestParameters, initOverrides) {
1777
+ return __awaiter(this, void 0, void 0, function* () {
1778
+ const requestOptions = yield this.getTweetDetailRequestOpts(requestParameters);
1779
+ const response = yield this.request(requestOptions, initOverrides);
1780
+ return new runtime.JSONApiResponse(response, (jsonValue) => TweetDetailResponseFromJSON(jsonValue));
1781
+ });
1782
+ }
1783
+ /**
1784
+ * get TweetDetail
1785
+ */
1786
+ getTweetDetail(requestParameters, initOverrides) {
1787
+ return __awaiter(this, void 0, void 0, function* () {
1788
+ const response = yield this.getTweetDetailRaw(requestParameters, initOverrides);
1789
+ return yield response.value();
1790
+ });
1791
+ }
1792
+ /**
1793
+ * Creates request options for getUserHighlightsTweets without sending the request
1794
+ */
1795
+ getUserHighlightsTweetsRequestOpts(requestParameters) {
1796
+ return __awaiter(this, void 0, void 0, function* () {
1797
+ if (requestParameters['pathQueryId'] == null) {
1798
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getUserHighlightsTweets().');
1799
+ }
1800
+ if (requestParameters['variables'] == null) {
1801
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getUserHighlightsTweets().');
1802
+ }
1803
+ if (requestParameters['features'] == null) {
1804
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getUserHighlightsTweets().');
1805
+ }
1806
+ if (requestParameters['fieldToggles'] == null) {
1807
+ throw new runtime.RequiredError('fieldToggles', 'Required parameter "fieldToggles" was null or undefined when calling getUserHighlightsTweets().');
1808
+ }
1809
+ const queryParameters = {};
1810
+ if (requestParameters['variables'] != null) {
1811
+ queryParameters['variables'] = requestParameters['variables'];
1812
+ }
1813
+ if (requestParameters['features'] != null) {
1814
+ queryParameters['features'] = requestParameters['features'];
1815
+ }
1816
+ if (requestParameters['fieldToggles'] != null) {
1817
+ queryParameters['fieldToggles'] = requestParameters['fieldToggles'];
1818
+ }
1819
+ const headerParameters = {};
1820
+ if (this.configuration && this.configuration.apiKey) {
1821
+ headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
1822
+ }
1823
+ if (this.configuration && this.configuration.apiKey) {
1824
+ headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
1825
+ }
1826
+ if (this.configuration && this.configuration.apiKey) {
1827
+ headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
1828
+ }
1829
+ if (this.configuration && this.configuration.apiKey) {
1830
+ headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
1831
+ }
1832
+ if (this.configuration && this.configuration.apiKey) {
1833
+ headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
1834
+ }
1835
+ if (this.configuration && this.configuration.apiKey) {
1836
+ headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
1837
+ }
1838
+ if (this.configuration && this.configuration.apiKey) {
1839
+ headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
1840
+ }
1841
+ if (this.configuration && this.configuration.apiKey) {
1842
+ headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
1843
+ }
1844
+ if (this.configuration && this.configuration.apiKey) {
1845
+ headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
1846
+ }
1847
+ if (this.configuration && this.configuration.accessToken) {
1848
+ const token = this.configuration.accessToken;
1849
+ const tokenString = yield token("BearerAuth", []);
1850
+ if (tokenString) {
1851
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1852
+ }
1853
+ }
1854
+ if (this.configuration && this.configuration.apiKey) {
1855
+ headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
1856
+ }
1857
+ if (this.configuration && this.configuration.apiKey) {
1858
+ headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
1859
+ }
1860
+ if (this.configuration && this.configuration.apiKey) {
1861
+ headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
1862
+ }
1863
+ if (this.configuration && this.configuration.apiKey) {
1864
+ headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
1865
+ }
1866
+ if (this.configuration && this.configuration.apiKey) {
1867
+ headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
1868
+ }
1869
+ if (this.configuration && this.configuration.apiKey) {
1870
+ headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
1871
+ }
1872
+ if (this.configuration && this.configuration.apiKey) {
1873
+ headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
1874
+ }
1875
+ if (this.configuration && this.configuration.apiKey) {
1876
+ headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
1877
+ }
1878
+ if (this.configuration && this.configuration.apiKey) {
1879
+ headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
1880
+ }
1881
+ if (this.configuration && this.configuration.apiKey) {
1882
+ headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
1883
+ }
1884
+ let urlPath = `/graphql/{pathQueryId}/UserHighlightsTweets`;
1885
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
1886
+ return {
1887
+ path: urlPath,
1888
+ method: 'GET',
1889
+ headers: headerParameters,
1890
+ query: queryParameters,
1891
+ };
1892
+ });
1893
+ }
1894
+ /**
1895
+ * get user highlights tweets
1896
+ */
1897
+ getUserHighlightsTweetsRaw(requestParameters, initOverrides) {
1898
+ return __awaiter(this, void 0, void 0, function* () {
1899
+ const requestOptions = yield this.getUserHighlightsTweetsRequestOpts(requestParameters);
1900
+ const response = yield this.request(requestOptions, initOverrides);
1901
+ return new runtime.JSONApiResponse(response, (jsonValue) => UserHighlightsTweetsResponseFromJSON(jsonValue));
1902
+ });
1903
+ }
1904
+ /**
1905
+ * get user highlights tweets
1906
+ */
1907
+ getUserHighlightsTweets(requestParameters, initOverrides) {
1908
+ return __awaiter(this, void 0, void 0, function* () {
1909
+ const response = yield this.getUserHighlightsTweetsRaw(requestParameters, initOverrides);
1910
+ return yield response.value();
1911
+ });
1912
+ }
1913
+ /**
1914
+ * Creates request options for getUserMedia without sending the request
1915
+ */
1916
+ getUserMediaRequestOpts(requestParameters) {
1917
+ return __awaiter(this, void 0, void 0, function* () {
1918
+ if (requestParameters['pathQueryId'] == null) {
1919
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getUserMedia().');
1920
+ }
1921
+ if (requestParameters['variables'] == null) {
1922
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getUserMedia().');
1923
+ }
1924
+ if (requestParameters['features'] == null) {
1925
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getUserMedia().');
1926
+ }
1927
+ if (requestParameters['fieldToggles'] == null) {
1928
+ throw new runtime.RequiredError('fieldToggles', 'Required parameter "fieldToggles" was null or undefined when calling getUserMedia().');
1929
+ }
1930
+ const queryParameters = {};
1931
+ if (requestParameters['variables'] != null) {
1932
+ queryParameters['variables'] = requestParameters['variables'];
1933
+ }
1934
+ if (requestParameters['features'] != null) {
1935
+ queryParameters['features'] = requestParameters['features'];
1936
+ }
1937
+ if (requestParameters['fieldToggles'] != null) {
1938
+ queryParameters['fieldToggles'] = requestParameters['fieldToggles'];
1939
+ }
1940
+ const headerParameters = {};
1941
+ if (this.configuration && this.configuration.apiKey) {
1942
+ headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
1943
+ }
1944
+ if (this.configuration && this.configuration.apiKey) {
1945
+ headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
1946
+ }
1947
+ if (this.configuration && this.configuration.apiKey) {
1948
+ headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
1949
+ }
1950
+ if (this.configuration && this.configuration.apiKey) {
1951
+ headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
1952
+ }
1953
+ if (this.configuration && this.configuration.apiKey) {
1954
+ headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
1955
+ }
1956
+ if (this.configuration && this.configuration.apiKey) {
1957
+ headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
1958
+ }
1959
+ if (this.configuration && this.configuration.apiKey) {
1960
+ headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
1961
+ }
1962
+ if (this.configuration && this.configuration.apiKey) {
1963
+ headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
1964
+ }
1965
+ if (this.configuration && this.configuration.apiKey) {
1966
+ headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
1967
+ }
1968
+ if (this.configuration && this.configuration.accessToken) {
1969
+ const token = this.configuration.accessToken;
1970
+ const tokenString = yield token("BearerAuth", []);
1971
+ if (tokenString) {
1972
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1973
+ }
1974
+ }
1975
+ if (this.configuration && this.configuration.apiKey) {
1976
+ headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
1977
+ }
1978
+ if (this.configuration && this.configuration.apiKey) {
1979
+ headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
1980
+ }
1981
+ if (this.configuration && this.configuration.apiKey) {
1982
+ headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
1983
+ }
1984
+ if (this.configuration && this.configuration.apiKey) {
1985
+ headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
1986
+ }
1987
+ if (this.configuration && this.configuration.apiKey) {
1988
+ headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
1989
+ }
1990
+ if (this.configuration && this.configuration.apiKey) {
1991
+ headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
1992
+ }
1993
+ if (this.configuration && this.configuration.apiKey) {
1994
+ headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
1995
+ }
1996
+ if (this.configuration && this.configuration.apiKey) {
1997
+ headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
1998
+ }
1999
+ if (this.configuration && this.configuration.apiKey) {
2000
+ headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
2001
+ }
2002
+ if (this.configuration && this.configuration.apiKey) {
2003
+ headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
2004
+ }
2005
+ let urlPath = `/graphql/{pathQueryId}/UserMedia`;
2006
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
2007
+ return {
2008
+ path: urlPath,
2009
+ method: 'GET',
2010
+ headers: headerParameters,
2011
+ query: queryParameters,
2012
+ };
2013
+ });
2014
+ }
2015
+ /**
2016
+ * get user media tweets
2017
+ */
2018
+ getUserMediaRaw(requestParameters, initOverrides) {
2019
+ return __awaiter(this, void 0, void 0, function* () {
2020
+ const requestOptions = yield this.getUserMediaRequestOpts(requestParameters);
2021
+ const response = yield this.request(requestOptions, initOverrides);
2022
+ return new runtime.JSONApiResponse(response, (jsonValue) => UserTweetsResponseFromJSON(jsonValue));
2023
+ });
2024
+ }
2025
+ /**
2026
+ * get user media tweets
2027
+ */
2028
+ getUserMedia(requestParameters, initOverrides) {
2029
+ return __awaiter(this, void 0, void 0, function* () {
2030
+ const response = yield this.getUserMediaRaw(requestParameters, initOverrides);
2031
+ return yield response.value();
2032
+ });
2033
+ }
2034
+ /**
2035
+ * Creates request options for getUserOriginalsTimeline without sending the request
2036
+ */
2037
+ getUserOriginalsTimelineRequestOpts(requestParameters) {
2038
+ return __awaiter(this, void 0, void 0, function* () {
2039
+ if (requestParameters['pathQueryId'] == null) {
2040
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getUserOriginalsTimeline().');
2041
+ }
2042
+ if (requestParameters['variables'] == null) {
2043
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getUserOriginalsTimeline().');
2044
+ }
2045
+ if (requestParameters['features'] == null) {
2046
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getUserOriginalsTimeline().');
2047
+ }
2048
+ if (requestParameters['fieldToggles'] == null) {
2049
+ throw new runtime.RequiredError('fieldToggles', 'Required parameter "fieldToggles" was null or undefined when calling getUserOriginalsTimeline().');
2050
+ }
2051
+ const queryParameters = {};
2052
+ if (requestParameters['variables'] != null) {
2053
+ queryParameters['variables'] = requestParameters['variables'];
2054
+ }
2055
+ if (requestParameters['features'] != null) {
2056
+ queryParameters['features'] = requestParameters['features'];
2057
+ }
2058
+ if (requestParameters['fieldToggles'] != null) {
2059
+ queryParameters['fieldToggles'] = requestParameters['fieldToggles'];
2060
+ }
2061
+ const headerParameters = {};
2062
+ if (this.configuration && this.configuration.apiKey) {
2063
+ headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
2064
+ }
2065
+ if (this.configuration && this.configuration.apiKey) {
2066
+ headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
2067
+ }
2068
+ if (this.configuration && this.configuration.apiKey) {
2069
+ headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
2070
+ }
2071
+ if (this.configuration && this.configuration.apiKey) {
2072
+ headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
2073
+ }
2074
+ if (this.configuration && this.configuration.apiKey) {
2075
+ headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
2076
+ }
2077
+ if (this.configuration && this.configuration.apiKey) {
2078
+ headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
2079
+ }
2080
+ if (this.configuration && this.configuration.apiKey) {
2081
+ headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
2082
+ }
2083
+ if (this.configuration && this.configuration.apiKey) {
2084
+ headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
2085
+ }
2086
+ if (this.configuration && this.configuration.apiKey) {
2087
+ headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
2088
+ }
2089
+ if (this.configuration && this.configuration.accessToken) {
2090
+ const token = this.configuration.accessToken;
2091
+ const tokenString = yield token("BearerAuth", []);
2092
+ if (tokenString) {
2093
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2094
+ }
2095
+ }
2096
+ if (this.configuration && this.configuration.apiKey) {
2097
+ headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
2098
+ }
2099
+ if (this.configuration && this.configuration.apiKey) {
2100
+ headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
2101
+ }
2102
+ if (this.configuration && this.configuration.apiKey) {
2103
+ headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
2104
+ }
2105
+ if (this.configuration && this.configuration.apiKey) {
2106
+ headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
2107
+ }
2108
+ if (this.configuration && this.configuration.apiKey) {
2109
+ headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
2110
+ }
2111
+ if (this.configuration && this.configuration.apiKey) {
2112
+ headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
2113
+ }
2114
+ if (this.configuration && this.configuration.apiKey) {
2115
+ headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
2116
+ }
2117
+ if (this.configuration && this.configuration.apiKey) {
2118
+ headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
2119
+ }
2120
+ if (this.configuration && this.configuration.apiKey) {
2121
+ headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
2122
+ }
2123
+ if (this.configuration && this.configuration.apiKey) {
2124
+ headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
2125
+ }
2126
+ let urlPath = `/graphql/{pathQueryId}/UserOriginalsTimeline`;
2127
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
2128
+ return {
2129
+ path: urlPath,
2130
+ method: 'GET',
2131
+ headers: headerParameters,
2132
+ query: queryParameters,
2133
+ };
2134
+ });
2135
+ }
2136
+ /**
2137
+ * get user tweets (profile posts tab)
2138
+ */
2139
+ getUserOriginalsTimelineRaw(requestParameters, initOverrides) {
2140
+ return __awaiter(this, void 0, void 0, function* () {
2141
+ const requestOptions = yield this.getUserOriginalsTimelineRequestOpts(requestParameters);
2142
+ const response = yield this.request(requestOptions, initOverrides);
2143
+ return new runtime.JSONApiResponse(response, (jsonValue) => UserTweetsResponseFromJSON(jsonValue));
2144
+ });
2145
+ }
2146
+ /**
2147
+ * get user tweets (profile posts tab)
2148
+ */
2149
+ getUserOriginalsTimeline(requestParameters, initOverrides) {
2150
+ return __awaiter(this, void 0, void 0, function* () {
2151
+ const response = yield this.getUserOriginalsTimelineRaw(requestParameters, initOverrides);
2152
+ return yield response.value();
2153
+ });
2154
+ }
2155
+ /**
2156
+ * Creates request options for getUserRepliesTimeline without sending the request
2157
+ */
2158
+ getUserRepliesTimelineRequestOpts(requestParameters) {
2159
+ return __awaiter(this, void 0, void 0, function* () {
2160
+ if (requestParameters['pathQueryId'] == null) {
2161
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getUserRepliesTimeline().');
2162
+ }
2163
+ if (requestParameters['variables'] == null) {
2164
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getUserRepliesTimeline().');
2165
+ }
2166
+ if (requestParameters['features'] == null) {
2167
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getUserRepliesTimeline().');
2168
+ }
2169
+ if (requestParameters['fieldToggles'] == null) {
2170
+ throw new runtime.RequiredError('fieldToggles', 'Required parameter "fieldToggles" was null or undefined when calling getUserRepliesTimeline().');
2171
+ }
2172
+ const queryParameters = {};
2173
+ if (requestParameters['variables'] != null) {
2174
+ queryParameters['variables'] = requestParameters['variables'];
2175
+ }
2176
+ if (requestParameters['features'] != null) {
2177
+ queryParameters['features'] = requestParameters['features'];
2178
+ }
2179
+ if (requestParameters['fieldToggles'] != null) {
2180
+ queryParameters['fieldToggles'] = requestParameters['fieldToggles'];
2181
+ }
2182
+ const headerParameters = {};
2183
+ if (this.configuration && this.configuration.apiKey) {
2184
+ headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
2185
+ }
2186
+ if (this.configuration && this.configuration.apiKey) {
2187
+ headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
2188
+ }
2189
+ if (this.configuration && this.configuration.apiKey) {
2190
+ headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
2191
+ }
2192
+ if (this.configuration && this.configuration.apiKey) {
2193
+ headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
2194
+ }
2195
+ if (this.configuration && this.configuration.apiKey) {
2196
+ headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
2197
+ }
2198
+ if (this.configuration && this.configuration.apiKey) {
2199
+ headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
2200
+ }
2201
+ if (this.configuration && this.configuration.apiKey) {
2202
+ headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
2203
+ }
2204
+ if (this.configuration && this.configuration.apiKey) {
2205
+ headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
2206
+ }
2207
+ if (this.configuration && this.configuration.apiKey) {
2208
+ headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
2209
+ }
2210
+ if (this.configuration && this.configuration.accessToken) {
2211
+ const token = this.configuration.accessToken;
2212
+ const tokenString = yield token("BearerAuth", []);
2213
+ if (tokenString) {
2214
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2215
+ }
2216
+ }
2217
+ if (this.configuration && this.configuration.apiKey) {
2218
+ headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
2219
+ }
2220
+ if (this.configuration && this.configuration.apiKey) {
2221
+ headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
2222
+ }
2223
+ if (this.configuration && this.configuration.apiKey) {
2224
+ headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
2225
+ }
2226
+ if (this.configuration && this.configuration.apiKey) {
2227
+ headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
2228
+ }
2229
+ if (this.configuration && this.configuration.apiKey) {
2230
+ headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
2231
+ }
2232
+ if (this.configuration && this.configuration.apiKey) {
2233
+ headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
2234
+ }
2235
+ if (this.configuration && this.configuration.apiKey) {
2236
+ headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
2237
+ }
2238
+ if (this.configuration && this.configuration.apiKey) {
2239
+ headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
2240
+ }
2241
+ if (this.configuration && this.configuration.apiKey) {
2242
+ headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
2243
+ }
2244
+ if (this.configuration && this.configuration.apiKey) {
2245
+ headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
2246
+ }
2247
+ let urlPath = `/graphql/{pathQueryId}/UserRepliesTimeline`;
2248
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
2249
+ return {
2250
+ path: urlPath,
2251
+ method: 'GET',
2252
+ headers: headerParameters,
2253
+ query: queryParameters,
2254
+ };
2255
+ });
2256
+ }
2257
+ /**
2258
+ * get user tweets and replies (profile replies tab)
2259
+ */
2260
+ getUserRepliesTimelineRaw(requestParameters, initOverrides) {
2261
+ return __awaiter(this, void 0, void 0, function* () {
2262
+ const requestOptions = yield this.getUserRepliesTimelineRequestOpts(requestParameters);
2263
+ const response = yield this.request(requestOptions, initOverrides);
2264
+ return new runtime.JSONApiResponse(response, (jsonValue) => UserTweetsResponseFromJSON(jsonValue));
2265
+ });
2266
+ }
2267
+ /**
2268
+ * get user tweets and replies (profile replies tab)
2269
+ */
2270
+ getUserRepliesTimeline(requestParameters, initOverrides) {
2271
+ return __awaiter(this, void 0, void 0, function* () {
2272
+ const response = yield this.getUserRepliesTimelineRaw(requestParameters, initOverrides);
2273
+ return yield response.value();
2274
+ });
2275
+ }
2276
+ /**
2277
+ * Creates request options for getUserRepostsTimeline without sending the request
2278
+ */
2279
+ getUserRepostsTimelineRequestOpts(requestParameters) {
2280
+ return __awaiter(this, void 0, void 0, function* () {
2281
+ if (requestParameters['pathQueryId'] == null) {
2282
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getUserRepostsTimeline().');
2283
+ }
2284
+ if (requestParameters['variables'] == null) {
2285
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getUserRepostsTimeline().');
2286
+ }
2287
+ if (requestParameters['features'] == null) {
2288
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getUserRepostsTimeline().');
2289
+ }
2290
+ if (requestParameters['fieldToggles'] == null) {
2291
+ throw new runtime.RequiredError('fieldToggles', 'Required parameter "fieldToggles" was null or undefined when calling getUserRepostsTimeline().');
2292
+ }
2293
+ const queryParameters = {};
2294
+ if (requestParameters['variables'] != null) {
2295
+ queryParameters['variables'] = requestParameters['variables'];
2296
+ }
2297
+ if (requestParameters['features'] != null) {
2298
+ queryParameters['features'] = requestParameters['features'];
2299
+ }
2300
+ if (requestParameters['fieldToggles'] != null) {
2301
+ queryParameters['fieldToggles'] = requestParameters['fieldToggles'];
2302
+ }
2303
+ const headerParameters = {};
2304
+ if (this.configuration && this.configuration.apiKey) {
2305
+ headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
2306
+ }
2307
+ if (this.configuration && this.configuration.apiKey) {
2308
+ headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
2309
+ }
2310
+ if (this.configuration && this.configuration.apiKey) {
2311
+ headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
2312
+ }
2313
+ if (this.configuration && this.configuration.apiKey) {
2314
+ headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
2315
+ }
2316
+ if (this.configuration && this.configuration.apiKey) {
2317
+ headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
2318
+ }
2319
+ if (this.configuration && this.configuration.apiKey) {
2320
+ headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
2321
+ }
2322
+ if (this.configuration && this.configuration.apiKey) {
2323
+ headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
2324
+ }
2325
+ if (this.configuration && this.configuration.apiKey) {
2326
+ headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
2327
+ }
2328
+ if (this.configuration && this.configuration.apiKey) {
2329
+ headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
2330
+ }
2331
+ if (this.configuration && this.configuration.accessToken) {
2332
+ const token = this.configuration.accessToken;
2333
+ const tokenString = yield token("BearerAuth", []);
2334
+ if (tokenString) {
2335
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2336
+ }
2337
+ }
2338
+ if (this.configuration && this.configuration.apiKey) {
2339
+ headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
2340
+ }
2341
+ if (this.configuration && this.configuration.apiKey) {
2342
+ headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
2343
+ }
2344
+ if (this.configuration && this.configuration.apiKey) {
2345
+ headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
2346
+ }
2347
+ if (this.configuration && this.configuration.apiKey) {
2348
+ headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
2349
+ }
2350
+ if (this.configuration && this.configuration.apiKey) {
2351
+ headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
2352
+ }
2353
+ if (this.configuration && this.configuration.apiKey) {
2354
+ headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
2355
+ }
2356
+ if (this.configuration && this.configuration.apiKey) {
2357
+ headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
2358
+ }
2359
+ if (this.configuration && this.configuration.apiKey) {
2360
+ headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
2361
+ }
2362
+ if (this.configuration && this.configuration.apiKey) {
2363
+ headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
2364
+ }
2365
+ if (this.configuration && this.configuration.apiKey) {
2366
+ headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
2367
+ }
2368
+ let urlPath = `/graphql/{pathQueryId}/UserRepostsTimeline`;
2369
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
2370
+ return {
2371
+ path: urlPath,
2372
+ method: 'GET',
2373
+ headers: headerParameters,
2374
+ query: queryParameters,
2375
+ };
2376
+ });
2377
+ }
2378
+ /**
2379
+ * get user reposts (profile reposts tab)
2380
+ */
2381
+ getUserRepostsTimelineRaw(requestParameters, initOverrides) {
2382
+ return __awaiter(this, void 0, void 0, function* () {
2383
+ const requestOptions = yield this.getUserRepostsTimelineRequestOpts(requestParameters);
2384
+ const response = yield this.request(requestOptions, initOverrides);
2385
+ return new runtime.JSONApiResponse(response, (jsonValue) => UserTweetsResponseFromJSON(jsonValue));
2386
+ });
2387
+ }
2388
+ /**
2389
+ * get user reposts (profile reposts tab)
2390
+ */
2391
+ getUserRepostsTimeline(requestParameters, initOverrides) {
2392
+ return __awaiter(this, void 0, void 0, function* () {
2393
+ const response = yield this.getUserRepostsTimelineRaw(requestParameters, initOverrides);
2394
+ return yield response.value();
2395
+ });
2396
+ }
2397
+ /**
2398
+ * Creates request options for getUserSuperFollowTweets without sending the request
2399
+ */
2400
+ getUserSuperFollowTweetsRequestOpts(requestParameters) {
2401
+ return __awaiter(this, void 0, void 0, function* () {
2402
+ if (requestParameters['pathQueryId'] == null) {
2403
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getUserSuperFollowTweets().');
2404
+ }
2405
+ if (requestParameters['variables'] == null) {
2406
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getUserSuperFollowTweets().');
2407
+ }
2408
+ if (requestParameters['features'] == null) {
2409
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getUserSuperFollowTweets().');
2410
+ }
2411
+ if (requestParameters['fieldToggles'] == null) {
2412
+ throw new runtime.RequiredError('fieldToggles', 'Required parameter "fieldToggles" was null or undefined when calling getUserSuperFollowTweets().');
2413
+ }
2414
+ const queryParameters = {};
2415
+ if (requestParameters['variables'] != null) {
2416
+ queryParameters['variables'] = requestParameters['variables'];
2417
+ }
2418
+ if (requestParameters['features'] != null) {
2419
+ queryParameters['features'] = requestParameters['features'];
2420
+ }
2421
+ if (requestParameters['fieldToggles'] != null) {
2422
+ queryParameters['fieldToggles'] = requestParameters['fieldToggles'];
2423
+ }
2424
+ const headerParameters = {};
2425
+ if (this.configuration && this.configuration.apiKey) {
2426
+ headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
2427
+ }
2428
+ if (this.configuration && this.configuration.apiKey) {
2429
+ headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
2430
+ }
2431
+ if (this.configuration && this.configuration.apiKey) {
2432
+ headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
2433
+ }
2434
+ if (this.configuration && this.configuration.apiKey) {
2435
+ headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
2436
+ }
2437
+ if (this.configuration && this.configuration.apiKey) {
2438
+ headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
2439
+ }
2440
+ if (this.configuration && this.configuration.apiKey) {
2441
+ headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
2442
+ }
2443
+ if (this.configuration && this.configuration.apiKey) {
2444
+ headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
2445
+ }
2446
+ if (this.configuration && this.configuration.apiKey) {
2447
+ headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
2448
+ }
2449
+ if (this.configuration && this.configuration.apiKey) {
2450
+ headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
2451
+ }
2452
+ if (this.configuration && this.configuration.accessToken) {
2453
+ const token = this.configuration.accessToken;
2454
+ const tokenString = yield token("BearerAuth", []);
2455
+ if (tokenString) {
2456
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2457
+ }
2458
+ }
2459
+ if (this.configuration && this.configuration.apiKey) {
2460
+ headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
2461
+ }
2462
+ if (this.configuration && this.configuration.apiKey) {
2463
+ headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
2464
+ }
2465
+ if (this.configuration && this.configuration.apiKey) {
2466
+ headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
2467
+ }
2468
+ if (this.configuration && this.configuration.apiKey) {
2469
+ headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
2470
+ }
2471
+ if (this.configuration && this.configuration.apiKey) {
2472
+ headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
2473
+ }
2474
+ if (this.configuration && this.configuration.apiKey) {
2475
+ headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
2476
+ }
2477
+ if (this.configuration && this.configuration.apiKey) {
2478
+ headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
2479
+ }
2480
+ if (this.configuration && this.configuration.apiKey) {
2481
+ headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
2482
+ }
2483
+ if (this.configuration && this.configuration.apiKey) {
2484
+ headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
2485
+ }
2486
+ if (this.configuration && this.configuration.apiKey) {
2487
+ headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
2488
+ }
2489
+ let urlPath = `/graphql/{pathQueryId}/UserSuperFollowTweets`;
2490
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
2491
+ return {
2492
+ path: urlPath,
2493
+ method: 'GET',
2494
+ headers: headerParameters,
2495
+ query: queryParameters,
2496
+ };
2497
+ });
2498
+ }
2499
+ /**
2500
+ * get user super follow tweets (subscriptions tab)
2501
+ */
2502
+ getUserSuperFollowTweetsRaw(requestParameters, initOverrides) {
2503
+ return __awaiter(this, void 0, void 0, function* () {
2504
+ const requestOptions = yield this.getUserSuperFollowTweetsRequestOpts(requestParameters);
2505
+ const response = yield this.request(requestOptions, initOverrides);
2506
+ return new runtime.JSONApiResponse(response, (jsonValue) => UserTweetsResponseFromJSON(jsonValue));
2507
+ });
2508
+ }
2509
+ /**
2510
+ * get user super follow tweets (subscriptions tab)
2511
+ */
2512
+ getUserSuperFollowTweets(requestParameters, initOverrides) {
2513
+ return __awaiter(this, void 0, void 0, function* () {
2514
+ const response = yield this.getUserSuperFollowTweetsRaw(requestParameters, initOverrides);
2515
+ return yield response.value();
2516
+ });
2517
+ }
2518
+ /**
2519
+ * Creates request options for getUserTweets without sending the request
2520
+ */
2521
+ getUserTweetsRequestOpts(requestParameters) {
2522
+ return __awaiter(this, void 0, void 0, function* () {
2523
+ if (requestParameters['pathQueryId'] == null) {
2524
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getUserTweets().');
2525
+ }
2526
+ if (requestParameters['variables'] == null) {
2527
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getUserTweets().');
2528
+ }
2529
+ if (requestParameters['features'] == null) {
2530
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getUserTweets().');
2531
+ }
2532
+ if (requestParameters['fieldToggles'] == null) {
2533
+ throw new runtime.RequiredError('fieldToggles', 'Required parameter "fieldToggles" was null or undefined when calling getUserTweets().');
2534
+ }
2535
+ const queryParameters = {};
2536
+ if (requestParameters['variables'] != null) {
2537
+ queryParameters['variables'] = requestParameters['variables'];
2538
+ }
2539
+ if (requestParameters['features'] != null) {
2540
+ queryParameters['features'] = requestParameters['features'];
2541
+ }
2542
+ if (requestParameters['fieldToggles'] != null) {
2543
+ queryParameters['fieldToggles'] = requestParameters['fieldToggles'];
2544
+ }
2545
+ const headerParameters = {};
2546
+ if (this.configuration && this.configuration.apiKey) {
2547
+ headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
2548
+ }
2549
+ if (this.configuration && this.configuration.apiKey) {
2550
+ headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
2551
+ }
2552
+ if (this.configuration && this.configuration.apiKey) {
2553
+ headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
2554
+ }
2555
+ if (this.configuration && this.configuration.apiKey) {
2556
+ headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
2557
+ }
2558
+ if (this.configuration && this.configuration.apiKey) {
2559
+ headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
2560
+ }
2561
+ if (this.configuration && this.configuration.apiKey) {
2562
+ headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
2563
+ }
2564
+ if (this.configuration && this.configuration.apiKey) {
2565
+ headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
2566
+ }
2567
+ if (this.configuration && this.configuration.apiKey) {
2568
+ headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
2569
+ }
2570
+ if (this.configuration && this.configuration.apiKey) {
2571
+ headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
2572
+ }
2573
+ if (this.configuration && this.configuration.accessToken) {
2574
+ const token = this.configuration.accessToken;
2575
+ const tokenString = yield token("BearerAuth", []);
2576
+ if (tokenString) {
2577
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2578
+ }
2579
+ }
2580
+ if (this.configuration && this.configuration.apiKey) {
2581
+ headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
2582
+ }
2583
+ if (this.configuration && this.configuration.apiKey) {
2584
+ headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
2585
+ }
2586
+ if (this.configuration && this.configuration.apiKey) {
2587
+ headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
2588
+ }
2589
+ if (this.configuration && this.configuration.apiKey) {
2590
+ headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
2591
+ }
2592
+ if (this.configuration && this.configuration.apiKey) {
2593
+ headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
2594
+ }
2595
+ if (this.configuration && this.configuration.apiKey) {
2596
+ headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
2597
+ }
2598
+ if (this.configuration && this.configuration.apiKey) {
2599
+ headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
2600
+ }
2601
+ if (this.configuration && this.configuration.apiKey) {
2602
+ headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
2603
+ }
2604
+ if (this.configuration && this.configuration.apiKey) {
2605
+ headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
2606
+ }
2607
+ if (this.configuration && this.configuration.apiKey) {
2608
+ headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
2609
+ }
2610
+ let urlPath = `/graphql/{pathQueryId}/UserTweets`;
2611
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
2612
+ return {
2613
+ path: urlPath,
2614
+ method: 'GET',
2615
+ headers: headerParameters,
2616
+ query: queryParameters,
2617
+ };
2618
+ });
2619
+ }
2620
+ /**
2621
+ * get user tweets
2622
+ */
2623
+ getUserTweetsRaw(requestParameters, initOverrides) {
2624
+ return __awaiter(this, void 0, void 0, function* () {
2625
+ const requestOptions = yield this.getUserTweetsRequestOpts(requestParameters);
2626
+ const response = yield this.request(requestOptions, initOverrides);
2627
+ return new runtime.JSONApiResponse(response, (jsonValue) => UserTweetsResponseFromJSON(jsonValue));
2628
+ });
2629
+ }
2630
+ /**
2631
+ * get user tweets
2632
+ */
2633
+ getUserTweets(requestParameters, initOverrides) {
2634
+ return __awaiter(this, void 0, void 0, function* () {
2635
+ const response = yield this.getUserTweetsRaw(requestParameters, initOverrides);
2636
+ return yield response.value();
2637
+ });
2638
+ }
2639
+ /**
2640
+ * Creates request options for getUserTweetsAndReplies without sending the request
2641
+ */
2642
+ getUserTweetsAndRepliesRequestOpts(requestParameters) {
2643
+ return __awaiter(this, void 0, void 0, function* () {
2644
+ if (requestParameters['pathQueryId'] == null) {
2645
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getUserTweetsAndReplies().');
2646
+ }
2647
+ if (requestParameters['variables'] == null) {
2648
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getUserTweetsAndReplies().');
2649
+ }
2650
+ if (requestParameters['features'] == null) {
2651
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getUserTweetsAndReplies().');
2652
+ }
2653
+ if (requestParameters['fieldToggles'] == null) {
2654
+ throw new runtime.RequiredError('fieldToggles', 'Required parameter "fieldToggles" was null or undefined when calling getUserTweetsAndReplies().');
2655
+ }
2656
+ const queryParameters = {};
2657
+ if (requestParameters['variables'] != null) {
2658
+ queryParameters['variables'] = requestParameters['variables'];
2659
+ }
2660
+ if (requestParameters['features'] != null) {
2661
+ queryParameters['features'] = requestParameters['features'];
2662
+ }
2663
+ if (requestParameters['fieldToggles'] != null) {
2664
+ queryParameters['fieldToggles'] = requestParameters['fieldToggles'];
2665
+ }
2666
+ const headerParameters = {};
2667
+ if (this.configuration && this.configuration.apiKey) {
2668
+ headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
2669
+ }
2670
+ if (this.configuration && this.configuration.apiKey) {
2671
+ headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
2672
+ }
2673
+ if (this.configuration && this.configuration.apiKey) {
2674
+ headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
2675
+ }
2676
+ if (this.configuration && this.configuration.apiKey) {
2677
+ headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
2678
+ }
2679
+ if (this.configuration && this.configuration.apiKey) {
2680
+ headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
2681
+ }
2682
+ if (this.configuration && this.configuration.apiKey) {
2683
+ headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
2684
+ }
2685
+ if (this.configuration && this.configuration.apiKey) {
2686
+ headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
2687
+ }
2688
+ if (this.configuration && this.configuration.apiKey) {
2689
+ headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
2690
+ }
2691
+ if (this.configuration && this.configuration.apiKey) {
2692
+ headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
2693
+ }
2694
+ if (this.configuration && this.configuration.accessToken) {
2695
+ const token = this.configuration.accessToken;
2696
+ const tokenString = yield token("BearerAuth", []);
2697
+ if (tokenString) {
2698
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2699
+ }
2700
+ }
2701
+ if (this.configuration && this.configuration.apiKey) {
2702
+ headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
2703
+ }
2704
+ if (this.configuration && this.configuration.apiKey) {
2705
+ headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
2706
+ }
2707
+ if (this.configuration && this.configuration.apiKey) {
2708
+ headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
2709
+ }
2710
+ if (this.configuration && this.configuration.apiKey) {
2711
+ headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
2712
+ }
2713
+ if (this.configuration && this.configuration.apiKey) {
2714
+ headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
2715
+ }
2716
+ if (this.configuration && this.configuration.apiKey) {
2717
+ headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
2718
+ }
2719
+ if (this.configuration && this.configuration.apiKey) {
2720
+ headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
2721
+ }
2722
+ if (this.configuration && this.configuration.apiKey) {
2723
+ headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
2724
+ }
2725
+ if (this.configuration && this.configuration.apiKey) {
2726
+ headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
2727
+ }
2728
+ if (this.configuration && this.configuration.apiKey) {
2729
+ headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
2730
+ }
2731
+ let urlPath = `/graphql/{pathQueryId}/UserTweetsAndReplies`;
2732
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
2733
+ return {
2734
+ path: urlPath,
2735
+ method: 'GET',
2736
+ headers: headerParameters,
2737
+ query: queryParameters,
2738
+ };
2739
+ });
2740
+ }
2741
+ /**
2742
+ * get user replies tweets
2743
+ */
2744
+ getUserTweetsAndRepliesRaw(requestParameters, initOverrides) {
2745
+ return __awaiter(this, void 0, void 0, function* () {
2746
+ const requestOptions = yield this.getUserTweetsAndRepliesRequestOpts(requestParameters);
2747
+ const response = yield this.request(requestOptions, initOverrides);
2748
+ return new runtime.JSONApiResponse(response, (jsonValue) => UserTweetsResponseFromJSON(jsonValue));
2749
+ });
2750
+ }
2751
+ /**
2752
+ * get user replies tweets
2753
+ */
2754
+ getUserTweetsAndReplies(requestParameters, initOverrides) {
2755
+ return __awaiter(this, void 0, void 0, function* () {
2756
+ const response = yield this.getUserTweetsAndRepliesRaw(requestParameters, initOverrides);
2757
+ return yield response.value();
2758
+ });
2759
+ }
2760
+ /**
2761
+ * Creates request options for getUserVideoTimeline without sending the request
2762
+ */
2763
+ getUserVideoTimelineRequestOpts(requestParameters) {
2764
+ return __awaiter(this, void 0, void 0, function* () {
2765
+ if (requestParameters['pathQueryId'] == null) {
2766
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getUserVideoTimeline().');
2767
+ }
2768
+ if (requestParameters['variables'] == null) {
2769
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getUserVideoTimeline().');
2770
+ }
2771
+ if (requestParameters['features'] == null) {
2772
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getUserVideoTimeline().');
2773
+ }
2774
+ if (requestParameters['fieldToggles'] == null) {
2775
+ throw new runtime.RequiredError('fieldToggles', 'Required parameter "fieldToggles" was null or undefined when calling getUserVideoTimeline().');
2776
+ }
2777
+ const queryParameters = {};
2778
+ if (requestParameters['variables'] != null) {
2779
+ queryParameters['variables'] = requestParameters['variables'];
2780
+ }
2781
+ if (requestParameters['features'] != null) {
2782
+ queryParameters['features'] = requestParameters['features'];
2783
+ }
2784
+ if (requestParameters['fieldToggles'] != null) {
2785
+ queryParameters['fieldToggles'] = requestParameters['fieldToggles'];
2786
+ }
2787
+ const headerParameters = {};
2788
+ if (this.configuration && this.configuration.apiKey) {
2789
+ headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
2790
+ }
2791
+ if (this.configuration && this.configuration.apiKey) {
2792
+ headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
2793
+ }
2794
+ if (this.configuration && this.configuration.apiKey) {
2795
+ headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
2796
+ }
2797
+ if (this.configuration && this.configuration.apiKey) {
2798
+ headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
2799
+ }
2800
+ if (this.configuration && this.configuration.apiKey) {
2801
+ headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
2802
+ }
2803
+ if (this.configuration && this.configuration.apiKey) {
2804
+ headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
2805
+ }
2806
+ if (this.configuration && this.configuration.apiKey) {
2807
+ headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
2808
+ }
2809
+ if (this.configuration && this.configuration.apiKey) {
2810
+ headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
2811
+ }
2812
+ if (this.configuration && this.configuration.apiKey) {
2813
+ headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
2814
+ }
2815
+ if (this.configuration && this.configuration.accessToken) {
2816
+ const token = this.configuration.accessToken;
2817
+ const tokenString = yield token("BearerAuth", []);
2818
+ if (tokenString) {
2819
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2820
+ }
2821
+ }
2822
+ if (this.configuration && this.configuration.apiKey) {
2823
+ headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
2824
+ }
2825
+ if (this.configuration && this.configuration.apiKey) {
2826
+ headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
2827
+ }
2828
+ if (this.configuration && this.configuration.apiKey) {
2829
+ headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
2830
+ }
2831
+ if (this.configuration && this.configuration.apiKey) {
2832
+ headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
2833
+ }
2834
+ if (this.configuration && this.configuration.apiKey) {
2835
+ headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
2836
+ }
2837
+ if (this.configuration && this.configuration.apiKey) {
2838
+ headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
2839
+ }
2840
+ if (this.configuration && this.configuration.apiKey) {
2841
+ headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
2842
+ }
2843
+ if (this.configuration && this.configuration.apiKey) {
2844
+ headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
2845
+ }
2846
+ if (this.configuration && this.configuration.apiKey) {
2847
+ headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
2848
+ }
2849
+ if (this.configuration && this.configuration.apiKey) {
2850
+ headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
2851
+ }
2852
+ let urlPath = `/graphql/{pathQueryId}/UserVideoTimeline`;
2853
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
2854
+ return {
2855
+ path: urlPath,
2856
+ method: 'GET',
2857
+ headers: headerParameters,
2858
+ query: queryParameters,
2859
+ };
2860
+ });
2861
+ }
2862
+ /**
2863
+ * get user media (profile media tab)
2864
+ */
2865
+ getUserVideoTimelineRaw(requestParameters, initOverrides) {
2866
+ return __awaiter(this, void 0, void 0, function* () {
2867
+ const requestOptions = yield this.getUserVideoTimelineRequestOpts(requestParameters);
2868
+ const response = yield this.request(requestOptions, initOverrides);
2869
+ return new runtime.JSONApiResponse(response, (jsonValue) => UserTweetsResponseFromJSON(jsonValue));
2870
+ });
2871
+ }
2872
+ /**
2873
+ * get user media (profile media tab)
2874
+ */
2875
+ getUserVideoTimeline(requestParameters, initOverrides) {
2876
+ return __awaiter(this, void 0, void 0, function* () {
2877
+ const response = yield this.getUserVideoTimelineRaw(requestParameters, initOverrides);
2878
+ return yield response.value();
2879
+ });
2880
+ }
2881
+ }