twitter-openapi-typescript-generated 0.0.38 → 0.0.40

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 (359) hide show
  1. package/README.md +692 -28
  2. package/dist/apis/DefaultApi.d.ts +10 -1
  3. package/dist/apis/DefaultApi.d.ts.map +1 -1
  4. package/dist/apis/DefaultApi.js +64 -25
  5. package/dist/apis/DefaultApi.js.map +1 -1
  6. package/dist/apis/OtherApi.d.ts +5 -1
  7. package/dist/apis/OtherApi.d.ts.map +1 -1
  8. package/dist/apis/OtherApi.js +31 -13
  9. package/dist/apis/OtherApi.js.map +1 -1
  10. package/dist/apis/PostApi.d.ts +48 -1
  11. package/dist/apis/PostApi.d.ts.map +1 -1
  12. package/dist/apis/PostApi.js +272 -105
  13. package/dist/apis/PostApi.js.map +1 -1
  14. package/dist/apis/TweetApi.d.ts +71 -1
  15. package/dist/apis/TweetApi.d.ts.map +1 -1
  16. package/dist/apis/TweetApi.js +476 -181
  17. package/dist/apis/TweetApi.js.map +1 -1
  18. package/dist/apis/UserApi.d.ts +9 -1
  19. package/dist/apis/UserApi.d.ts.map +1 -1
  20. package/dist/apis/UserApi.js +63 -25
  21. package/dist/apis/UserApi.js.map +1 -1
  22. package/dist/apis/UserListApi.d.ts +40 -1
  23. package/dist/apis/UserListApi.d.ts.map +1 -1
  24. package/dist/apis/UserListApi.js +394 -61
  25. package/dist/apis/UserListApi.js.map +1 -1
  26. package/dist/apis/UsersApi.d.ts +5 -1
  27. package/dist/apis/UsersApi.d.ts.map +1 -1
  28. package/dist/apis/UsersApi.js +32 -13
  29. package/dist/apis/UsersApi.js.map +1 -1
  30. package/dist/apis/V11GetApi.d.ts +8 -0
  31. package/dist/apis/V11GetApi.d.ts.map +1 -1
  32. package/dist/apis/V11GetApi.js +58 -22
  33. package/dist/apis/V11GetApi.js.map +1 -1
  34. package/dist/apis/V11PostApi.d.ts +8 -0
  35. package/dist/apis/V11PostApi.d.ts.map +1 -1
  36. package/dist/apis/V11PostApi.js +50 -16
  37. package/dist/apis/V11PostApi.js.map +1 -1
  38. package/dist/apis/V20GetApi.d.ts +4 -0
  39. package/dist/apis/V20GetApi.d.ts.map +1 -1
  40. package/dist/apis/V20GetApi.js +29 -11
  41. package/dist/apis/V20GetApi.js.map +1 -1
  42. package/dist/models/ArticlePreview.d.ts +52 -0
  43. package/dist/models/ArticlePreview.d.ts.map +1 -0
  44. package/dist/models/ArticlePreview.js +63 -0
  45. package/dist/models/ArticlePreview.js.map +1 -0
  46. package/dist/models/ArticleResult.d.ts +21 -1
  47. package/dist/models/ArticleResult.d.ts.map +1 -1
  48. package/dist/models/ArticleResult.js +7 -3
  49. package/dist/models/ArticleResult.js.map +1 -1
  50. package/dist/models/AuthorCommunityRelationship.d.ts +5 -4
  51. package/dist/models/AuthorCommunityRelationship.d.ts.map +1 -1
  52. package/dist/models/AuthorCommunityRelationship.js +5 -4
  53. package/dist/models/AuthorCommunityRelationship.js.map +1 -1
  54. package/dist/models/BirdwatchEntityRef.d.ts +2 -2
  55. package/dist/models/BirdwatchPivot.d.ts +16 -2
  56. package/dist/models/BirdwatchPivot.d.ts.map +1 -1
  57. package/dist/models/BirdwatchPivot.js +11 -2
  58. package/dist/models/BirdwatchPivot.js.map +1 -1
  59. package/dist/models/BirdwatchPivotNote.d.ts +19 -0
  60. package/dist/models/BirdwatchPivotNote.d.ts.map +1 -1
  61. package/dist/models/BirdwatchPivotNote.js +7 -0
  62. package/dist/models/BirdwatchPivotNote.js.map +1 -1
  63. package/dist/models/Community.d.ts +189 -3
  64. package/dist/models/Community.d.ts.map +1 -1
  65. package/dist/models/Community.js +82 -4
  66. package/dist/models/Community.js.map +1 -1
  67. package/dist/models/CommunityDeleteActionResult.d.ts +1 -1
  68. package/dist/models/CommunityInvitesResult.d.ts +1 -1
  69. package/dist/models/CommunityJoinActionResultUnion.d.ts.map +1 -1
  70. package/dist/models/CommunityJoinActionResultUnion.js +2 -2
  71. package/dist/models/CommunityJoinActionResultUnion.js.map +1 -1
  72. package/dist/models/CommunityJoinActionUnavailable.d.ts +1 -1
  73. package/dist/models/CommunityLeaveActionResult.d.ts +1 -1
  74. package/dist/models/CommunityResult.d.ts +34 -0
  75. package/dist/models/CommunityResult.d.ts.map +1 -0
  76. package/dist/models/CommunityResult.js +53 -0
  77. package/dist/models/CommunityResult.js.map +1 -0
  78. package/dist/models/CommunityUnavailable.d.ts +34 -0
  79. package/dist/models/CommunityUnavailable.d.ts.map +1 -0
  80. package/dist/models/CommunityUnavailable.js +53 -0
  81. package/dist/models/CommunityUnavailable.js.map +1 -0
  82. package/dist/models/CommunityUnion.d.ts +28 -0
  83. package/dist/models/CommunityUnion.d.ts.map +1 -0
  84. package/dist/models/CommunityUnion.js +55 -0
  85. package/dist/models/CommunityUnion.js.map +1 -0
  86. package/dist/models/ContentDisclosure.d.ts +41 -0
  87. package/dist/models/ContentDisclosure.d.ts.map +1 -0
  88. package/dist/models/ContentDisclosure.js +54 -0
  89. package/dist/models/ContentDisclosure.js.map +1 -0
  90. package/dist/models/ContentDisclosureAdvertisingDisclosure.d.ts +33 -0
  91. package/dist/models/ContentDisclosureAdvertisingDisclosure.d.ts.map +1 -0
  92. package/dist/models/ContentDisclosureAdvertisingDisclosure.js +52 -0
  93. package/dist/models/ContentDisclosureAdvertisingDisclosure.js.map +1 -0
  94. package/dist/models/ContentDisclosureAiGeneratedDisclosure.d.ts +54 -0
  95. package/dist/models/ContentDisclosureAiGeneratedDisclosure.d.ts.map +1 -0
  96. package/dist/models/ContentDisclosureAiGeneratedDisclosure.js +67 -0
  97. package/dist/models/ContentDisclosureAiGeneratedDisclosure.js.map +1 -0
  98. package/dist/models/ContentUnion.d.ts.map +1 -1
  99. package/dist/models/ContentUnion.js +2 -2
  100. package/dist/models/ContentUnion.js.map +1 -1
  101. package/dist/models/ConversationControl.d.ts +1 -1
  102. package/dist/models/CoverCta.d.ts +1 -1
  103. package/dist/models/CtaClientEventInfo.d.ts +1 -1
  104. package/dist/models/Entities.d.ts +11 -4
  105. package/dist/models/Entities.d.ts.map +1 -1
  106. package/dist/models/Entities.js +8 -13
  107. package/dist/models/Entities.js.map +1 -1
  108. package/dist/models/ErrorResponse.d.ts +3 -2
  109. package/dist/models/ErrorResponse.d.ts.map +1 -1
  110. package/dist/models/ErrorResponse.js +3 -2
  111. package/dist/models/ErrorResponse.js.map +1 -1
  112. package/dist/models/ErrorResponsePathInner.d.ts +22 -0
  113. package/dist/models/ErrorResponsePathInner.d.ts.map +1 -0
  114. package/dist/models/ErrorResponsePathInner.js +51 -0
  115. package/dist/models/ErrorResponsePathInner.js.map +1 -0
  116. package/dist/models/ExtMediaAvailability.d.ts +1 -1
  117. package/dist/models/GrokAnnotation.d.ts +33 -0
  118. package/dist/models/GrokAnnotation.d.ts.map +1 -0
  119. package/dist/models/GrokAnnotation.js +50 -0
  120. package/dist/models/GrokAnnotation.js.map +1 -0
  121. package/dist/models/GrokEntity.d.ts +46 -0
  122. package/dist/models/GrokEntity.d.ts.map +1 -0
  123. package/dist/models/GrokEntity.js +61 -0
  124. package/dist/models/GrokEntity.js.map +1 -0
  125. package/dist/models/GrokEntityRef.d.ts +78 -0
  126. package/dist/models/GrokEntityRef.d.ts.map +1 -0
  127. package/dist/models/GrokEntityRef.js +76 -0
  128. package/dist/models/GrokEntityRef.js.map +1 -0
  129. package/dist/models/GrokShareAttachmentItem.d.ts +8 -0
  130. package/dist/models/GrokShareAttachmentItem.d.ts.map +1 -1
  131. package/dist/models/GrokShareAttachmentItem.js +2 -0
  132. package/dist/models/GrokShareAttachmentItem.js.map +1 -1
  133. package/dist/models/GrokTranslatedCommunityNote.d.ts +58 -0
  134. package/dist/models/GrokTranslatedCommunityNote.d.ts.map +1 -0
  135. package/dist/models/GrokTranslatedCommunityNote.js +67 -0
  136. package/dist/models/GrokTranslatedCommunityNote.js.map +1 -0
  137. package/dist/models/GrokTranslatedCommunityNoteWithAvailability.d.ts +40 -0
  138. package/dist/models/GrokTranslatedCommunityNoteWithAvailability.d.ts.map +1 -0
  139. package/dist/models/GrokTranslatedCommunityNoteWithAvailability.js +55 -0
  140. package/dist/models/GrokTranslatedCommunityNoteWithAvailability.js.map +1 -0
  141. package/dist/models/GrokTranslatedPost.d.ts +66 -0
  142. package/dist/models/GrokTranslatedPost.d.ts.map +1 -0
  143. package/dist/models/GrokTranslatedPost.js +61 -0
  144. package/dist/models/GrokTranslatedPost.js.map +1 -0
  145. package/dist/models/GrokTranslatedPostWithAvailability.d.ts +40 -0
  146. package/dist/models/GrokTranslatedPostWithAvailability.d.ts.map +1 -0
  147. package/dist/models/GrokTranslatedPostWithAvailability.js +55 -0
  148. package/dist/models/GrokTranslatedPostWithAvailability.js.map +1 -0
  149. package/dist/models/InstructionUnion.d.ts.map +1 -1
  150. package/dist/models/InstructionUnion.js +2 -2
  151. package/dist/models/InstructionUnion.js.map +1 -1
  152. package/dist/models/ItemContentUnion.d.ts.map +1 -1
  153. package/dist/models/ItemContentUnion.js +2 -2
  154. package/dist/models/ItemContentUnion.js.map +1 -1
  155. package/dist/models/LimitedActionResultsData.d.ts +1 -1
  156. package/dist/models/Media.d.ts +7 -1
  157. package/dist/models/Media.d.ts.map +1 -1
  158. package/dist/models/Media.js +2 -0
  159. package/dist/models/Media.js.map +1 -1
  160. package/dist/models/MediaExtended.d.ts +7 -1
  161. package/dist/models/MediaExtended.d.ts.map +1 -1
  162. package/dist/models/MediaExtended.js +2 -0
  163. package/dist/models/MediaExtended.js.map +1 -1
  164. package/dist/models/MediaSize.d.ts +1 -1
  165. package/dist/models/NoteTweet.d.ts +1 -1
  166. package/dist/models/NoteTweet.d.ts.map +1 -1
  167. package/dist/models/NoteTweet.js +1 -3
  168. package/dist/models/NoteTweet.js.map +1 -1
  169. package/dist/models/NoteTweetResultRichTextTag.d.ts +1 -1
  170. package/dist/models/PostCreateTweetRequestFeatures.d.ts +50 -8
  171. package/dist/models/PostCreateTweetRequestFeatures.d.ts.map +1 -1
  172. package/dist/models/PostCreateTweetRequestFeatures.js +39 -11
  173. package/dist/models/PostCreateTweetRequestFeatures.js.map +1 -1
  174. package/dist/models/PostCta.d.ts +58 -0
  175. package/dist/models/PostCta.d.ts.map +1 -0
  176. package/dist/models/PostCta.js +69 -0
  177. package/dist/models/PostCta.js.map +1 -0
  178. package/dist/models/PostCtaTitleText.d.ts +40 -0
  179. package/dist/models/PostCtaTitleText.d.ts.map +1 -0
  180. package/dist/models/PostCtaTitleText.js +57 -0
  181. package/dist/models/PostCtaTitleText.js.map +1 -0
  182. package/dist/models/PostCtaTitleTextEntity.d.ts +46 -0
  183. package/dist/models/PostCtaTitleTextEntity.d.ts.map +1 -0
  184. package/dist/models/PostCtaTitleTextEntity.js +61 -0
  185. package/dist/models/PostCtaTitleTextEntity.js.map +1 -0
  186. package/dist/models/PostCtaTitleTextEntityRef.d.ts +41 -0
  187. package/dist/models/PostCtaTitleTextEntityRef.d.ts.map +1 -0
  188. package/dist/models/PostCtaTitleTextEntityRef.js +56 -0
  189. package/dist/models/PostCtaTitleTextEntityRef.js.map +1 -0
  190. package/dist/models/PostCtaUserResults.d.ts +34 -0
  191. package/dist/models/PostCtaUserResults.d.ts.map +1 -0
  192. package/dist/models/PostCtaUserResults.js +53 -0
  193. package/dist/models/PostCtaUserResults.js.map +1 -0
  194. package/dist/models/PostCtaUserResultsAvatar.d.ts +33 -0
  195. package/dist/models/PostCtaUserResultsAvatar.d.ts.map +1 -0
  196. package/dist/models/PostCtaUserResultsAvatar.js +52 -0
  197. package/dist/models/PostCtaUserResultsAvatar.js.map +1 -0
  198. package/dist/models/PostCtaUserResultsResult.d.ts +41 -0
  199. package/dist/models/PostCtaUserResultsResult.d.ts.map +1 -0
  200. package/dist/models/PostCtaUserResultsResult.js +58 -0
  201. package/dist/models/PostCtaUserResultsResult.js.map +1 -0
  202. package/dist/models/ProfileBio.d.ts +33 -0
  203. package/dist/models/ProfileBio.d.ts.map +1 -0
  204. package/dist/models/ProfileBio.js +52 -0
  205. package/dist/models/ProfileBio.js.map +1 -0
  206. package/dist/models/Session.d.ts +1 -1
  207. package/dist/models/Smarttag.d.ts +46 -0
  208. package/dist/models/Smarttag.d.ts.map +1 -0
  209. package/dist/models/Smarttag.js +61 -0
  210. package/dist/models/Smarttag.js.map +1 -0
  211. package/dist/models/SmarttagTag.d.ts +35 -0
  212. package/dist/models/SmarttagTag.d.ts.map +1 -0
  213. package/dist/models/SmarttagTag.js +52 -0
  214. package/dist/models/SmarttagTag.js.map +1 -0
  215. package/dist/models/SocialContextLandingUrl.d.ts +1 -1
  216. package/dist/models/SocialContextUnion.d.ts.map +1 -1
  217. package/dist/models/SocialContextUnion.js +2 -2
  218. package/dist/models/SocialContextUnion.js.map +1 -1
  219. package/dist/models/SuperFollowUserProfile.d.ts +33 -0
  220. package/dist/models/SuperFollowUserProfile.d.ts.map +1 -0
  221. package/dist/models/SuperFollowUserProfile.js +52 -0
  222. package/dist/models/SuperFollowUserProfile.js.map +1 -0
  223. package/dist/models/SuperFollowsReplyUserResultCore.d.ts +33 -0
  224. package/dist/models/SuperFollowsReplyUserResultCore.d.ts.map +1 -0
  225. package/dist/models/SuperFollowsReplyUserResultCore.js +52 -0
  226. package/dist/models/SuperFollowsReplyUserResultCore.js.map +1 -0
  227. package/dist/models/SuperFollowsReplyUserResultData.d.ts +3 -3
  228. package/dist/models/SuperFollowsReplyUserResultData.d.ts.map +1 -1
  229. package/dist/models/SuperFollowsReplyUserResultData.js +3 -5
  230. package/dist/models/SuperFollowsReplyUserResultData.js.map +1 -1
  231. package/dist/models/TextEntityRef.d.ts +2 -2
  232. package/dist/models/TimelineCoverBehavior.d.ts +1 -1
  233. package/dist/models/TimelineCoverBehaviorUrl.d.ts +1 -1
  234. package/dist/models/TimelineGeneralContext.d.ts +1 -1
  235. package/dist/models/TimelineHalfCover.d.ts +2 -2
  236. package/dist/models/TimelineShowAlert.d.ts +9 -2
  237. package/dist/models/TimelineShowAlert.d.ts.map +1 -1
  238. package/dist/models/TimelineShowAlert.js +3 -0
  239. package/dist/models/TimelineShowAlert.js.map +1 -1
  240. package/dist/models/TimelineTerminateTimeline.d.ts +1 -1
  241. package/dist/models/TimelineTombstone.d.ts +1 -1
  242. package/dist/models/TimelineTopicContext.d.ts +1 -1
  243. package/dist/models/TimelineTweet.d.ts +1 -1
  244. package/dist/models/TimelineUser.d.ts +1 -1
  245. package/dist/models/TombstoneRef.d.ts +2 -2
  246. package/dist/models/Tweet.d.ts +43 -3
  247. package/dist/models/Tweet.d.ts.map +1 -1
  248. package/dist/models/Tweet.js +19 -3
  249. package/dist/models/Tweet.js.map +1 -1
  250. package/dist/models/TweetCardPlatformAudience.d.ts +1 -1
  251. package/dist/models/TweetInterstitial.d.ts +2 -1
  252. package/dist/models/TweetInterstitial.d.ts.map +1 -1
  253. package/dist/models/TweetInterstitial.js +2 -1
  254. package/dist/models/TweetInterstitial.js.map +1 -1
  255. package/dist/models/TweetInterstitialTextEntityRef.d.ts +2 -2
  256. package/dist/models/TweetLegacy.d.ts +2 -2
  257. package/dist/models/TweetLegacy.d.ts.map +1 -1
  258. package/dist/models/TweetLegacy.js +1 -3
  259. package/dist/models/TweetLegacy.js.map +1 -1
  260. package/dist/models/TweetPostCta.d.ts +55 -0
  261. package/dist/models/TweetPostCta.d.ts.map +1 -0
  262. package/dist/models/TweetPostCta.js +68 -0
  263. package/dist/models/TweetPostCta.js.map +1 -0
  264. package/dist/models/TweetPreviewDisplayCtaUrl.d.ts +1 -1
  265. package/dist/models/TweetPreviewDisplayTweet.d.ts +7 -0
  266. package/dist/models/TweetPreviewDisplayTweet.d.ts.map +1 -1
  267. package/dist/models/TweetPreviewDisplayTweet.js +3 -0
  268. package/dist/models/TweetPreviewDisplayTweet.js.map +1 -1
  269. package/dist/models/TweetUnion.d.ts.map +1 -1
  270. package/dist/models/TweetUnion.js +2 -2
  271. package/dist/models/TweetUnion.js.map +1 -1
  272. package/dist/models/TweetView.d.ts +1 -1
  273. package/dist/models/TypeName.d.ts +2 -0
  274. package/dist/models/TypeName.d.ts.map +1 -1
  275. package/dist/models/TypeName.js +3 -1
  276. package/dist/models/TypeName.js.map +1 -1
  277. package/dist/models/UnifiedCard.d.ts +1 -1
  278. package/dist/models/User.d.ts +92 -3
  279. package/dist/models/User.d.ts.map +1 -1
  280. package/dist/models/User.js +40 -3
  281. package/dist/models/User.js.map +1 -1
  282. package/dist/models/UserAvatar.d.ts +33 -0
  283. package/dist/models/UserAvatar.d.ts.map +1 -0
  284. package/dist/models/UserAvatar.js +52 -0
  285. package/dist/models/UserAvatar.js.map +1 -0
  286. package/dist/models/UserCore.d.ts +45 -0
  287. package/dist/models/UserCore.d.ts.map +1 -0
  288. package/dist/models/UserCore.js +60 -0
  289. package/dist/models/UserCore.js.map +1 -0
  290. package/dist/models/UserDmPermissions.d.ts +33 -0
  291. package/dist/models/UserDmPermissions.d.ts.map +1 -0
  292. package/dist/models/UserDmPermissions.js +52 -0
  293. package/dist/models/UserDmPermissions.js.map +1 -0
  294. package/dist/models/UserLegacy.d.ts +32 -8
  295. package/dist/models/UserLegacy.d.ts.map +1 -1
  296. package/dist/models/UserLegacy.js +22 -20
  297. package/dist/models/UserLegacy.js.map +1 -1
  298. package/dist/models/UserLegacyExtendedProfileBirthdate.d.ts +2 -2
  299. package/dist/models/UserLocation.d.ts +33 -0
  300. package/dist/models/UserLocation.d.ts.map +1 -0
  301. package/dist/models/UserLocation.js +52 -0
  302. package/dist/models/UserLocation.js.map +1 -0
  303. package/dist/models/UserMediaPermissions.d.ts +33 -0
  304. package/dist/models/UserMediaPermissions.d.ts.map +1 -0
  305. package/dist/models/UserMediaPermissions.js +52 -0
  306. package/dist/models/UserMediaPermissions.js.map +1 -0
  307. package/dist/models/UserPrivacy.d.ts +33 -0
  308. package/dist/models/UserPrivacy.d.ts.map +1 -0
  309. package/dist/models/UserPrivacy.js +52 -0
  310. package/dist/models/UserPrivacy.js.map +1 -0
  311. package/dist/models/UserProfessional.d.ts +2 -2
  312. package/dist/models/UserProfessional.d.ts.map +1 -1
  313. package/dist/models/UserProfessional.js +2 -4
  314. package/dist/models/UserProfessional.js.map +1 -1
  315. package/dist/models/UserProfile.d.ts +34 -0
  316. package/dist/models/UserProfile.d.ts.map +1 -0
  317. package/dist/models/UserProfile.js +53 -0
  318. package/dist/models/UserProfile.js.map +1 -0
  319. package/dist/models/UserRelationshipPerspectives.d.ts +51 -0
  320. package/dist/models/UserRelationshipPerspectives.d.ts.map +1 -0
  321. package/dist/models/UserRelationshipPerspectives.js +56 -0
  322. package/dist/models/UserRelationshipPerspectives.js.map +1 -0
  323. package/dist/models/UserResultByScreenNameCore.d.ts +39 -0
  324. package/dist/models/UserResultByScreenNameCore.d.ts.map +1 -0
  325. package/dist/models/UserResultByScreenNameCore.js +56 -0
  326. package/dist/models/UserResultByScreenNameCore.js.map +1 -0
  327. package/dist/models/UserResultByScreenNameResult.d.ts +22 -1
  328. package/dist/models/UserResultByScreenNameResult.d.ts.map +1 -1
  329. package/dist/models/UserResultByScreenNameResult.js +15 -2
  330. package/dist/models/UserResultByScreenNameResult.js.map +1 -1
  331. package/dist/models/UserResultPrivacy.d.ts +33 -0
  332. package/dist/models/UserResultPrivacy.d.ts.map +1 -0
  333. package/dist/models/UserResultPrivacy.js +52 -0
  334. package/dist/models/UserResultPrivacy.js.map +1 -0
  335. package/dist/models/UserResultRelationshipPerspectives.d.ts +51 -0
  336. package/dist/models/UserResultRelationshipPerspectives.d.ts.map +1 -0
  337. package/dist/models/UserResultRelationshipPerspectives.js +56 -0
  338. package/dist/models/UserResultRelationshipPerspectives.js.map +1 -0
  339. package/dist/models/UserUnion.d.ts.map +1 -1
  340. package/dist/models/UserUnion.js +2 -2
  341. package/dist/models/UserUnion.js.map +1 -1
  342. package/dist/models/UserVerification.d.ts +47 -0
  343. package/dist/models/UserVerification.d.ts.map +1 -0
  344. package/dist/models/UserVerification.js +62 -0
  345. package/dist/models/UserVerification.js.map +1 -0
  346. package/dist/models/UserVerificationInfoReasonDescriptionEntitiesRef.d.ts +1 -1
  347. package/dist/models/index.d.ts +40 -1
  348. package/dist/models/index.d.ts.map +1 -1
  349. package/dist/models/index.js +40 -1
  350. package/dist/models/index.js.map +1 -1
  351. package/dist/runtime.d.ts +3 -1
  352. package/dist/runtime.d.ts.map +1 -1
  353. package/dist/runtime.js +25 -5
  354. package/dist/runtime.js.map +1 -1
  355. package/package.json +2 -2
  356. package/dist/models/CommunityData.d.ts +0 -220
  357. package/dist/models/CommunityData.d.ts.map +0 -1
  358. package/dist/models/CommunityData.js +0 -133
  359. package/dist/models/CommunityData.js.map +0 -1
@@ -66,7 +66,9 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
66
66
  Object.defineProperty(exports, "__esModule", { value: true });
67
67
  exports.UserListApi = void 0;
68
68
  var runtime = require("../runtime");
69
- var index_1 = require("../models/index");
69
+ var FollowResponse_1 = require("../models/FollowResponse");
70
+ var TweetFavoritersResponse_1 = require("../models/TweetFavoritersResponse");
71
+ var TweetRetweetersResponse_1 = require("../models/TweetRetweetersResponse");
70
72
  /**
71
73
  *
72
74
  */
@@ -76,11 +78,247 @@ var UserListApi = /** @class */ (function (_super) {
76
78
  return _super !== null && _super.apply(this, arguments) || this;
77
79
  }
78
80
  /**
79
- * get tweet favoriters
81
+ * Creates request options for getBlueVerifiedFollowers without sending the request
80
82
  */
81
- UserListApi.prototype.getFavoritersRaw = function (requestParameters, initOverrides) {
83
+ UserListApi.prototype.getBlueVerifiedFollowersRequestOpts = function (requestParameters) {
82
84
  return __awaiter(this, void 0, void 0, function () {
83
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, response;
85
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, urlPath;
86
+ return __generator(this, function (_14) {
87
+ switch (_14.label) {
88
+ case 0:
89
+ if (requestParameters['pathQueryId'] == null) {
90
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getBlueVerifiedFollowers().');
91
+ }
92
+ if (requestParameters['variables'] == null) {
93
+ throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getBlueVerifiedFollowers().');
94
+ }
95
+ if (requestParameters['features'] == null) {
96
+ throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getBlueVerifiedFollowers().');
97
+ }
98
+ queryParameters = {};
99
+ if (requestParameters['variables'] != null) {
100
+ queryParameters['variables'] = requestParameters['variables'];
101
+ }
102
+ if (requestParameters['features'] != null) {
103
+ queryParameters['features'] = requestParameters['features'];
104
+ }
105
+ headerParameters = {};
106
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
107
+ _a = headerParameters;
108
+ _b = "Accept";
109
+ return [4 /*yield*/, this.configuration.apiKey("Accept")];
110
+ case 1:
111
+ _a[_b] = _14.sent(); // Accept authentication
112
+ _14.label = 2;
113
+ case 2:
114
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 4];
115
+ _c = headerParameters;
116
+ _d = "x-twitter-client-language";
117
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
118
+ case 3:
119
+ _c[_d] = _14.sent(); // ClientLanguage authentication
120
+ _14.label = 4;
121
+ case 4:
122
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
123
+ _e = headerParameters;
124
+ _f = "Priority";
125
+ return [4 /*yield*/, this.configuration.apiKey("Priority")];
126
+ case 5:
127
+ _e[_f] = _14.sent(); // Priority authentication
128
+ _14.label = 6;
129
+ case 6:
130
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
131
+ _g = headerParameters;
132
+ _h = "Referer";
133
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
134
+ case 7:
135
+ _g[_h] = _14.sent(); // Referer authentication
136
+ _14.label = 8;
137
+ case 8:
138
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
139
+ _j = headerParameters;
140
+ _k = "Sec-Fetch-Dest";
141
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
142
+ case 9:
143
+ _j[_k] = _14.sent(); // SecFetchDest authentication
144
+ _14.label = 10;
145
+ case 10:
146
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
147
+ _l = headerParameters;
148
+ _m = "Sec-Ch-Ua-Platform";
149
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
150
+ case 11:
151
+ _l[_m] = _14.sent(); // SecChUaPlatform authentication
152
+ _14.label = 12;
153
+ case 12:
154
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
155
+ _o = headerParameters;
156
+ _p = "Sec-Fetch-Mode";
157
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
158
+ case 13:
159
+ _o[_p] = _14.sent(); // SecFetchMode authentication
160
+ _14.label = 14;
161
+ case 14:
162
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
163
+ _q = headerParameters;
164
+ _r = "x-csrf-token";
165
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
166
+ case 15:
167
+ _q[_r] = _14.sent(); // CsrfToken authentication
168
+ _14.label = 16;
169
+ case 16:
170
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
171
+ _s = headerParameters;
172
+ _t = "x-client-uuid";
173
+ return [4 /*yield*/, this.configuration.apiKey("x-client-uuid")];
174
+ case 17:
175
+ _s[_t] = _14.sent(); // ClientUuid authentication
176
+ _14.label = 18;
177
+ case 18:
178
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
179
+ token = this.configuration.accessToken;
180
+ return [4 /*yield*/, token("BearerAuth", [])];
181
+ case 19:
182
+ tokenString = _14.sent();
183
+ if (tokenString) {
184
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
185
+ }
186
+ _14.label = 20;
187
+ case 20:
188
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
189
+ _u = headerParameters;
190
+ _v = "x-guest-token";
191
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
192
+ case 21:
193
+ _u[_v] = _14.sent(); // GuestToken authentication
194
+ _14.label = 22;
195
+ case 22:
196
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
197
+ _w = headerParameters;
198
+ _x = "Sec-Ch-Ua";
199
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
200
+ case 23:
201
+ _w[_x] = _14.sent(); // SecChUa authentication
202
+ _14.label = 24;
203
+ case 24:
204
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
205
+ _y = headerParameters;
206
+ _z = "x-client-transaction-id";
207
+ return [4 /*yield*/, this.configuration.apiKey("x-client-transaction-id")];
208
+ case 25:
209
+ _y[_z] = _14.sent(); // ClientTransactionId authentication
210
+ _14.label = 26;
211
+ case 26:
212
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
213
+ _0 = headerParameters;
214
+ _1 = "x-twitter-active-user";
215
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
216
+ case 27:
217
+ _0[_1] = _14.sent(); // ActiveUser authentication
218
+ _14.label = 28;
219
+ case 28:
220
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
221
+ _2 = headerParameters;
222
+ _3 = "user-agent";
223
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
224
+ case 29:
225
+ _2[_3] = _14.sent(); // UserAgent authentication
226
+ _14.label = 30;
227
+ case 30:
228
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
229
+ _4 = headerParameters;
230
+ _5 = "Accept-Language";
231
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
232
+ case 31:
233
+ _4[_5] = _14.sent(); // AcceptLanguage authentication
234
+ _14.label = 32;
235
+ case 32:
236
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
237
+ _6 = headerParameters;
238
+ _7 = "Sec-Fetch-Site";
239
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
240
+ case 33:
241
+ _6[_7] = _14.sent(); // SecFetchSite authentication
242
+ _14.label = 34;
243
+ case 34:
244
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 36];
245
+ _8 = headerParameters;
246
+ _9 = "x-twitter-auth-type";
247
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
248
+ case 35:
249
+ _8[_9] = _14.sent(); // AuthType authentication
250
+ _14.label = 36;
251
+ case 36:
252
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 38];
253
+ _10 = headerParameters;
254
+ _11 = "Sec-Ch-Ua-Mobile";
255
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
256
+ case 37:
257
+ _10[_11] = _14.sent(); // SecChUaMobile authentication
258
+ _14.label = 38;
259
+ case 38:
260
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 40];
261
+ _12 = headerParameters;
262
+ _13 = "Accept-Encoding";
263
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
264
+ case 39:
265
+ _12[_13] = _14.sent(); // AcceptEncoding authentication
266
+ _14.label = 40;
267
+ case 40:
268
+ urlPath = "/graphql/{pathQueryId}/BlueVerifiedFollowers";
269
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
270
+ return [2 /*return*/, {
271
+ path: urlPath,
272
+ method: 'GET',
273
+ headers: headerParameters,
274
+ query: queryParameters,
275
+ }];
276
+ }
277
+ });
278
+ });
279
+ };
280
+ /**
281
+ * get blue verified followers
282
+ */
283
+ UserListApi.prototype.getBlueVerifiedFollowersRaw = function (requestParameters, initOverrides) {
284
+ return __awaiter(this, void 0, void 0, function () {
285
+ var requestOptions, response;
286
+ return __generator(this, function (_a) {
287
+ switch (_a.label) {
288
+ case 0: return [4 /*yield*/, this.getBlueVerifiedFollowersRequestOpts(requestParameters)];
289
+ case 1:
290
+ requestOptions = _a.sent();
291
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
292
+ case 2:
293
+ response = _a.sent();
294
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, FollowResponse_1.FollowResponseFromJSON)(jsonValue); })];
295
+ }
296
+ });
297
+ });
298
+ };
299
+ /**
300
+ * get blue verified followers
301
+ */
302
+ UserListApi.prototype.getBlueVerifiedFollowers = function (requestParameters, initOverrides) {
303
+ return __awaiter(this, void 0, void 0, function () {
304
+ var response;
305
+ return __generator(this, function (_a) {
306
+ switch (_a.label) {
307
+ case 0: return [4 /*yield*/, this.getBlueVerifiedFollowersRaw(requestParameters, initOverrides)];
308
+ case 1:
309
+ response = _a.sent();
310
+ return [4 /*yield*/, response.value()];
311
+ case 2: return [2 /*return*/, _a.sent()];
312
+ }
313
+ });
314
+ });
315
+ };
316
+ /**
317
+ * Creates request options for getFavoriters without sending the request
318
+ */
319
+ UserListApi.prototype.getFavoritersRequestOpts = function (requestParameters) {
320
+ return __awaiter(this, void 0, void 0, function () {
321
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, urlPath;
84
322
  return __generator(this, function (_14) {
85
323
  switch (_14.label) {
86
324
  case 0:
@@ -262,15 +500,34 @@ var UserListApi = /** @class */ (function (_super) {
262
500
  case 39:
263
501
  _12[_13] = _14.sent(); // AcceptEncoding authentication
264
502
  _14.label = 40;
265
- case 40: return [4 /*yield*/, this.request({
266
- path: "/graphql/{pathQueryId}/Favoriters".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
267
- method: 'GET',
268
- headers: headerParameters,
269
- query: queryParameters,
270
- }, initOverrides)];
271
- case 41:
272
- response = _14.sent();
273
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.TweetFavoritersResponseFromJSON)(jsonValue); })];
503
+ case 40:
504
+ urlPath = "/graphql/{pathQueryId}/Favoriters";
505
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
506
+ return [2 /*return*/, {
507
+ path: urlPath,
508
+ method: 'GET',
509
+ headers: headerParameters,
510
+ query: queryParameters,
511
+ }];
512
+ }
513
+ });
514
+ });
515
+ };
516
+ /**
517
+ * get tweet favoriters
518
+ */
519
+ UserListApi.prototype.getFavoritersRaw = function (requestParameters, initOverrides) {
520
+ return __awaiter(this, void 0, void 0, function () {
521
+ var requestOptions, response;
522
+ return __generator(this, function (_a) {
523
+ switch (_a.label) {
524
+ case 0: return [4 /*yield*/, this.getFavoritersRequestOpts(requestParameters)];
525
+ case 1:
526
+ requestOptions = _a.sent();
527
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
528
+ case 2:
529
+ response = _a.sent();
530
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, TweetFavoritersResponse_1.TweetFavoritersResponseFromJSON)(jsonValue); })];
274
531
  }
275
532
  });
276
533
  });
@@ -293,11 +550,11 @@ var UserListApi = /** @class */ (function (_super) {
293
550
  });
294
551
  };
295
552
  /**
296
- * get user list of followers
553
+ * Creates request options for getFollowers without sending the request
297
554
  */
298
- UserListApi.prototype.getFollowersRaw = function (requestParameters, initOverrides) {
555
+ UserListApi.prototype.getFollowersRequestOpts = function (requestParameters) {
299
556
  return __awaiter(this, void 0, void 0, function () {
300
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, response;
557
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, urlPath;
301
558
  return __generator(this, function (_14) {
302
559
  switch (_14.label) {
303
560
  case 0:
@@ -479,15 +736,34 @@ var UserListApi = /** @class */ (function (_super) {
479
736
  case 39:
480
737
  _12[_13] = _14.sent(); // AcceptEncoding authentication
481
738
  _14.label = 40;
482
- case 40: return [4 /*yield*/, this.request({
483
- path: "/graphql/{pathQueryId}/Followers".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
484
- method: 'GET',
485
- headers: headerParameters,
486
- query: queryParameters,
487
- }, initOverrides)];
488
- case 41:
489
- response = _14.sent();
490
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.FollowResponseFromJSON)(jsonValue); })];
739
+ case 40:
740
+ urlPath = "/graphql/{pathQueryId}/Followers";
741
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
742
+ return [2 /*return*/, {
743
+ path: urlPath,
744
+ method: 'GET',
745
+ headers: headerParameters,
746
+ query: queryParameters,
747
+ }];
748
+ }
749
+ });
750
+ });
751
+ };
752
+ /**
753
+ * get user list of followers
754
+ */
755
+ UserListApi.prototype.getFollowersRaw = function (requestParameters, initOverrides) {
756
+ return __awaiter(this, void 0, void 0, function () {
757
+ var requestOptions, response;
758
+ return __generator(this, function (_a) {
759
+ switch (_a.label) {
760
+ case 0: return [4 /*yield*/, this.getFollowersRequestOpts(requestParameters)];
761
+ case 1:
762
+ requestOptions = _a.sent();
763
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
764
+ case 2:
765
+ response = _a.sent();
766
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, FollowResponse_1.FollowResponseFromJSON)(jsonValue); })];
491
767
  }
492
768
  });
493
769
  });
@@ -510,11 +786,11 @@ var UserListApi = /** @class */ (function (_super) {
510
786
  });
511
787
  };
512
788
  /**
513
- * get followers you know
789
+ * Creates request options for getFollowersYouKnow without sending the request
514
790
  */
515
- UserListApi.prototype.getFollowersYouKnowRaw = function (requestParameters, initOverrides) {
791
+ UserListApi.prototype.getFollowersYouKnowRequestOpts = function (requestParameters) {
516
792
  return __awaiter(this, void 0, void 0, function () {
517
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, response;
793
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, urlPath;
518
794
  return __generator(this, function (_14) {
519
795
  switch (_14.label) {
520
796
  case 0:
@@ -696,15 +972,34 @@ var UserListApi = /** @class */ (function (_super) {
696
972
  case 39:
697
973
  _12[_13] = _14.sent(); // AcceptEncoding authentication
698
974
  _14.label = 40;
699
- case 40: return [4 /*yield*/, this.request({
700
- path: "/graphql/{pathQueryId}/FollowersYouKnow".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
701
- method: 'GET',
702
- headers: headerParameters,
703
- query: queryParameters,
704
- }, initOverrides)];
705
- case 41:
706
- response = _14.sent();
707
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.FollowResponseFromJSON)(jsonValue); })];
975
+ case 40:
976
+ urlPath = "/graphql/{pathQueryId}/FollowersYouKnow";
977
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
978
+ return [2 /*return*/, {
979
+ path: urlPath,
980
+ method: 'GET',
981
+ headers: headerParameters,
982
+ query: queryParameters,
983
+ }];
984
+ }
985
+ });
986
+ });
987
+ };
988
+ /**
989
+ * get followers you know
990
+ */
991
+ UserListApi.prototype.getFollowersYouKnowRaw = function (requestParameters, initOverrides) {
992
+ return __awaiter(this, void 0, void 0, function () {
993
+ var requestOptions, response;
994
+ return __generator(this, function (_a) {
995
+ switch (_a.label) {
996
+ case 0: return [4 /*yield*/, this.getFollowersYouKnowRequestOpts(requestParameters)];
997
+ case 1:
998
+ requestOptions = _a.sent();
999
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
1000
+ case 2:
1001
+ response = _a.sent();
1002
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, FollowResponse_1.FollowResponseFromJSON)(jsonValue); })];
708
1003
  }
709
1004
  });
710
1005
  });
@@ -727,11 +1022,11 @@ var UserListApi = /** @class */ (function (_super) {
727
1022
  });
728
1023
  };
729
1024
  /**
730
- * get user list of following
1025
+ * Creates request options for getFollowing without sending the request
731
1026
  */
732
- UserListApi.prototype.getFollowingRaw = function (requestParameters, initOverrides) {
1027
+ UserListApi.prototype.getFollowingRequestOpts = function (requestParameters) {
733
1028
  return __awaiter(this, void 0, void 0, function () {
734
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, response;
1029
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, urlPath;
735
1030
  return __generator(this, function (_14) {
736
1031
  switch (_14.label) {
737
1032
  case 0:
@@ -913,15 +1208,34 @@ var UserListApi = /** @class */ (function (_super) {
913
1208
  case 39:
914
1209
  _12[_13] = _14.sent(); // AcceptEncoding authentication
915
1210
  _14.label = 40;
916
- case 40: return [4 /*yield*/, this.request({
917
- path: "/graphql/{pathQueryId}/Following".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
918
- method: 'GET',
919
- headers: headerParameters,
920
- query: queryParameters,
921
- }, initOverrides)];
922
- case 41:
923
- response = _14.sent();
924
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.FollowResponseFromJSON)(jsonValue); })];
1211
+ case 40:
1212
+ urlPath = "/graphql/{pathQueryId}/Following";
1213
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
1214
+ return [2 /*return*/, {
1215
+ path: urlPath,
1216
+ method: 'GET',
1217
+ headers: headerParameters,
1218
+ query: queryParameters,
1219
+ }];
1220
+ }
1221
+ });
1222
+ });
1223
+ };
1224
+ /**
1225
+ * get user list of following
1226
+ */
1227
+ UserListApi.prototype.getFollowingRaw = function (requestParameters, initOverrides) {
1228
+ return __awaiter(this, void 0, void 0, function () {
1229
+ var requestOptions, response;
1230
+ return __generator(this, function (_a) {
1231
+ switch (_a.label) {
1232
+ case 0: return [4 /*yield*/, this.getFollowingRequestOpts(requestParameters)];
1233
+ case 1:
1234
+ requestOptions = _a.sent();
1235
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
1236
+ case 2:
1237
+ response = _a.sent();
1238
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, FollowResponse_1.FollowResponseFromJSON)(jsonValue); })];
925
1239
  }
926
1240
  });
927
1241
  });
@@ -944,11 +1258,11 @@ var UserListApi = /** @class */ (function (_super) {
944
1258
  });
945
1259
  };
946
1260
  /**
947
- * get tweet retweeters
1261
+ * Creates request options for getRetweeters without sending the request
948
1262
  */
949
- UserListApi.prototype.getRetweetersRaw = function (requestParameters, initOverrides) {
1263
+ UserListApi.prototype.getRetweetersRequestOpts = function (requestParameters) {
950
1264
  return __awaiter(this, void 0, void 0, function () {
951
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, response;
1265
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, urlPath;
952
1266
  return __generator(this, function (_14) {
953
1267
  switch (_14.label) {
954
1268
  case 0:
@@ -1130,15 +1444,34 @@ var UserListApi = /** @class */ (function (_super) {
1130
1444
  case 39:
1131
1445
  _12[_13] = _14.sent(); // AcceptEncoding authentication
1132
1446
  _14.label = 40;
1133
- case 40: return [4 /*yield*/, this.request({
1134
- path: "/graphql/{pathQueryId}/Retweeters".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
1135
- method: 'GET',
1136
- headers: headerParameters,
1137
- query: queryParameters,
1138
- }, initOverrides)];
1139
- case 41:
1140
- response = _14.sent();
1141
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.TweetRetweetersResponseFromJSON)(jsonValue); })];
1447
+ case 40:
1448
+ urlPath = "/graphql/{pathQueryId}/Retweeters";
1449
+ urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
1450
+ return [2 /*return*/, {
1451
+ path: urlPath,
1452
+ method: 'GET',
1453
+ headers: headerParameters,
1454
+ query: queryParameters,
1455
+ }];
1456
+ }
1457
+ });
1458
+ });
1459
+ };
1460
+ /**
1461
+ * get tweet retweeters
1462
+ */
1463
+ UserListApi.prototype.getRetweetersRaw = function (requestParameters, initOverrides) {
1464
+ return __awaiter(this, void 0, void 0, function () {
1465
+ var requestOptions, response;
1466
+ return __generator(this, function (_a) {
1467
+ switch (_a.label) {
1468
+ case 0: return [4 /*yield*/, this.getRetweetersRequestOpts(requestParameters)];
1469
+ case 1:
1470
+ requestOptions = _a.sent();
1471
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
1472
+ case 2:
1473
+ response = _a.sent();
1474
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, TweetRetweetersResponse_1.TweetRetweetersResponseFromJSON)(jsonValue); })];
1142
1475
  }
1143
1476
  });
1144
1477
  });