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
package/README.md CHANGED
@@ -1,46 +1,710 @@
1
- ## twitter-openapi-typescript-generated@0.0.37
1
+ # twitter-openapi-typescript-generated@0.0.40
2
2
 
3
- This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
3
+ A TypeScript SDK client for the x.com API.
4
4
 
5
- Environment
6
- * Node.js
7
- * Webpack
8
- * Browserify
5
+ ## Usage
9
6
 
10
- Language level
11
- * ES5 - you must have a Promises/A+ library installed
12
- * ES6
7
+ First, install the SDK from npm.
13
8
 
14
- Module system
15
- * CommonJS
16
- * ES6 module system
9
+ ```bash
10
+ npm install twitter-openapi-typescript-generated --save
11
+ ```
17
12
 
18
- It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via `package.json`. ([Reference](https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html))
13
+ Next, try it out.
19
14
 
20
- ### Building
21
15
 
22
- To build and compile the typescript sources to javascript use:
23
- ```
24
- npm install
25
- npm run build
16
+ ```ts
17
+ import {
18
+ Configuration,
19
+ DefaultApi,
20
+ } from 'twitter-openapi-typescript-generated';
21
+ import type { GetProfileSpotlightsQueryRequest } from 'twitter-openapi-typescript-generated';
22
+
23
+ async function example() {
24
+ console.log("🚀 Testing twitter-openapi-typescript-generated SDK...");
25
+ const config = new Configuration({
26
+ // To configure API key authorization: Accept
27
+ apiKey: "YOUR API KEY",
28
+ // To configure API key authorization: ClientLanguage
29
+ apiKey: "YOUR API KEY",
30
+ // To configure API key authorization: Priority
31
+ apiKey: "YOUR API KEY",
32
+ // To configure API key authorization: Referer
33
+ apiKey: "YOUR API KEY",
34
+ // To configure API key authorization: SecFetchDest
35
+ apiKey: "YOUR API KEY",
36
+ // To configure API key authorization: SecChUaPlatform
37
+ apiKey: "YOUR API KEY",
38
+ // To configure API key authorization: SecFetchMode
39
+ apiKey: "YOUR API KEY",
40
+ // To configure API key authorization: CsrfToken
41
+ apiKey: "YOUR API KEY",
42
+ // To configure API key authorization: ClientUuid
43
+ apiKey: "YOUR API KEY",
44
+ // Configure HTTP bearer authorization: BearerAuth
45
+ accessToken: "YOUR BEARER TOKEN",
46
+ // To configure API key authorization: GuestToken
47
+ apiKey: "YOUR API KEY",
48
+ // To configure API key authorization: SecChUa
49
+ apiKey: "YOUR API KEY",
50
+ // To configure API key authorization: CookieGt0
51
+ apiKey: "YOUR API KEY",
52
+ // To configure API key authorization: ClientTransactionId
53
+ apiKey: "YOUR API KEY",
54
+ // To configure API key authorization: ActiveUser
55
+ apiKey: "YOUR API KEY",
56
+ // To configure API key authorization: CookieCt0
57
+ apiKey: "YOUR API KEY",
58
+ // To configure API key authorization: UserAgent
59
+ apiKey: "YOUR API KEY",
60
+ // To configure API key authorization: AcceptLanguage
61
+ apiKey: "YOUR API KEY",
62
+ // To configure API key authorization: SecFetchSite
63
+ apiKey: "YOUR API KEY",
64
+ // To configure API key authorization: AuthType
65
+ apiKey: "YOUR API KEY",
66
+ // To configure API key authorization: CookieAuthToken
67
+ apiKey: "YOUR API KEY",
68
+ // To configure API key authorization: SecChUaMobile
69
+ apiKey: "YOUR API KEY",
70
+ // To configure API key authorization: AcceptEncoding
71
+ apiKey: "YOUR API KEY",
72
+ });
73
+ const api = new DefaultApi(config);
74
+
75
+ const body = {
76
+ // string
77
+ pathQueryId: mzoqrVGwk-YTSGME1dRfXQ,
78
+ // string
79
+ variables: {"screen_name": "elonmusk"},
80
+ // string
81
+ features: {},
82
+ } satisfies GetProfileSpotlightsQueryRequest;
83
+
84
+ try {
85
+ const data = await api.getProfileSpotlightsQuery(body);
86
+ console.log(data);
87
+ } catch (error) {
88
+ console.error(error);
89
+ }
90
+ }
91
+
92
+ // Run the test
93
+ example().catch(console.error);
26
94
  ```
27
95
 
28
- ### Publishing
29
96
 
30
- First build the package then run `npm publish`
97
+ ## Documentation
31
98
 
32
- ### Consuming
99
+ ### API Endpoints
33
100
 
34
- navigate to the folder of your consuming project and run one of the following commands.
101
+ All URIs are relative to *https://x.com/i/api*
35
102
 
36
- _published:_
103
+ | Class | Method | HTTP request | Description
104
+ | ----- | ------ | ------------ | -------------
105
+ *DefaultApi* | [**getProfileSpotlightsQuery**](docs/DefaultApi.md#getprofilespotlightsquery) | **GET** /graphql/{pathQueryId}/ProfileSpotlightsQuery |
106
+ *DefaultApi* | [**getTweetResultByRestId**](docs/DefaultApi.md#gettweetresultbyrestid) | **GET** /graphql/{pathQueryId}/TweetResultByRestId |
107
+ *OtherApi* | [**other**](docs/OtherApi.md#other) | **GET** /other |
108
+ *PostApi* | [**postCreateBookmark**](docs/PostApi.md#postcreatebookmarkoperation) | **POST** /graphql/{pathQueryId}/CreateBookmark |
109
+ *PostApi* | [**postCreateRetweet**](docs/PostApi.md#postcreateretweetoperation) | **POST** /graphql/{pathQueryId}/CreateRetweet |
110
+ *PostApi* | [**postCreateTweet**](docs/PostApi.md#postcreatetweetoperation) | **POST** /graphql/{pathQueryId}/CreateTweet |
111
+ *PostApi* | [**postDeleteBookmark**](docs/PostApi.md#postdeletebookmarkoperation) | **POST** /graphql/{pathQueryId}/DeleteBookmark |
112
+ *PostApi* | [**postDeleteRetweet**](docs/PostApi.md#postdeleteretweetoperation) | **POST** /graphql/{pathQueryId}/DeleteRetweet |
113
+ *PostApi* | [**postDeleteTweet**](docs/PostApi.md#postdeletetweetoperation) | **POST** /graphql/{pathQueryId}/DeleteTweet |
114
+ *PostApi* | [**postFavoriteTweet**](docs/PostApi.md#postfavoritetweetoperation) | **POST** /graphql/{pathQueryId}/FavoriteTweet |
115
+ *PostApi* | [**postUnfavoriteTweet**](docs/PostApi.md#postunfavoritetweetoperation) | **POST** /graphql/{pathQueryId}/UnfavoriteTweet |
116
+ *TweetApi* | [**getBookmarks**](docs/TweetApi.md#getbookmarks) | **GET** /graphql/{pathQueryId}/Bookmarks |
117
+ *TweetApi* | [**getCommunityAboutTimeline**](docs/TweetApi.md#getcommunityabouttimeline) | **GET** /graphql/{pathQueryId}/CommunityAboutTimeline |
118
+ *TweetApi* | [**getCommunityMediaTimeline**](docs/TweetApi.md#getcommunitymediatimeline) | **GET** /graphql/{pathQueryId}/CommunityMediaTimeline |
119
+ *TweetApi* | [**getCommunityTweetsTimeline**](docs/TweetApi.md#getcommunitytweetstimeline) | **GET** /graphql/{pathQueryId}/CommunityTweetsTimeline |
120
+ *TweetApi* | [**getHomeLatestTimeline**](docs/TweetApi.md#gethomelatesttimeline) | **GET** /graphql/{pathQueryId}/HomeLatestTimeline |
121
+ *TweetApi* | [**getHomeTimeline**](docs/TweetApi.md#gethometimeline) | **GET** /graphql/{pathQueryId}/HomeTimeline |
122
+ *TweetApi* | [**getLikes**](docs/TweetApi.md#getlikes) | **GET** /graphql/{pathQueryId}/Likes |
123
+ *TweetApi* | [**getListLatestTweetsTimeline**](docs/TweetApi.md#getlistlatesttweetstimeline) | **GET** /graphql/{pathQueryId}/ListLatestTweetsTimeline |
124
+ *TweetApi* | [**getNotificationsTimeline**](docs/TweetApi.md#getnotificationstimeline) | **GET** /graphql/{pathQueryId}/NotificationsTimeline |
125
+ *TweetApi* | [**getSearchTimeline**](docs/TweetApi.md#getsearchtimeline) | **GET** /graphql/{pathQueryId}/SearchTimeline |
126
+ *TweetApi* | [**getTweetDetail**](docs/TweetApi.md#gettweetdetail) | **GET** /graphql/{pathQueryId}/TweetDetail |
127
+ *TweetApi* | [**getUserHighlightsTweets**](docs/TweetApi.md#getuserhighlightstweets) | **GET** /graphql/{pathQueryId}/UserHighlightsTweets |
128
+ *TweetApi* | [**getUserMedia**](docs/TweetApi.md#getusermedia) | **GET** /graphql/{pathQueryId}/UserMedia |
129
+ *TweetApi* | [**getUserTweets**](docs/TweetApi.md#getusertweets) | **GET** /graphql/{pathQueryId}/UserTweets |
130
+ *TweetApi* | [**getUserTweetsAndReplies**](docs/TweetApi.md#getusertweetsandreplies) | **GET** /graphql/{pathQueryId}/UserTweetsAndReplies |
131
+ *UserApi* | [**getUserByRestId**](docs/UserApi.md#getuserbyrestid) | **GET** /graphql/{pathQueryId}/UserByRestId |
132
+ *UserApi* | [**getUserByScreenName**](docs/UserApi.md#getuserbyscreenname) | **GET** /graphql/{pathQueryId}/UserByScreenName |
133
+ *UserListApi* | [**getBlueVerifiedFollowers**](docs/UserListApi.md#getblueverifiedfollowers) | **GET** /graphql/{pathQueryId}/BlueVerifiedFollowers |
134
+ *UserListApi* | [**getFavoriters**](docs/UserListApi.md#getfavoriters) | **GET** /graphql/{pathQueryId}/Favoriters |
135
+ *UserListApi* | [**getFollowers**](docs/UserListApi.md#getfollowers) | **GET** /graphql/{pathQueryId}/Followers |
136
+ *UserListApi* | [**getFollowersYouKnow**](docs/UserListApi.md#getfollowersyouknow) | **GET** /graphql/{pathQueryId}/FollowersYouKnow |
137
+ *UserListApi* | [**getFollowing**](docs/UserListApi.md#getfollowing) | **GET** /graphql/{pathQueryId}/Following |
138
+ *UserListApi* | [**getRetweeters**](docs/UserListApi.md#getretweeters) | **GET** /graphql/{pathQueryId}/Retweeters |
139
+ *UsersApi* | [**getUsersByRestIds**](docs/UsersApi.md#getusersbyrestids) | **GET** /graphql/{pathQueryId}/UsersByRestIds |
140
+ *V11GetApi* | [**getFriendsFollowingList**](docs/V11GetApi.md#getfriendsfollowinglist) | **GET** /1.1/friends/following/list.json |
141
+ *V11GetApi* | [**getSearchTypeahead**](docs/V11GetApi.md#getsearchtypeahead) | **GET** /1.1/search/typeahead.json |
142
+ *V11PostApi* | [**postCreateFriendships**](docs/V11PostApi.md#postcreatefriendships) | **POST** /1.1/friendships/create.json |
143
+ *V11PostApi* | [**postDestroyFriendships**](docs/V11PostApi.md#postdestroyfriendships) | **POST** /1.1/friendships/destroy.json |
144
+ *V20GetApi* | [**getSearchAdaptive**](docs/V20GetApi.md#getsearchadaptive) | **GET** /2/search/adaptive.json |
145
+
146
+
147
+ ### Models
148
+
149
+ - [AboutCommunityResult](docs/AboutCommunityResult.md)
150
+ - [AboutCommunityResults](docs/AboutCommunityResults.md)
151
+ - [AboutCommunityTweetData](docs/AboutCommunityTweetData.md)
152
+ - [AdditionalMediaInfo](docs/AdditionalMediaInfo.md)
153
+ - [AdditionalMediaInfoCallToActions](docs/AdditionalMediaInfoCallToActions.md)
154
+ - [AdditionalMediaInfoCallToActionsUrl](docs/AdditionalMediaInfoCallToActionsUrl.md)
155
+ - [AllowDownloadStatus](docs/AllowDownloadStatus.md)
156
+ - [AnalysisResults](docs/AnalysisResults.md)
157
+ - [Article](docs/Article.md)
158
+ - [ArticleCoverMedia](docs/ArticleCoverMedia.md)
159
+ - [ArticleCoverMediaColorInfo](docs/ArticleCoverMediaColorInfo.md)
160
+ - [ArticleCoverMediaColorInfoPalette](docs/ArticleCoverMediaColorInfoPalette.md)
161
+ - [ArticleCoverMediaColorInfoPaletteRGB](docs/ArticleCoverMediaColorInfoPaletteRGB.md)
162
+ - [ArticleCoverMediaInfo](docs/ArticleCoverMediaInfo.md)
163
+ - [ArticleLifecycleState](docs/ArticleLifecycleState.md)
164
+ - [ArticleMetadata](docs/ArticleMetadata.md)
165
+ - [ArticlePreview](docs/ArticlePreview.md)
166
+ - [ArticleResult](docs/ArticleResult.md)
167
+ - [ArticleResults](docs/ArticleResults.md)
168
+ - [AuthorCommunityRelationship](docs/AuthorCommunityRelationship.md)
169
+ - [BirdwatchEntity](docs/BirdwatchEntity.md)
170
+ - [BirdwatchEntityRef](docs/BirdwatchEntityRef.md)
171
+ - [BirdwatchPivot](docs/BirdwatchPivot.md)
172
+ - [BirdwatchPivotCallToAction](docs/BirdwatchPivotCallToAction.md)
173
+ - [BirdwatchPivotFooter](docs/BirdwatchPivotFooter.md)
174
+ - [BirdwatchPivotNote](docs/BirdwatchPivotNote.md)
175
+ - [BirdwatchPivotSubtitle](docs/BirdwatchPivotSubtitle.md)
176
+ - [BookmarksResponse](docs/BookmarksResponse.md)
177
+ - [BookmarksResponseData](docs/BookmarksResponseData.md)
178
+ - [BookmarksTimeline](docs/BookmarksTimeline.md)
179
+ - [Callback](docs/Callback.md)
180
+ - [ClientEventInfo](docs/ClientEventInfo.md)
181
+ - [CommunitiesActions](docs/CommunitiesActions.md)
182
+ - [Community](docs/Community.md)
183
+ - [CommunityAboutTimelineResponse](docs/CommunityAboutTimelineResponse.md)
184
+ - [CommunityActions](docs/CommunityActions.md)
185
+ - [CommunityDeleteActionResult](docs/CommunityDeleteActionResult.md)
186
+ - [CommunityInvitesResult](docs/CommunityInvitesResult.md)
187
+ - [CommunityJoinAction](docs/CommunityJoinAction.md)
188
+ - [CommunityJoinActionResultUnion](docs/CommunityJoinActionResultUnion.md)
189
+ - [CommunityJoinActionUnavailable](docs/CommunityJoinActionUnavailable.md)
190
+ - [CommunityJoinRequestsResult](docs/CommunityJoinRequestsResult.md)
191
+ - [CommunityLeaveActionResult](docs/CommunityLeaveActionResult.md)
192
+ - [CommunityMediaTimelineResponse](docs/CommunityMediaTimelineResponse.md)
193
+ - [CommunityPinActionResult](docs/CommunityPinActionResult.md)
194
+ - [CommunityRelationship](docs/CommunityRelationship.md)
195
+ - [CommunityResult](docs/CommunityResult.md)
196
+ - [CommunityRule](docs/CommunityRule.md)
197
+ - [CommunityTweetsTimelineResponse](docs/CommunityTweetsTimelineResponse.md)
198
+ - [CommunityUnavailable](docs/CommunityUnavailable.md)
199
+ - [CommunityUnion](docs/CommunityUnion.md)
200
+ - [CommunityUnpinActionResult](docs/CommunityUnpinActionResult.md)
201
+ - [CommunityUrls](docs/CommunityUrls.md)
202
+ - [CommunityUrlsPermalink](docs/CommunityUrlsPermalink.md)
203
+ - [ContentDisclosure](docs/ContentDisclosure.md)
204
+ - [ContentDisclosureAdvertisingDisclosure](docs/ContentDisclosureAdvertisingDisclosure.md)
205
+ - [ContentDisclosureAiGeneratedDisclosure](docs/ContentDisclosureAiGeneratedDisclosure.md)
206
+ - [ContentEntryType](docs/ContentEntryType.md)
207
+ - [ContentItemType](docs/ContentItemType.md)
208
+ - [ContentUnion](docs/ContentUnion.md)
209
+ - [ConversationControl](docs/ConversationControl.md)
210
+ - [CoverCta](docs/CoverCta.md)
211
+ - [CreateBookmarkResponse](docs/CreateBookmarkResponse.md)
212
+ - [CreateBookmarkResponseData](docs/CreateBookmarkResponseData.md)
213
+ - [CreateRetweet](docs/CreateRetweet.md)
214
+ - [CreateRetweetResponse](docs/CreateRetweetResponse.md)
215
+ - [CreateRetweetResponseData](docs/CreateRetweetResponseData.md)
216
+ - [CreateRetweetResponseResult](docs/CreateRetweetResponseResult.md)
217
+ - [CreateTweet](docs/CreateTweet.md)
218
+ - [CreateTweetResponse](docs/CreateTweetResponse.md)
219
+ - [CreateTweetResponseData](docs/CreateTweetResponseData.md)
220
+ - [CreateTweetResponseResult](docs/CreateTweetResponseResult.md)
221
+ - [CtaClientEventInfo](docs/CtaClientEventInfo.md)
222
+ - [CursorType](docs/CursorType.md)
223
+ - [DeleteBookmarkResponse](docs/DeleteBookmarkResponse.md)
224
+ - [DeleteBookmarkResponseData](docs/DeleteBookmarkResponseData.md)
225
+ - [DeleteRetweet](docs/DeleteRetweet.md)
226
+ - [DeleteRetweetResponse](docs/DeleteRetweetResponse.md)
227
+ - [DeleteRetweetResponseData](docs/DeleteRetweetResponseData.md)
228
+ - [DeleteRetweetResponseResult](docs/DeleteRetweetResponseResult.md)
229
+ - [DeleteTweetResponse](docs/DeleteTweetResponse.md)
230
+ - [DeleteTweetResponseData](docs/DeleteTweetResponseData.md)
231
+ - [DeleteTweetResponseResult](docs/DeleteTweetResponseResult.md)
232
+ - [DisplayTreatment](docs/DisplayTreatment.md)
233
+ - [DisplayType](docs/DisplayType.md)
234
+ - [Entities](docs/Entities.md)
235
+ - [ErrorExtensions](docs/ErrorExtensions.md)
236
+ - [ErrorResponse](docs/ErrorResponse.md)
237
+ - [ErrorResponsePathInner](docs/ErrorResponsePathInner.md)
238
+ - [ExtMediaAvailability](docs/ExtMediaAvailability.md)
239
+ - [ExtendedEntities](docs/ExtendedEntities.md)
240
+ - [FavoriteTweet](docs/FavoriteTweet.md)
241
+ - [FavoriteTweetResponse](docs/FavoriteTweetResponse.md)
242
+ - [FeedbackInfo](docs/FeedbackInfo.md)
243
+ - [FollowResponse](docs/FollowResponse.md)
244
+ - [FollowResponseData](docs/FollowResponseData.md)
245
+ - [FollowResponseResult](docs/FollowResponseResult.md)
246
+ - [FollowResponseUser](docs/FollowResponseUser.md)
247
+ - [FollowTimeline](docs/FollowTimeline.md)
248
+ - [GrokAnnotation](docs/GrokAnnotation.md)
249
+ - [GrokEntity](docs/GrokEntity.md)
250
+ - [GrokEntityRef](docs/GrokEntityRef.md)
251
+ - [GrokImageAnnotation](docs/GrokImageAnnotation.md)
252
+ - [GrokShareAttachment](docs/GrokShareAttachment.md)
253
+ - [GrokShareAttachmentItem](docs/GrokShareAttachmentItem.md)
254
+ - [GrokTranslatedCommunityNote](docs/GrokTranslatedCommunityNote.md)
255
+ - [GrokTranslatedCommunityNoteWithAvailability](docs/GrokTranslatedCommunityNoteWithAvailability.md)
256
+ - [GrokTranslatedPost](docs/GrokTranslatedPost.md)
257
+ - [GrokTranslatedPostWithAvailability](docs/GrokTranslatedPostWithAvailability.md)
258
+ - [Highlight](docs/Highlight.md)
259
+ - [HomeTimelineHome](docs/HomeTimelineHome.md)
260
+ - [HomeTimelineResponseData](docs/HomeTimelineResponseData.md)
261
+ - [InstructionType](docs/InstructionType.md)
262
+ - [InstructionUnion](docs/InstructionUnion.md)
263
+ - [ItemContentUnion](docs/ItemContentUnion.md)
264
+ - [ItemResult](docs/ItemResult.md)
265
+ - [LimitedActionResultsData](docs/LimitedActionResultsData.md)
266
+ - [ListLatestTweetsTimelineResponse](docs/ListLatestTweetsTimelineResponse.md)
267
+ - [ListTweetsTimelineData](docs/ListTweetsTimelineData.md)
268
+ - [ListTweetsTimelineList](docs/ListTweetsTimelineList.md)
269
+ - [Location](docs/Location.md)
270
+ - [Media](docs/Media.md)
271
+ - [MediaCommunityResult](docs/MediaCommunityResult.md)
272
+ - [MediaCommunityResults](docs/MediaCommunityResults.md)
273
+ - [MediaCommunityTweetData](docs/MediaCommunityTweetData.md)
274
+ - [MediaExtended](docs/MediaExtended.md)
275
+ - [MediaOriginalInfo](docs/MediaOriginalInfo.md)
276
+ - [MediaOriginalInfoFocusRect](docs/MediaOriginalInfoFocusRect.md)
277
+ - [MediaResult](docs/MediaResult.md)
278
+ - [MediaResults](docs/MediaResults.md)
279
+ - [MediaSize](docs/MediaSize.md)
280
+ - [MediaSizes](docs/MediaSizes.md)
281
+ - [MediaStats](docs/MediaStats.md)
282
+ - [MediaVideoInfo](docs/MediaVideoInfo.md)
283
+ - [MediaVideoInfoVariant](docs/MediaVideoInfoVariant.md)
284
+ - [MediaVisibilityResults](docs/MediaVisibilityResults.md)
285
+ - [MediaVisibilityResultsBlurredImageInterstitial](docs/MediaVisibilityResultsBlurredImageInterstitial.md)
286
+ - [ModuleEntry](docs/ModuleEntry.md)
287
+ - [ModuleItem](docs/ModuleItem.md)
288
+ - [NoteTweet](docs/NoteTweet.md)
289
+ - [NoteTweetResult](docs/NoteTweetResult.md)
290
+ - [NoteTweetResultData](docs/NoteTweetResultData.md)
291
+ - [NoteTweetResultMedia](docs/NoteTweetResultMedia.md)
292
+ - [NoteTweetResultMediaInlineMedia](docs/NoteTweetResultMediaInlineMedia.md)
293
+ - [NoteTweetResultRichText](docs/NoteTweetResultRichText.md)
294
+ - [NoteTweetResultRichTextTag](docs/NoteTweetResultRichTextTag.md)
295
+ - [NotificationTemplate](docs/NotificationTemplate.md)
296
+ - [NotificationsResult](docs/NotificationsResult.md)
297
+ - [NotificationsTimelineData](docs/NotificationsTimelineData.md)
298
+ - [NotificationsTimelineResponse](docs/NotificationsTimelineResponse.md)
299
+ - [NotificationsUserResults](docs/NotificationsUserResults.md)
300
+ - [NotificationsViewerV2](docs/NotificationsViewerV2.md)
301
+ - [OneFactorLoginEligibility](docs/OneFactorLoginEligibility.md)
302
+ - [OtherObjectAll](docs/OtherObjectAll.md)
303
+ - [PostCreateBookmarkRequest](docs/PostCreateBookmarkRequest.md)
304
+ - [PostCreateBookmarkRequestVariables](docs/PostCreateBookmarkRequestVariables.md)
305
+ - [PostCreateRetweetRequest](docs/PostCreateRetweetRequest.md)
306
+ - [PostCreateRetweetRequestVariables](docs/PostCreateRetweetRequestVariables.md)
307
+ - [PostCreateTweetRequest](docs/PostCreateTweetRequest.md)
308
+ - [PostCreateTweetRequestFeatures](docs/PostCreateTweetRequestFeatures.md)
309
+ - [PostCreateTweetRequestVariables](docs/PostCreateTweetRequestVariables.md)
310
+ - [PostCreateTweetRequestVariablesConversationControl](docs/PostCreateTweetRequestVariablesConversationControl.md)
311
+ - [PostCreateTweetRequestVariablesMedia](docs/PostCreateTweetRequestVariablesMedia.md)
312
+ - [PostCreateTweetRequestVariablesMediaMediaEntitiesInner](docs/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.md)
313
+ - [PostCreateTweetRequestVariablesReply](docs/PostCreateTweetRequestVariablesReply.md)
314
+ - [PostCta](docs/PostCta.md)
315
+ - [PostCtaTitleText](docs/PostCtaTitleText.md)
316
+ - [PostCtaTitleTextEntity](docs/PostCtaTitleTextEntity.md)
317
+ - [PostCtaTitleTextEntityRef](docs/PostCtaTitleTextEntityRef.md)
318
+ - [PostCtaUserResults](docs/PostCtaUserResults.md)
319
+ - [PostCtaUserResultsAvatar](docs/PostCtaUserResultsAvatar.md)
320
+ - [PostCtaUserResultsResult](docs/PostCtaUserResultsResult.md)
321
+ - [PostDeleteBookmarkRequest](docs/PostDeleteBookmarkRequest.md)
322
+ - [PostDeleteRetweetRequest](docs/PostDeleteRetweetRequest.md)
323
+ - [PostDeleteRetweetRequestVariables](docs/PostDeleteRetweetRequestVariables.md)
324
+ - [PostDeleteTweetRequest](docs/PostDeleteTweetRequest.md)
325
+ - [PostFavoriteTweetRequest](docs/PostFavoriteTweetRequest.md)
326
+ - [PostUnfavoriteTweetRequest](docs/PostUnfavoriteTweetRequest.md)
327
+ - [PrimaryCommunityTopic](docs/PrimaryCommunityTopic.md)
328
+ - [ProfileBio](docs/ProfileBio.md)
329
+ - [ProfileResponse](docs/ProfileResponse.md)
330
+ - [ProfileResponseData](docs/ProfileResponseData.md)
331
+ - [QuotedRefResult](docs/QuotedRefResult.md)
332
+ - [QuotedStatusPermalink](docs/QuotedStatusPermalink.md)
333
+ - [RankedCommunityResult](docs/RankedCommunityResult.md)
334
+ - [RankedCommunityResults](docs/RankedCommunityResults.md)
335
+ - [RankedCommunityTweetData](docs/RankedCommunityTweetData.md)
336
+ - [Retweet](docs/Retweet.md)
337
+ - [RetweetLegacy](docs/RetweetLegacy.md)
338
+ - [RichMessage](docs/RichMessage.md)
339
+ - [SearchByRawQuery](docs/SearchByRawQuery.md)
340
+ - [SearchTimeline](docs/SearchTimeline.md)
341
+ - [SearchTimelineData](docs/SearchTimelineData.md)
342
+ - [SearchTimelineResponse](docs/SearchTimelineResponse.md)
343
+ - [SelfThread](docs/SelfThread.md)
344
+ - [SensitiveMediaWarning](docs/SensitiveMediaWarning.md)
345
+ - [Session](docs/Session.md)
346
+ - [Smarttag](docs/Smarttag.md)
347
+ - [SmarttagTag](docs/SmarttagTag.md)
348
+ - [SocialContextLandingUrl](docs/SocialContextLandingUrl.md)
349
+ - [SocialContextUnion](docs/SocialContextUnion.md)
350
+ - [SocialContextUnionType](docs/SocialContextUnionType.md)
351
+ - [SuperFollowUserProfile](docs/SuperFollowUserProfile.md)
352
+ - [SuperFollowsReplyUserResult](docs/SuperFollowsReplyUserResult.md)
353
+ - [SuperFollowsReplyUserResultCore](docs/SuperFollowsReplyUserResultCore.md)
354
+ - [SuperFollowsReplyUserResultData](docs/SuperFollowsReplyUserResultData.md)
355
+ - [SuperFollowsReplyUserResultLegacy](docs/SuperFollowsReplyUserResultLegacy.md)
356
+ - [Text](docs/Text.md)
357
+ - [TextEntity](docs/TextEntity.md)
358
+ - [TextEntityRef](docs/TextEntityRef.md)
359
+ - [TextHighlight](docs/TextHighlight.md)
360
+ - [ThumbnailImage](docs/ThumbnailImage.md)
361
+ - [Timeline](docs/Timeline.md)
362
+ - [TimelineAddEntries](docs/TimelineAddEntries.md)
363
+ - [TimelineAddEntry](docs/TimelineAddEntry.md)
364
+ - [TimelineAddToModule](docs/TimelineAddToModule.md)
365
+ - [TimelineClearCache](docs/TimelineClearCache.md)
366
+ - [TimelineClearEntriesUnreadState](docs/TimelineClearEntriesUnreadState.md)
367
+ - [TimelineCommunity](docs/TimelineCommunity.md)
368
+ - [TimelineCoverBehavior](docs/TimelineCoverBehavior.md)
369
+ - [TimelineCoverBehaviorUrl](docs/TimelineCoverBehaviorUrl.md)
370
+ - [TimelineGeneralContext](docs/TimelineGeneralContext.md)
371
+ - [TimelineHalfCover](docs/TimelineHalfCover.md)
372
+ - [TimelineMarkEntriesUnreadGreaterThanSortIndex](docs/TimelineMarkEntriesUnreadGreaterThanSortIndex.md)
373
+ - [TimelineMessagePrompt](docs/TimelineMessagePrompt.md)
374
+ - [TimelineNotification](docs/TimelineNotification.md)
375
+ - [TimelinePinEntry](docs/TimelinePinEntry.md)
376
+ - [TimelinePrompt](docs/TimelinePrompt.md)
377
+ - [TimelineReplaceEntry](docs/TimelineReplaceEntry.md)
378
+ - [TimelineResponse](docs/TimelineResponse.md)
379
+ - [TimelineResult](docs/TimelineResult.md)
380
+ - [TimelineShowAlert](docs/TimelineShowAlert.md)
381
+ - [TimelineShowAlertRichText](docs/TimelineShowAlertRichText.md)
382
+ - [TimelineShowCover](docs/TimelineShowCover.md)
383
+ - [TimelineTerminateTimeline](docs/TimelineTerminateTimeline.md)
384
+ - [TimelineTimelineCursor](docs/TimelineTimelineCursor.md)
385
+ - [TimelineTimelineItem](docs/TimelineTimelineItem.md)
386
+ - [TimelineTimelineModule](docs/TimelineTimelineModule.md)
387
+ - [TimelineTombstone](docs/TimelineTombstone.md)
388
+ - [TimelineTopicContext](docs/TimelineTopicContext.md)
389
+ - [TimelineTrend](docs/TimelineTrend.md)
390
+ - [TimelineTweet](docs/TimelineTweet.md)
391
+ - [TimelineUser](docs/TimelineUser.md)
392
+ - [Timestamp](docs/Timestamp.md)
393
+ - [TombstoneEntity](docs/TombstoneEntity.md)
394
+ - [TombstoneInfo](docs/TombstoneInfo.md)
395
+ - [TombstoneRef](docs/TombstoneRef.md)
396
+ - [TombstoneRichText](docs/TombstoneRichText.md)
397
+ - [TopicContext](docs/TopicContext.md)
398
+ - [Tracing](docs/Tracing.md)
399
+ - [TrendImage](docs/TrendImage.md)
400
+ - [TrendMetadata](docs/TrendMetadata.md)
401
+ - [TrendResults](docs/TrendResults.md)
402
+ - [Tweet](docs/Tweet.md)
403
+ - [TweetCard](docs/TweetCard.md)
404
+ - [TweetCardLegacy](docs/TweetCardLegacy.md)
405
+ - [TweetCardLegacyBindingValue](docs/TweetCardLegacyBindingValue.md)
406
+ - [TweetCardLegacyBindingValueData](docs/TweetCardLegacyBindingValueData.md)
407
+ - [TweetCardLegacyBindingValueDataImage](docs/TweetCardLegacyBindingValueDataImage.md)
408
+ - [TweetCardPlatform](docs/TweetCardPlatform.md)
409
+ - [TweetCardPlatformAudience](docs/TweetCardPlatformAudience.md)
410
+ - [TweetCardPlatformData](docs/TweetCardPlatformData.md)
411
+ - [TweetCardPlatformDevice](docs/TweetCardPlatformDevice.md)
412
+ - [TweetDetailResponse](docs/TweetDetailResponse.md)
413
+ - [TweetDetailResponseData](docs/TweetDetailResponseData.md)
414
+ - [TweetEditControl](docs/TweetEditControl.md)
415
+ - [TweetEditControlInitial](docs/TweetEditControlInitial.md)
416
+ - [TweetEditPrespective](docs/TweetEditPrespective.md)
417
+ - [TweetFavoritersResponse](docs/TweetFavoritersResponse.md)
418
+ - [TweetFavoritersResponseData](docs/TweetFavoritersResponseData.md)
419
+ - [TweetInterstitial](docs/TweetInterstitial.md)
420
+ - [TweetInterstitialRevealText](docs/TweetInterstitialRevealText.md)
421
+ - [TweetInterstitialText](docs/TweetInterstitialText.md)
422
+ - [TweetInterstitialTextEntity](docs/TweetInterstitialTextEntity.md)
423
+ - [TweetInterstitialTextEntityRef](docs/TweetInterstitialTextEntityRef.md)
424
+ - [TweetLegacy](docs/TweetLegacy.md)
425
+ - [TweetLegacyScopes](docs/TweetLegacyScopes.md)
426
+ - [TweetLimitedActionResults](docs/TweetLimitedActionResults.md)
427
+ - [TweetPostCta](docs/TweetPostCta.md)
428
+ - [TweetPreviewDisplay](docs/TweetPreviewDisplay.md)
429
+ - [TweetPreviewDisplayCta](docs/TweetPreviewDisplayCta.md)
430
+ - [TweetPreviewDisplayCtaUrl](docs/TweetPreviewDisplayCtaUrl.md)
431
+ - [TweetPreviewDisplayTweet](docs/TweetPreviewDisplayTweet.md)
432
+ - [TweetPreviewDisplayTweetViewCount](docs/TweetPreviewDisplayTweetViewCount.md)
433
+ - [TweetPreviousCounts](docs/TweetPreviousCounts.md)
434
+ - [TweetResultByRestIdData](docs/TweetResultByRestIdData.md)
435
+ - [TweetResultByRestIdResponse](docs/TweetResultByRestIdResponse.md)
436
+ - [TweetRetweetersResponse](docs/TweetRetweetersResponse.md)
437
+ - [TweetRetweetersResponseData](docs/TweetRetweetersResponseData.md)
438
+ - [TweetTombstone](docs/TweetTombstone.md)
439
+ - [TweetUnavailable](docs/TweetUnavailable.md)
440
+ - [TweetUnion](docs/TweetUnion.md)
441
+ - [TweetView](docs/TweetView.md)
442
+ - [TweetWithVisibilityResults](docs/TweetWithVisibilityResults.md)
443
+ - [TypeName](docs/TypeName.md)
444
+ - [UnfavoriteTweet](docs/UnfavoriteTweet.md)
445
+ - [UnfavoriteTweetResponse](docs/UnfavoriteTweetResponse.md)
446
+ - [UnifiedCard](docs/UnifiedCard.md)
447
+ - [Url](docs/Url.md)
448
+ - [UrtEndpointOptions](docs/UrtEndpointOptions.md)
449
+ - [UrtEndpointRequestParams](docs/UrtEndpointRequestParams.md)
450
+ - [User](docs/User.md)
451
+ - [UserAvatar](docs/UserAvatar.md)
452
+ - [UserCore](docs/UserCore.md)
453
+ - [UserDmPermissions](docs/UserDmPermissions.md)
454
+ - [UserFeatures](docs/UserFeatures.md)
455
+ - [UserHighlightsInfo](docs/UserHighlightsInfo.md)
456
+ - [UserHighlightsTweetsData](docs/UserHighlightsTweetsData.md)
457
+ - [UserHighlightsTweetsResponse](docs/UserHighlightsTweetsResponse.md)
458
+ - [UserHighlightsTweetsResult](docs/UserHighlightsTweetsResult.md)
459
+ - [UserHighlightsTweetsTimeline](docs/UserHighlightsTweetsTimeline.md)
460
+ - [UserHighlightsTweetsUser](docs/UserHighlightsTweetsUser.md)
461
+ - [UserLegacy](docs/UserLegacy.md)
462
+ - [UserLegacyExtendedProfile](docs/UserLegacyExtendedProfile.md)
463
+ - [UserLegacyExtendedProfileBirthdate](docs/UserLegacyExtendedProfileBirthdate.md)
464
+ - [UserLocation](docs/UserLocation.md)
465
+ - [UserMediaPermissions](docs/UserMediaPermissions.md)
466
+ - [UserPrivacy](docs/UserPrivacy.md)
467
+ - [UserProfessional](docs/UserProfessional.md)
468
+ - [UserProfessionalCategory](docs/UserProfessionalCategory.md)
469
+ - [UserProfile](docs/UserProfile.md)
470
+ - [UserRelationshipPerspectives](docs/UserRelationshipPerspectives.md)
471
+ - [UserResponse](docs/UserResponse.md)
472
+ - [UserResponseData](docs/UserResponseData.md)
473
+ - [UserResultByScreenName](docs/UserResultByScreenName.md)
474
+ - [UserResultByScreenNameCore](docs/UserResultByScreenNameCore.md)
475
+ - [UserResultByScreenNameLegacy](docs/UserResultByScreenNameLegacy.md)
476
+ - [UserResultByScreenNameResult](docs/UserResultByScreenNameResult.md)
477
+ - [UserResultCore](docs/UserResultCore.md)
478
+ - [UserResultPrivacy](docs/UserResultPrivacy.md)
479
+ - [UserResultRelationshipPerspectives](docs/UserResultRelationshipPerspectives.md)
480
+ - [UserResults](docs/UserResults.md)
481
+ - [UserTipJarSettings](docs/UserTipJarSettings.md)
482
+ - [UserTweetsData](docs/UserTweetsData.md)
483
+ - [UserTweetsResponse](docs/UserTweetsResponse.md)
484
+ - [UserTweetsResultV1](docs/UserTweetsResultV1.md)
485
+ - [UserTweetsResultV2](docs/UserTweetsResultV2.md)
486
+ - [UserTweetsUser](docs/UserTweetsUser.md)
487
+ - [UserUnavailable](docs/UserUnavailable.md)
488
+ - [UserUnion](docs/UserUnion.md)
489
+ - [UserValue](docs/UserValue.md)
490
+ - [UserVerification](docs/UserVerification.md)
491
+ - [UserVerificationInfo](docs/UserVerificationInfo.md)
492
+ - [UserVerificationInfoReason](docs/UserVerificationInfoReason.md)
493
+ - [UserVerificationInfoReasonDescription](docs/UserVerificationInfoReasonDescription.md)
494
+ - [UserVerificationInfoReasonDescriptionEntities](docs/UserVerificationInfoReasonDescriptionEntities.md)
495
+ - [UserVerificationInfoReasonDescriptionEntitiesRef](docs/UserVerificationInfoReasonDescriptionEntitiesRef.md)
496
+ - [UsersResponse](docs/UsersResponse.md)
497
+ - [UsersResponseData](docs/UsersResponseData.md)
498
+
499
+ ### Authorization
500
+
501
+
502
+ Authentication schemes defined for the API:
503
+ <a id="Accept"></a>
504
+ #### Accept
505
+
506
+
507
+ - **Type**: API key
508
+ - **API key parameter name**: `Accept`
509
+ - **Location**: HTTP header
510
+ <a id="AcceptEncoding"></a>
511
+ #### AcceptEncoding
512
+
513
+
514
+ - **Type**: API key
515
+ - **API key parameter name**: `Accept-Encoding`
516
+ - **Location**: HTTP header
517
+ <a id="AcceptLanguage"></a>
518
+ #### AcceptLanguage
519
+
520
+
521
+ - **Type**: API key
522
+ - **API key parameter name**: `Accept-Language`
523
+ - **Location**: HTTP header
524
+ <a id="ActiveUser"></a>
525
+ #### ActiveUser
526
+
527
+
528
+ - **Type**: API key
529
+ - **API key parameter name**: `x-twitter-active-user`
530
+ - **Location**: HTTP header
531
+ <a id="AuthType"></a>
532
+ #### AuthType
533
+
534
+
535
+ - **Type**: API key
536
+ - **API key parameter name**: `x-twitter-auth-type`
537
+ - **Location**: HTTP header
538
+ <a id="BearerAuth"></a>
539
+ #### BearerAuth
540
+
541
+
542
+ - **Type**: HTTP Bearer Token authentication
543
+ <a id="ClientLanguage"></a>
544
+ #### ClientLanguage
545
+
546
+
547
+ - **Type**: API key
548
+ - **API key parameter name**: `x-twitter-client-language`
549
+ - **Location**: HTTP header
550
+ <a id="ClientTransactionId"></a>
551
+ #### ClientTransactionId
552
+
553
+
554
+ - **Type**: API key
555
+ - **API key parameter name**: `x-client-transaction-id`
556
+ - **Location**: HTTP header
557
+ <a id="ClientUuid"></a>
558
+ #### ClientUuid
559
+
560
+
561
+ - **Type**: API key
562
+ - **API key parameter name**: `x-client-uuid`
563
+ - **Location**: HTTP header
564
+ <a id="CookieAuthToken"></a>
565
+ #### CookieAuthToken
566
+
567
+
568
+ - **Type**: API key
569
+ - **API key parameter name**: `auth_token`
570
+ - **Location**:
571
+ <a id="CookieCt0"></a>
572
+ #### CookieCt0
573
+
574
+
575
+ - **Type**: API key
576
+ - **API key parameter name**: `ct0`
577
+ - **Location**:
578
+ <a id="CookieGt0"></a>
579
+ #### CookieGt0
37
580
 
38
- ```
39
- npm install twitter-openapi-typescript-generated@0.0.37 --save
40
- ```
41
581
 
42
- _unPublished (not recommended):_
582
+ - **Type**: API key
583
+ - **API key parameter name**: `gt0`
584
+ - **Location**:
585
+ <a id="CsrfToken"></a>
586
+ #### CsrfToken
43
587
 
588
+
589
+ - **Type**: API key
590
+ - **API key parameter name**: `x-csrf-token`
591
+ - **Location**: HTTP header
592
+ <a id="GuestToken"></a>
593
+ #### GuestToken
594
+
595
+
596
+ - **Type**: API key
597
+ - **API key parameter name**: `x-guest-token`
598
+ - **Location**: HTTP header
599
+ <a id="Priority"></a>
600
+ #### Priority
601
+
602
+
603
+ - **Type**: API key
604
+ - **API key parameter name**: `Priority`
605
+ - **Location**: HTTP header
606
+ <a id="Referer"></a>
607
+ #### Referer
608
+
609
+
610
+ - **Type**: API key
611
+ - **API key parameter name**: `Referer`
612
+ - **Location**: HTTP header
613
+ <a id="SecChUa"></a>
614
+ #### SecChUa
615
+
616
+
617
+ - **Type**: API key
618
+ - **API key parameter name**: `Sec-Ch-Ua`
619
+ - **Location**: HTTP header
620
+ <a id="SecChUaMobile"></a>
621
+ #### SecChUaMobile
622
+
623
+
624
+ - **Type**: API key
625
+ - **API key parameter name**: `Sec-Ch-Ua-Mobile`
626
+ - **Location**: HTTP header
627
+ <a id="SecChUaPlatform"></a>
628
+ #### SecChUaPlatform
629
+
630
+
631
+ - **Type**: API key
632
+ - **API key parameter name**: `Sec-Ch-Ua-Platform`
633
+ - **Location**: HTTP header
634
+ <a id="SecFetchDest"></a>
635
+ #### SecFetchDest
636
+
637
+
638
+ - **Type**: API key
639
+ - **API key parameter name**: `Sec-Fetch-Dest`
640
+ - **Location**: HTTP header
641
+ <a id="SecFetchMode"></a>
642
+ #### SecFetchMode
643
+
644
+
645
+ - **Type**: API key
646
+ - **API key parameter name**: `Sec-Fetch-Mode`
647
+ - **Location**: HTTP header
648
+ <a id="SecFetchSite"></a>
649
+ #### SecFetchSite
650
+
651
+
652
+ - **Type**: API key
653
+ - **API key parameter name**: `Sec-Fetch-Site`
654
+ - **Location**: HTTP header
655
+ <a id="UserAgent"></a>
656
+ #### UserAgent
657
+
658
+
659
+ - **Type**: API key
660
+ - **API key parameter name**: `user-agent`
661
+ - **Location**: HTTP header
662
+
663
+ ## About
664
+
665
+ This TypeScript SDK client supports the [Fetch API](https://fetch.spec.whatwg.org/)
666
+ and is automatically generated by the
667
+ [OpenAPI Generator](https://openapi-generator.tech) project:
668
+
669
+ - API version: `0.0.1`
670
+ - Package version: `0.0.40`
671
+ - Generator version: `7.22.0`
672
+ - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
673
+
674
+ The generated npm module supports the following:
675
+
676
+ - Environments
677
+ * Node.js
678
+ * Webpack
679
+ * Browserify
680
+ - Language levels
681
+ * ES5 - you must have a Promises/A+ library installed
682
+ * ES6
683
+ - Module systems
684
+ * CommonJS
685
+ * ES6 module system
686
+
687
+
688
+ ## Development
689
+
690
+ ### Building
691
+
692
+ To build the TypeScript source code, you need to have Node.js and npm installed.
693
+ After cloning the repository, navigate to the project directory and run:
694
+
695
+ ```bash
696
+ npm install
697
+ npm run build
44
698
  ```
45
- npm install PATH_TO_GENERATED_PACKAGE --save
699
+
700
+ ### Publishing
701
+
702
+ Once you've built the package, you can publish it to npm:
703
+
704
+ ```bash
705
+ npm publish
46
706
  ```
707
+
708
+ ## License
709
+
710
+ [LicenseRef-Custom OR AGPL-3.0-or-later](https://github.com/fa0311/twitter-openapi#license)