rettiwt-api 5.0.0-alpha.1 → 5.0.0-alpha.2

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 (406) hide show
  1. package/dist/Rettiwt.d.ts +10 -3
  2. package/dist/Rettiwt.js +19 -7
  3. package/dist/Rettiwt.js.map +1 -1
  4. package/dist/collections/Extractors.d.ts +35 -2
  5. package/dist/collections/Extractors.js +3 -0
  6. package/dist/collections/Extractors.js.map +1 -1
  7. package/dist/collections/Groups.js +3 -0
  8. package/dist/collections/Groups.js.map +1 -1
  9. package/dist/collections/Requests.js +41 -41
  10. package/dist/collections/Requests.js.map +1 -1
  11. package/dist/commands/Tweet.js +33 -7
  12. package/dist/commands/Tweet.js.map +1 -1
  13. package/dist/commands/User.js +12 -2
  14. package/dist/commands/User.js.map +1 -1
  15. package/dist/enums/Authentication.d.ts +2 -10
  16. package/dist/enums/Authentication.js +3 -12
  17. package/dist/enums/Authentication.js.map +1 -1
  18. package/dist/enums/Data.d.ts +3 -15
  19. package/dist/enums/Data.js +4 -17
  20. package/dist/enums/Data.js.map +1 -1
  21. package/dist/enums/Media.d.ts +10 -0
  22. package/dist/enums/Media.js +15 -0
  23. package/dist/enums/Media.js.map +1 -0
  24. package/dist/enums/Notification.d.ts +12 -0
  25. package/dist/enums/Notification.js +17 -0
  26. package/dist/enums/Notification.js.map +1 -0
  27. package/dist/enums/Resource.d.ts +3 -0
  28. package/dist/enums/Resource.js +3 -0
  29. package/dist/enums/Resource.js.map +1 -1
  30. package/dist/enums/raw/Analytics.d.ts +28 -0
  31. package/dist/enums/raw/Analytics.js +34 -0
  32. package/dist/enums/raw/Analytics.js.map +1 -0
  33. package/dist/enums/raw/Media.d.ts +10 -0
  34. package/dist/enums/raw/Media.js +15 -0
  35. package/dist/enums/raw/Media.js.map +1 -0
  36. package/dist/enums/raw/Notification.d.ts +11 -0
  37. package/dist/enums/raw/Notification.js +16 -0
  38. package/dist/enums/raw/Notification.js.map +1 -0
  39. package/dist/enums/raw/Tweet.d.ts +9 -0
  40. package/dist/enums/raw/Tweet.js +14 -0
  41. package/dist/enums/raw/Tweet.js.map +1 -0
  42. package/dist/helper/TidUtils.d.ts +2 -0
  43. package/dist/helper/TidUtils.js +162 -0
  44. package/dist/helper/TidUtils.js.map +1 -0
  45. package/dist/index.d.ts +75 -4
  46. package/dist/index.js +26 -5
  47. package/dist/index.js.map +1 -1
  48. package/dist/models/RettiwtConfig.d.ts +28 -0
  49. package/dist/models/RettiwtConfig.js +55 -0
  50. package/dist/models/RettiwtConfig.js.map +1 -0
  51. package/dist/models/args/FetchArgs.d.ts +46 -3
  52. package/dist/models/args/FetchArgs.js +107 -5
  53. package/dist/models/args/FetchArgs.js.map +1 -1
  54. package/dist/models/args/PostArgs.d.ts +44 -16
  55. package/dist/models/args/PostArgs.js +61 -22
  56. package/dist/models/args/PostArgs.js.map +1 -1
  57. package/dist/models/auth/AuthCookie.d.ts +2 -0
  58. package/dist/models/auth/AuthCookie.js +2 -0
  59. package/dist/models/auth/AuthCookie.js.map +1 -1
  60. package/dist/models/auth/AuthCredential.d.ts +2 -0
  61. package/dist/models/auth/AuthCredential.js +2 -0
  62. package/dist/models/auth/AuthCredential.js.map +1 -1
  63. package/dist/models/data/CursoredData.d.ts +4 -13
  64. package/dist/models/data/CursoredData.js +16 -23
  65. package/dist/models/data/CursoredData.js.map +1 -1
  66. package/dist/models/data/List.d.ts +5 -1
  67. package/dist/models/data/List.js +14 -0
  68. package/dist/models/data/List.js.map +1 -1
  69. package/dist/models/data/Notification.d.ts +7 -5
  70. package/dist/models/data/Notification.js +19 -8
  71. package/dist/models/data/Notification.js.map +1 -1
  72. package/dist/models/data/Tweet.d.ts +29 -9
  73. package/dist/models/data/Tweet.js +103 -25
  74. package/dist/models/data/Tweet.js.map +1 -1
  75. package/dist/models/data/User.d.ts +17 -8
  76. package/dist/models/data/User.js +63 -13
  77. package/dist/models/data/User.js.map +1 -1
  78. package/dist/models/errors/RettiwtError.d.ts +3 -2
  79. package/dist/models/errors/RettiwtError.js +3 -2
  80. package/dist/models/errors/RettiwtError.js.map +1 -1
  81. package/dist/models/params/Variables.d.ts +41 -0
  82. package/dist/models/params/Variables.js +61 -0
  83. package/dist/models/params/Variables.js.map +1 -0
  84. package/dist/requests/List.d.ts +24 -0
  85. package/dist/requests/List.js +122 -0
  86. package/dist/requests/List.js.map +1 -0
  87. package/dist/requests/Media.d.ts +21 -0
  88. package/dist/requests/Media.js +70 -0
  89. package/dist/requests/Media.js.map +1 -0
  90. package/dist/requests/Tweet.d.ts +75 -0
  91. package/dist/requests/Tweet.js +480 -0
  92. package/dist/requests/Tweet.js.map +1 -0
  93. package/dist/requests/User.d.ts +111 -0
  94. package/dist/requests/User.js +762 -0
  95. package/dist/requests/User.js.map +1 -0
  96. package/dist/services/internal/AuthService.d.ts +3 -5
  97. package/dist/services/internal/AuthService.js +5 -8
  98. package/dist/services/internal/AuthService.js.map +1 -1
  99. package/dist/services/internal/TidService.d.ts +44 -0
  100. package/dist/services/internal/TidService.js +162 -0
  101. package/dist/services/internal/TidService.js.map +1 -0
  102. package/dist/services/public/FetcherService.d.ts +20 -19
  103. package/dist/services/public/FetcherService.js +67 -49
  104. package/dist/services/public/FetcherService.js.map +1 -1
  105. package/dist/services/public/ListService.d.ts +2 -2
  106. package/dist/services/public/ListService.js.map +1 -1
  107. package/dist/services/public/TweetService.d.ts +35 -7
  108. package/dist/services/public/TweetService.js +54 -8
  109. package/dist/services/public/TweetService.js.map +1 -1
  110. package/dist/services/public/UserService.d.ts +4 -4
  111. package/dist/services/public/UserService.js +25 -13
  112. package/dist/services/public/UserService.js.map +1 -1
  113. package/dist/types/RettiwtConfig.d.ts +9 -10
  114. package/dist/types/args/FetchArgs.d.ts +71 -7
  115. package/dist/types/args/PostArgs.d.ts +62 -18
  116. package/dist/types/auth/AuthCookie.d.ts +2 -0
  117. package/dist/types/auth/AuthCredential.d.ts +2 -0
  118. package/dist/types/auth/TidDynamicArgs.d.ts +10 -0
  119. package/dist/types/auth/{AccountCredential.js → TidDynamicArgs.js} +1 -1
  120. package/dist/types/auth/TidDynamicArgs.js.map +1 -0
  121. package/dist/types/auth/TidHeader.d.ts +8 -0
  122. package/dist/types/{ReturnTypes.js → auth/TidHeader.js} +1 -1
  123. package/dist/types/auth/TidHeader.js.map +1 -0
  124. package/dist/types/auth/TidParams.d.ts +27 -0
  125. package/dist/types/auth/TidParams.js +3 -0
  126. package/dist/types/auth/TidParams.js.map +1 -0
  127. package/dist/types/auth/TidProvider.d.ts +18 -0
  128. package/dist/types/auth/TidProvider.js +3 -0
  129. package/dist/types/auth/TidProvider.js.map +1 -0
  130. package/dist/types/data/CursoredData.d.ts +1 -10
  131. package/dist/types/data/Notification.d.ts +2 -2
  132. package/dist/types/data/Tweet.d.ts +2 -2
  133. package/dist/types/params/Variables.d.ts +27 -0
  134. package/dist/types/params/Variables.js +3 -0
  135. package/dist/types/params/Variables.js.map +1 -0
  136. package/dist/types/raw/base/Analytic.d.ts +21 -0
  137. package/dist/types/raw/base/Analytic.js +4 -0
  138. package/dist/types/raw/base/Analytic.js.map +1 -0
  139. package/dist/types/raw/base/Cursor.d.ts +11 -0
  140. package/dist/types/raw/base/Cursor.js +4 -0
  141. package/dist/types/raw/base/Cursor.js.map +1 -0
  142. package/dist/types/raw/base/LimitedVisibilityTweet.d.ts +32 -0
  143. package/dist/types/raw/base/LimitedVisibilityTweet.js +4 -0
  144. package/dist/types/raw/base/LimitedVisibilityTweet.js.map +1 -0
  145. package/dist/types/raw/base/List.d.ts +43 -0
  146. package/dist/types/raw/base/List.js +4 -0
  147. package/dist/types/raw/base/List.js.map +1 -0
  148. package/dist/types/raw/base/Media.d.ts +43 -0
  149. package/dist/types/raw/base/Media.js +4 -0
  150. package/dist/types/raw/base/Media.js.map +1 -0
  151. package/dist/types/raw/base/Notification.d.ts +53 -0
  152. package/dist/types/raw/base/Notification.js +4 -0
  153. package/dist/types/raw/base/Notification.js.map +1 -0
  154. package/dist/types/raw/base/Space.d.ts +32 -0
  155. package/dist/types/raw/base/Space.js +4 -0
  156. package/dist/types/raw/base/Space.js.map +1 -0
  157. package/dist/types/raw/base/Tweet.d.ts +119 -0
  158. package/dist/types/raw/base/Tweet.js +4 -0
  159. package/dist/types/raw/base/Tweet.js.map +1 -0
  160. package/dist/types/raw/base/User.d.ts +140 -0
  161. package/dist/types/raw/base/User.js +4 -0
  162. package/dist/types/raw/base/User.js.map +1 -0
  163. package/dist/types/raw/composite/DataResult.d.ts +8 -0
  164. package/dist/types/raw/composite/DataResult.js +3 -0
  165. package/dist/types/raw/composite/DataResult.js.map +1 -0
  166. package/dist/types/raw/composite/TimelineTweet.d.ts +11 -0
  167. package/dist/types/raw/composite/TimelineTweet.js +4 -0
  168. package/dist/types/raw/composite/TimelineTweet.js.map +1 -0
  169. package/dist/types/raw/composite/TimelineUser.d.ts +10 -0
  170. package/dist/types/raw/composite/TimelineUser.js +4 -0
  171. package/dist/types/raw/composite/TimelineUser.js.map +1 -0
  172. package/dist/types/raw/generic/Error.d.ts +30 -0
  173. package/dist/types/raw/generic/Error.js +3 -0
  174. package/dist/types/raw/generic/Error.js.map +1 -0
  175. package/dist/types/raw/generic/Response.d.ts +12 -0
  176. package/dist/types/raw/generic/Response.js +3 -0
  177. package/dist/types/raw/generic/Response.js.map +1 -0
  178. package/dist/types/raw/list/Details.d.ts +122 -0
  179. package/dist/types/raw/list/Details.js +4 -0
  180. package/dist/types/raw/list/Details.js.map +1 -0
  181. package/dist/types/raw/list/Members.d.ts +134 -0
  182. package/dist/types/raw/list/Members.js +4 -0
  183. package/dist/types/raw/list/Members.js.map +1 -0
  184. package/dist/types/raw/list/Tweets.d.ts +1968 -0
  185. package/dist/types/raw/list/Tweets.js +4 -0
  186. package/dist/types/raw/list/Tweets.js.map +1 -0
  187. package/dist/types/raw/media/FinalizeUpload.d.ts +18 -0
  188. package/dist/types/raw/media/FinalizeUpload.js +4 -0
  189. package/dist/types/raw/media/FinalizeUpload.js.map +1 -0
  190. package/dist/types/raw/media/InitalizeUpload.d.ts +10 -0
  191. package/dist/types/raw/media/InitalizeUpload.js +4 -0
  192. package/dist/types/raw/media/InitalizeUpload.js.map +1 -0
  193. package/dist/types/raw/media/LiveVideoStream.d.ts +19 -0
  194. package/dist/types/raw/media/LiveVideoStream.js +4 -0
  195. package/dist/types/raw/media/LiveVideoStream.js.map +1 -0
  196. package/dist/types/raw/space/Details.d.ts +315 -0
  197. package/dist/types/raw/space/Details.js +4 -0
  198. package/dist/types/raw/space/Details.js.map +1 -0
  199. package/dist/types/raw/tweet/Details.d.ts +183 -0
  200. package/dist/types/raw/tweet/Details.js +4 -0
  201. package/dist/types/raw/tweet/Details.js.map +1 -0
  202. package/dist/types/raw/tweet/Like.d.ts +12 -0
  203. package/dist/types/raw/tweet/Like.js +4 -0
  204. package/dist/types/raw/tweet/Like.js.map +1 -0
  205. package/dist/types/raw/tweet/Likers.d.ts +170 -0
  206. package/dist/types/raw/tweet/Likers.js +4 -0
  207. package/dist/types/raw/tweet/Likers.js.map +1 -0
  208. package/dist/types/raw/tweet/Post.d.ts +133 -0
  209. package/dist/types/raw/tweet/Post.js +4 -0
  210. package/dist/types/raw/tweet/Post.js.map +1 -0
  211. package/dist/types/raw/tweet/Replies.d.ts +465 -0
  212. package/dist/types/raw/tweet/Replies.js +4 -0
  213. package/dist/types/raw/tweet/Replies.js.map +1 -0
  214. package/dist/types/raw/tweet/Retweet.d.ts +25 -0
  215. package/dist/types/raw/tweet/Retweet.js +4 -0
  216. package/dist/types/raw/tweet/Retweet.js.map +1 -0
  217. package/dist/types/raw/tweet/Retweeters.d.ts +177 -0
  218. package/dist/types/raw/tweet/Retweeters.js +4 -0
  219. package/dist/types/raw/tweet/Retweeters.js.map +1 -0
  220. package/dist/types/raw/tweet/Schedule.d.ts +15 -0
  221. package/dist/types/raw/tweet/Schedule.js +4 -0
  222. package/dist/types/raw/tweet/Schedule.js.map +1 -0
  223. package/dist/types/raw/tweet/Search.d.ts +518 -0
  224. package/dist/types/raw/tweet/Search.js +4 -0
  225. package/dist/types/raw/tweet/Search.js.map +1 -0
  226. package/dist/types/raw/tweet/Unlike.d.ts +12 -0
  227. package/dist/types/raw/tweet/Unlike.js +4 -0
  228. package/dist/types/raw/tweet/Unlike.js.map +1 -0
  229. package/dist/types/raw/tweet/Unpost.d.ts +17 -0
  230. package/dist/types/raw/tweet/Unpost.js +4 -0
  231. package/dist/types/raw/tweet/Unpost.js.map +1 -0
  232. package/dist/types/raw/tweet/Unretweet.d.ts +25 -0
  233. package/dist/types/raw/tweet/Unretweet.js +4 -0
  234. package/dist/types/raw/tweet/Unretweet.js.map +1 -0
  235. package/dist/types/raw/tweet/Unschedule.d.ts +12 -0
  236. package/dist/types/raw/tweet/Unschedule.js +4 -0
  237. package/dist/types/raw/tweet/Unschedule.js.map +1 -0
  238. package/dist/types/raw/user/Affiliates.d.ts +154 -0
  239. package/dist/types/raw/user/Affiliates.js +4 -0
  240. package/dist/types/raw/user/Affiliates.js.map +1 -0
  241. package/dist/types/raw/user/Analytics.d.ts +32 -0
  242. package/dist/types/raw/user/Analytics.js +4 -0
  243. package/dist/types/raw/user/Analytics.js.map +1 -0
  244. package/dist/types/raw/user/Bookmarks.d.ts +550 -0
  245. package/dist/types/raw/user/Bookmarks.js +4 -0
  246. package/dist/types/raw/user/Bookmarks.js.map +1 -0
  247. package/dist/types/raw/user/Details.d.ts +157 -0
  248. package/dist/types/raw/user/Details.js +4 -0
  249. package/dist/types/raw/user/Details.js.map +1 -0
  250. package/dist/types/raw/user/Follow.d.ts +248 -0
  251. package/dist/types/raw/user/Follow.js +4 -0
  252. package/dist/types/raw/user/Follow.js.map +1 -0
  253. package/dist/types/raw/user/Followed.d.ts +1666 -0
  254. package/dist/types/raw/user/Followed.js +4 -0
  255. package/dist/types/raw/user/Followed.js.map +1 -0
  256. package/dist/types/raw/user/Followers.d.ts +182 -0
  257. package/dist/types/raw/user/Followers.js +4 -0
  258. package/dist/types/raw/user/Followers.js.map +1 -0
  259. package/dist/types/raw/user/Following.d.ts +182 -0
  260. package/dist/types/raw/user/Following.js +4 -0
  261. package/dist/types/raw/user/Following.js.map +1 -0
  262. package/dist/types/raw/user/Highlights.d.ts +1106 -0
  263. package/dist/types/raw/user/Highlights.js +4 -0
  264. package/dist/types/raw/user/Highlights.js.map +1 -0
  265. package/dist/types/raw/user/Likes.d.ts +1065 -0
  266. package/dist/types/raw/user/Likes.js +4 -0
  267. package/dist/types/raw/user/Likes.js.map +1 -0
  268. package/dist/types/raw/user/Media.d.ts +1492 -0
  269. package/dist/types/raw/user/Media.js +4 -0
  270. package/dist/types/raw/user/Media.js.map +1 -0
  271. package/dist/types/raw/user/Notifications.d.ts +142 -0
  272. package/dist/types/raw/user/Notifications.js +4 -0
  273. package/dist/types/raw/user/Notifications.js.map +1 -0
  274. package/dist/types/raw/user/Recommended.d.ts +1991 -0
  275. package/dist/types/raw/user/Recommended.js +4 -0
  276. package/dist/types/raw/user/Recommended.js.map +1 -0
  277. package/dist/types/raw/user/Scheduled.d.ts +31 -0
  278. package/dist/types/raw/user/Scheduled.js +4 -0
  279. package/dist/types/raw/user/Scheduled.js.map +1 -0
  280. package/dist/types/raw/user/Subscriptions.d.ts +151 -0
  281. package/dist/types/raw/user/Subscriptions.js +4 -0
  282. package/dist/types/raw/user/Subscriptions.js.map +1 -0
  283. package/dist/types/raw/user/Tweets.d.ts +1065 -0
  284. package/dist/types/raw/user/Tweets.js +4 -0
  285. package/dist/types/raw/user/Tweets.js.map +1 -0
  286. package/dist/types/raw/user/TweetsAndReplies.d.ts +1065 -0
  287. package/dist/types/raw/user/TweetsAndReplies.js +4 -0
  288. package/dist/types/raw/user/TweetsAndReplies.js.map +1 -0
  289. package/dist/types/raw/user/Unfollow.d.ts +248 -0
  290. package/dist/types/raw/user/Unfollow.js +4 -0
  291. package/dist/types/raw/user/Unfollow.js.map +1 -0
  292. package/package.json +3 -3
  293. package/src/Rettiwt.ts +22 -7
  294. package/src/collections/Extractors.ts +38 -34
  295. package/src/collections/Groups.ts +3 -0
  296. package/src/collections/Requests.ts +43 -42
  297. package/src/commands/Tweet.ts +35 -7
  298. package/src/commands/User.ts +13 -2
  299. package/src/enums/Authentication.ts +2 -11
  300. package/src/enums/Data.ts +3 -16
  301. package/src/enums/Media.ts +10 -0
  302. package/src/enums/Notification.ts +12 -0
  303. package/src/enums/Resource.ts +3 -0
  304. package/src/enums/raw/Analytics.ts +29 -0
  305. package/src/enums/raw/Media.ts +10 -0
  306. package/src/enums/raw/Notification.ts +11 -0
  307. package/src/enums/raw/Tweet.ts +9 -0
  308. package/src/helper/TidUtils.ts +189 -0
  309. package/src/index.ts +78 -43
  310. package/src/models/RettiwtConfig.ts +64 -0
  311. package/src/models/args/FetchArgs.ts +121 -5
  312. package/src/models/args/PostArgs.ts +61 -21
  313. package/src/models/auth/AuthCookie.ts +2 -0
  314. package/src/models/auth/AuthCredential.ts +2 -0
  315. package/src/models/data/CursoredData.ts +16 -24
  316. package/src/models/data/List.ts +16 -2
  317. package/src/models/data/Notification.ts +21 -12
  318. package/src/models/data/Tweet.ts +120 -39
  319. package/src/models/data/User.ts +71 -15
  320. package/src/models/errors/RettiwtError.ts +3 -2
  321. package/src/models/params/Variables.ts +62 -0
  322. package/src/requests/List.ts +121 -0
  323. package/src/requests/Media.ts +67 -0
  324. package/src/requests/Tweet.ts +496 -0
  325. package/src/requests/User.ts +783 -0
  326. package/src/services/internal/AuthService.ts +6 -11
  327. package/src/services/internal/TidService.ts +147 -0
  328. package/src/services/public/FetcherService.ts +78 -58
  329. package/src/services/public/ListService.ts +4 -4
  330. package/src/services/public/TweetService.ts +87 -40
  331. package/src/services/public/UserService.ts +47 -35
  332. package/src/types/RettiwtConfig.ts +11 -12
  333. package/src/types/args/FetchArgs.ts +92 -8
  334. package/src/types/args/PostArgs.ts +72 -22
  335. package/src/types/auth/AuthCookie.ts +2 -0
  336. package/src/types/auth/AuthCredential.ts +2 -0
  337. package/src/types/auth/TidDynamicArgs.ts +10 -0
  338. package/src/types/auth/TidHeader.ts +12 -0
  339. package/src/types/auth/TidParams.ts +36 -0
  340. package/src/types/auth/TidProvider.ts +19 -0
  341. package/src/types/data/CursoredData.ts +1 -11
  342. package/src/types/data/Notification.ts +2 -2
  343. package/src/types/data/Tweet.ts +2 -2
  344. package/src/types/params/Variables.ts +41 -0
  345. package/src/types/raw/base/Analytic.ts +26 -0
  346. package/src/types/raw/base/Cursor.ts +13 -0
  347. package/src/types/raw/base/LimitedVisibilityTweet.ts +40 -0
  348. package/src/types/raw/base/List.ts +50 -0
  349. package/src/types/raw/base/Media.ts +53 -0
  350. package/src/types/raw/base/Notification.ts +67 -0
  351. package/src/types/raw/base/Space.ts +35 -0
  352. package/src/types/raw/base/Tweet.ts +139 -0
  353. package/src/types/raw/base/User.ts +164 -0
  354. package/src/types/raw/composite/DataResult.ts +8 -0
  355. package/src/types/raw/composite/TimelineTweet.ts +14 -0
  356. package/src/types/raw/composite/TimelineUser.ts +13 -0
  357. package/src/types/raw/generic/Error.ts +35 -0
  358. package/src/types/raw/generic/Response.ts +13 -0
  359. package/src/types/raw/list/Details.ts +137 -0
  360. package/src/types/raw/list/Members.ts +154 -0
  361. package/src/types/raw/list/Tweets.ts +2296 -0
  362. package/src/types/raw/media/FinalizeUpload.ts +20 -0
  363. package/src/types/raw/media/InitalizeUpload.ts +12 -0
  364. package/src/types/raw/media/LiveVideoStream.ts +21 -0
  365. package/src/types/raw/space/Details.ts +359 -0
  366. package/src/types/raw/tweet/Details.ts +210 -0
  367. package/src/types/raw/tweet/Like.ts +14 -0
  368. package/src/types/raw/tweet/Likers.ts +200 -0
  369. package/src/types/raw/tweet/Post.ts +150 -0
  370. package/src/types/raw/tweet/Replies.ts +539 -0
  371. package/src/types/raw/tweet/Retweet.ts +31 -0
  372. package/src/types/raw/tweet/Retweeters.ts +208 -0
  373. package/src/types/raw/tweet/Schedule.ts +18 -0
  374. package/src/types/raw/tweet/Search.ts +597 -0
  375. package/src/types/raw/tweet/Unlike.ts +14 -0
  376. package/src/types/raw/tweet/Unpost.ts +20 -0
  377. package/src/types/raw/tweet/Unretweet.ts +31 -0
  378. package/src/types/raw/tweet/Unschedule.ts +14 -0
  379. package/src/types/raw/user/Affiliates.ts +179 -0
  380. package/src/types/raw/user/Analytics.ts +39 -0
  381. package/src/types/raw/user/Bookmarks.ts +637 -0
  382. package/src/types/raw/user/Details.ts +185 -0
  383. package/src/types/raw/user/Follow.ts +280 -0
  384. package/src/types/raw/user/Followed.ts +1942 -0
  385. package/src/types/raw/user/Followers.ts +215 -0
  386. package/src/types/raw/user/Following.ts +215 -0
  387. package/src/types/raw/user/Highlights.ts +1287 -0
  388. package/src/types/raw/user/Likes.ts +1254 -0
  389. package/src/types/raw/user/Media.ts +1738 -0
  390. package/src/types/raw/user/Notifications.ts +175 -0
  391. package/src/types/raw/user/Recommended.ts +2319 -0
  392. package/src/types/raw/user/Scheduled.ts +37 -0
  393. package/src/types/raw/user/Subscriptions.ts +176 -0
  394. package/src/types/raw/user/Tweets.ts +1254 -0
  395. package/src/types/raw/user/TweetsAndReplies.ts +1254 -0
  396. package/src/types/raw/user/Unfollow.ts +280 -0
  397. package/dist/models/auth/AccountCredential.d.ts +0 -13
  398. package/dist/models/auth/AccountCredential.js +0 -21
  399. package/dist/models/auth/AccountCredential.js.map +0 -1
  400. package/dist/types/ReturnTypes.d.ts +0 -21
  401. package/dist/types/ReturnTypes.js.map +0 -1
  402. package/dist/types/auth/AccountCredential.d.ts +0 -11
  403. package/dist/types/auth/AccountCredential.js.map +0 -1
  404. package/src/models/auth/AccountCredential.ts +0 -19
  405. package/src/types/ReturnTypes.ts +0 -24
  406. package/src/types/auth/AccountCredential.ts +0 -13
@@ -0,0 +1,1666 @@
1
+ /**
2
+ * The raw data received when fetching the followed timeline of the given user.
3
+ *
4
+ * @public
5
+ */
6
+ export interface IUserFollowedResponse {
7
+ data: Data;
8
+ }
9
+ interface Data {
10
+ home: Home;
11
+ }
12
+ interface Home {
13
+ home_timeline_urt: HomeTimelineUrt;
14
+ }
15
+ interface HomeTimelineUrt {
16
+ instructions: Instruction[];
17
+ responseObjects: ResponseObjects;
18
+ metadata: Metadata2;
19
+ }
20
+ interface Instruction {
21
+ type: string;
22
+ entries?: Entry[];
23
+ alertType?: string;
24
+ triggerDelayMs?: number;
25
+ displayDurationMs?: number;
26
+ usersResults?: UsersResult[];
27
+ richText?: RichText;
28
+ iconDisplayInfo?: IconDisplayInfo;
29
+ colorConfig?: ColorConfig;
30
+ displayLocation?: string;
31
+ }
32
+ interface Entry {
33
+ entryId: string;
34
+ sortIndex: string;
35
+ content: Content;
36
+ }
37
+ interface Content {
38
+ entryType: string;
39
+ __typename: string;
40
+ itemContent?: ItemContent;
41
+ feedbackInfo?: FeedbackInfo;
42
+ clientEventInfo?: ClientEventInfo;
43
+ items?: Item[];
44
+ metadata?: Metadata;
45
+ displayType?: string;
46
+ value?: string;
47
+ cursorType?: string;
48
+ }
49
+ interface ItemContent {
50
+ itemType: string;
51
+ __typename: string;
52
+ tweet_results: TweetResults;
53
+ tweetDisplayType: string;
54
+ promotedMetadata?: PromotedMetadata;
55
+ socialContext?: SocialContext;
56
+ }
57
+ interface TweetResults {
58
+ result: Result;
59
+ }
60
+ interface Result {
61
+ __typename: string;
62
+ rest_id?: string;
63
+ core?: Core;
64
+ unmention_data?: UnmentionData;
65
+ edit_control?: EditControl;
66
+ is_translatable?: boolean;
67
+ views?: Views;
68
+ source?: string;
69
+ legacy?: Legacy2;
70
+ note_tweet?: NoteTweet;
71
+ tweet?: Tweet;
72
+ limitedActionResults?: LimitedActionResults;
73
+ card?: Card2;
74
+ previous_counts?: PreviousCounts;
75
+ quoted_status_result?: QuotedStatusResult;
76
+ }
77
+ interface Core {
78
+ user_results: UserResults;
79
+ }
80
+ interface UserResults {
81
+ result: Result2;
82
+ }
83
+ interface Result2 {
84
+ __typename: string;
85
+ id: string;
86
+ rest_id: string;
87
+ affiliates_highlighted_label: AffiliatesHighlightedLabel;
88
+ has_graduated_access: boolean;
89
+ is_blue_verified: boolean;
90
+ profile_image_shape: string;
91
+ legacy: Legacy;
92
+ professional?: Professional;
93
+ tipjar_settings: TipjarSettings;
94
+ verified_phone_status: boolean;
95
+ super_follow_eligible?: boolean;
96
+ }
97
+ interface AffiliatesHighlightedLabel {
98
+ label?: Label;
99
+ }
100
+ interface Label {
101
+ url: Url;
102
+ badge: Badge;
103
+ description: string;
104
+ userLabelType: string;
105
+ userLabelDisplayType: string;
106
+ }
107
+ interface Url {
108
+ url: string;
109
+ urlType: string;
110
+ }
111
+ interface Badge {
112
+ url: string;
113
+ }
114
+ interface Legacy {
115
+ can_dm: boolean;
116
+ can_media_tag: boolean;
117
+ created_at: string;
118
+ default_profile: boolean;
119
+ default_profile_image: boolean;
120
+ description: string;
121
+ entities: Entities;
122
+ fast_followers_count: number;
123
+ favourites_count: number;
124
+ followers_count: number;
125
+ friends_count: number;
126
+ has_custom_timelines: boolean;
127
+ is_translator: boolean;
128
+ listed_count: number;
129
+ location: string;
130
+ media_count: number;
131
+ name: string;
132
+ normal_followers_count: number;
133
+ pinned_tweet_ids_str: string[];
134
+ possibly_sensitive: boolean;
135
+ profile_banner_url: string;
136
+ profile_image_url_https: string;
137
+ profile_interstitial_type: string;
138
+ screen_name: string;
139
+ statuses_count: number;
140
+ translator_type: string;
141
+ url?: string;
142
+ verified: boolean;
143
+ verified_type?: string;
144
+ want_retweets: boolean;
145
+ withheld_in_countries: any[];
146
+ following?: boolean;
147
+ }
148
+ interface Entities {
149
+ description: Description;
150
+ url?: Url3;
151
+ }
152
+ interface Description {
153
+ urls: Url2[];
154
+ }
155
+ interface Url2 {
156
+ display_url: string;
157
+ expanded_url: string;
158
+ url: string;
159
+ indices: number[];
160
+ }
161
+ interface Url3 {
162
+ urls: Url4[];
163
+ }
164
+ interface Url4 {
165
+ display_url: string;
166
+ expanded_url: string;
167
+ url: string;
168
+ indices: number[];
169
+ }
170
+ interface Professional {
171
+ rest_id: string;
172
+ professional_type: string;
173
+ category: Category[];
174
+ }
175
+ interface Category {
176
+ id: number;
177
+ name: string;
178
+ icon_name: string;
179
+ }
180
+ interface TipjarSettings {
181
+ }
182
+ interface UnmentionData {
183
+ }
184
+ interface EditControl {
185
+ edit_tweet_ids?: string[];
186
+ editable_until_msecs?: string;
187
+ is_edit_eligible?: boolean;
188
+ edits_remaining?: string;
189
+ initial_tweet_id?: string;
190
+ edit_control_initial?: EditControlInitial;
191
+ }
192
+ interface EditControlInitial {
193
+ edit_tweet_ids: string[];
194
+ editable_until_msecs: string;
195
+ is_edit_eligible: boolean;
196
+ edits_remaining: string;
197
+ }
198
+ interface Views {
199
+ count: string;
200
+ state: string;
201
+ }
202
+ interface Legacy2 {
203
+ bookmark_count: number;
204
+ bookmarked: boolean;
205
+ created_at: string;
206
+ conversation_id_str: string;
207
+ display_text_range: number[];
208
+ entities: Entities2;
209
+ extended_entities?: ExtendedEntities;
210
+ favorite_count: number;
211
+ favorited: boolean;
212
+ full_text: string;
213
+ is_quote_status: boolean;
214
+ lang: string;
215
+ possibly_sensitive?: boolean;
216
+ possibly_sensitive_editable?: boolean;
217
+ quote_count: number;
218
+ reply_count: number;
219
+ retweet_count: number;
220
+ retweeted: boolean;
221
+ user_id_str: string;
222
+ id_str: string;
223
+ scopes?: Scopes;
224
+ quoted_status_id_str?: string;
225
+ quoted_status_permalink?: QuotedStatusPermalink;
226
+ }
227
+ interface Entities2 {
228
+ hashtags: Hashtag[];
229
+ media?: Medum[];
230
+ symbols: any[];
231
+ timestamps: any[];
232
+ urls: Url5[];
233
+ user_mentions: UserMention[];
234
+ }
235
+ interface Hashtag {
236
+ indices: number[];
237
+ text: string;
238
+ }
239
+ interface Medum {
240
+ display_url: string;
241
+ expanded_url: string;
242
+ id_str: string;
243
+ indices: number[];
244
+ media_key: string;
245
+ media_url_https: string;
246
+ type: string;
247
+ url: string;
248
+ ext_media_availability: ExtMediaAvailability;
249
+ features?: Features;
250
+ sizes: Sizes;
251
+ original_info: OriginalInfo;
252
+ media_results: MediaResults;
253
+ additional_media_info?: AdditionalMediaInfo;
254
+ video_info?: VideoInfo;
255
+ allow_download_status?: AllowDownloadStatus;
256
+ ext_alt_text?: string;
257
+ }
258
+ interface ExtMediaAvailability {
259
+ status: string;
260
+ }
261
+ interface Features {
262
+ large: Large;
263
+ medium: Medium;
264
+ small: Small;
265
+ orig: Orig;
266
+ all?: All;
267
+ }
268
+ interface Large {
269
+ faces: Face[];
270
+ }
271
+ interface Face {
272
+ x: number;
273
+ y: number;
274
+ h: number;
275
+ w: number;
276
+ }
277
+ interface Medium {
278
+ faces: Face2[];
279
+ }
280
+ interface Face2 {
281
+ x: number;
282
+ y: number;
283
+ h: number;
284
+ w: number;
285
+ }
286
+ interface Small {
287
+ faces: Face3[];
288
+ }
289
+ interface Face3 {
290
+ x: number;
291
+ y: number;
292
+ h: number;
293
+ w: number;
294
+ }
295
+ interface Orig {
296
+ faces: Face4[];
297
+ }
298
+ interface Face4 {
299
+ x: number;
300
+ y: number;
301
+ h: number;
302
+ w: number;
303
+ }
304
+ interface All {
305
+ tags: Tag[];
306
+ }
307
+ interface Tag {
308
+ user_id: string;
309
+ name: string;
310
+ screen_name: string;
311
+ type: string;
312
+ }
313
+ interface Sizes {
314
+ large: Large2;
315
+ medium: Medium2;
316
+ small: Small2;
317
+ thumb: Thumb;
318
+ }
319
+ interface Large2 {
320
+ h: number;
321
+ w: number;
322
+ resize: string;
323
+ }
324
+ interface Medium2 {
325
+ h: number;
326
+ w: number;
327
+ resize: string;
328
+ }
329
+ interface Small2 {
330
+ h: number;
331
+ w: number;
332
+ resize: string;
333
+ }
334
+ interface Thumb {
335
+ h: number;
336
+ w: number;
337
+ resize: string;
338
+ }
339
+ interface OriginalInfo {
340
+ height: number;
341
+ width: number;
342
+ focus_rects: FocusRect[];
343
+ }
344
+ interface FocusRect {
345
+ x: number;
346
+ y: number;
347
+ w: number;
348
+ h: number;
349
+ }
350
+ interface MediaResults {
351
+ result: Result3;
352
+ }
353
+ interface Result3 {
354
+ media_key: string;
355
+ }
356
+ interface AdditionalMediaInfo {
357
+ monetizable: boolean;
358
+ }
359
+ interface VideoInfo {
360
+ aspect_ratio: number[];
361
+ duration_millis?: number;
362
+ variants: Variant[];
363
+ }
364
+ interface Variant {
365
+ bitrate?: number;
366
+ content_type: string;
367
+ url: string;
368
+ }
369
+ interface AllowDownloadStatus {
370
+ allow_download: boolean;
371
+ }
372
+ interface Url5 {
373
+ display_url: string;
374
+ expanded_url: string;
375
+ url: string;
376
+ indices: number[];
377
+ }
378
+ interface UserMention {
379
+ id_str: string;
380
+ name: string;
381
+ screen_name: string;
382
+ indices: number[];
383
+ }
384
+ interface ExtendedEntities {
385
+ media: Medum2[];
386
+ }
387
+ interface Medum2 {
388
+ display_url: string;
389
+ expanded_url: string;
390
+ id_str: string;
391
+ indices: number[];
392
+ media_key: string;
393
+ media_url_https: string;
394
+ type: string;
395
+ url: string;
396
+ ext_media_availability: ExtMediaAvailability2;
397
+ features?: Features2;
398
+ sizes: Sizes2;
399
+ original_info: OriginalInfo2;
400
+ media_results: MediaResults2;
401
+ additional_media_info?: AdditionalMediaInfo2;
402
+ video_info?: VideoInfo2;
403
+ allow_download_status?: AllowDownloadStatus2;
404
+ ext_alt_text?: string;
405
+ }
406
+ interface ExtMediaAvailability2 {
407
+ status: string;
408
+ }
409
+ interface Features2 {
410
+ large: Large3;
411
+ medium: Medium3;
412
+ small: Small3;
413
+ orig: Orig2;
414
+ all?: All2;
415
+ }
416
+ interface Large3 {
417
+ faces: Face5[];
418
+ }
419
+ interface Face5 {
420
+ x: number;
421
+ y: number;
422
+ h: number;
423
+ w: number;
424
+ }
425
+ interface Medium3 {
426
+ faces: Face6[];
427
+ }
428
+ interface Face6 {
429
+ x: number;
430
+ y: number;
431
+ h: number;
432
+ w: number;
433
+ }
434
+ interface Small3 {
435
+ faces: Face7[];
436
+ }
437
+ interface Face7 {
438
+ x: number;
439
+ y: number;
440
+ h: number;
441
+ w: number;
442
+ }
443
+ interface Orig2 {
444
+ faces: Face8[];
445
+ }
446
+ interface Face8 {
447
+ x: number;
448
+ y: number;
449
+ h: number;
450
+ w: number;
451
+ }
452
+ interface All2 {
453
+ tags: Tag2[];
454
+ }
455
+ interface Tag2 {
456
+ user_id: string;
457
+ name: string;
458
+ screen_name: string;
459
+ type: string;
460
+ }
461
+ interface Sizes2 {
462
+ large: Large4;
463
+ medium: Medium4;
464
+ small: Small4;
465
+ thumb: Thumb2;
466
+ }
467
+ interface Large4 {
468
+ h: number;
469
+ w: number;
470
+ resize: string;
471
+ }
472
+ interface Medium4 {
473
+ h: number;
474
+ w: number;
475
+ resize: string;
476
+ }
477
+ interface Small4 {
478
+ h: number;
479
+ w: number;
480
+ resize: string;
481
+ }
482
+ interface Thumb2 {
483
+ h: number;
484
+ w: number;
485
+ resize: string;
486
+ }
487
+ interface OriginalInfo2 {
488
+ height: number;
489
+ width: number;
490
+ focus_rects: FocusRect2[];
491
+ }
492
+ interface FocusRect2 {
493
+ x: number;
494
+ y: number;
495
+ w: number;
496
+ h: number;
497
+ }
498
+ interface MediaResults2 {
499
+ result: Result4;
500
+ }
501
+ interface Result4 {
502
+ media_key: string;
503
+ }
504
+ interface AdditionalMediaInfo2 {
505
+ monetizable: boolean;
506
+ }
507
+ interface VideoInfo2 {
508
+ aspect_ratio: number[];
509
+ duration_millis?: number;
510
+ variants: Variant2[];
511
+ }
512
+ interface Variant2 {
513
+ bitrate?: number;
514
+ content_type: string;
515
+ url: string;
516
+ }
517
+ interface AllowDownloadStatus2 {
518
+ allow_download: boolean;
519
+ }
520
+ interface Scopes {
521
+ followers: boolean;
522
+ }
523
+ interface QuotedStatusPermalink {
524
+ url: string;
525
+ expanded: string;
526
+ display: string;
527
+ }
528
+ interface NoteTweet {
529
+ is_expandable: boolean;
530
+ note_tweet_results: NoteTweetResults;
531
+ }
532
+ interface NoteTweetResults {
533
+ result: Result5;
534
+ }
535
+ interface Result5 {
536
+ id: string;
537
+ text: string;
538
+ entity_set: EntitySet;
539
+ richtext?: Richtext;
540
+ media?: Media;
541
+ }
542
+ interface EntitySet {
543
+ hashtags: Hashtag2[];
544
+ symbols: any[];
545
+ urls: Url6[];
546
+ user_mentions: UserMention2[];
547
+ timestamps?: any[];
548
+ }
549
+ interface Hashtag2 {
550
+ indices: number[];
551
+ text: string;
552
+ }
553
+ interface Url6 {
554
+ display_url: string;
555
+ expanded_url: string;
556
+ url: string;
557
+ indices: number[];
558
+ }
559
+ interface UserMention2 {
560
+ id_str: string;
561
+ name: string;
562
+ screen_name: string;
563
+ indices: number[];
564
+ }
565
+ interface Richtext {
566
+ richtext_tags: RichtextTag[];
567
+ }
568
+ interface RichtextTag {
569
+ from_index: number;
570
+ to_index: number;
571
+ richtext_types: string[];
572
+ }
573
+ interface Media {
574
+ inline_media: InlineMedum[];
575
+ }
576
+ interface InlineMedum {
577
+ media_id: string;
578
+ index: number;
579
+ }
580
+ interface Tweet {
581
+ rest_id: string;
582
+ core: Core2;
583
+ card: Card;
584
+ unmention_data: UnmentionData2;
585
+ edit_control: EditControl2;
586
+ is_translatable: boolean;
587
+ views: Views2;
588
+ source: string;
589
+ legacy: Legacy5;
590
+ }
591
+ interface Core2 {
592
+ user_results: UserResults2;
593
+ }
594
+ interface UserResults2 {
595
+ result: Result6;
596
+ }
597
+ interface Result6 {
598
+ __typename: string;
599
+ id: string;
600
+ rest_id: string;
601
+ affiliates_highlighted_label: AffiliatesHighlightedLabel2;
602
+ has_graduated_access: boolean;
603
+ is_blue_verified: boolean;
604
+ profile_image_shape: string;
605
+ legacy: Legacy3;
606
+ professional: Professional2;
607
+ tipjar_settings: TipjarSettings2;
608
+ verified_phone_status: boolean;
609
+ }
610
+ interface AffiliatesHighlightedLabel2 {
611
+ }
612
+ interface Legacy3 {
613
+ can_dm: boolean;
614
+ can_media_tag: boolean;
615
+ created_at: string;
616
+ default_profile: boolean;
617
+ default_profile_image: boolean;
618
+ description: string;
619
+ entities: Entities3;
620
+ fast_followers_count: number;
621
+ favourites_count: number;
622
+ followers_count: number;
623
+ friends_count: number;
624
+ has_custom_timelines: boolean;
625
+ is_translator: boolean;
626
+ listed_count: number;
627
+ location: string;
628
+ media_count: number;
629
+ name: string;
630
+ normal_followers_count: number;
631
+ pinned_tweet_ids_str: string[];
632
+ possibly_sensitive: boolean;
633
+ profile_banner_url: string;
634
+ profile_image_url_https: string;
635
+ profile_interstitial_type: string;
636
+ screen_name: string;
637
+ statuses_count: number;
638
+ translator_type: string;
639
+ url: string;
640
+ verified: boolean;
641
+ want_retweets: boolean;
642
+ withheld_in_countries: any[];
643
+ }
644
+ interface Entities3 {
645
+ description: Description2;
646
+ url: Url8;
647
+ }
648
+ interface Description2 {
649
+ urls: Url7[];
650
+ }
651
+ interface Url7 {
652
+ display_url: string;
653
+ expanded_url: string;
654
+ url: string;
655
+ indices: number[];
656
+ }
657
+ interface Url8 {
658
+ urls: Url9[];
659
+ }
660
+ interface Url9 {
661
+ display_url: string;
662
+ expanded_url: string;
663
+ url: string;
664
+ indices: number[];
665
+ }
666
+ interface Professional2 {
667
+ rest_id: string;
668
+ professional_type: string;
669
+ category: any[];
670
+ }
671
+ interface TipjarSettings2 {
672
+ }
673
+ interface Card {
674
+ rest_id: string;
675
+ legacy: Legacy4;
676
+ }
677
+ interface Legacy4 {
678
+ binding_values: BindingValue[];
679
+ card_platform: CardPlatform;
680
+ name: string;
681
+ url: string;
682
+ user_refs_results: any[];
683
+ }
684
+ interface BindingValue {
685
+ key: string;
686
+ value: Value;
687
+ }
688
+ interface Value {
689
+ string_value: string;
690
+ type: string;
691
+ scribe_key?: string;
692
+ }
693
+ interface CardPlatform {
694
+ platform: Platform;
695
+ }
696
+ interface Platform {
697
+ audience: Audience;
698
+ device: Device;
699
+ }
700
+ interface Audience {
701
+ name: string;
702
+ }
703
+ interface Device {
704
+ name: string;
705
+ version: string;
706
+ }
707
+ interface UnmentionData2 {
708
+ }
709
+ interface EditControl2 {
710
+ edit_tweet_ids: string[];
711
+ editable_until_msecs: string;
712
+ is_edit_eligible: boolean;
713
+ edits_remaining: string;
714
+ }
715
+ interface Views2 {
716
+ count: string;
717
+ state: string;
718
+ }
719
+ interface Legacy5 {
720
+ bookmark_count: number;
721
+ bookmarked: boolean;
722
+ created_at: string;
723
+ conversation_control: ConversationControl;
724
+ conversation_id_str: string;
725
+ display_text_range: number[];
726
+ entities: Entities4;
727
+ favorite_count: number;
728
+ favorited: boolean;
729
+ full_text: string;
730
+ is_quote_status: boolean;
731
+ lang: string;
732
+ limited_actions: string;
733
+ possibly_sensitive: boolean;
734
+ possibly_sensitive_editable: boolean;
735
+ quote_count: number;
736
+ reply_count: number;
737
+ retweet_count: number;
738
+ retweeted: boolean;
739
+ scopes: Scopes2;
740
+ user_id_str: string;
741
+ id_str: string;
742
+ }
743
+ interface ConversationControl {
744
+ policy: string;
745
+ conversation_owner_results: ConversationOwnerResults;
746
+ }
747
+ interface ConversationOwnerResults {
748
+ result: Result7;
749
+ }
750
+ interface Result7 {
751
+ __typename: string;
752
+ legacy: Legacy6;
753
+ }
754
+ interface Legacy6 {
755
+ screen_name: string;
756
+ }
757
+ interface Entities4 {
758
+ hashtags: any[];
759
+ symbols: any[];
760
+ timestamps: any[];
761
+ urls: Url10[];
762
+ user_mentions: any[];
763
+ }
764
+ interface Url10 {
765
+ display_url: string;
766
+ expanded_url: string;
767
+ url: string;
768
+ indices: number[];
769
+ }
770
+ interface Scopes2 {
771
+ followers: boolean;
772
+ }
773
+ interface LimitedActionResults {
774
+ limited_actions: LimitedAction[];
775
+ }
776
+ interface LimitedAction {
777
+ action: string;
778
+ prompt: Prompt;
779
+ }
780
+ interface Prompt {
781
+ __typename: string;
782
+ cta_type: string;
783
+ headline: Headline;
784
+ subtext: Subtext;
785
+ }
786
+ interface Headline {
787
+ text: string;
788
+ entities: any[];
789
+ }
790
+ interface Subtext {
791
+ text: string;
792
+ entities: any[];
793
+ }
794
+ interface Card2 {
795
+ rest_id: string;
796
+ legacy: Legacy7;
797
+ }
798
+ interface Legacy7 {
799
+ binding_values: BindingValue2[];
800
+ card_platform: CardPlatform2;
801
+ name: string;
802
+ url: string;
803
+ user_refs_results: any[];
804
+ }
805
+ interface BindingValue2 {
806
+ key: string;
807
+ value: Value2;
808
+ }
809
+ interface Value2 {
810
+ string_value: string;
811
+ type: string;
812
+ scribe_key?: string;
813
+ }
814
+ interface CardPlatform2 {
815
+ platform: Platform2;
816
+ }
817
+ interface Platform2 {
818
+ audience: Audience2;
819
+ device: Device2;
820
+ }
821
+ interface Audience2 {
822
+ name: string;
823
+ }
824
+ interface Device2 {
825
+ name: string;
826
+ version: string;
827
+ }
828
+ interface PreviousCounts {
829
+ bookmark_count: number;
830
+ favorite_count: number;
831
+ quote_count: number;
832
+ reply_count: number;
833
+ retweet_count: number;
834
+ }
835
+ interface QuotedStatusResult {
836
+ result: Result8;
837
+ }
838
+ interface Result8 {
839
+ __typename: string;
840
+ rest_id: string;
841
+ core: Core3;
842
+ unmention_data: UnmentionData3;
843
+ edit_control: EditControl3;
844
+ is_translatable: boolean;
845
+ views: Views3;
846
+ source: string;
847
+ note_tweet: NoteTweet2;
848
+ legacy: Legacy9;
849
+ }
850
+ interface Core3 {
851
+ user_results: UserResults3;
852
+ }
853
+ interface UserResults3 {
854
+ result: Result9;
855
+ }
856
+ interface Result9 {
857
+ __typename: string;
858
+ id: string;
859
+ rest_id: string;
860
+ affiliates_highlighted_label: AffiliatesHighlightedLabel3;
861
+ has_graduated_access: boolean;
862
+ is_blue_verified: boolean;
863
+ profile_image_shape: string;
864
+ legacy: Legacy8;
865
+ tipjar_settings: TipjarSettings3;
866
+ verified_phone_status: boolean;
867
+ }
868
+ interface AffiliatesHighlightedLabel3 {
869
+ label: Label2;
870
+ }
871
+ interface Label2 {
872
+ url: Url11;
873
+ badge: Badge2;
874
+ description: string;
875
+ userLabelType: string;
876
+ userLabelDisplayType: string;
877
+ }
878
+ interface Url11 {
879
+ url: string;
880
+ urlType: string;
881
+ }
882
+ interface Badge2 {
883
+ url: string;
884
+ }
885
+ interface Legacy8 {
886
+ can_dm: boolean;
887
+ can_media_tag: boolean;
888
+ created_at: string;
889
+ default_profile: boolean;
890
+ default_profile_image: boolean;
891
+ description: string;
892
+ entities: Entities5;
893
+ fast_followers_count: number;
894
+ favourites_count: number;
895
+ followers_count: number;
896
+ friends_count: number;
897
+ has_custom_timelines: boolean;
898
+ is_translator: boolean;
899
+ listed_count: number;
900
+ location: string;
901
+ media_count: number;
902
+ name: string;
903
+ normal_followers_count: number;
904
+ pinned_tweet_ids_str: any[];
905
+ possibly_sensitive: boolean;
906
+ profile_banner_url: string;
907
+ profile_image_url_https: string;
908
+ profile_interstitial_type: string;
909
+ screen_name: string;
910
+ statuses_count: number;
911
+ translator_type: string;
912
+ verified: boolean;
913
+ verified_type: string;
914
+ want_retweets: boolean;
915
+ withheld_in_countries: any[];
916
+ }
917
+ interface Entities5 {
918
+ description: Description3;
919
+ }
920
+ interface Description3 {
921
+ urls: any[];
922
+ }
923
+ interface TipjarSettings3 {
924
+ }
925
+ interface UnmentionData3 {
926
+ }
927
+ interface EditControl3 {
928
+ edit_tweet_ids: string[];
929
+ editable_until_msecs: string;
930
+ is_edit_eligible: boolean;
931
+ edits_remaining: string;
932
+ }
933
+ interface Views3 {
934
+ count: string;
935
+ state: string;
936
+ }
937
+ interface NoteTweet2 {
938
+ is_expandable: boolean;
939
+ note_tweet_results: NoteTweetResults2;
940
+ }
941
+ interface NoteTweetResults2 {
942
+ result: Result10;
943
+ }
944
+ interface Result10 {
945
+ id: string;
946
+ text: string;
947
+ entity_set: EntitySet2;
948
+ }
949
+ interface EntitySet2 {
950
+ hashtags: any[];
951
+ symbols: any[];
952
+ urls: any[];
953
+ user_mentions: any[];
954
+ }
955
+ interface Legacy9 {
956
+ bookmark_count: number;
957
+ bookmarked: boolean;
958
+ created_at: string;
959
+ conversation_id_str: string;
960
+ display_text_range: number[];
961
+ entities: Entities6;
962
+ favorite_count: number;
963
+ favorited: boolean;
964
+ full_text: string;
965
+ is_quote_status: boolean;
966
+ lang: string;
967
+ quote_count: number;
968
+ reply_count: number;
969
+ retweet_count: number;
970
+ retweeted: boolean;
971
+ user_id_str: string;
972
+ id_str: string;
973
+ }
974
+ interface Entities6 {
975
+ hashtags: any[];
976
+ symbols: any[];
977
+ timestamps: any[];
978
+ urls: any[];
979
+ user_mentions: any[];
980
+ }
981
+ interface PromotedMetadata {
982
+ advertiser_results: AdvertiserResults;
983
+ adMetadataContainer: AdMetadataContainer;
984
+ disclosureType: string;
985
+ experimentValues: ExperimentValue[];
986
+ impressionId: string;
987
+ impressionString: string;
988
+ clickTrackingInfo: ClickTrackingInfo;
989
+ }
990
+ interface AdvertiserResults {
991
+ result: Result11;
992
+ }
993
+ interface Result11 {
994
+ __typename: string;
995
+ id: string;
996
+ rest_id: string;
997
+ affiliates_highlighted_label: AffiliatesHighlightedLabel4;
998
+ has_graduated_access: boolean;
999
+ is_blue_verified: boolean;
1000
+ profile_image_shape: string;
1001
+ legacy: Legacy10;
1002
+ tipjar_settings: TipjarSettings4;
1003
+ verified_phone_status: boolean;
1004
+ professional?: Professional3;
1005
+ }
1006
+ interface AffiliatesHighlightedLabel4 {
1007
+ }
1008
+ interface Legacy10 {
1009
+ can_dm: boolean;
1010
+ can_media_tag: boolean;
1011
+ created_at: string;
1012
+ default_profile: boolean;
1013
+ default_profile_image: boolean;
1014
+ description: string;
1015
+ entities: Entities7;
1016
+ fast_followers_count: number;
1017
+ favourites_count: number;
1018
+ followers_count: number;
1019
+ friends_count: number;
1020
+ has_custom_timelines: boolean;
1021
+ is_translator: boolean;
1022
+ listed_count: number;
1023
+ location: string;
1024
+ media_count: number;
1025
+ name: string;
1026
+ normal_followers_count: number;
1027
+ pinned_tweet_ids_str: string[];
1028
+ possibly_sensitive: boolean;
1029
+ profile_banner_url: string;
1030
+ profile_image_url_https: string;
1031
+ profile_interstitial_type: string;
1032
+ screen_name: string;
1033
+ statuses_count: number;
1034
+ translator_type: string;
1035
+ url: string;
1036
+ verified: boolean;
1037
+ want_retweets: boolean;
1038
+ withheld_in_countries: any[];
1039
+ verified_type?: string;
1040
+ }
1041
+ interface Entities7 {
1042
+ description: Description4;
1043
+ url: Url13;
1044
+ }
1045
+ interface Description4 {
1046
+ urls: Url12[];
1047
+ }
1048
+ interface Url12 {
1049
+ display_url: string;
1050
+ expanded_url: string;
1051
+ url: string;
1052
+ indices: number[];
1053
+ }
1054
+ interface Url13 {
1055
+ urls: Url14[];
1056
+ }
1057
+ interface Url14 {
1058
+ display_url: string;
1059
+ expanded_url: string;
1060
+ url: string;
1061
+ indices: number[];
1062
+ }
1063
+ interface TipjarSettings4 {
1064
+ }
1065
+ interface Professional3 {
1066
+ rest_id: string;
1067
+ professional_type: string;
1068
+ category: Category2[];
1069
+ }
1070
+ interface Category2 {
1071
+ id: number;
1072
+ name: string;
1073
+ icon_name: string;
1074
+ }
1075
+ interface AdMetadataContainer {
1076
+ renderLegacyWebsiteCard: boolean;
1077
+ }
1078
+ interface ExperimentValue {
1079
+ key: string;
1080
+ value: string;
1081
+ }
1082
+ interface ClickTrackingInfo {
1083
+ urlParams: UrlParam[];
1084
+ }
1085
+ interface UrlParam {
1086
+ key: string;
1087
+ value: string;
1088
+ }
1089
+ interface SocialContext {
1090
+ type: string;
1091
+ contextType: string;
1092
+ text: string;
1093
+ landingUrl: LandingUrl;
1094
+ }
1095
+ interface LandingUrl {
1096
+ url: string;
1097
+ urlType: string;
1098
+ }
1099
+ interface FeedbackInfo {
1100
+ feedbackKeys: string[];
1101
+ }
1102
+ interface ClientEventInfo {
1103
+ component: string;
1104
+ element?: string;
1105
+ details: Details;
1106
+ }
1107
+ interface Details {
1108
+ timelinesDetails: TimelinesDetails;
1109
+ }
1110
+ interface TimelinesDetails {
1111
+ injectionType: string;
1112
+ controllerData: string;
1113
+ }
1114
+ interface Item {
1115
+ entryId: string;
1116
+ item: Item2;
1117
+ }
1118
+ interface Item2 {
1119
+ itemContent: ItemContent2;
1120
+ feedbackInfo: FeedbackInfo2;
1121
+ clientEventInfo: ClientEventInfo2;
1122
+ }
1123
+ interface ItemContent2 {
1124
+ itemType: string;
1125
+ __typename: string;
1126
+ tweet_results: TweetResults2;
1127
+ tweetDisplayType: string;
1128
+ }
1129
+ interface TweetResults2 {
1130
+ result: Result12;
1131
+ }
1132
+ interface Result12 {
1133
+ __typename: string;
1134
+ rest_id: string;
1135
+ core: Core4;
1136
+ unmention_data: UnmentionData4;
1137
+ edit_control: EditControl4;
1138
+ is_translatable: boolean;
1139
+ views: Views4;
1140
+ source: string;
1141
+ legacy: Legacy12;
1142
+ }
1143
+ interface Core4 {
1144
+ user_results: UserResults4;
1145
+ }
1146
+ interface UserResults4 {
1147
+ result: Result13;
1148
+ }
1149
+ interface Result13 {
1150
+ __typename: string;
1151
+ id: string;
1152
+ rest_id: string;
1153
+ affiliates_highlighted_label: AffiliatesHighlightedLabel5;
1154
+ has_graduated_access: boolean;
1155
+ is_blue_verified: boolean;
1156
+ profile_image_shape: string;
1157
+ legacy: Legacy11;
1158
+ professional?: Professional4;
1159
+ tipjar_settings: TipjarSettings5;
1160
+ super_follow_eligible?: boolean;
1161
+ verified_phone_status: boolean;
1162
+ }
1163
+ interface AffiliatesHighlightedLabel5 {
1164
+ }
1165
+ interface Legacy11 {
1166
+ can_dm: boolean;
1167
+ can_media_tag: boolean;
1168
+ created_at: string;
1169
+ default_profile: boolean;
1170
+ default_profile_image: boolean;
1171
+ description: string;
1172
+ entities: Entities8;
1173
+ fast_followers_count: number;
1174
+ favourites_count: number;
1175
+ followers_count: number;
1176
+ friends_count: number;
1177
+ has_custom_timelines: boolean;
1178
+ is_translator: boolean;
1179
+ listed_count: number;
1180
+ location: string;
1181
+ media_count: number;
1182
+ name: string;
1183
+ normal_followers_count: number;
1184
+ pinned_tweet_ids_str: string[];
1185
+ possibly_sensitive: boolean;
1186
+ profile_banner_url: string;
1187
+ profile_image_url_https: string;
1188
+ profile_interstitial_type: string;
1189
+ screen_name: string;
1190
+ statuses_count: number;
1191
+ translator_type: string;
1192
+ url?: string;
1193
+ verified: boolean;
1194
+ verified_type?: string;
1195
+ want_retweets: boolean;
1196
+ withheld_in_countries: any[];
1197
+ following?: boolean;
1198
+ }
1199
+ interface Entities8 {
1200
+ description: Description5;
1201
+ url?: Url15;
1202
+ }
1203
+ interface Description5 {
1204
+ urls: any[];
1205
+ }
1206
+ interface Url15 {
1207
+ urls: Url16[];
1208
+ }
1209
+ interface Url16 {
1210
+ display_url: string;
1211
+ expanded_url: string;
1212
+ url: string;
1213
+ indices: number[];
1214
+ }
1215
+ interface Professional4 {
1216
+ rest_id: string;
1217
+ professional_type: string;
1218
+ category: Category3[];
1219
+ }
1220
+ interface Category3 {
1221
+ id: number;
1222
+ name: string;
1223
+ icon_name: string;
1224
+ }
1225
+ interface TipjarSettings5 {
1226
+ is_enabled?: boolean;
1227
+ }
1228
+ interface UnmentionData4 {
1229
+ }
1230
+ interface EditControl4 {
1231
+ edit_tweet_ids: string[];
1232
+ editable_until_msecs: string;
1233
+ is_edit_eligible: boolean;
1234
+ edits_remaining: string;
1235
+ }
1236
+ interface Views4 {
1237
+ count: string;
1238
+ state: string;
1239
+ }
1240
+ interface Legacy12 {
1241
+ bookmark_count: number;
1242
+ bookmarked: boolean;
1243
+ created_at: string;
1244
+ conversation_id_str: string;
1245
+ display_text_range: number[];
1246
+ entities: Entities9;
1247
+ extended_entities?: ExtendedEntities2;
1248
+ favorite_count: number;
1249
+ favorited: boolean;
1250
+ full_text: string;
1251
+ is_quote_status: boolean;
1252
+ lang: string;
1253
+ possibly_sensitive?: boolean;
1254
+ possibly_sensitive_editable?: boolean;
1255
+ quote_count: number;
1256
+ reply_count: number;
1257
+ retweet_count: number;
1258
+ retweeted: boolean;
1259
+ user_id_str: string;
1260
+ id_str: string;
1261
+ in_reply_to_screen_name?: string;
1262
+ in_reply_to_status_id_str?: string;
1263
+ in_reply_to_user_id_str?: string;
1264
+ }
1265
+ interface Entities9 {
1266
+ hashtags: any[];
1267
+ media?: Medum3[];
1268
+ symbols: any[];
1269
+ timestamps: any[];
1270
+ urls: any[];
1271
+ user_mentions: UserMention3[];
1272
+ }
1273
+ interface Medum3 {
1274
+ display_url: string;
1275
+ expanded_url: string;
1276
+ id_str: string;
1277
+ indices: number[];
1278
+ media_key: string;
1279
+ media_url_https: string;
1280
+ type: string;
1281
+ url: string;
1282
+ ext_media_availability: ExtMediaAvailability3;
1283
+ features: Features3;
1284
+ sizes: Sizes3;
1285
+ original_info: OriginalInfo3;
1286
+ allow_download_status: AllowDownloadStatus3;
1287
+ media_results: MediaResults3;
1288
+ ext_alt_text?: string;
1289
+ }
1290
+ interface ExtMediaAvailability3 {
1291
+ status: string;
1292
+ }
1293
+ interface Features3 {
1294
+ all: All3;
1295
+ large: Large5;
1296
+ medium: Medium5;
1297
+ small: Small5;
1298
+ orig: Orig3;
1299
+ }
1300
+ interface All3 {
1301
+ tags: Tag3[];
1302
+ }
1303
+ interface Tag3 {
1304
+ user_id: string;
1305
+ name: string;
1306
+ screen_name: string;
1307
+ type: string;
1308
+ }
1309
+ interface Large5 {
1310
+ faces: Face9[];
1311
+ }
1312
+ interface Face9 {
1313
+ x: number;
1314
+ y: number;
1315
+ h: number;
1316
+ w: number;
1317
+ }
1318
+ interface Medium5 {
1319
+ faces: Face10[];
1320
+ }
1321
+ interface Face10 {
1322
+ x: number;
1323
+ y: number;
1324
+ h: number;
1325
+ w: number;
1326
+ }
1327
+ interface Small5 {
1328
+ faces: Face11[];
1329
+ }
1330
+ interface Face11 {
1331
+ x: number;
1332
+ y: number;
1333
+ h: number;
1334
+ w: number;
1335
+ }
1336
+ interface Orig3 {
1337
+ faces: Face12[];
1338
+ }
1339
+ interface Face12 {
1340
+ x: number;
1341
+ y: number;
1342
+ h: number;
1343
+ w: number;
1344
+ }
1345
+ interface Sizes3 {
1346
+ large: Large6;
1347
+ medium: Medium6;
1348
+ small: Small6;
1349
+ thumb: Thumb3;
1350
+ }
1351
+ interface Large6 {
1352
+ h: number;
1353
+ w: number;
1354
+ resize: string;
1355
+ }
1356
+ interface Medium6 {
1357
+ h: number;
1358
+ w: number;
1359
+ resize: string;
1360
+ }
1361
+ interface Small6 {
1362
+ h: number;
1363
+ w: number;
1364
+ resize: string;
1365
+ }
1366
+ interface Thumb3 {
1367
+ h: number;
1368
+ w: number;
1369
+ resize: string;
1370
+ }
1371
+ interface OriginalInfo3 {
1372
+ height: number;
1373
+ width: number;
1374
+ focus_rects: FocusRect3[];
1375
+ }
1376
+ interface FocusRect3 {
1377
+ x: number;
1378
+ y: number;
1379
+ w: number;
1380
+ h: number;
1381
+ }
1382
+ interface AllowDownloadStatus3 {
1383
+ allow_download: boolean;
1384
+ }
1385
+ interface MediaResults3 {
1386
+ result: Result14;
1387
+ }
1388
+ interface Result14 {
1389
+ media_key: string;
1390
+ }
1391
+ interface UserMention3 {
1392
+ id_str: string;
1393
+ name: string;
1394
+ screen_name: string;
1395
+ indices: number[];
1396
+ }
1397
+ interface ExtendedEntities2 {
1398
+ media: Medum4[];
1399
+ }
1400
+ interface Medum4 {
1401
+ display_url: string;
1402
+ expanded_url: string;
1403
+ id_str: string;
1404
+ indices: number[];
1405
+ media_key: string;
1406
+ media_url_https: string;
1407
+ type: string;
1408
+ url: string;
1409
+ ext_media_availability: ExtMediaAvailability4;
1410
+ features: Features4;
1411
+ sizes: Sizes4;
1412
+ original_info: OriginalInfo4;
1413
+ allow_download_status: AllowDownloadStatus4;
1414
+ media_results: MediaResults4;
1415
+ ext_alt_text?: string;
1416
+ }
1417
+ interface ExtMediaAvailability4 {
1418
+ status: string;
1419
+ }
1420
+ interface Features4 {
1421
+ all: All4;
1422
+ large: Large7;
1423
+ medium: Medium7;
1424
+ small: Small7;
1425
+ orig: Orig4;
1426
+ }
1427
+ interface All4 {
1428
+ tags: Tag4[];
1429
+ }
1430
+ interface Tag4 {
1431
+ user_id: string;
1432
+ name: string;
1433
+ screen_name: string;
1434
+ type: string;
1435
+ }
1436
+ interface Large7 {
1437
+ faces: Face13[];
1438
+ }
1439
+ interface Face13 {
1440
+ x: number;
1441
+ y: number;
1442
+ h: number;
1443
+ w: number;
1444
+ }
1445
+ interface Medium7 {
1446
+ faces: Face14[];
1447
+ }
1448
+ interface Face14 {
1449
+ x: number;
1450
+ y: number;
1451
+ h: number;
1452
+ w: number;
1453
+ }
1454
+ interface Small7 {
1455
+ faces: Face15[];
1456
+ }
1457
+ interface Face15 {
1458
+ x: number;
1459
+ y: number;
1460
+ h: number;
1461
+ w: number;
1462
+ }
1463
+ interface Orig4 {
1464
+ faces: Face16[];
1465
+ }
1466
+ interface Face16 {
1467
+ x: number;
1468
+ y: number;
1469
+ h: number;
1470
+ w: number;
1471
+ }
1472
+ interface Sizes4 {
1473
+ large: Large8;
1474
+ medium: Medium8;
1475
+ small: Small8;
1476
+ thumb: Thumb4;
1477
+ }
1478
+ interface Large8 {
1479
+ h: number;
1480
+ w: number;
1481
+ resize: string;
1482
+ }
1483
+ interface Medium8 {
1484
+ h: number;
1485
+ w: number;
1486
+ resize: string;
1487
+ }
1488
+ interface Small8 {
1489
+ h: number;
1490
+ w: number;
1491
+ resize: string;
1492
+ }
1493
+ interface Thumb4 {
1494
+ h: number;
1495
+ w: number;
1496
+ resize: string;
1497
+ }
1498
+ interface OriginalInfo4 {
1499
+ height: number;
1500
+ width: number;
1501
+ focus_rects: FocusRect4[];
1502
+ }
1503
+ interface FocusRect4 {
1504
+ x: number;
1505
+ y: number;
1506
+ w: number;
1507
+ h: number;
1508
+ }
1509
+ interface AllowDownloadStatus4 {
1510
+ allow_download: boolean;
1511
+ }
1512
+ interface MediaResults4 {
1513
+ result: Result15;
1514
+ }
1515
+ interface Result15 {
1516
+ media_key: string;
1517
+ }
1518
+ interface FeedbackInfo2 {
1519
+ feedbackKeys: string[];
1520
+ }
1521
+ interface ClientEventInfo2 {
1522
+ component: string;
1523
+ element: string;
1524
+ details: Details2;
1525
+ }
1526
+ interface Details2 {
1527
+ timelinesDetails: TimelinesDetails2;
1528
+ }
1529
+ interface TimelinesDetails2 {
1530
+ injectionType: string;
1531
+ controllerData: string;
1532
+ }
1533
+ interface Metadata {
1534
+ conversationMetadata: ConversationMetadata;
1535
+ }
1536
+ interface ConversationMetadata {
1537
+ allTweetIds: string[];
1538
+ enableDeduplication: boolean;
1539
+ }
1540
+ interface UsersResult {
1541
+ result: Result16;
1542
+ }
1543
+ interface Result16 {
1544
+ __typename: string;
1545
+ id: string;
1546
+ rest_id: string;
1547
+ affiliates_highlighted_label: AffiliatesHighlightedLabel6;
1548
+ has_graduated_access: boolean;
1549
+ is_blue_verified: boolean;
1550
+ profile_image_shape: string;
1551
+ legacy: Legacy13;
1552
+ professional?: Professional5;
1553
+ tipjar_settings: TipjarSettings6;
1554
+ verified_phone_status: boolean;
1555
+ }
1556
+ interface AffiliatesHighlightedLabel6 {
1557
+ }
1558
+ interface Legacy13 {
1559
+ following?: boolean;
1560
+ can_dm: boolean;
1561
+ can_media_tag: boolean;
1562
+ created_at: string;
1563
+ default_profile: boolean;
1564
+ default_profile_image: boolean;
1565
+ description: string;
1566
+ entities: Entities10;
1567
+ fast_followers_count: number;
1568
+ favourites_count: number;
1569
+ followers_count: number;
1570
+ friends_count: number;
1571
+ has_custom_timelines: boolean;
1572
+ is_translator: boolean;
1573
+ listed_count: number;
1574
+ location: string;
1575
+ media_count: number;
1576
+ name: string;
1577
+ normal_followers_count: number;
1578
+ pinned_tweet_ids_str: string[];
1579
+ possibly_sensitive: boolean;
1580
+ profile_banner_url: string;
1581
+ profile_image_url_https: string;
1582
+ profile_interstitial_type: string;
1583
+ screen_name: string;
1584
+ statuses_count: number;
1585
+ translator_type: string;
1586
+ url: string;
1587
+ verified: boolean;
1588
+ verified_type?: string;
1589
+ want_retweets: boolean;
1590
+ withheld_in_countries: any[];
1591
+ }
1592
+ interface Entities10 {
1593
+ description: Description6;
1594
+ url: Url18;
1595
+ }
1596
+ interface Description6 {
1597
+ urls: Url17[];
1598
+ }
1599
+ interface Url17 {
1600
+ display_url: string;
1601
+ expanded_url: string;
1602
+ url: string;
1603
+ indices: number[];
1604
+ }
1605
+ interface Url18 {
1606
+ urls: Url19[];
1607
+ }
1608
+ interface Url19 {
1609
+ display_url: string;
1610
+ expanded_url: string;
1611
+ url: string;
1612
+ indices: number[];
1613
+ }
1614
+ interface Professional5 {
1615
+ rest_id: string;
1616
+ professional_type: string;
1617
+ category: Category4[];
1618
+ }
1619
+ interface Category4 {
1620
+ id: number;
1621
+ name: string;
1622
+ icon_name: string;
1623
+ }
1624
+ interface TipjarSettings6 {
1625
+ }
1626
+ interface RichText {
1627
+ text: string;
1628
+ entities: any[];
1629
+ }
1630
+ interface IconDisplayInfo {
1631
+ icon: string;
1632
+ tint: string;
1633
+ }
1634
+ interface ColorConfig {
1635
+ background: string;
1636
+ border: string;
1637
+ text: string;
1638
+ }
1639
+ interface ResponseObjects {
1640
+ feedbackActions: FeedbackAction[];
1641
+ }
1642
+ interface FeedbackAction {
1643
+ key: string;
1644
+ value: Value3;
1645
+ }
1646
+ interface Value3 {
1647
+ feedbackType: string;
1648
+ prompt: string;
1649
+ confirmation: string;
1650
+ feedbackUrl: string;
1651
+ hasUndoAction: boolean;
1652
+ childKeys?: string[];
1653
+ icon?: string;
1654
+ clientEventInfo?: ClientEventInfo3;
1655
+ }
1656
+ interface ClientEventInfo3 {
1657
+ action: string;
1658
+ element: string;
1659
+ }
1660
+ interface Metadata2 {
1661
+ scribeConfig: ScribeConfig;
1662
+ }
1663
+ interface ScribeConfig {
1664
+ page: string;
1665
+ }
1666
+ export {};