@finch_ren/x-scraper 0.1.0

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 (750) hide show
  1. package/README.md +215 -0
  2. package/dist/src/api.d.ts +156 -0
  3. package/dist/src/api.js +245 -0
  4. package/dist/src/apis/defaultApi.d.ts +25 -0
  5. package/dist/src/apis/defaultApi.js +44 -0
  6. package/dist/src/apis/index.d.ts +12 -0
  7. package/dist/src/apis/index.js +26 -0
  8. package/dist/src/apis/initialStateApi.d.ts +3 -0
  9. package/dist/src/apis/initialStateApi.js +7 -0
  10. package/dist/src/apis/postApi.d.ts +58 -0
  11. package/dist/src/apis/postApi.js +130 -0
  12. package/dist/src/apis/spaceApi.d.ts +28 -0
  13. package/dist/src/apis/spaceApi.js +42 -0
  14. package/dist/src/apis/tweetApi.d.ts +118 -0
  15. package/dist/src/apis/tweetApi.js +195 -0
  16. package/dist/src/apis/userApi.d.ts +27 -0
  17. package/dist/src/apis/userApi.js +43 -0
  18. package/dist/src/apis/userListApi.d.ts +67 -0
  19. package/dist/src/apis/userListApi.js +111 -0
  20. package/dist/src/apis/usersApi.d.ts +19 -0
  21. package/dist/src/apis/usersApi.js +25 -0
  22. package/dist/src/apis/v11GetApi.d.ts +20 -0
  23. package/dist/src/apis/v11GetApi.js +29 -0
  24. package/dist/src/apis/v11PostApi.d.ts +26 -0
  25. package/dist/src/apis/v11PostApi.js +33 -0
  26. package/dist/src/apis/v20GetApi.d.ts +10 -0
  27. package/dist/src/apis/v20GetApi.js +12 -0
  28. package/dist/src/index.d.ts +6 -0
  29. package/dist/src/index.js +22 -0
  30. package/dist/src/models/flag.d.ts +6 -0
  31. package/dist/src/models/flag.js +3 -0
  32. package/dist/src/models/header.d.ts +15 -0
  33. package/dist/src/models/header.js +3 -0
  34. package/dist/src/models/index.d.ts +6 -0
  35. package/dist/src/models/index.js +22 -0
  36. package/dist/src/models/response.d.ts +10 -0
  37. package/dist/src/models/response.js +3 -0
  38. package/dist/src/models/timeline.d.ts +28 -0
  39. package/dist/src/models/timeline.js +3 -0
  40. package/dist/src/models/utils.d.ts +13 -0
  41. package/dist/src/models/utils.js +3 -0
  42. package/dist/src/openapi/index.d.ts +4 -0
  43. package/dist/src/openapi/index.js +24 -0
  44. package/dist/src/openapi/src/apis/DefaultApi.d.ts +54 -0
  45. package/dist/src/openapi/src/apis/DefaultApi.js +282 -0
  46. package/dist/src/openapi/src/apis/OtherApi.d.ts +65 -0
  47. package/dist/src/openapi/src/apis/OtherApi.js +369 -0
  48. package/dist/src/openapi/src/apis/PostApi.d.ts +147 -0
  49. package/dist/src/openapi/src/apis/PostApi.js +874 -0
  50. package/dist/src/openapi/src/apis/TweetApi.d.ts +280 -0
  51. package/dist/src/openapi/src/apis/TweetApi.js +1729 -0
  52. package/dist/src/openapi/src/apis/UserApi.d.ts +54 -0
  53. package/dist/src/openapi/src/apis/UserApi.js +282 -0
  54. package/dist/src/openapi/src/apis/UserListApi.d.ts +121 -0
  55. package/dist/src/openapi/src/apis/UserListApi.js +712 -0
  56. package/dist/src/openapi/src/apis/UsersApi.d.ts +36 -0
  57. package/dist/src/openapi/src/apis/UsersApi.js +167 -0
  58. package/dist/src/openapi/src/apis/V11GetApi.d.ts +88 -0
  59. package/dist/src/openapi/src/apis/V11GetApi.js +495 -0
  60. package/dist/src/openapi/src/apis/V11PostApi.d.ts +74 -0
  61. package/dist/src/openapi/src/apis/V11PostApi.js +437 -0
  62. package/dist/src/openapi/src/apis/V20GetApi.d.ts +69 -0
  63. package/dist/src/openapi/src/apis/V20GetApi.js +371 -0
  64. package/dist/src/openapi/src/apis/index.d.ts +11 -0
  65. package/dist/src/openapi/src/apis/index.js +29 -0
  66. package/dist/src/openapi/src/index.d.ts +4 -0
  67. package/dist/src/openapi/src/index.js +22 -0
  68. package/dist/src/openapi/src/models/AboutCommunityResult.d.ts +41 -0
  69. package/dist/src/openapi/src/models/AboutCommunityResult.js +57 -0
  70. package/dist/src/openapi/src/models/AboutCommunityResults.d.ts +34 -0
  71. package/dist/src/openapi/src/models/AboutCommunityResults.js +52 -0
  72. package/dist/src/openapi/src/models/AboutCommunityTweetData.d.ts +34 -0
  73. package/dist/src/openapi/src/models/AboutCommunityTweetData.js +52 -0
  74. package/dist/src/openapi/src/models/AdditionalMediaInfo.d.ts +65 -0
  75. package/dist/src/openapi/src/models/AdditionalMediaInfo.js +63 -0
  76. package/dist/src/openapi/src/models/AdditionalMediaInfoCallToActions.d.ts +40 -0
  77. package/dist/src/openapi/src/models/AdditionalMediaInfoCallToActions.js +52 -0
  78. package/dist/src/openapi/src/models/AdditionalMediaInfoCallToActionsUrl.d.ts +33 -0
  79. package/dist/src/openapi/src/models/AdditionalMediaInfoCallToActionsUrl.js +51 -0
  80. package/dist/src/openapi/src/models/AllowDownloadStatus.d.ts +33 -0
  81. package/dist/src/openapi/src/models/AllowDownloadStatus.js +49 -0
  82. package/dist/src/openapi/src/models/AnalysisResults.d.ts +34 -0
  83. package/dist/src/openapi/src/models/AnalysisResults.js +52 -0
  84. package/dist/src/openapi/src/models/Article.d.ts +34 -0
  85. package/dist/src/openapi/src/models/Article.js +52 -0
  86. package/dist/src/openapi/src/models/ArticleCoverMedia.d.ts +52 -0
  87. package/dist/src/openapi/src/models/ArticleCoverMedia.js +64 -0
  88. package/dist/src/openapi/src/models/ArticleCoverMediaColorInfo.d.ts +34 -0
  89. package/dist/src/openapi/src/models/ArticleCoverMediaColorInfo.js +52 -0
  90. package/dist/src/openapi/src/models/ArticleCoverMediaColorInfoPalette.d.ts +40 -0
  91. package/dist/src/openapi/src/models/ArticleCoverMediaColorInfoPalette.js +56 -0
  92. package/dist/src/openapi/src/models/ArticleCoverMediaColorInfoPaletteRGB.d.ts +45 -0
  93. package/dist/src/openapi/src/models/ArticleCoverMediaColorInfoPaletteRGB.js +59 -0
  94. package/dist/src/openapi/src/models/ArticleCoverMediaInfo.d.ts +59 -0
  95. package/dist/src/openapi/src/models/ArticleCoverMediaInfo.js +67 -0
  96. package/dist/src/openapi/src/models/ArticleLifecycleState.d.ts +33 -0
  97. package/dist/src/openapi/src/models/ArticleLifecycleState.js +51 -0
  98. package/dist/src/openapi/src/models/ArticleMetadata.d.ts +33 -0
  99. package/dist/src/openapi/src/models/ArticleMetadata.js +51 -0
  100. package/dist/src/openapi/src/models/ArticleResult.d.ts +72 -0
  101. package/dist/src/openapi/src/models/ArticleResult.js +76 -0
  102. package/dist/src/openapi/src/models/ArticleResults.d.ts +34 -0
  103. package/dist/src/openapi/src/models/ArticleResults.js +52 -0
  104. package/dist/src/openapi/src/models/AudioSpace.d.ts +55 -0
  105. package/dist/src/openapi/src/models/AudioSpace.js +59 -0
  106. package/dist/src/openapi/src/models/AudioSpaceByIdResponse.d.ts +41 -0
  107. package/dist/src/openapi/src/models/AudioSpaceByIdResponse.js +55 -0
  108. package/dist/src/openapi/src/models/AudioSpaceData.d.ts +34 -0
  109. package/dist/src/openapi/src/models/AudioSpaceData.js +52 -0
  110. package/dist/src/openapi/src/models/AudioSpaceMentionedUser.d.ts +33 -0
  111. package/dist/src/openapi/src/models/AudioSpaceMentionedUser.js +51 -0
  112. package/dist/src/openapi/src/models/AudioSpaceMetadata.d.ts +208 -0
  113. package/dist/src/openapi/src/models/AudioSpaceMetadata.js +120 -0
  114. package/dist/src/openapi/src/models/AudioSpaceParticipant.d.ts +82 -0
  115. package/dist/src/openapi/src/models/AudioSpaceParticipant.js +70 -0
  116. package/dist/src/openapi/src/models/AudioSpaceParticipants.d.ts +52 -0
  117. package/dist/src/openapi/src/models/AudioSpaceParticipants.js +58 -0
  118. package/dist/src/openapi/src/models/AuthorCommunityRelationship.d.ts +57 -0
  119. package/dist/src/openapi/src/models/AuthorCommunityRelationship.js +67 -0
  120. package/dist/src/openapi/src/models/BirdwatchEntity.d.ts +46 -0
  121. package/dist/src/openapi/src/models/BirdwatchEntity.js +60 -0
  122. package/dist/src/openapi/src/models/BirdwatchEntityRef.d.ts +66 -0
  123. package/dist/src/openapi/src/models/BirdwatchEntityRef.js +71 -0
  124. package/dist/src/openapi/src/models/BirdwatchPivot.d.ts +106 -0
  125. package/dist/src/openapi/src/models/BirdwatchPivot.js +91 -0
  126. package/dist/src/openapi/src/models/BirdwatchPivotCallToAction.d.ts +45 -0
  127. package/dist/src/openapi/src/models/BirdwatchPivotCallToAction.js +59 -0
  128. package/dist/src/openapi/src/models/BirdwatchPivotFooter.d.ts +40 -0
  129. package/dist/src/openapi/src/models/BirdwatchPivotFooter.js +56 -0
  130. package/dist/src/openapi/src/models/BirdwatchPivotNote.d.ts +33 -0
  131. package/dist/src/openapi/src/models/BirdwatchPivotNote.js +51 -0
  132. package/dist/src/openapi/src/models/BirdwatchPivotSubtitle.d.ts +40 -0
  133. package/dist/src/openapi/src/models/BirdwatchPivotSubtitle.js +56 -0
  134. package/dist/src/openapi/src/models/BookmarksResponse.d.ts +41 -0
  135. package/dist/src/openapi/src/models/BookmarksResponse.js +53 -0
  136. package/dist/src/openapi/src/models/BookmarksResponseData.d.ts +34 -0
  137. package/dist/src/openapi/src/models/BookmarksResponseData.js +52 -0
  138. package/dist/src/openapi/src/models/BookmarksTimeline.d.ts +34 -0
  139. package/dist/src/openapi/src/models/BookmarksTimeline.js +52 -0
  140. package/dist/src/openapi/src/models/Broadcast.d.ts +45 -0
  141. package/dist/src/openapi/src/models/Broadcast.js +59 -0
  142. package/dist/src/openapi/src/models/BroadcastGraphQL.d.ts +179 -0
  143. package/dist/src/openapi/src/models/BroadcastGraphQL.js +99 -0
  144. package/dist/src/openapi/src/models/BroadcastGraphQLUserResults.d.ts +34 -0
  145. package/dist/src/openapi/src/models/BroadcastGraphQLUserResults.js +50 -0
  146. package/dist/src/openapi/src/models/BroadcastQueryResponse.d.ts +41 -0
  147. package/dist/src/openapi/src/models/BroadcastQueryResponse.js +53 -0
  148. package/dist/src/openapi/src/models/BroadcastQueryResponseData.d.ts +41 -0
  149. package/dist/src/openapi/src/models/BroadcastQueryResponseData.js +53 -0
  150. package/dist/src/openapi/src/models/BroadcastQueryResponseDataBroadcastResults.d.ts +34 -0
  151. package/dist/src/openapi/src/models/BroadcastQueryResponseDataBroadcastResults.js +50 -0
  152. package/dist/src/openapi/src/models/BroadcastsShowResponse.d.ts +36 -0
  153. package/dist/src/openapi/src/models/BroadcastsShowResponse.js +53 -0
  154. package/dist/src/openapi/src/models/Callback.d.ts +33 -0
  155. package/dist/src/openapi/src/models/Callback.js +51 -0
  156. package/dist/src/openapi/src/models/ClientEventInfo.d.ts +47 -0
  157. package/dist/src/openapi/src/models/ClientEventInfo.js +53 -0
  158. package/dist/src/openapi/src/models/CommunitiesActions.d.ts +33 -0
  159. package/dist/src/openapi/src/models/CommunitiesActions.js +51 -0
  160. package/dist/src/openapi/src/models/Community.d.ts +34 -0
  161. package/dist/src/openapi/src/models/Community.js +52 -0
  162. package/dist/src/openapi/src/models/CommunityAboutTimelineResponse.d.ts +41 -0
  163. package/dist/src/openapi/src/models/CommunityAboutTimelineResponse.js +55 -0
  164. package/dist/src/openapi/src/models/CommunityActions.d.ts +62 -0
  165. package/dist/src/openapi/src/models/CommunityActions.js +62 -0
  166. package/dist/src/openapi/src/models/CommunityData.d.ts +220 -0
  167. package/dist/src/openapi/src/models/CommunityData.js +132 -0
  168. package/dist/src/openapi/src/models/CommunityDeleteActionResult.d.ts +47 -0
  169. package/dist/src/openapi/src/models/CommunityDeleteActionResult.js +63 -0
  170. package/dist/src/openapi/src/models/CommunityInvitesResult.d.ts +53 -0
  171. package/dist/src/openapi/src/models/CommunityInvitesResult.js +67 -0
  172. package/dist/src/openapi/src/models/CommunityJoinAction.d.ts +34 -0
  173. package/dist/src/openapi/src/models/CommunityJoinAction.js +52 -0
  174. package/dist/src/openapi/src/models/CommunityJoinActionResultUnion.d.ts +28 -0
  175. package/dist/src/openapi/src/models/CommunityJoinActionResultUnion.js +54 -0
  176. package/dist/src/openapi/src/models/CommunityJoinActionUnavailable.d.ts +53 -0
  177. package/dist/src/openapi/src/models/CommunityJoinActionUnavailable.js +67 -0
  178. package/dist/src/openapi/src/models/CommunityJoinRequestsResult.d.ts +34 -0
  179. package/dist/src/openapi/src/models/CommunityJoinRequestsResult.js +52 -0
  180. package/dist/src/openapi/src/models/CommunityLeaveActionResult.d.ts +53 -0
  181. package/dist/src/openapi/src/models/CommunityLeaveActionResult.js +67 -0
  182. package/dist/src/openapi/src/models/CommunityMediaTimelineResponse.d.ts +41 -0
  183. package/dist/src/openapi/src/models/CommunityMediaTimelineResponse.js +55 -0
  184. package/dist/src/openapi/src/models/CommunityPinActionResult.d.ts +34 -0
  185. package/dist/src/openapi/src/models/CommunityPinActionResult.js +52 -0
  186. package/dist/src/openapi/src/models/CommunityRelationship.d.ts +54 -0
  187. package/dist/src/openapi/src/models/CommunityRelationship.js +64 -0
  188. package/dist/src/openapi/src/models/CommunityRule.d.ts +45 -0
  189. package/dist/src/openapi/src/models/CommunityRule.js +57 -0
  190. package/dist/src/openapi/src/models/CommunityTweetsTimelineResponse.d.ts +41 -0
  191. package/dist/src/openapi/src/models/CommunityTweetsTimelineResponse.js +55 -0
  192. package/dist/src/openapi/src/models/CommunityUnpinActionResult.d.ts +34 -0
  193. package/dist/src/openapi/src/models/CommunityUnpinActionResult.js +52 -0
  194. package/dist/src/openapi/src/models/CommunityUrls.d.ts +34 -0
  195. package/dist/src/openapi/src/models/CommunityUrls.js +52 -0
  196. package/dist/src/openapi/src/models/CommunityUrlsPermalink.d.ts +33 -0
  197. package/dist/src/openapi/src/models/CommunityUrlsPermalink.js +51 -0
  198. package/dist/src/openapi/src/models/ContentEntryType.d.ts +27 -0
  199. package/dist/src/openapi/src/models/ContentEntryType.js +53 -0
  200. package/dist/src/openapi/src/models/ContentItemType.d.ts +33 -0
  201. package/dist/src/openapi/src/models/ContentItemType.js +59 -0
  202. package/dist/src/openapi/src/models/ContentUnion.d.ts +31 -0
  203. package/dist/src/openapi/src/models/ContentUnion.js +59 -0
  204. package/dist/src/openapi/src/models/ConversationControl.d.ts +42 -0
  205. package/dist/src/openapi/src/models/ConversationControl.js +60 -0
  206. package/dist/src/openapi/src/models/CoverCta.d.ts +67 -0
  207. package/dist/src/openapi/src/models/CoverCta.js +73 -0
  208. package/dist/src/openapi/src/models/CreateBookmarkResponse.d.ts +41 -0
  209. package/dist/src/openapi/src/models/CreateBookmarkResponse.js +55 -0
  210. package/dist/src/openapi/src/models/CreateBookmarkResponseData.d.ts +33 -0
  211. package/dist/src/openapi/src/models/CreateBookmarkResponseData.js +49 -0
  212. package/dist/src/openapi/src/models/CreateRetweet.d.ts +34 -0
  213. package/dist/src/openapi/src/models/CreateRetweet.js +52 -0
  214. package/dist/src/openapi/src/models/CreateRetweetResponse.d.ts +41 -0
  215. package/dist/src/openapi/src/models/CreateRetweetResponse.js +55 -0
  216. package/dist/src/openapi/src/models/CreateRetweetResponseData.d.ts +34 -0
  217. package/dist/src/openapi/src/models/CreateRetweetResponseData.js +50 -0
  218. package/dist/src/openapi/src/models/CreateRetweetResponseResult.d.ts +34 -0
  219. package/dist/src/openapi/src/models/CreateRetweetResponseResult.js +52 -0
  220. package/dist/src/openapi/src/models/CreateTweet.d.ts +34 -0
  221. package/dist/src/openapi/src/models/CreateTweet.js +52 -0
  222. package/dist/src/openapi/src/models/CreateTweetResponse.d.ts +41 -0
  223. package/dist/src/openapi/src/models/CreateTweetResponse.js +55 -0
  224. package/dist/src/openapi/src/models/CreateTweetResponseData.d.ts +34 -0
  225. package/dist/src/openapi/src/models/CreateTweetResponseData.js +50 -0
  226. package/dist/src/openapi/src/models/CreateTweetResponseResult.d.ts +34 -0
  227. package/dist/src/openapi/src/models/CreateTweetResponseResult.js +52 -0
  228. package/dist/src/openapi/src/models/CtaClientEventInfo.d.ts +40 -0
  229. package/dist/src/openapi/src/models/CtaClientEventInfo.js +58 -0
  230. package/dist/src/openapi/src/models/CursorType.d.ts +30 -0
  231. package/dist/src/openapi/src/models/CursorType.js +56 -0
  232. package/dist/src/openapi/src/models/DeleteBookmarkResponse.d.ts +41 -0
  233. package/dist/src/openapi/src/models/DeleteBookmarkResponse.js +55 -0
  234. package/dist/src/openapi/src/models/DeleteBookmarkResponseData.d.ts +33 -0
  235. package/dist/src/openapi/src/models/DeleteBookmarkResponseData.js +49 -0
  236. package/dist/src/openapi/src/models/DeleteRetweet.d.ts +34 -0
  237. package/dist/src/openapi/src/models/DeleteRetweet.js +52 -0
  238. package/dist/src/openapi/src/models/DeleteRetweetResponse.d.ts +41 -0
  239. package/dist/src/openapi/src/models/DeleteRetweetResponse.js +55 -0
  240. package/dist/src/openapi/src/models/DeleteRetweetResponseData.d.ts +34 -0
  241. package/dist/src/openapi/src/models/DeleteRetweetResponseData.js +50 -0
  242. package/dist/src/openapi/src/models/DeleteRetweetResponseResult.d.ts +34 -0
  243. package/dist/src/openapi/src/models/DeleteRetweetResponseResult.js +50 -0
  244. package/dist/src/openapi/src/models/DeleteTweetResponse.d.ts +41 -0
  245. package/dist/src/openapi/src/models/DeleteTweetResponse.js +55 -0
  246. package/dist/src/openapi/src/models/DeleteTweetResponseData.d.ts +34 -0
  247. package/dist/src/openapi/src/models/DeleteTweetResponseData.js +50 -0
  248. package/dist/src/openapi/src/models/DeleteTweetResponseResult.d.ts +33 -0
  249. package/dist/src/openapi/src/models/DeleteTweetResponseResult.js +51 -0
  250. package/dist/src/openapi/src/models/DisplayTreatment.d.ts +39 -0
  251. package/dist/src/openapi/src/models/DisplayTreatment.js +53 -0
  252. package/dist/src/openapi/src/models/DisplayType.d.ts +28 -0
  253. package/dist/src/openapi/src/models/DisplayType.js +54 -0
  254. package/dist/src/openapi/src/models/Entities.d.ts +72 -0
  255. package/dist/src/openapi/src/models/Entities.js +70 -0
  256. package/dist/src/openapi/src/models/ErrorExtensions.d.ts +64 -0
  257. package/dist/src/openapi/src/models/ErrorExtensions.js +70 -0
  258. package/dist/src/openapi/src/models/ErrorResponse.d.ts +91 -0
  259. package/dist/src/openapi/src/models/ErrorResponse.js +87 -0
  260. package/dist/src/openapi/src/models/ErrorResponsePathInner.d.ts +22 -0
  261. package/dist/src/openapi/src/models/ErrorResponsePathInner.js +50 -0
  262. package/dist/src/openapi/src/models/ExtMediaAvailability.d.ts +47 -0
  263. package/dist/src/openapi/src/models/ExtMediaAvailability.js +59 -0
  264. package/dist/src/openapi/src/models/ExtendedEntities.d.ts +34 -0
  265. package/dist/src/openapi/src/models/ExtendedEntities.js +52 -0
  266. package/dist/src/openapi/src/models/FavoriteTweet.d.ts +33 -0
  267. package/dist/src/openapi/src/models/FavoriteTweet.js +49 -0
  268. package/dist/src/openapi/src/models/FavoriteTweetResponse.d.ts +41 -0
  269. package/dist/src/openapi/src/models/FavoriteTweetResponse.js +55 -0
  270. package/dist/src/openapi/src/models/FeedbackInfo.d.ts +40 -0
  271. package/dist/src/openapi/src/models/FeedbackInfo.js +52 -0
  272. package/dist/src/openapi/src/models/FollowResponse.d.ts +41 -0
  273. package/dist/src/openapi/src/models/FollowResponse.js +55 -0
  274. package/dist/src/openapi/src/models/FollowResponseData.d.ts +34 -0
  275. package/dist/src/openapi/src/models/FollowResponseData.js +50 -0
  276. package/dist/src/openapi/src/models/FollowResponseResult.d.ts +41 -0
  277. package/dist/src/openapi/src/models/FollowResponseResult.js +57 -0
  278. package/dist/src/openapi/src/models/FollowResponseUser.d.ts +34 -0
  279. package/dist/src/openapi/src/models/FollowResponseUser.js +52 -0
  280. package/dist/src/openapi/src/models/FollowTimeline.d.ts +34 -0
  281. package/dist/src/openapi/src/models/FollowTimeline.js +52 -0
  282. package/dist/src/openapi/src/models/GrokImageAnnotation.d.ts +39 -0
  283. package/dist/src/openapi/src/models/GrokImageAnnotation.js +55 -0
  284. package/dist/src/openapi/src/models/GrokShareAttachment.d.ts +34 -0
  285. package/dist/src/openapi/src/models/GrokShareAttachment.js +52 -0
  286. package/dist/src/openapi/src/models/GrokShareAttachmentItem.d.ts +46 -0
  287. package/dist/src/openapi/src/models/GrokShareAttachmentItem.js +58 -0
  288. package/dist/src/openapi/src/models/Highlight.d.ts +34 -0
  289. package/dist/src/openapi/src/models/Highlight.js +52 -0
  290. package/dist/src/openapi/src/models/HomeTimelineHome.d.ts +34 -0
  291. package/dist/src/openapi/src/models/HomeTimelineHome.js +52 -0
  292. package/dist/src/openapi/src/models/HomeTimelineResponseData.d.ts +34 -0
  293. package/dist/src/openapi/src/models/HomeTimelineResponseData.js +52 -0
  294. package/dist/src/openapi/src/models/InstructionType.d.ts +34 -0
  295. package/dist/src/openapi/src/models/InstructionType.js +60 -0
  296. package/dist/src/openapi/src/models/InstructionUnion.d.ts +52 -0
  297. package/dist/src/openapi/src/models/InstructionUnion.js +94 -0
  298. package/dist/src/openapi/src/models/ItemContentUnion.d.ts +49 -0
  299. package/dist/src/openapi/src/models/ItemContentUnion.js +89 -0
  300. package/dist/src/openapi/src/models/ItemResult.d.ts +41 -0
  301. package/dist/src/openapi/src/models/ItemResult.js +53 -0
  302. package/dist/src/openapi/src/models/LimitedActionResultsData.d.ts +53 -0
  303. package/dist/src/openapi/src/models/LimitedActionResultsData.js +71 -0
  304. package/dist/src/openapi/src/models/ListLatestTweetsTimelineResponse.d.ts +41 -0
  305. package/dist/src/openapi/src/models/ListLatestTweetsTimelineResponse.js +55 -0
  306. package/dist/src/openapi/src/models/ListTweetsTimelineData.d.ts +34 -0
  307. package/dist/src/openapi/src/models/ListTweetsTimelineData.js +52 -0
  308. package/dist/src/openapi/src/models/ListTweetsTimelineList.d.ts +34 -0
  309. package/dist/src/openapi/src/models/ListTweetsTimelineList.js +52 -0
  310. package/dist/src/openapi/src/models/LiveVideoStreamSource.d.ts +51 -0
  311. package/dist/src/openapi/src/models/LiveVideoStreamSource.js +63 -0
  312. package/dist/src/openapi/src/models/LiveVideoStreamStatusResponse.d.ts +58 -0
  313. package/dist/src/openapi/src/models/LiveVideoStreamStatusResponse.js +62 -0
  314. package/dist/src/openapi/src/models/Location.d.ts +39 -0
  315. package/dist/src/openapi/src/models/Location.js +55 -0
  316. package/dist/src/openapi/src/models/Media.d.ts +164 -0
  317. package/dist/src/openapi/src/models/Media.js +126 -0
  318. package/dist/src/openapi/src/models/MediaCommunityResult.d.ts +41 -0
  319. package/dist/src/openapi/src/models/MediaCommunityResult.js +57 -0
  320. package/dist/src/openapi/src/models/MediaCommunityResults.d.ts +34 -0
  321. package/dist/src/openapi/src/models/MediaCommunityResults.js +52 -0
  322. package/dist/src/openapi/src/models/MediaCommunityTweetData.d.ts +34 -0
  323. package/dist/src/openapi/src/models/MediaCommunityTweetData.js +52 -0
  324. package/dist/src/openapi/src/models/MediaExtended.d.ts +171 -0
  325. package/dist/src/openapi/src/models/MediaExtended.js +127 -0
  326. package/dist/src/openapi/src/models/MediaOriginalInfo.d.ts +46 -0
  327. package/dist/src/openapi/src/models/MediaOriginalInfo.js +58 -0
  328. package/dist/src/openapi/src/models/MediaOriginalInfoFocusRect.d.ts +51 -0
  329. package/dist/src/openapi/src/models/MediaOriginalInfoFocusRect.js +63 -0
  330. package/dist/src/openapi/src/models/MediaResult.d.ts +40 -0
  331. package/dist/src/openapi/src/models/MediaResult.js +54 -0
  332. package/dist/src/openapi/src/models/MediaResults.d.ts +34 -0
  333. package/dist/src/openapi/src/models/MediaResults.js +52 -0
  334. package/dist/src/openapi/src/models/MediaSize.d.ts +53 -0
  335. package/dist/src/openapi/src/models/MediaSize.js +67 -0
  336. package/dist/src/openapi/src/models/MediaSizes.d.ts +52 -0
  337. package/dist/src/openapi/src/models/MediaSizes.js +64 -0
  338. package/dist/src/openapi/src/models/MediaStats.d.ts +33 -0
  339. package/dist/src/openapi/src/models/MediaStats.js +51 -0
  340. package/dist/src/openapi/src/models/MediaVideoInfo.d.ts +46 -0
  341. package/dist/src/openapi/src/models/MediaVideoInfo.js +58 -0
  342. package/dist/src/openapi/src/models/MediaVideoInfoVariant.d.ts +45 -0
  343. package/dist/src/openapi/src/models/MediaVideoInfoVariant.js +57 -0
  344. package/dist/src/openapi/src/models/MediaVisibilityResults.d.ts +34 -0
  345. package/dist/src/openapi/src/models/MediaVisibilityResults.js +52 -0
  346. package/dist/src/openapi/src/models/MediaVisibilityResultsBlurredImageInterstitial.d.ts +46 -0
  347. package/dist/src/openapi/src/models/MediaVisibilityResultsBlurredImageInterstitial.js +60 -0
  348. package/dist/src/openapi/src/models/ModuleEntry.d.ts +48 -0
  349. package/dist/src/openapi/src/models/ModuleEntry.js +58 -0
  350. package/dist/src/openapi/src/models/ModuleItem.d.ts +46 -0
  351. package/dist/src/openapi/src/models/ModuleItem.js +58 -0
  352. package/dist/src/openapi/src/models/NoteTweet.d.ts +40 -0
  353. package/dist/src/openapi/src/models/NoteTweet.js +56 -0
  354. package/dist/src/openapi/src/models/NoteTweetResult.d.ts +34 -0
  355. package/dist/src/openapi/src/models/NoteTweetResult.js +52 -0
  356. package/dist/src/openapi/src/models/NoteTweetResultData.d.ts +60 -0
  357. package/dist/src/openapi/src/models/NoteTweetResultData.js +66 -0
  358. package/dist/src/openapi/src/models/NoteTweetResultMedia.d.ts +34 -0
  359. package/dist/src/openapi/src/models/NoteTweetResultMedia.js +52 -0
  360. package/dist/src/openapi/src/models/NoteTweetResultMediaInlineMedia.d.ts +39 -0
  361. package/dist/src/openapi/src/models/NoteTweetResultMediaInlineMedia.js +55 -0
  362. package/dist/src/openapi/src/models/NoteTweetResultRichText.d.ts +34 -0
  363. package/dist/src/openapi/src/models/NoteTweetResultRichText.js +52 -0
  364. package/dist/src/openapi/src/models/NoteTweetResultRichTextTag.d.ts +53 -0
  365. package/dist/src/openapi/src/models/NoteTweetResultRichTextTag.js +67 -0
  366. package/dist/src/openapi/src/models/NotificationTemplate.d.ts +46 -0
  367. package/dist/src/openapi/src/models/NotificationTemplate.js +54 -0
  368. package/dist/src/openapi/src/models/NotificationsResult.d.ts +47 -0
  369. package/dist/src/openapi/src/models/NotificationsResult.js +61 -0
  370. package/dist/src/openapi/src/models/NotificationsTimelineData.d.ts +34 -0
  371. package/dist/src/openapi/src/models/NotificationsTimelineData.js +52 -0
  372. package/dist/src/openapi/src/models/NotificationsTimelineResponse.d.ts +41 -0
  373. package/dist/src/openapi/src/models/NotificationsTimelineResponse.js +55 -0
  374. package/dist/src/openapi/src/models/NotificationsUserResults.d.ts +34 -0
  375. package/dist/src/openapi/src/models/NotificationsUserResults.js +52 -0
  376. package/dist/src/openapi/src/models/NotificationsViewerV2.d.ts +34 -0
  377. package/dist/src/openapi/src/models/NotificationsViewerV2.js +52 -0
  378. package/dist/src/openapi/src/models/OneFactorLoginEligibility.d.ts +33 -0
  379. package/dist/src/openapi/src/models/OneFactorLoginEligibility.js +51 -0
  380. package/dist/src/openapi/src/models/OtherObjectAll.d.ts +34 -0
  381. package/dist/src/openapi/src/models/OtherObjectAll.js +50 -0
  382. package/dist/src/openapi/src/models/PeriscopeUser.d.ts +51 -0
  383. package/dist/src/openapi/src/models/PeriscopeUser.js +55 -0
  384. package/dist/src/openapi/src/models/PostCreateBookmarkRequest.d.ts +40 -0
  385. package/dist/src/openapi/src/models/PostCreateBookmarkRequest.js +56 -0
  386. package/dist/src/openapi/src/models/PostCreateBookmarkRequestVariables.d.ts +33 -0
  387. package/dist/src/openapi/src/models/PostCreateBookmarkRequestVariables.js +51 -0
  388. package/dist/src/openapi/src/models/PostCreateRetweetRequest.d.ts +40 -0
  389. package/dist/src/openapi/src/models/PostCreateRetweetRequest.js +56 -0
  390. package/dist/src/openapi/src/models/PostCreateRetweetRequestVariables.d.ts +39 -0
  391. package/dist/src/openapi/src/models/PostCreateRetweetRequestVariables.js +55 -0
  392. package/dist/src/openapi/src/models/PostCreateTweetRequest.d.ts +47 -0
  393. package/dist/src/openapi/src/models/PostCreateTweetRequest.js +61 -0
  394. package/dist/src/openapi/src/models/PostCreateTweetRequestFeatures.d.ts +201 -0
  395. package/dist/src/openapi/src/models/PostCreateTweetRequestFeatures.js +163 -0
  396. package/dist/src/openapi/src/models/PostCreateTweetRequestVariables.d.ts +78 -0
  397. package/dist/src/openapi/src/models/PostCreateTweetRequestVariables.js +74 -0
  398. package/dist/src/openapi/src/models/PostCreateTweetRequestVariablesConversationControl.d.ts +33 -0
  399. package/dist/src/openapi/src/models/PostCreateTweetRequestVariablesConversationControl.js +51 -0
  400. package/dist/src/openapi/src/models/PostCreateTweetRequestVariablesMedia.d.ts +40 -0
  401. package/dist/src/openapi/src/models/PostCreateTweetRequestVariablesMedia.js +54 -0
  402. package/dist/src/openapi/src/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.d.ts +39 -0
  403. package/dist/src/openapi/src/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.js +55 -0
  404. package/dist/src/openapi/src/models/PostCreateTweetRequestVariablesReply.d.ts +39 -0
  405. package/dist/src/openapi/src/models/PostCreateTweetRequestVariablesReply.js +55 -0
  406. package/dist/src/openapi/src/models/PostDeleteBookmarkRequest.d.ts +40 -0
  407. package/dist/src/openapi/src/models/PostDeleteBookmarkRequest.js +56 -0
  408. package/dist/src/openapi/src/models/PostDeleteRetweetRequest.d.ts +40 -0
  409. package/dist/src/openapi/src/models/PostDeleteRetweetRequest.js +56 -0
  410. package/dist/src/openapi/src/models/PostDeleteRetweetRequestVariables.d.ts +39 -0
  411. package/dist/src/openapi/src/models/PostDeleteRetweetRequestVariables.js +55 -0
  412. package/dist/src/openapi/src/models/PostDeleteTweetRequest.d.ts +40 -0
  413. package/dist/src/openapi/src/models/PostDeleteTweetRequest.js +56 -0
  414. package/dist/src/openapi/src/models/PostFavoriteTweetRequest.d.ts +40 -0
  415. package/dist/src/openapi/src/models/PostFavoriteTweetRequest.js +56 -0
  416. package/dist/src/openapi/src/models/PostUnfavoriteTweetRequest.d.ts +40 -0
  417. package/dist/src/openapi/src/models/PostUnfavoriteTweetRequest.js +56 -0
  418. package/dist/src/openapi/src/models/PrimaryCommunityTopic.d.ts +39 -0
  419. package/dist/src/openapi/src/models/PrimaryCommunityTopic.js +55 -0
  420. package/dist/src/openapi/src/models/ProfileResponse.d.ts +41 -0
  421. package/dist/src/openapi/src/models/ProfileResponse.js +55 -0
  422. package/dist/src/openapi/src/models/ProfileResponseData.d.ts +34 -0
  423. package/dist/src/openapi/src/models/ProfileResponseData.js +50 -0
  424. package/dist/src/openapi/src/models/QuotedRefResult.d.ts +34 -0
  425. package/dist/src/openapi/src/models/QuotedRefResult.js +50 -0
  426. package/dist/src/openapi/src/models/QuotedStatusPermalink.d.ts +45 -0
  427. package/dist/src/openapi/src/models/QuotedStatusPermalink.js +59 -0
  428. package/dist/src/openapi/src/models/RankedCommunityResult.d.ts +41 -0
  429. package/dist/src/openapi/src/models/RankedCommunityResult.js +57 -0
  430. package/dist/src/openapi/src/models/RankedCommunityResults.d.ts +34 -0
  431. package/dist/src/openapi/src/models/RankedCommunityResults.js +52 -0
  432. package/dist/src/openapi/src/models/RankedCommunityTweetData.d.ts +34 -0
  433. package/dist/src/openapi/src/models/RankedCommunityTweetData.js +52 -0
  434. package/dist/src/openapi/src/models/Retweet.d.ts +40 -0
  435. package/dist/src/openapi/src/models/Retweet.js +56 -0
  436. package/dist/src/openapi/src/models/RetweetLegacy.d.ts +33 -0
  437. package/dist/src/openapi/src/models/RetweetLegacy.js +51 -0
  438. package/dist/src/openapi/src/models/RichMessage.d.ts +39 -0
  439. package/dist/src/openapi/src/models/RichMessage.js +51 -0
  440. package/dist/src/openapi/src/models/SearchByRawQuery.d.ts +34 -0
  441. package/dist/src/openapi/src/models/SearchByRawQuery.js +52 -0
  442. package/dist/src/openapi/src/models/SearchTimeline.d.ts +34 -0
  443. package/dist/src/openapi/src/models/SearchTimeline.js +52 -0
  444. package/dist/src/openapi/src/models/SearchTimelineData.d.ts +34 -0
  445. package/dist/src/openapi/src/models/SearchTimelineData.js +52 -0
  446. package/dist/src/openapi/src/models/SearchTimelineResponse.d.ts +41 -0
  447. package/dist/src/openapi/src/models/SearchTimelineResponse.js +55 -0
  448. package/dist/src/openapi/src/models/SelfThread.d.ts +33 -0
  449. package/dist/src/openapi/src/models/SelfThread.js +51 -0
  450. package/dist/src/openapi/src/models/SensitiveMediaWarning.d.ts +45 -0
  451. package/dist/src/openapi/src/models/SensitiveMediaWarning.js +53 -0
  452. package/dist/src/openapi/src/models/Session.d.ts +121 -0
  453. package/dist/src/openapi/src/models/Session.js +111 -0
  454. package/dist/src/openapi/src/models/SocialContextLandingUrl.d.ts +55 -0
  455. package/dist/src/openapi/src/models/SocialContextLandingUrl.js +63 -0
  456. package/dist/src/openapi/src/models/SocialContextUnion.d.ts +28 -0
  457. package/dist/src/openapi/src/models/SocialContextUnion.js +54 -0
  458. package/dist/src/openapi/src/models/SocialContextUnionType.d.ts +26 -0
  459. package/dist/src/openapi/src/models/SocialContextUnionType.js +52 -0
  460. package/dist/src/openapi/src/models/SuperFollowsReplyUserResult.d.ts +34 -0
  461. package/dist/src/openapi/src/models/SuperFollowsReplyUserResult.js +52 -0
  462. package/dist/src/openapi/src/models/SuperFollowsReplyUserResultData.d.ts +41 -0
  463. package/dist/src/openapi/src/models/SuperFollowsReplyUserResultData.js +57 -0
  464. package/dist/src/openapi/src/models/SuperFollowsReplyUserResultLegacy.d.ts +33 -0
  465. package/dist/src/openapi/src/models/SuperFollowsReplyUserResultLegacy.js +51 -0
  466. package/dist/src/openapi/src/models/Text.d.ts +40 -0
  467. package/dist/src/openapi/src/models/Text.js +56 -0
  468. package/dist/src/openapi/src/models/TextEntity.d.ts +46 -0
  469. package/dist/src/openapi/src/models/TextEntity.js +60 -0
  470. package/dist/src/openapi/src/models/TextEntityRef.d.ts +59 -0
  471. package/dist/src/openapi/src/models/TextEntityRef.js +72 -0
  472. package/dist/src/openapi/src/models/TextHighlight.d.ts +39 -0
  473. package/dist/src/openapi/src/models/TextHighlight.js +55 -0
  474. package/dist/src/openapi/src/models/ThumbnailImage.d.ts +45 -0
  475. package/dist/src/openapi/src/models/ThumbnailImage.js +53 -0
  476. package/dist/src/openapi/src/models/Timeline.d.ts +50 -0
  477. package/dist/src/openapi/src/models/Timeline.js +56 -0
  478. package/dist/src/openapi/src/models/TimelineAddEntries.d.ts +41 -0
  479. package/dist/src/openapi/src/models/TimelineAddEntries.js +57 -0
  480. package/dist/src/openapi/src/models/TimelineAddEntry.d.ts +46 -0
  481. package/dist/src/openapi/src/models/TimelineAddEntry.js +60 -0
  482. package/dist/src/openapi/src/models/TimelineAddToModule.d.ts +53 -0
  483. package/dist/src/openapi/src/models/TimelineAddToModule.js +63 -0
  484. package/dist/src/openapi/src/models/TimelineClearCache.d.ts +34 -0
  485. package/dist/src/openapi/src/models/TimelineClearCache.js +52 -0
  486. package/dist/src/openapi/src/models/TimelineClearEntriesUnreadState.d.ts +34 -0
  487. package/dist/src/openapi/src/models/TimelineClearEntriesUnreadState.js +52 -0
  488. package/dist/src/openapi/src/models/TimelineCommunity.d.ts +35 -0
  489. package/dist/src/openapi/src/models/TimelineCommunity.js +52 -0
  490. package/dist/src/openapi/src/models/TimelineCoverBehavior.d.ts +48 -0
  491. package/dist/src/openapi/src/models/TimelineCoverBehavior.js +62 -0
  492. package/dist/src/openapi/src/models/TimelineCoverBehaviorUrl.d.ts +46 -0
  493. package/dist/src/openapi/src/models/TimelineCoverBehaviorUrl.js +62 -0
  494. package/dist/src/openapi/src/models/TimelineGeneralContext.d.ts +74 -0
  495. package/dist/src/openapi/src/models/TimelineGeneralContext.js +74 -0
  496. package/dist/src/openapi/src/models/TimelineHalfCover.d.ts +86 -0
  497. package/dist/src/openapi/src/models/TimelineHalfCover.js +91 -0
  498. package/dist/src/openapi/src/models/TimelineMarkEntriesUnreadGreaterThanSortIndex.d.ts +40 -0
  499. package/dist/src/openapi/src/models/TimelineMarkEntriesUnreadGreaterThanSortIndex.js +54 -0
  500. package/dist/src/openapi/src/models/TimelineMessagePrompt.d.ts +35 -0
  501. package/dist/src/openapi/src/models/TimelineMessagePrompt.js +52 -0
  502. package/dist/src/openapi/src/models/TimelineNotification.d.ts +80 -0
  503. package/dist/src/openapi/src/models/TimelineNotification.js +84 -0
  504. package/dist/src/openapi/src/models/TimelinePinEntry.d.ts +41 -0
  505. package/dist/src/openapi/src/models/TimelinePinEntry.js +57 -0
  506. package/dist/src/openapi/src/models/TimelinePrompt.d.ts +35 -0
  507. package/dist/src/openapi/src/models/TimelinePrompt.js +52 -0
  508. package/dist/src/openapi/src/models/TimelineReplaceEntry.d.ts +47 -0
  509. package/dist/src/openapi/src/models/TimelineReplaceEntry.js +61 -0
  510. package/dist/src/openapi/src/models/TimelineResponse.d.ts +41 -0
  511. package/dist/src/openapi/src/models/TimelineResponse.js +55 -0
  512. package/dist/src/openapi/src/models/TimelineResult.d.ts +40 -0
  513. package/dist/src/openapi/src/models/TimelineResult.js +52 -0
  514. package/dist/src/openapi/src/models/TimelineShowAlert.d.ts +102 -0
  515. package/dist/src/openapi/src/models/TimelineShowAlert.js +87 -0
  516. package/dist/src/openapi/src/models/TimelineShowAlertRichText.d.ts +41 -0
  517. package/dist/src/openapi/src/models/TimelineShowAlertRichText.js +51 -0
  518. package/dist/src/openapi/src/models/TimelineShowCover.d.ts +48 -0
  519. package/dist/src/openapi/src/models/TimelineShowCover.js +62 -0
  520. package/dist/src/openapi/src/models/TimelineTerminateTimeline.d.ts +49 -0
  521. package/dist/src/openapi/src/models/TimelineTerminateTimeline.js +65 -0
  522. package/dist/src/openapi/src/models/TimelineTimelineCursor.d.ts +73 -0
  523. package/dist/src/openapi/src/models/TimelineTimelineCursor.js +71 -0
  524. package/dist/src/openapi/src/models/TimelineTimelineItem.d.ts +63 -0
  525. package/dist/src/openapi/src/models/TimelineTimelineItem.js +67 -0
  526. package/dist/src/openapi/src/models/TimelineTimelineModule.d.ts +93 -0
  527. package/dist/src/openapi/src/models/TimelineTimelineModule.js +77 -0
  528. package/dist/src/openapi/src/models/TimelineTombstone.d.ts +61 -0
  529. package/dist/src/openapi/src/models/TimelineTombstone.js +65 -0
  530. package/dist/src/openapi/src/models/TimelineTopicContext.d.ts +54 -0
  531. package/dist/src/openapi/src/models/TimelineTopicContext.js +62 -0
  532. package/dist/src/openapi/src/models/TimelineTrend.d.ts +88 -0
  533. package/dist/src/openapi/src/models/TimelineTrend.js +80 -0
  534. package/dist/src/openapi/src/models/TimelineTweet.d.ts +92 -0
  535. package/dist/src/openapi/src/models/TimelineTweet.js +86 -0
  536. package/dist/src/openapi/src/models/TimelineUser.d.ts +71 -0
  537. package/dist/src/openapi/src/models/TimelineUser.js +79 -0
  538. package/dist/src/openapi/src/models/Timestamp.d.ts +45 -0
  539. package/dist/src/openapi/src/models/Timestamp.js +59 -0
  540. package/dist/src/openapi/src/models/TombstoneEntity.d.ts +46 -0
  541. package/dist/src/openapi/src/models/TombstoneEntity.js +54 -0
  542. package/dist/src/openapi/src/models/TombstoneInfo.d.ts +40 -0
  543. package/dist/src/openapi/src/models/TombstoneInfo.js +52 -0
  544. package/dist/src/openapi/src/models/TombstoneRef.d.ts +59 -0
  545. package/dist/src/openapi/src/models/TombstoneRef.js +66 -0
  546. package/dist/src/openapi/src/models/TombstoneRichText.d.ts +46 -0
  547. package/dist/src/openapi/src/models/TombstoneRichText.js +54 -0
  548. package/dist/src/openapi/src/models/TopicContext.d.ts +69 -0
  549. package/dist/src/openapi/src/models/TopicContext.js +61 -0
  550. package/dist/src/openapi/src/models/Tracing.d.ts +33 -0
  551. package/dist/src/openapi/src/models/Tracing.js +51 -0
  552. package/dist/src/openapi/src/models/TrendImage.d.ts +33 -0
  553. package/dist/src/openapi/src/models/TrendImage.js +49 -0
  554. package/dist/src/openapi/src/models/TrendMetadata.d.ts +34 -0
  555. package/dist/src/openapi/src/models/TrendMetadata.js +50 -0
  556. package/dist/src/openapi/src/models/TrendResults.d.ts +33 -0
  557. package/dist/src/openapi/src/models/TrendResults.js +51 -0
  558. package/dist/src/openapi/src/models/Tweet.d.ts +217 -0
  559. package/dist/src/openapi/src/models/Tweet.js +125 -0
  560. package/dist/src/openapi/src/models/TweetCard.d.ts +40 -0
  561. package/dist/src/openapi/src/models/TweetCard.js +52 -0
  562. package/dist/src/openapi/src/models/TweetCardLegacy.d.ts +60 -0
  563. package/dist/src/openapi/src/models/TweetCardLegacy.js +66 -0
  564. package/dist/src/openapi/src/models/TweetCardLegacyBindingValue.d.ts +40 -0
  565. package/dist/src/openapi/src/models/TweetCardLegacyBindingValue.js +56 -0
  566. package/dist/src/openapi/src/models/TweetCardLegacyBindingValueData.d.ts +73 -0
  567. package/dist/src/openapi/src/models/TweetCardLegacyBindingValueData.js +65 -0
  568. package/dist/src/openapi/src/models/TweetCardLegacyBindingValueDataImage.d.ts +51 -0
  569. package/dist/src/openapi/src/models/TweetCardLegacyBindingValueDataImage.js +61 -0
  570. package/dist/src/openapi/src/models/TweetCardPlatform.d.ts +41 -0
  571. package/dist/src/openapi/src/models/TweetCardPlatform.js +57 -0
  572. package/dist/src/openapi/src/models/TweetCardPlatformAudience.d.ts +40 -0
  573. package/dist/src/openapi/src/models/TweetCardPlatformAudience.js +58 -0
  574. package/dist/src/openapi/src/models/TweetCardPlatformData.d.ts +34 -0
  575. package/dist/src/openapi/src/models/TweetCardPlatformData.js +52 -0
  576. package/dist/src/openapi/src/models/TweetCardPlatformDevice.d.ts +39 -0
  577. package/dist/src/openapi/src/models/TweetCardPlatformDevice.js +55 -0
  578. package/dist/src/openapi/src/models/TweetDetailResponse.d.ts +41 -0
  579. package/dist/src/openapi/src/models/TweetDetailResponse.js +55 -0
  580. package/dist/src/openapi/src/models/TweetDetailResponseData.d.ts +34 -0
  581. package/dist/src/openapi/src/models/TweetDetailResponseData.js +50 -0
  582. package/dist/src/openapi/src/models/TweetEditControl.d.ts +64 -0
  583. package/dist/src/openapi/src/models/TweetEditControl.js +60 -0
  584. package/dist/src/openapi/src/models/TweetEditControlInitial.d.ts +51 -0
  585. package/dist/src/openapi/src/models/TweetEditControlInitial.js +63 -0
  586. package/dist/src/openapi/src/models/TweetEditPrespective.d.ts +39 -0
  587. package/dist/src/openapi/src/models/TweetEditPrespective.js +51 -0
  588. package/dist/src/openapi/src/models/TweetFavoritersResponse.d.ts +41 -0
  589. package/dist/src/openapi/src/models/TweetFavoritersResponse.js +55 -0
  590. package/dist/src/openapi/src/models/TweetFavoritersResponseData.d.ts +34 -0
  591. package/dist/src/openapi/src/models/TweetFavoritersResponseData.js +50 -0
  592. package/dist/src/openapi/src/models/TweetInterstitial.d.ts +61 -0
  593. package/dist/src/openapi/src/models/TweetInterstitial.js +73 -0
  594. package/dist/src/openapi/src/models/TweetInterstitialRevealText.d.ts +46 -0
  595. package/dist/src/openapi/src/models/TweetInterstitialRevealText.js +60 -0
  596. package/dist/src/openapi/src/models/TweetInterstitialText.d.ts +46 -0
  597. package/dist/src/openapi/src/models/TweetInterstitialText.js +60 -0
  598. package/dist/src/openapi/src/models/TweetInterstitialTextEntity.d.ts +46 -0
  599. package/dist/src/openapi/src/models/TweetInterstitialTextEntity.js +60 -0
  600. package/dist/src/openapi/src/models/TweetInterstitialTextEntityRef.d.ts +59 -0
  601. package/dist/src/openapi/src/models/TweetInterstitialTextEntityRef.js +72 -0
  602. package/dist/src/openapi/src/models/TweetLegacy.d.ts +236 -0
  603. package/dist/src/openapi/src/models/TweetLegacy.js +162 -0
  604. package/dist/src/openapi/src/models/TweetLegacyScopes.d.ts +33 -0
  605. package/dist/src/openapi/src/models/TweetLegacyScopes.js +51 -0
  606. package/dist/src/openapi/src/models/TweetLimitedActionResults.d.ts +34 -0
  607. package/dist/src/openapi/src/models/TweetLimitedActionResults.js +52 -0
  608. package/dist/src/openapi/src/models/TweetPreviewDisplay.d.ts +55 -0
  609. package/dist/src/openapi/src/models/TweetPreviewDisplay.js +67 -0
  610. package/dist/src/openapi/src/models/TweetPreviewDisplayCta.d.ts +40 -0
  611. package/dist/src/openapi/src/models/TweetPreviewDisplayCta.js +56 -0
  612. package/dist/src/openapi/src/models/TweetPreviewDisplayCtaUrl.d.ts +48 -0
  613. package/dist/src/openapi/src/models/TweetPreviewDisplayCtaUrl.js +64 -0
  614. package/dist/src/openapi/src/models/TweetPreviewDisplayTweet.d.ts +95 -0
  615. package/dist/src/openapi/src/models/TweetPreviewDisplayTweet.js +93 -0
  616. package/dist/src/openapi/src/models/TweetPreviewDisplayTweetViewCount.d.ts +33 -0
  617. package/dist/src/openapi/src/models/TweetPreviewDisplayTweetViewCount.js +51 -0
  618. package/dist/src/openapi/src/models/TweetPreviousCounts.d.ts +57 -0
  619. package/dist/src/openapi/src/models/TweetPreviousCounts.js +67 -0
  620. package/dist/src/openapi/src/models/TweetResultByRestIdData.d.ts +34 -0
  621. package/dist/src/openapi/src/models/TweetResultByRestIdData.js +50 -0
  622. package/dist/src/openapi/src/models/TweetResultByRestIdResponse.d.ts +41 -0
  623. package/dist/src/openapi/src/models/TweetResultByRestIdResponse.js +55 -0
  624. package/dist/src/openapi/src/models/TweetRetweetersResponse.d.ts +41 -0
  625. package/dist/src/openapi/src/models/TweetRetweetersResponse.js +55 -0
  626. package/dist/src/openapi/src/models/TweetRetweetersResponseData.d.ts +34 -0
  627. package/dist/src/openapi/src/models/TweetRetweetersResponseData.js +50 -0
  628. package/dist/src/openapi/src/models/TweetTombstone.d.ts +35 -0
  629. package/dist/src/openapi/src/models/TweetTombstone.js +52 -0
  630. package/dist/src/openapi/src/models/TweetUnavailable.d.ts +40 -0
  631. package/dist/src/openapi/src/models/TweetUnavailable.js +52 -0
  632. package/dist/src/openapi/src/models/TweetUnion.d.ts +37 -0
  633. package/dist/src/openapi/src/models/TweetUnion.js +69 -0
  634. package/dist/src/openapi/src/models/TweetView.d.ts +47 -0
  635. package/dist/src/openapi/src/models/TweetView.js +61 -0
  636. package/dist/src/openapi/src/models/TweetWithVisibilityResults.d.ts +63 -0
  637. package/dist/src/openapi/src/models/TweetWithVisibilityResults.js +65 -0
  638. package/dist/src/openapi/src/models/TypeName.d.ts +54 -0
  639. package/dist/src/openapi/src/models/TypeName.js +80 -0
  640. package/dist/src/openapi/src/models/UnfavoriteTweet.d.ts +33 -0
  641. package/dist/src/openapi/src/models/UnfavoriteTweet.js +49 -0
  642. package/dist/src/openapi/src/models/UnfavoriteTweetResponse.d.ts +41 -0
  643. package/dist/src/openapi/src/models/UnfavoriteTweetResponse.js +55 -0
  644. package/dist/src/openapi/src/models/UnifiedCard.d.ts +40 -0
  645. package/dist/src/openapi/src/models/UnifiedCard.js +58 -0
  646. package/dist/src/openapi/src/models/Url.d.ts +51 -0
  647. package/dist/src/openapi/src/models/Url.js +61 -0
  648. package/dist/src/openapi/src/models/UrtEndpointOptions.d.ts +40 -0
  649. package/dist/src/openapi/src/models/UrtEndpointOptions.js +56 -0
  650. package/dist/src/openapi/src/models/UrtEndpointRequestParams.d.ts +39 -0
  651. package/dist/src/openapi/src/models/UrtEndpointRequestParams.js +55 -0
  652. package/dist/src/openapi/src/models/User.d.ts +281 -0
  653. package/dist/src/openapi/src/models/User.js +164 -0
  654. package/dist/src/openapi/src/models/UserAvatar.d.ts +33 -0
  655. package/dist/src/openapi/src/models/UserAvatar.js +49 -0
  656. package/dist/src/openapi/src/models/UserCore.d.ts +45 -0
  657. package/dist/src/openapi/src/models/UserCore.js +59 -0
  658. package/dist/src/openapi/src/models/UserDmPermissions.d.ts +33 -0
  659. package/dist/src/openapi/src/models/UserDmPermissions.js +49 -0
  660. package/dist/src/openapi/src/models/UserFeatures.d.ts +33 -0
  661. package/dist/src/openapi/src/models/UserFeatures.js +51 -0
  662. package/dist/src/openapi/src/models/UserHighlightsInfo.d.ts +39 -0
  663. package/dist/src/openapi/src/models/UserHighlightsInfo.js +55 -0
  664. package/dist/src/openapi/src/models/UserHighlightsTweetsData.d.ts +34 -0
  665. package/dist/src/openapi/src/models/UserHighlightsTweetsData.js +50 -0
  666. package/dist/src/openapi/src/models/UserHighlightsTweetsResponse.d.ts +41 -0
  667. package/dist/src/openapi/src/models/UserHighlightsTweetsResponse.js +55 -0
  668. package/dist/src/openapi/src/models/UserHighlightsTweetsResult.d.ts +41 -0
  669. package/dist/src/openapi/src/models/UserHighlightsTweetsResult.js +57 -0
  670. package/dist/src/openapi/src/models/UserHighlightsTweetsTimeline.d.ts +34 -0
  671. package/dist/src/openapi/src/models/UserHighlightsTweetsTimeline.js +52 -0
  672. package/dist/src/openapi/src/models/UserHighlightsTweetsUser.d.ts +34 -0
  673. package/dist/src/openapi/src/models/UserHighlightsTweetsUser.js +52 -0
  674. package/dist/src/openapi/src/models/UserLegacy.d.ts +283 -0
  675. package/dist/src/openapi/src/models/UserLegacy.js +185 -0
  676. package/dist/src/openapi/src/models/UserLegacyExtendedProfile.d.ts +34 -0
  677. package/dist/src/openapi/src/models/UserLegacyExtendedProfile.js +50 -0
  678. package/dist/src/openapi/src/models/UserLegacyExtendedProfileBirthdate.d.ts +79 -0
  679. package/dist/src/openapi/src/models/UserLegacyExtendedProfileBirthdate.js +86 -0
  680. package/dist/src/openapi/src/models/UserLocation.d.ts +33 -0
  681. package/dist/src/openapi/src/models/UserLocation.js +49 -0
  682. package/dist/src/openapi/src/models/UserMediaPermissions.d.ts +33 -0
  683. package/dist/src/openapi/src/models/UserMediaPermissions.js +49 -0
  684. package/dist/src/openapi/src/models/UserPrivacy.d.ts +33 -0
  685. package/dist/src/openapi/src/models/UserPrivacy.js +49 -0
  686. package/dist/src/openapi/src/models/UserProfessional.d.ts +54 -0
  687. package/dist/src/openapi/src/models/UserProfessional.js +68 -0
  688. package/dist/src/openapi/src/models/UserProfessionalCategory.d.ts +45 -0
  689. package/dist/src/openapi/src/models/UserProfessionalCategory.js +59 -0
  690. package/dist/src/openapi/src/models/UserProfileBio.d.ts +33 -0
  691. package/dist/src/openapi/src/models/UserProfileBio.js +49 -0
  692. package/dist/src/openapi/src/models/UserRelationshipPerspectives.d.ts +57 -0
  693. package/dist/src/openapi/src/models/UserRelationshipPerspectives.js +57 -0
  694. package/dist/src/openapi/src/models/UserResponse.d.ts +41 -0
  695. package/dist/src/openapi/src/models/UserResponse.js +55 -0
  696. package/dist/src/openapi/src/models/UserResponseData.d.ts +34 -0
  697. package/dist/src/openapi/src/models/UserResponseData.js +50 -0
  698. package/dist/src/openapi/src/models/UserResultByScreenName.d.ts +40 -0
  699. package/dist/src/openapi/src/models/UserResultByScreenName.js +56 -0
  700. package/dist/src/openapi/src/models/UserResultByScreenNameLegacy.d.ts +69 -0
  701. package/dist/src/openapi/src/models/UserResultByScreenNameLegacy.js +61 -0
  702. package/dist/src/openapi/src/models/UserResultByScreenNameResult.d.ts +61 -0
  703. package/dist/src/openapi/src/models/UserResultByScreenNameResult.js +69 -0
  704. package/dist/src/openapi/src/models/UserResultCore.d.ts +34 -0
  705. package/dist/src/openapi/src/models/UserResultCore.js +52 -0
  706. package/dist/src/openapi/src/models/UserResults.d.ts +34 -0
  707. package/dist/src/openapi/src/models/UserResults.js +50 -0
  708. package/dist/src/openapi/src/models/UserTipJarSettings.d.ts +81 -0
  709. package/dist/src/openapi/src/models/UserTipJarSettings.js +65 -0
  710. package/dist/src/openapi/src/models/UserTweetsData.d.ts +34 -0
  711. package/dist/src/openapi/src/models/UserTweetsData.js +50 -0
  712. package/dist/src/openapi/src/models/UserTweetsResponse.d.ts +41 -0
  713. package/dist/src/openapi/src/models/UserTweetsResponse.js +55 -0
  714. package/dist/src/openapi/src/models/UserTweetsResultV1.d.ts +41 -0
  715. package/dist/src/openapi/src/models/UserTweetsResultV1.js +57 -0
  716. package/dist/src/openapi/src/models/UserTweetsResultV2.d.ts +41 -0
  717. package/dist/src/openapi/src/models/UserTweetsResultV2.js +57 -0
  718. package/dist/src/openapi/src/models/UserTweetsUser.d.ts +34 -0
  719. package/dist/src/openapi/src/models/UserTweetsUser.js +52 -0
  720. package/dist/src/openapi/src/models/UserUnavailable.d.ts +46 -0
  721. package/dist/src/openapi/src/models/UserUnavailable.js +58 -0
  722. package/dist/src/openapi/src/models/UserUnion.d.ts +28 -0
  723. package/dist/src/openapi/src/models/UserUnion.js +54 -0
  724. package/dist/src/openapi/src/models/UserValue.d.ts +33 -0
  725. package/dist/src/openapi/src/models/UserValue.js +51 -0
  726. package/dist/src/openapi/src/models/UserVerification.d.ts +33 -0
  727. package/dist/src/openapi/src/models/UserVerification.js +49 -0
  728. package/dist/src/openapi/src/models/UserVerificationInfo.d.ts +40 -0
  729. package/dist/src/openapi/src/models/UserVerificationInfo.js +54 -0
  730. package/dist/src/openapi/src/models/UserVerificationInfoReason.d.ts +46 -0
  731. package/dist/src/openapi/src/models/UserVerificationInfoReason.js +58 -0
  732. package/dist/src/openapi/src/models/UserVerificationInfoReasonDescription.d.ts +40 -0
  733. package/dist/src/openapi/src/models/UserVerificationInfoReasonDescription.js +56 -0
  734. package/dist/src/openapi/src/models/UserVerificationInfoReasonDescriptionEntities.d.ts +46 -0
  735. package/dist/src/openapi/src/models/UserVerificationInfoReasonDescriptionEntities.js +60 -0
  736. package/dist/src/openapi/src/models/UserVerificationInfoReasonDescriptionEntitiesRef.d.ts +46 -0
  737. package/dist/src/openapi/src/models/UserVerificationInfoReasonDescriptionEntitiesRef.js +62 -0
  738. package/dist/src/openapi/src/models/UsersResponse.d.ts +41 -0
  739. package/dist/src/openapi/src/models/UsersResponse.js +55 -0
  740. package/dist/src/openapi/src/models/UsersResponseData.d.ts +34 -0
  741. package/dist/src/openapi/src/models/UsersResponseData.js +50 -0
  742. package/dist/src/openapi/src/models/index.d.ts +336 -0
  743. package/dist/src/openapi/src/models/index.js +354 -0
  744. package/dist/src/openapi/src/runtime.d.ts +185 -0
  745. package/dist/src/openapi/src/runtime.js +339 -0
  746. package/dist/src/utils/api.d.ts +30 -0
  747. package/dist/src/utils/api.js +270 -0
  748. package/dist/src/utils/index.d.ts +2 -0
  749. package/dist/src/utils/index.js +18 -0
  750. package/package.json +41 -0
@@ -0,0 +1,712 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Twitter OpenAPI
6
+ * Twitter OpenAPI(Swagger) specification
7
+ *
8
+ * The version of the OpenAPI document: 0.0.1
9
+ * Contact: yuki@yuki0311.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ var desc = Object.getOwnPropertyDescriptor(m, k);
18
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
+ desc = { enumerable: true, get: function() { return m[k]; } };
20
+ }
21
+ Object.defineProperty(o, k2, desc);
22
+ }) : (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ o[k2] = m[k];
25
+ }));
26
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
27
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
28
+ }) : function(o, v) {
29
+ o["default"] = v;
30
+ });
31
+ var __importStar = (this && this.__importStar) || (function () {
32
+ var ownKeys = function(o) {
33
+ ownKeys = Object.getOwnPropertyNames || function (o) {
34
+ var ar = [];
35
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
36
+ return ar;
37
+ };
38
+ return ownKeys(o);
39
+ };
40
+ return function (mod) {
41
+ if (mod && mod.__esModule) return mod;
42
+ var result = {};
43
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
44
+ __setModuleDefault(result, mod);
45
+ return result;
46
+ };
47
+ })();
48
+ Object.defineProperty(exports, "__esModule", { value: true });
49
+ exports.UserListApi = void 0;
50
+ const runtime = __importStar(require("../runtime"));
51
+ const index_1 = require("../models/index");
52
+ /**
53
+ *
54
+ */
55
+ class UserListApi extends runtime.BaseAPI {
56
+ /**
57
+ * Creates request options for getBlueVerifiedFollowers without sending the request
58
+ */
59
+ async getBlueVerifiedFollowersRequestOpts(requestParameters) {
60
+ if (requestParameters['pathQueryId'] == null) {
61
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getBlueVerifiedFollowers().');
62
+ }
63
+ if (requestParameters['variables'] == null) {
64
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getBlueVerifiedFollowers().');
65
+ }
66
+ if (requestParameters['features'] == null) {
67
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getBlueVerifiedFollowers().');
68
+ }
69
+ const queryParameters = {};
70
+ if (requestParameters['variables'] != null) {
71
+ queryParameters['variables'] = requestParameters['variables'];
72
+ }
73
+ if (requestParameters['features'] != null) {
74
+ queryParameters['features'] = requestParameters['features'];
75
+ }
76
+ const headerParameters = {};
77
+ if (this.configuration && this.configuration.apiKey) {
78
+ headerParameters["Accept"] = await this.configuration.apiKey("Accept"); // Accept authentication
79
+ }
80
+ if (this.configuration && this.configuration.apiKey) {
81
+ headerParameters["x-twitter-client-language"] = await this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
82
+ }
83
+ if (this.configuration && this.configuration.apiKey) {
84
+ headerParameters["Priority"] = await this.configuration.apiKey("Priority"); // Priority authentication
85
+ }
86
+ if (this.configuration && this.configuration.apiKey) {
87
+ headerParameters["Referer"] = await this.configuration.apiKey("Referer"); // Referer authentication
88
+ }
89
+ if (this.configuration && this.configuration.apiKey) {
90
+ headerParameters["Sec-Fetch-Dest"] = await this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
91
+ }
92
+ if (this.configuration && this.configuration.apiKey) {
93
+ headerParameters["Sec-Ch-Ua-Platform"] = await this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
94
+ }
95
+ if (this.configuration && this.configuration.apiKey) {
96
+ headerParameters["Sec-Fetch-Mode"] = await this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
97
+ }
98
+ if (this.configuration && this.configuration.apiKey) {
99
+ headerParameters["x-csrf-token"] = await this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
100
+ }
101
+ if (this.configuration && this.configuration.apiKey) {
102
+ headerParameters["x-client-uuid"] = await this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
103
+ }
104
+ if (this.configuration && this.configuration.accessToken) {
105
+ const token = this.configuration.accessToken;
106
+ const tokenString = await token("BearerAuth", []);
107
+ if (tokenString) {
108
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
109
+ }
110
+ }
111
+ if (this.configuration && this.configuration.apiKey) {
112
+ headerParameters["x-guest-token"] = await this.configuration.apiKey("x-guest-token"); // GuestToken authentication
113
+ }
114
+ if (this.configuration && this.configuration.apiKey) {
115
+ headerParameters["Sec-Ch-Ua"] = await this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
116
+ }
117
+ if (this.configuration && this.configuration.apiKey) {
118
+ headerParameters["x-client-transaction-id"] = await this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
119
+ }
120
+ if (this.configuration && this.configuration.apiKey) {
121
+ headerParameters["x-twitter-active-user"] = await this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
122
+ }
123
+ if (this.configuration && this.configuration.apiKey) {
124
+ headerParameters["user-agent"] = await this.configuration.apiKey("user-agent"); // UserAgent authentication
125
+ }
126
+ if (this.configuration && this.configuration.apiKey) {
127
+ headerParameters["Accept-Language"] = await this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
128
+ }
129
+ if (this.configuration && this.configuration.apiKey) {
130
+ headerParameters["Sec-Fetch-Site"] = await this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
131
+ }
132
+ if (this.configuration && this.configuration.apiKey) {
133
+ headerParameters["x-twitter-auth-type"] = await this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
134
+ }
135
+ if (this.configuration && this.configuration.apiKey) {
136
+ headerParameters["Sec-Ch-Ua-Mobile"] = await this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
137
+ }
138
+ if (this.configuration && this.configuration.apiKey) {
139
+ headerParameters["Accept-Encoding"] = await this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
140
+ }
141
+ let urlPath = `/graphql/{pathQueryId}/BlueVerifiedFollowers`;
142
+ urlPath = urlPath.replace(`{${"pathQueryId"}}`, encodeURIComponent(String(requestParameters['pathQueryId'])));
143
+ return {
144
+ path: urlPath,
145
+ method: 'GET',
146
+ headers: headerParameters,
147
+ query: queryParameters,
148
+ };
149
+ }
150
+ /**
151
+ * get user list of blue verified followers
152
+ */
153
+ async getBlueVerifiedFollowersRaw(requestParameters, initOverrides) {
154
+ const requestOptions = await this.getBlueVerifiedFollowersRequestOpts(requestParameters);
155
+ const response = await this.request(requestOptions, initOverrides);
156
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.FollowResponseFromJSON)(jsonValue));
157
+ }
158
+ /**
159
+ * get user list of blue verified followers
160
+ */
161
+ async getBlueVerifiedFollowers(requestParameters, initOverrides) {
162
+ const response = await this.getBlueVerifiedFollowersRaw(requestParameters, initOverrides);
163
+ return await response.value();
164
+ }
165
+ /**
166
+ * Creates request options for getFavoriters without sending the request
167
+ */
168
+ async getFavoritersRequestOpts(requestParameters) {
169
+ if (requestParameters['pathQueryId'] == null) {
170
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getFavoriters().');
171
+ }
172
+ if (requestParameters['variables'] == null) {
173
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getFavoriters().');
174
+ }
175
+ if (requestParameters['features'] == null) {
176
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getFavoriters().');
177
+ }
178
+ const queryParameters = {};
179
+ if (requestParameters['variables'] != null) {
180
+ queryParameters['variables'] = requestParameters['variables'];
181
+ }
182
+ if (requestParameters['features'] != null) {
183
+ queryParameters['features'] = requestParameters['features'];
184
+ }
185
+ const headerParameters = {};
186
+ if (this.configuration && this.configuration.apiKey) {
187
+ headerParameters["Accept"] = await this.configuration.apiKey("Accept"); // Accept authentication
188
+ }
189
+ if (this.configuration && this.configuration.apiKey) {
190
+ headerParameters["x-twitter-client-language"] = await this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
191
+ }
192
+ if (this.configuration && this.configuration.apiKey) {
193
+ headerParameters["Priority"] = await this.configuration.apiKey("Priority"); // Priority authentication
194
+ }
195
+ if (this.configuration && this.configuration.apiKey) {
196
+ headerParameters["Referer"] = await this.configuration.apiKey("Referer"); // Referer authentication
197
+ }
198
+ if (this.configuration && this.configuration.apiKey) {
199
+ headerParameters["Sec-Fetch-Dest"] = await this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
200
+ }
201
+ if (this.configuration && this.configuration.apiKey) {
202
+ headerParameters["Sec-Ch-Ua-Platform"] = await this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
203
+ }
204
+ if (this.configuration && this.configuration.apiKey) {
205
+ headerParameters["Sec-Fetch-Mode"] = await this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
206
+ }
207
+ if (this.configuration && this.configuration.apiKey) {
208
+ headerParameters["x-csrf-token"] = await this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
209
+ }
210
+ if (this.configuration && this.configuration.apiKey) {
211
+ headerParameters["x-client-uuid"] = await this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
212
+ }
213
+ if (this.configuration && this.configuration.accessToken) {
214
+ const token = this.configuration.accessToken;
215
+ const tokenString = await token("BearerAuth", []);
216
+ if (tokenString) {
217
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
218
+ }
219
+ }
220
+ if (this.configuration && this.configuration.apiKey) {
221
+ headerParameters["x-guest-token"] = await this.configuration.apiKey("x-guest-token"); // GuestToken authentication
222
+ }
223
+ if (this.configuration && this.configuration.apiKey) {
224
+ headerParameters["Sec-Ch-Ua"] = await this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
225
+ }
226
+ if (this.configuration && this.configuration.apiKey) {
227
+ headerParameters["x-client-transaction-id"] = await this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
228
+ }
229
+ if (this.configuration && this.configuration.apiKey) {
230
+ headerParameters["x-twitter-active-user"] = await this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
231
+ }
232
+ if (this.configuration && this.configuration.apiKey) {
233
+ headerParameters["user-agent"] = await this.configuration.apiKey("user-agent"); // UserAgent authentication
234
+ }
235
+ if (this.configuration && this.configuration.apiKey) {
236
+ headerParameters["Accept-Language"] = await this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
237
+ }
238
+ if (this.configuration && this.configuration.apiKey) {
239
+ headerParameters["Sec-Fetch-Site"] = await this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
240
+ }
241
+ if (this.configuration && this.configuration.apiKey) {
242
+ headerParameters["x-twitter-auth-type"] = await this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
243
+ }
244
+ if (this.configuration && this.configuration.apiKey) {
245
+ headerParameters["Sec-Ch-Ua-Mobile"] = await this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
246
+ }
247
+ if (this.configuration && this.configuration.apiKey) {
248
+ headerParameters["Accept-Encoding"] = await this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
249
+ }
250
+ let urlPath = `/graphql/{pathQueryId}/Favoriters`;
251
+ urlPath = urlPath.replace(`{${"pathQueryId"}}`, encodeURIComponent(String(requestParameters['pathQueryId'])));
252
+ return {
253
+ path: urlPath,
254
+ method: 'GET',
255
+ headers: headerParameters,
256
+ query: queryParameters,
257
+ };
258
+ }
259
+ /**
260
+ * get tweet favoriters
261
+ */
262
+ async getFavoritersRaw(requestParameters, initOverrides) {
263
+ const requestOptions = await this.getFavoritersRequestOpts(requestParameters);
264
+ const response = await this.request(requestOptions, initOverrides);
265
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.TweetFavoritersResponseFromJSON)(jsonValue));
266
+ }
267
+ /**
268
+ * get tweet favoriters
269
+ */
270
+ async getFavoriters(requestParameters, initOverrides) {
271
+ const response = await this.getFavoritersRaw(requestParameters, initOverrides);
272
+ return await response.value();
273
+ }
274
+ /**
275
+ * Creates request options for getFollowers without sending the request
276
+ */
277
+ async getFollowersRequestOpts(requestParameters) {
278
+ if (requestParameters['pathQueryId'] == null) {
279
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getFollowers().');
280
+ }
281
+ if (requestParameters['variables'] == null) {
282
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getFollowers().');
283
+ }
284
+ if (requestParameters['features'] == null) {
285
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getFollowers().');
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"] = await this.configuration.apiKey("Accept"); // Accept authentication
297
+ }
298
+ if (this.configuration && this.configuration.apiKey) {
299
+ headerParameters["x-twitter-client-language"] = await this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
300
+ }
301
+ if (this.configuration && this.configuration.apiKey) {
302
+ headerParameters["Priority"] = await this.configuration.apiKey("Priority"); // Priority authentication
303
+ }
304
+ if (this.configuration && this.configuration.apiKey) {
305
+ headerParameters["Referer"] = await this.configuration.apiKey("Referer"); // Referer authentication
306
+ }
307
+ if (this.configuration && this.configuration.apiKey) {
308
+ headerParameters["Sec-Fetch-Dest"] = await this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
309
+ }
310
+ if (this.configuration && this.configuration.apiKey) {
311
+ headerParameters["Sec-Ch-Ua-Platform"] = await this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
312
+ }
313
+ if (this.configuration && this.configuration.apiKey) {
314
+ headerParameters["Sec-Fetch-Mode"] = await this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
315
+ }
316
+ if (this.configuration && this.configuration.apiKey) {
317
+ headerParameters["x-csrf-token"] = await this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
318
+ }
319
+ if (this.configuration && this.configuration.apiKey) {
320
+ headerParameters["x-client-uuid"] = await 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 = await token("BearerAuth", []);
325
+ if (tokenString) {
326
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
327
+ }
328
+ }
329
+ if (this.configuration && this.configuration.apiKey) {
330
+ headerParameters["x-guest-token"] = await this.configuration.apiKey("x-guest-token"); // GuestToken authentication
331
+ }
332
+ if (this.configuration && this.configuration.apiKey) {
333
+ headerParameters["Sec-Ch-Ua"] = await this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
334
+ }
335
+ if (this.configuration && this.configuration.apiKey) {
336
+ headerParameters["x-client-transaction-id"] = await this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
337
+ }
338
+ if (this.configuration && this.configuration.apiKey) {
339
+ headerParameters["x-twitter-active-user"] = await this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
340
+ }
341
+ if (this.configuration && this.configuration.apiKey) {
342
+ headerParameters["user-agent"] = await this.configuration.apiKey("user-agent"); // UserAgent authentication
343
+ }
344
+ if (this.configuration && this.configuration.apiKey) {
345
+ headerParameters["Accept-Language"] = await this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
346
+ }
347
+ if (this.configuration && this.configuration.apiKey) {
348
+ headerParameters["Sec-Fetch-Site"] = await this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
349
+ }
350
+ if (this.configuration && this.configuration.apiKey) {
351
+ headerParameters["x-twitter-auth-type"] = await this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
352
+ }
353
+ if (this.configuration && this.configuration.apiKey) {
354
+ headerParameters["Sec-Ch-Ua-Mobile"] = await this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
355
+ }
356
+ if (this.configuration && this.configuration.apiKey) {
357
+ headerParameters["Accept-Encoding"] = await this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
358
+ }
359
+ let urlPath = `/graphql/{pathQueryId}/Followers`;
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
+ * get user list of followers
370
+ */
371
+ async getFollowersRaw(requestParameters, initOverrides) {
372
+ const requestOptions = await this.getFollowersRequestOpts(requestParameters);
373
+ const response = await this.request(requestOptions, initOverrides);
374
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.FollowResponseFromJSON)(jsonValue));
375
+ }
376
+ /**
377
+ * get user list of followers
378
+ */
379
+ async getFollowers(requestParameters, initOverrides) {
380
+ const response = await this.getFollowersRaw(requestParameters, initOverrides);
381
+ return await response.value();
382
+ }
383
+ /**
384
+ * Creates request options for getFollowersYouKnow without sending the request
385
+ */
386
+ async getFollowersYouKnowRequestOpts(requestParameters) {
387
+ if (requestParameters['pathQueryId'] == null) {
388
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getFollowersYouKnow().');
389
+ }
390
+ if (requestParameters['variables'] == null) {
391
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getFollowersYouKnow().');
392
+ }
393
+ if (requestParameters['features'] == null) {
394
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getFollowersYouKnow().');
395
+ }
396
+ const queryParameters = {};
397
+ if (requestParameters['variables'] != null) {
398
+ queryParameters['variables'] = requestParameters['variables'];
399
+ }
400
+ if (requestParameters['features'] != null) {
401
+ queryParameters['features'] = requestParameters['features'];
402
+ }
403
+ const headerParameters = {};
404
+ if (this.configuration && this.configuration.apiKey) {
405
+ headerParameters["Accept"] = await this.configuration.apiKey("Accept"); // Accept authentication
406
+ }
407
+ if (this.configuration && this.configuration.apiKey) {
408
+ headerParameters["x-twitter-client-language"] = await this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
409
+ }
410
+ if (this.configuration && this.configuration.apiKey) {
411
+ headerParameters["Priority"] = await this.configuration.apiKey("Priority"); // Priority authentication
412
+ }
413
+ if (this.configuration && this.configuration.apiKey) {
414
+ headerParameters["Referer"] = await this.configuration.apiKey("Referer"); // Referer authentication
415
+ }
416
+ if (this.configuration && this.configuration.apiKey) {
417
+ headerParameters["Sec-Fetch-Dest"] = await this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
418
+ }
419
+ if (this.configuration && this.configuration.apiKey) {
420
+ headerParameters["Sec-Ch-Ua-Platform"] = await this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
421
+ }
422
+ if (this.configuration && this.configuration.apiKey) {
423
+ headerParameters["Sec-Fetch-Mode"] = await this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
424
+ }
425
+ if (this.configuration && this.configuration.apiKey) {
426
+ headerParameters["x-csrf-token"] = await this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
427
+ }
428
+ if (this.configuration && this.configuration.apiKey) {
429
+ headerParameters["x-client-uuid"] = await this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
430
+ }
431
+ if (this.configuration && this.configuration.accessToken) {
432
+ const token = this.configuration.accessToken;
433
+ const tokenString = await token("BearerAuth", []);
434
+ if (tokenString) {
435
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
436
+ }
437
+ }
438
+ if (this.configuration && this.configuration.apiKey) {
439
+ headerParameters["x-guest-token"] = await this.configuration.apiKey("x-guest-token"); // GuestToken authentication
440
+ }
441
+ if (this.configuration && this.configuration.apiKey) {
442
+ headerParameters["Sec-Ch-Ua"] = await this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
443
+ }
444
+ if (this.configuration && this.configuration.apiKey) {
445
+ headerParameters["x-client-transaction-id"] = await this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
446
+ }
447
+ if (this.configuration && this.configuration.apiKey) {
448
+ headerParameters["x-twitter-active-user"] = await this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
449
+ }
450
+ if (this.configuration && this.configuration.apiKey) {
451
+ headerParameters["user-agent"] = await this.configuration.apiKey("user-agent"); // UserAgent authentication
452
+ }
453
+ if (this.configuration && this.configuration.apiKey) {
454
+ headerParameters["Accept-Language"] = await this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
455
+ }
456
+ if (this.configuration && this.configuration.apiKey) {
457
+ headerParameters["Sec-Fetch-Site"] = await this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
458
+ }
459
+ if (this.configuration && this.configuration.apiKey) {
460
+ headerParameters["x-twitter-auth-type"] = await this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
461
+ }
462
+ if (this.configuration && this.configuration.apiKey) {
463
+ headerParameters["Sec-Ch-Ua-Mobile"] = await this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
464
+ }
465
+ if (this.configuration && this.configuration.apiKey) {
466
+ headerParameters["Accept-Encoding"] = await this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
467
+ }
468
+ let urlPath = `/graphql/{pathQueryId}/FollowersYouKnow`;
469
+ urlPath = urlPath.replace(`{${"pathQueryId"}}`, encodeURIComponent(String(requestParameters['pathQueryId'])));
470
+ return {
471
+ path: urlPath,
472
+ method: 'GET',
473
+ headers: headerParameters,
474
+ query: queryParameters,
475
+ };
476
+ }
477
+ /**
478
+ * get followers you know
479
+ */
480
+ async getFollowersYouKnowRaw(requestParameters, initOverrides) {
481
+ const requestOptions = await this.getFollowersYouKnowRequestOpts(requestParameters);
482
+ const response = await this.request(requestOptions, initOverrides);
483
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.FollowResponseFromJSON)(jsonValue));
484
+ }
485
+ /**
486
+ * get followers you know
487
+ */
488
+ async getFollowersYouKnow(requestParameters, initOverrides) {
489
+ const response = await this.getFollowersYouKnowRaw(requestParameters, initOverrides);
490
+ return await response.value();
491
+ }
492
+ /**
493
+ * Creates request options for getFollowing without sending the request
494
+ */
495
+ async getFollowingRequestOpts(requestParameters) {
496
+ if (requestParameters['pathQueryId'] == null) {
497
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getFollowing().');
498
+ }
499
+ if (requestParameters['variables'] == null) {
500
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getFollowing().');
501
+ }
502
+ if (requestParameters['features'] == null) {
503
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getFollowing().');
504
+ }
505
+ const queryParameters = {};
506
+ if (requestParameters['variables'] != null) {
507
+ queryParameters['variables'] = requestParameters['variables'];
508
+ }
509
+ if (requestParameters['features'] != null) {
510
+ queryParameters['features'] = requestParameters['features'];
511
+ }
512
+ const headerParameters = {};
513
+ if (this.configuration && this.configuration.apiKey) {
514
+ headerParameters["Accept"] = await this.configuration.apiKey("Accept"); // Accept authentication
515
+ }
516
+ if (this.configuration && this.configuration.apiKey) {
517
+ headerParameters["x-twitter-client-language"] = await this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
518
+ }
519
+ if (this.configuration && this.configuration.apiKey) {
520
+ headerParameters["Priority"] = await this.configuration.apiKey("Priority"); // Priority authentication
521
+ }
522
+ if (this.configuration && this.configuration.apiKey) {
523
+ headerParameters["Referer"] = await this.configuration.apiKey("Referer"); // Referer authentication
524
+ }
525
+ if (this.configuration && this.configuration.apiKey) {
526
+ headerParameters["Sec-Fetch-Dest"] = await this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
527
+ }
528
+ if (this.configuration && this.configuration.apiKey) {
529
+ headerParameters["Sec-Ch-Ua-Platform"] = await this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
530
+ }
531
+ if (this.configuration && this.configuration.apiKey) {
532
+ headerParameters["Sec-Fetch-Mode"] = await this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
533
+ }
534
+ if (this.configuration && this.configuration.apiKey) {
535
+ headerParameters["x-csrf-token"] = await this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
536
+ }
537
+ if (this.configuration && this.configuration.apiKey) {
538
+ headerParameters["x-client-uuid"] = await this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
539
+ }
540
+ if (this.configuration && this.configuration.accessToken) {
541
+ const token = this.configuration.accessToken;
542
+ const tokenString = await token("BearerAuth", []);
543
+ if (tokenString) {
544
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
545
+ }
546
+ }
547
+ if (this.configuration && this.configuration.apiKey) {
548
+ headerParameters["x-guest-token"] = await this.configuration.apiKey("x-guest-token"); // GuestToken authentication
549
+ }
550
+ if (this.configuration && this.configuration.apiKey) {
551
+ headerParameters["Sec-Ch-Ua"] = await this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
552
+ }
553
+ if (this.configuration && this.configuration.apiKey) {
554
+ headerParameters["x-client-transaction-id"] = await this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
555
+ }
556
+ if (this.configuration && this.configuration.apiKey) {
557
+ headerParameters["x-twitter-active-user"] = await this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
558
+ }
559
+ if (this.configuration && this.configuration.apiKey) {
560
+ headerParameters["user-agent"] = await this.configuration.apiKey("user-agent"); // UserAgent authentication
561
+ }
562
+ if (this.configuration && this.configuration.apiKey) {
563
+ headerParameters["Accept-Language"] = await this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
564
+ }
565
+ if (this.configuration && this.configuration.apiKey) {
566
+ headerParameters["Sec-Fetch-Site"] = await this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
567
+ }
568
+ if (this.configuration && this.configuration.apiKey) {
569
+ headerParameters["x-twitter-auth-type"] = await this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
570
+ }
571
+ if (this.configuration && this.configuration.apiKey) {
572
+ headerParameters["Sec-Ch-Ua-Mobile"] = await this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
573
+ }
574
+ if (this.configuration && this.configuration.apiKey) {
575
+ headerParameters["Accept-Encoding"] = await this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
576
+ }
577
+ let urlPath = `/graphql/{pathQueryId}/Following`;
578
+ urlPath = urlPath.replace(`{${"pathQueryId"}}`, encodeURIComponent(String(requestParameters['pathQueryId'])));
579
+ return {
580
+ path: urlPath,
581
+ method: 'GET',
582
+ headers: headerParameters,
583
+ query: queryParameters,
584
+ };
585
+ }
586
+ /**
587
+ * get user list of following
588
+ */
589
+ async getFollowingRaw(requestParameters, initOverrides) {
590
+ const requestOptions = await this.getFollowingRequestOpts(requestParameters);
591
+ const response = await this.request(requestOptions, initOverrides);
592
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.FollowResponseFromJSON)(jsonValue));
593
+ }
594
+ /**
595
+ * get user list of following
596
+ */
597
+ async getFollowing(requestParameters, initOverrides) {
598
+ const response = await this.getFollowingRaw(requestParameters, initOverrides);
599
+ return await response.value();
600
+ }
601
+ /**
602
+ * Creates request options for getRetweeters without sending the request
603
+ */
604
+ async getRetweetersRequestOpts(requestParameters) {
605
+ if (requestParameters['pathQueryId'] == null) {
606
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getRetweeters().');
607
+ }
608
+ if (requestParameters['variables'] == null) {
609
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getRetweeters().');
610
+ }
611
+ if (requestParameters['features'] == null) {
612
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getRetweeters().');
613
+ }
614
+ const queryParameters = {};
615
+ if (requestParameters['variables'] != null) {
616
+ queryParameters['variables'] = requestParameters['variables'];
617
+ }
618
+ if (requestParameters['features'] != null) {
619
+ queryParameters['features'] = requestParameters['features'];
620
+ }
621
+ const headerParameters = {};
622
+ if (this.configuration && this.configuration.apiKey) {
623
+ headerParameters["Accept"] = await this.configuration.apiKey("Accept"); // Accept authentication
624
+ }
625
+ if (this.configuration && this.configuration.apiKey) {
626
+ headerParameters["x-twitter-client-language"] = await this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
627
+ }
628
+ if (this.configuration && this.configuration.apiKey) {
629
+ headerParameters["Priority"] = await this.configuration.apiKey("Priority"); // Priority authentication
630
+ }
631
+ if (this.configuration && this.configuration.apiKey) {
632
+ headerParameters["Referer"] = await this.configuration.apiKey("Referer"); // Referer authentication
633
+ }
634
+ if (this.configuration && this.configuration.apiKey) {
635
+ headerParameters["Sec-Fetch-Dest"] = await this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
636
+ }
637
+ if (this.configuration && this.configuration.apiKey) {
638
+ headerParameters["Sec-Ch-Ua-Platform"] = await this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
639
+ }
640
+ if (this.configuration && this.configuration.apiKey) {
641
+ headerParameters["Sec-Fetch-Mode"] = await this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
642
+ }
643
+ if (this.configuration && this.configuration.apiKey) {
644
+ headerParameters["x-csrf-token"] = await this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
645
+ }
646
+ if (this.configuration && this.configuration.apiKey) {
647
+ headerParameters["x-client-uuid"] = await this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
648
+ }
649
+ if (this.configuration && this.configuration.accessToken) {
650
+ const token = this.configuration.accessToken;
651
+ const tokenString = await token("BearerAuth", []);
652
+ if (tokenString) {
653
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
654
+ }
655
+ }
656
+ if (this.configuration && this.configuration.apiKey) {
657
+ headerParameters["x-guest-token"] = await this.configuration.apiKey("x-guest-token"); // GuestToken authentication
658
+ }
659
+ if (this.configuration && this.configuration.apiKey) {
660
+ headerParameters["Sec-Ch-Ua"] = await this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
661
+ }
662
+ if (this.configuration && this.configuration.apiKey) {
663
+ headerParameters["x-client-transaction-id"] = await this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
664
+ }
665
+ if (this.configuration && this.configuration.apiKey) {
666
+ headerParameters["x-twitter-active-user"] = await this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
667
+ }
668
+ if (this.configuration && this.configuration.apiKey) {
669
+ headerParameters["user-agent"] = await this.configuration.apiKey("user-agent"); // UserAgent authentication
670
+ }
671
+ if (this.configuration && this.configuration.apiKey) {
672
+ headerParameters["Accept-Language"] = await this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
673
+ }
674
+ if (this.configuration && this.configuration.apiKey) {
675
+ headerParameters["Sec-Fetch-Site"] = await this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
676
+ }
677
+ if (this.configuration && this.configuration.apiKey) {
678
+ headerParameters["x-twitter-auth-type"] = await this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
679
+ }
680
+ if (this.configuration && this.configuration.apiKey) {
681
+ headerParameters["Sec-Ch-Ua-Mobile"] = await this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
682
+ }
683
+ if (this.configuration && this.configuration.apiKey) {
684
+ headerParameters["Accept-Encoding"] = await this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
685
+ }
686
+ let urlPath = `/graphql/{pathQueryId}/Retweeters`;
687
+ urlPath = urlPath.replace(`{${"pathQueryId"}}`, encodeURIComponent(String(requestParameters['pathQueryId'])));
688
+ return {
689
+ path: urlPath,
690
+ method: 'GET',
691
+ headers: headerParameters,
692
+ query: queryParameters,
693
+ };
694
+ }
695
+ /**
696
+ * get tweet retweeters
697
+ */
698
+ async getRetweetersRaw(requestParameters, initOverrides) {
699
+ const requestOptions = await this.getRetweetersRequestOpts(requestParameters);
700
+ const response = await this.request(requestOptions, initOverrides);
701
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.TweetRetweetersResponseFromJSON)(jsonValue));
702
+ }
703
+ /**
704
+ * get tweet retweeters
705
+ */
706
+ async getRetweeters(requestParameters, initOverrides) {
707
+ const response = await this.getRetweetersRaw(requestParameters, initOverrides);
708
+ return await response.value();
709
+ }
710
+ }
711
+ exports.UserListApi = UserListApi;
712
+ //# sourceMappingURL=UserListApi.js.map