x-twitter-scraper 0.12.4 → 0.13.1

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 (671) hide show
  1. package/CHANGELOG.md +80 -0
  2. package/README.md +56 -29
  3. package/client.d.mts +18 -15
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +18 -15
  6. package/client.d.ts.map +1 -1
  7. package/client.js +4 -4
  8. package/client.js.map +1 -1
  9. package/client.mjs +5 -5
  10. package/client.mjs.map +1 -1
  11. package/core/api-promise.d.mts.map +1 -1
  12. package/core/api-promise.d.ts.map +1 -1
  13. package/core/api-promise.js.map +1 -1
  14. package/core/api-promise.mjs.map +1 -1
  15. package/core/error.d.mts.map +1 -1
  16. package/core/error.d.ts.map +1 -1
  17. package/core/error.js +0 -1
  18. package/core/error.js.map +1 -1
  19. package/core/error.mjs +0 -1
  20. package/core/error.mjs.map +1 -1
  21. package/core/resource.d.mts.map +1 -1
  22. package/core/resource.d.ts.map +1 -1
  23. package/core/resource.js.map +1 -1
  24. package/core/resource.mjs.map +1 -1
  25. package/core/streaming.d.mts +33 -0
  26. package/core/streaming.d.mts.map +1 -0
  27. package/core/streaming.d.ts +33 -0
  28. package/core/streaming.d.ts.map +1 -0
  29. package/core/streaming.js +269 -0
  30. package/core/streaming.js.map +1 -0
  31. package/core/streaming.mjs +264 -0
  32. package/core/streaming.mjs.map +1 -0
  33. package/index.d.mts.map +1 -1
  34. package/index.d.ts.map +1 -1
  35. package/index.js +0 -1
  36. package/index.js.map +1 -1
  37. package/index.mjs +0 -1
  38. package/index.mjs.map +1 -1
  39. package/internal/builtin-types.d.mts.map +1 -1
  40. package/internal/builtin-types.d.ts.map +1 -1
  41. package/internal/decoders/line.d.mts +17 -0
  42. package/internal/decoders/line.d.mts.map +1 -0
  43. package/internal/decoders/line.d.ts +17 -0
  44. package/internal/decoders/line.d.ts.map +1 -0
  45. package/internal/decoders/line.js +115 -0
  46. package/internal/decoders/line.js.map +1 -0
  47. package/internal/decoders/line.mjs +110 -0
  48. package/internal/decoders/line.mjs.map +1 -0
  49. package/internal/detect-platform.d.mts.map +1 -1
  50. package/internal/detect-platform.d.ts.map +1 -1
  51. package/internal/detect-platform.js +0 -1
  52. package/internal/detect-platform.js.map +1 -1
  53. package/internal/detect-platform.mjs +0 -1
  54. package/internal/detect-platform.mjs.map +1 -1
  55. package/internal/errors.d.mts.map +1 -1
  56. package/internal/errors.d.ts.map +1 -1
  57. package/internal/errors.js +0 -1
  58. package/internal/errors.js.map +1 -1
  59. package/internal/errors.mjs +0 -1
  60. package/internal/errors.mjs.map +1 -1
  61. package/internal/headers.d.mts.map +1 -1
  62. package/internal/headers.d.ts.map +1 -1
  63. package/internal/headers.js +0 -1
  64. package/internal/headers.js.map +1 -1
  65. package/internal/headers.mjs +0 -1
  66. package/internal/headers.mjs.map +1 -1
  67. package/internal/parse.d.mts.map +1 -1
  68. package/internal/parse.d.ts.map +1 -1
  69. package/internal/parse.js +7 -0
  70. package/internal/parse.js.map +1 -1
  71. package/internal/parse.mjs +7 -0
  72. package/internal/parse.mjs.map +1 -1
  73. package/internal/request-options.d.mts.map +1 -1
  74. package/internal/request-options.d.ts.map +1 -1
  75. package/internal/request-options.js.map +1 -1
  76. package/internal/request-options.mjs.map +1 -1
  77. package/internal/shim-types.d.mts.map +1 -1
  78. package/internal/shim-types.d.ts.map +1 -1
  79. package/internal/shims.d.mts.map +1 -1
  80. package/internal/shims.d.ts.map +1 -1
  81. package/internal/shims.js.map +1 -1
  82. package/internal/shims.mjs.map +1 -1
  83. package/internal/tslib.js +18 -18
  84. package/internal/types.d.mts.map +1 -1
  85. package/internal/types.d.ts.map +1 -1
  86. package/internal/utils/base64.d.mts.map +1 -1
  87. package/internal/utils/base64.d.ts.map +1 -1
  88. package/internal/utils/base64.js +0 -1
  89. package/internal/utils/base64.js.map +1 -1
  90. package/internal/utils/base64.mjs +0 -1
  91. package/internal/utils/base64.mjs.map +1 -1
  92. package/internal/utils/env.d.mts.map +1 -1
  93. package/internal/utils/env.d.ts.map +1 -1
  94. package/internal/utils/env.js +0 -1
  95. package/internal/utils/env.js.map +1 -1
  96. package/internal/utils/env.mjs +0 -1
  97. package/internal/utils/env.mjs.map +1 -1
  98. package/internal/utils/log.d.mts.map +1 -1
  99. package/internal/utils/log.d.ts.map +1 -1
  100. package/internal/utils/log.js +0 -1
  101. package/internal/utils/log.js.map +1 -1
  102. package/internal/utils/log.mjs +0 -1
  103. package/internal/utils/log.mjs.map +1 -1
  104. package/internal/utils/query.d.mts.map +1 -1
  105. package/internal/utils/query.d.ts.map +1 -1
  106. package/internal/utils/query.js +0 -1
  107. package/internal/utils/query.js.map +1 -1
  108. package/internal/utils/query.mjs +0 -1
  109. package/internal/utils/query.mjs.map +1 -1
  110. package/internal/utils/sleep.d.mts.map +1 -1
  111. package/internal/utils/sleep.d.ts.map +1 -1
  112. package/internal/utils/sleep.js +0 -1
  113. package/internal/utils/sleep.js.map +1 -1
  114. package/internal/utils/sleep.mjs +0 -1
  115. package/internal/utils/sleep.mjs.map +1 -1
  116. package/internal/utils/uuid.d.mts.map +1 -1
  117. package/internal/utils/uuid.d.ts.map +1 -1
  118. package/internal/utils/uuid.js +0 -1
  119. package/internal/utils/uuid.js.map +1 -1
  120. package/internal/utils/uuid.mjs +0 -1
  121. package/internal/utils/uuid.mjs.map +1 -1
  122. package/internal/utils/values.d.mts.map +1 -1
  123. package/internal/utils/values.d.ts.map +1 -1
  124. package/internal/utils/values.js +0 -1
  125. package/internal/utils/values.js.map +1 -1
  126. package/internal/utils/values.mjs +0 -1
  127. package/internal/utils/values.mjs.map +1 -1
  128. package/internal/utils.d.mts.map +1 -1
  129. package/internal/utils.d.ts.map +1 -1
  130. package/internal/utils.js +0 -1
  131. package/internal/utils.js.map +1 -1
  132. package/internal/utils.mjs +0 -1
  133. package/internal/utils.mjs.map +1 -1
  134. package/package.json +23 -5
  135. package/resources/account.d.mts +35 -12
  136. package/resources/account.d.mts.map +1 -1
  137. package/resources/account.d.ts +35 -12
  138. package/resources/account.d.ts.map +1 -1
  139. package/resources/account.js +4 -4
  140. package/resources/account.js.map +1 -1
  141. package/resources/account.mjs +4 -4
  142. package/resources/account.mjs.map +1 -1
  143. package/resources/compose.d.mts +77 -21
  144. package/resources/compose.d.mts.map +1 -1
  145. package/resources/compose.d.ts +77 -21
  146. package/resources/compose.d.ts.map +1 -1
  147. package/resources/compose.js +3 -5
  148. package/resources/compose.js.map +1 -1
  149. package/resources/compose.mjs +3 -5
  150. package/resources/compose.mjs.map +1 -1
  151. package/resources/credits.d.mts +18 -10
  152. package/resources/credits.d.mts.map +1 -1
  153. package/resources/credits.d.ts +18 -10
  154. package/resources/credits.d.ts.map +1 -1
  155. package/resources/credits.js +5 -5
  156. package/resources/credits.js.map +1 -1
  157. package/resources/credits.mjs +5 -5
  158. package/resources/credits.mjs.map +1 -1
  159. package/resources/drafts.d.mts +13 -17
  160. package/resources/drafts.d.mts.map +1 -1
  161. package/resources/drafts.d.ts +13 -17
  162. package/resources/drafts.d.ts.map +1 -1
  163. package/resources/drafts.js +4 -5
  164. package/resources/drafts.js.map +1 -1
  165. package/resources/drafts.mjs +4 -5
  166. package/resources/drafts.mjs.map +1 -1
  167. package/resources/draws.d.mts +84 -28
  168. package/resources/draws.d.mts.map +1 -1
  169. package/resources/draws.d.ts +84 -28
  170. package/resources/draws.d.ts.map +1 -1
  171. package/resources/draws.js +24 -10
  172. package/resources/draws.js.map +1 -1
  173. package/resources/draws.mjs +24 -10
  174. package/resources/draws.mjs.map +1 -1
  175. package/resources/events.d.mts +2564 -21
  176. package/resources/events.d.mts.map +1 -1
  177. package/resources/events.d.ts +2564 -21
  178. package/resources/events.d.ts.map +1 -1
  179. package/resources/events.js +34 -3
  180. package/resources/events.js.map +1 -1
  181. package/resources/events.mjs +34 -3
  182. package/resources/events.mjs.map +1 -1
  183. package/resources/extractions.d.mts +410 -128
  184. package/resources/extractions.d.mts.map +1 -1
  185. package/resources/extractions.d.ts +410 -128
  186. package/resources/extractions.d.ts.map +1 -1
  187. package/resources/extractions.js +74 -13
  188. package/resources/extractions.js.map +1 -1
  189. package/resources/extractions.mjs +74 -13
  190. package/resources/extractions.mjs.map +1 -1
  191. package/resources/guest-wallets.d.mts +6 -5
  192. package/resources/guest-wallets.d.mts.map +1 -1
  193. package/resources/guest-wallets.d.ts +6 -5
  194. package/resources/guest-wallets.d.ts.map +1 -1
  195. package/resources/guest-wallets.js +2 -2
  196. package/resources/guest-wallets.js.map +1 -1
  197. package/resources/guest-wallets.mjs +2 -2
  198. package/resources/guest-wallets.mjs.map +1 -1
  199. package/resources/index.d.mts +6 -6
  200. package/resources/index.d.mts.map +1 -1
  201. package/resources/index.d.ts +6 -6
  202. package/resources/index.d.ts.map +1 -1
  203. package/resources/index.js +0 -1
  204. package/resources/index.js.map +1 -1
  205. package/resources/index.mjs +1 -2
  206. package/resources/index.mjs.map +1 -1
  207. package/resources/monitors/index.d.mts +2 -2
  208. package/resources/monitors/index.d.mts.map +1 -1
  209. package/resources/monitors/index.d.ts +2 -2
  210. package/resources/monitors/index.d.ts.map +1 -1
  211. package/resources/monitors/index.js +0 -1
  212. package/resources/monitors/index.js.map +1 -1
  213. package/resources/monitors/index.mjs +0 -1
  214. package/resources/monitors/index.mjs.map +1 -1
  215. package/resources/monitors/keywords.d.mts +66 -14
  216. package/resources/monitors/keywords.d.mts.map +1 -1
  217. package/resources/monitors/keywords.d.ts +66 -14
  218. package/resources/monitors/keywords.d.ts.map +1 -1
  219. package/resources/monitors/keywords.js +16 -11
  220. package/resources/monitors/keywords.js.map +1 -1
  221. package/resources/monitors/keywords.mjs +16 -11
  222. package/resources/monitors/keywords.mjs.map +1 -1
  223. package/resources/monitors/monitors.d.mts +53 -16
  224. package/resources/monitors/monitors.d.mts.map +1 -1
  225. package/resources/monitors/monitors.d.ts +53 -16
  226. package/resources/monitors/monitors.d.ts.map +1 -1
  227. package/resources/monitors/monitors.js +12 -11
  228. package/resources/monitors/monitors.js.map +1 -1
  229. package/resources/monitors/monitors.mjs +12 -11
  230. package/resources/monitors/monitors.mjs.map +1 -1
  231. package/resources/monitors.d.mts.map +1 -1
  232. package/resources/monitors.d.ts.map +1 -1
  233. package/resources/monitors.js +0 -1
  234. package/resources/monitors.js.map +1 -1
  235. package/resources/monitors.mjs +0 -1
  236. package/resources/monitors.mjs.map +1 -1
  237. package/resources/radar.d.mts +32 -36
  238. package/resources/radar.d.mts.map +1 -1
  239. package/resources/radar.d.ts +32 -36
  240. package/resources/radar.d.ts.map +1 -1
  241. package/resources/radar.js +1 -2
  242. package/resources/radar.js.map +1 -1
  243. package/resources/radar.mjs +1 -2
  244. package/resources/radar.mjs.map +1 -1
  245. package/resources/shared.d.mts +1726 -233
  246. package/resources/shared.d.mts.map +1 -1
  247. package/resources/shared.d.ts +1726 -233
  248. package/resources/shared.d.ts.map +1 -1
  249. package/resources/styles.d.mts +34 -23
  250. package/resources/styles.d.mts.map +1 -1
  251. package/resources/styles.d.ts +34 -23
  252. package/resources/styles.d.ts.map +1 -1
  253. package/resources/styles.js +11 -14
  254. package/resources/styles.js.map +1 -1
  255. package/resources/styles.mjs +11 -14
  256. package/resources/styles.mjs.map +1 -1
  257. package/resources/subscribe.d.mts +1 -1
  258. package/resources/subscribe.d.mts.map +1 -1
  259. package/resources/subscribe.d.ts +1 -1
  260. package/resources/subscribe.d.ts.map +1 -1
  261. package/resources/subscribe.js +1 -2
  262. package/resources/subscribe.js.map +1 -1
  263. package/resources/subscribe.mjs +1 -2
  264. package/resources/subscribe.mjs.map +1 -1
  265. package/resources/support/attachments.d.mts.map +1 -1
  266. package/resources/support/attachments.d.ts.map +1 -1
  267. package/resources/support/attachments.js +0 -1
  268. package/resources/support/attachments.js.map +1 -1
  269. package/resources/support/attachments.mjs +0 -1
  270. package/resources/support/attachments.mjs.map +1 -1
  271. package/resources/support/index.d.mts +1 -1
  272. package/resources/support/index.d.mts.map +1 -1
  273. package/resources/support/index.d.ts +1 -1
  274. package/resources/support/index.d.ts.map +1 -1
  275. package/resources/support/index.js +0 -1
  276. package/resources/support/index.js.map +1 -1
  277. package/resources/support/index.mjs +0 -1
  278. package/resources/support/index.mjs.map +1 -1
  279. package/resources/support/support.d.mts +2 -2
  280. package/resources/support/support.d.mts.map +1 -1
  281. package/resources/support/support.d.ts +2 -2
  282. package/resources/support/support.d.ts.map +1 -1
  283. package/resources/support/support.js +0 -1
  284. package/resources/support/support.js.map +1 -1
  285. package/resources/support/support.mjs +0 -1
  286. package/resources/support/support.mjs.map +1 -1
  287. package/resources/support/tickets.d.mts +30 -10
  288. package/resources/support/tickets.d.mts.map +1 -1
  289. package/resources/support/tickets.d.ts +30 -10
  290. package/resources/support/tickets.d.ts.map +1 -1
  291. package/resources/support/tickets.js +7 -8
  292. package/resources/support/tickets.js.map +1 -1
  293. package/resources/support/tickets.mjs +7 -8
  294. package/resources/support/tickets.mjs.map +1 -1
  295. package/resources/support.d.mts.map +1 -1
  296. package/resources/support.d.ts.map +1 -1
  297. package/resources/support.js +0 -1
  298. package/resources/support.js.map +1 -1
  299. package/resources/support.mjs +0 -1
  300. package/resources/support.mjs.map +1 -1
  301. package/resources/trends.d.mts +21 -5
  302. package/resources/trends.d.mts.map +1 -1
  303. package/resources/trends.d.ts +21 -5
  304. package/resources/trends.d.ts.map +1 -1
  305. package/resources/trends.js +2 -2
  306. package/resources/trends.js.map +1 -1
  307. package/resources/trends.mjs +2 -2
  308. package/resources/trends.mjs.map +1 -1
  309. package/resources/webhooks.d.mts +80 -14
  310. package/resources/webhooks.d.mts.map +1 -1
  311. package/resources/webhooks.d.ts +80 -14
  312. package/resources/webhooks.d.ts.map +1 -1
  313. package/resources/webhooks.js +30 -12
  314. package/resources/webhooks.js.map +1 -1
  315. package/resources/webhooks.mjs +30 -12
  316. package/resources/webhooks.mjs.map +1 -1
  317. package/resources/x/account-connection-attempts.d.mts +1 -1
  318. package/resources/x/account-connection-attempts.d.mts.map +1 -1
  319. package/resources/x/account-connection-attempts.d.ts +1 -1
  320. package/resources/x/account-connection-attempts.d.ts.map +1 -1
  321. package/resources/x/account-connection-attempts.js +1 -2
  322. package/resources/x/account-connection-attempts.js.map +1 -1
  323. package/resources/x/account-connection-attempts.mjs +1 -2
  324. package/resources/x/account-connection-attempts.mjs.map +1 -1
  325. package/resources/x/account-connection-challenges.d.mts +30 -11
  326. package/resources/x/account-connection-challenges.d.mts.map +1 -1
  327. package/resources/x/account-connection-challenges.d.ts +30 -11
  328. package/resources/x/account-connection-challenges.d.ts.map +1 -1
  329. package/resources/x/account-connection-challenges.js +5 -5
  330. package/resources/x/account-connection-challenges.js.map +1 -1
  331. package/resources/x/account-connection-challenges.mjs +5 -5
  332. package/resources/x/account-connection-challenges.mjs.map +1 -1
  333. package/resources/x/accounts.d.mts +38 -10
  334. package/resources/x/accounts.d.mts.map +1 -1
  335. package/resources/x/accounts.d.ts +38 -10
  336. package/resources/x/accounts.d.ts.map +1 -1
  337. package/resources/x/accounts.js +8 -8
  338. package/resources/x/accounts.js.map +1 -1
  339. package/resources/x/accounts.mjs +8 -8
  340. package/resources/x/accounts.mjs.map +1 -1
  341. package/resources/x/analysis.d.mts +3274 -0
  342. package/resources/x/analysis.d.mts.map +1 -0
  343. package/resources/x/analysis.d.ts +3274 -0
  344. package/resources/x/analysis.d.ts.map +1 -0
  345. package/resources/x/analysis.js +131 -0
  346. package/resources/x/analysis.js.map +1 -0
  347. package/resources/x/analysis.mjs +127 -0
  348. package/resources/x/analysis.mjs.map +1 -0
  349. package/resources/x/bookmarks.d.mts +84 -9
  350. package/resources/x/bookmarks.d.mts.map +1 -1
  351. package/resources/x/bookmarks.d.ts +84 -9
  352. package/resources/x/bookmarks.d.ts.map +1 -1
  353. package/resources/x/bookmarks.js +6 -5
  354. package/resources/x/bookmarks.js.map +1 -1
  355. package/resources/x/bookmarks.mjs +6 -5
  356. package/resources/x/bookmarks.mjs.map +1 -1
  357. package/resources/x/broadcasts.d.mts +176 -0
  358. package/resources/x/broadcasts.d.mts.map +1 -0
  359. package/resources/x/broadcasts.d.ts +176 -0
  360. package/resources/x/broadcasts.d.ts.map +1 -0
  361. package/resources/x/broadcasts.js +28 -0
  362. package/resources/x/broadcasts.js.map +1 -0
  363. package/resources/x/broadcasts.mjs +24 -0
  364. package/resources/x/broadcasts.mjs.map +1 -0
  365. package/resources/x/communities/communities.d.mts +612 -128
  366. package/resources/x/communities/communities.d.mts.map +1 -1
  367. package/resources/x/communities/communities.d.ts +612 -128
  368. package/resources/x/communities/communities.d.ts.map +1 -1
  369. package/resources/x/communities/communities.js +96 -18
  370. package/resources/x/communities/communities.js.map +1 -1
  371. package/resources/x/communities/communities.mjs +96 -18
  372. package/resources/x/communities/communities.mjs.map +1 -1
  373. package/resources/x/communities/index.d.mts +2 -1
  374. package/resources/x/communities/index.d.mts.map +1 -1
  375. package/resources/x/communities/index.d.ts +2 -1
  376. package/resources/x/communities/index.d.ts.map +1 -1
  377. package/resources/x/communities/index.js +3 -2
  378. package/resources/x/communities/index.js.map +1 -1
  379. package/resources/x/communities/index.mjs +1 -1
  380. package/resources/x/communities/index.mjs.map +1 -1
  381. package/resources/x/communities/join.d.mts +46 -25
  382. package/resources/x/communities/join.d.mts.map +1 -1
  383. package/resources/x/communities/join.d.ts +46 -25
  384. package/resources/x/communities/join.d.ts.map +1 -1
  385. package/resources/x/communities/join.js +10 -8
  386. package/resources/x/communities/join.js.map +1 -1
  387. package/resources/x/communities/join.mjs +10 -8
  388. package/resources/x/communities/join.mjs.map +1 -1
  389. package/resources/x/communities/media.d.mts +197 -0
  390. package/resources/x/communities/media.d.mts.map +1 -0
  391. package/resources/x/communities/media.d.ts +197 -0
  392. package/resources/x/communities/media.d.ts.map +1 -0
  393. package/resources/x/communities/media.js +28 -0
  394. package/resources/x/communities/media.js.map +1 -0
  395. package/resources/x/communities/media.mjs +24 -0
  396. package/resources/x/communities/media.mjs.map +1 -0
  397. package/resources/x/communities/tweets.d.mts +350 -20
  398. package/resources/x/communities/tweets.d.mts.map +1 -1
  399. package/resources/x/communities/tweets.d.ts +350 -20
  400. package/resources/x/communities/tweets.d.ts.map +1 -1
  401. package/resources/x/communities/tweets.js +8 -8
  402. package/resources/x/communities/tweets.js.map +1 -1
  403. package/resources/x/communities/tweets.mjs +8 -8
  404. package/resources/x/communities/tweets.mjs.map +1 -1
  405. package/resources/x/communities.d.mts.map +1 -1
  406. package/resources/x/communities.d.ts.map +1 -1
  407. package/resources/x/communities.js +0 -1
  408. package/resources/x/communities.js.map +1 -1
  409. package/resources/x/communities.mjs +0 -1
  410. package/resources/x/communities.mjs.map +1 -1
  411. package/resources/x/dm.d.mts +245 -13
  412. package/resources/x/dm.d.mts.map +1 -1
  413. package/resources/x/dm.d.ts +245 -13
  414. package/resources/x/dm.d.ts.map +1 -1
  415. package/resources/x/dm.js +29 -3
  416. package/resources/x/dm.js.map +1 -1
  417. package/resources/x/dm.mjs +29 -3
  418. package/resources/x/dm.mjs.map +1 -1
  419. package/resources/x/followers.d.mts +31 -3
  420. package/resources/x/followers.d.mts.map +1 -1
  421. package/resources/x/followers.d.ts +31 -3
  422. package/resources/x/followers.d.ts.map +1 -1
  423. package/resources/x/followers.js +2 -2
  424. package/resources/x/followers.js.map +1 -1
  425. package/resources/x/followers.mjs +2 -2
  426. package/resources/x/followers.mjs.map +1 -1
  427. package/resources/x/index.d.mts +12 -8
  428. package/resources/x/index.d.mts.map +1 -1
  429. package/resources/x/index.d.ts +12 -8
  430. package/resources/x/index.d.ts.map +1 -1
  431. package/resources/x/index.js +9 -2
  432. package/resources/x/index.js.map +1 -1
  433. package/resources/x/index.mjs +5 -2
  434. package/resources/x/index.mjs.map +1 -1
  435. package/resources/x/jobs.d.mts +506 -0
  436. package/resources/x/jobs.d.mts.map +1 -0
  437. package/resources/x/jobs.d.ts +506 -0
  438. package/resources/x/jobs.d.ts.map +1 -0
  439. package/resources/x/jobs.js +59 -0
  440. package/resources/x/jobs.js.map +1 -0
  441. package/resources/x/jobs.mjs +55 -0
  442. package/resources/x/jobs.mjs.map +1 -0
  443. package/resources/x/lists.d.mts +1058 -27
  444. package/resources/x/lists.d.mts.map +1 -1
  445. package/resources/x/lists.d.ts +1058 -27
  446. package/resources/x/lists.d.ts.map +1 -1
  447. package/resources/x/lists.js +39 -10
  448. package/resources/x/lists.js.map +1 -1
  449. package/resources/x/lists.mjs +39 -10
  450. package/resources/x/lists.mjs.map +1 -1
  451. package/resources/x/media.d.mts +24 -13
  452. package/resources/x/media.d.mts.map +1 -1
  453. package/resources/x/media.d.ts +24 -13
  454. package/resources/x/media.d.ts.map +1 -1
  455. package/resources/x/media.js +2 -3
  456. package/resources/x/media.js.map +1 -1
  457. package/resources/x/media.mjs +2 -3
  458. package/resources/x/media.mjs.map +1 -1
  459. package/resources/x/profile.d.mts +60 -33
  460. package/resources/x/profile.d.mts.map +1 -1
  461. package/resources/x/profile.d.ts +60 -33
  462. package/resources/x/profile.d.ts.map +1 -1
  463. package/resources/x/profile.js +3 -4
  464. package/resources/x/profile.js.map +1 -1
  465. package/resources/x/profile.mjs +3 -4
  466. package/resources/x/profile.mjs.map +1 -1
  467. package/resources/x/spaces.d.mts +857 -0
  468. package/resources/x/spaces.d.mts.map +1 -0
  469. package/resources/x/spaces.d.ts +857 -0
  470. package/resources/x/spaces.d.ts.map +1 -0
  471. package/resources/x/spaces.js +57 -0
  472. package/resources/x/spaces.js.map +1 -0
  473. package/resources/x/spaces.mjs +53 -0
  474. package/resources/x/spaces.mjs.map +1 -0
  475. package/resources/x/tweets/index.d.mts +1 -1
  476. package/resources/x/tweets/index.d.mts.map +1 -1
  477. package/resources/x/tweets/index.d.ts +1 -1
  478. package/resources/x/tweets/index.d.ts.map +1 -1
  479. package/resources/x/tweets/index.js +0 -1
  480. package/resources/x/tweets/index.js.map +1 -1
  481. package/resources/x/tweets/index.mjs +0 -1
  482. package/resources/x/tweets/index.mjs.map +1 -1
  483. package/resources/x/tweets/like.d.mts +38 -20
  484. package/resources/x/tweets/like.d.mts.map +1 -1
  485. package/resources/x/tweets/like.d.ts +38 -20
  486. package/resources/x/tweets/like.d.ts.map +1 -1
  487. package/resources/x/tweets/like.js +2 -3
  488. package/resources/x/tweets/like.js.map +1 -1
  489. package/resources/x/tweets/like.mjs +2 -3
  490. package/resources/x/tweets/like.mjs.map +1 -1
  491. package/resources/x/tweets/retweet.d.mts +38 -20
  492. package/resources/x/tweets/retweet.d.mts.map +1 -1
  493. package/resources/x/tweets/retweet.d.ts +38 -20
  494. package/resources/x/tweets/retweet.d.ts.map +1 -1
  495. package/resources/x/tweets/retweet.js +2 -3
  496. package/resources/x/tweets/retweet.js.map +1 -1
  497. package/resources/x/tweets/retweet.mjs +2 -3
  498. package/resources/x/tweets/retweet.mjs.map +1 -1
  499. package/resources/x/tweets/tweets.d.mts +2639 -326
  500. package/resources/x/tweets/tweets.d.mts.map +1 -1
  501. package/resources/x/tweets/tweets.d.ts +2639 -326
  502. package/resources/x/tweets/tweets.d.ts.map +1 -1
  503. package/resources/x/tweets/tweets.js +147 -22
  504. package/resources/x/tweets/tweets.js.map +1 -1
  505. package/resources/x/tweets/tweets.mjs +147 -22
  506. package/resources/x/tweets/tweets.mjs.map +1 -1
  507. package/resources/x/tweets.d.mts.map +1 -1
  508. package/resources/x/tweets.d.ts.map +1 -1
  509. package/resources/x/tweets.js +0 -1
  510. package/resources/x/tweets.js.map +1 -1
  511. package/resources/x/tweets.mjs +0 -1
  512. package/resources/x/tweets.mjs.map +1 -1
  513. package/resources/x/users/follow.d.mts +38 -20
  514. package/resources/x/users/follow.d.mts.map +1 -1
  515. package/resources/x/users/follow.d.ts +38 -20
  516. package/resources/x/users/follow.d.ts.map +1 -1
  517. package/resources/x/users/follow.js +2 -3
  518. package/resources/x/users/follow.js.map +1 -1
  519. package/resources/x/users/follow.mjs +2 -3
  520. package/resources/x/users/follow.mjs.map +1 -1
  521. package/resources/x/users/index.d.mts +1 -1
  522. package/resources/x/users/index.d.mts.map +1 -1
  523. package/resources/x/users/index.d.ts +1 -1
  524. package/resources/x/users/index.d.ts.map +1 -1
  525. package/resources/x/users/index.js +0 -1
  526. package/resources/x/users/index.js.map +1 -1
  527. package/resources/x/users/index.mjs +0 -1
  528. package/resources/x/users/index.mjs.map +1 -1
  529. package/resources/x/users/users.d.mts +3068 -457
  530. package/resources/x/users/users.d.mts.map +1 -1
  531. package/resources/x/users/users.d.ts +3068 -457
  532. package/resources/x/users/users.d.ts.map +1 -1
  533. package/resources/x/users/users.js +205 -23
  534. package/resources/x/users/users.js.map +1 -1
  535. package/resources/x/users/users.mjs +205 -23
  536. package/resources/x/users/users.mjs.map +1 -1
  537. package/resources/x/users.d.mts.map +1 -1
  538. package/resources/x/users.d.ts.map +1 -1
  539. package/resources/x/users.js +0 -1
  540. package/resources/x/users.js.map +1 -1
  541. package/resources/x/users.mjs +0 -1
  542. package/resources/x/users.mjs.map +1 -1
  543. package/resources/x/write-actions.d.mts +13 -6
  544. package/resources/x/write-actions.d.mts.map +1 -1
  545. package/resources/x/write-actions.d.ts +13 -6
  546. package/resources/x/write-actions.d.ts.map +1 -1
  547. package/resources/x/write-actions.js +1 -2
  548. package/resources/x/write-actions.js.map +1 -1
  549. package/resources/x/write-actions.mjs +1 -2
  550. package/resources/x/write-actions.mjs.map +1 -1
  551. package/resources/x/x.d.mts +864 -27
  552. package/resources/x/x.d.mts.map +1 -1
  553. package/resources/x/x.d.ts +864 -27
  554. package/resources/x/x.d.ts.map +1 -1
  555. package/resources/x/x.js +78 -6
  556. package/resources/x/x.js.map +1 -1
  557. package/resources/x/x.mjs +80 -8
  558. package/resources/x/x.mjs.map +1 -1
  559. package/resources/x.d.mts.map +1 -1
  560. package/resources/x.d.ts.map +1 -1
  561. package/resources/x.js +0 -1
  562. package/resources/x.js.map +1 -1
  563. package/resources/x.mjs +0 -1
  564. package/resources/x.mjs.map +1 -1
  565. package/skills/x-twitter-scraper/SKILL.md +99 -344
  566. package/skills/x-twitter-scraper/metadata.json +2 -2
  567. package/skills/x-twitter-scraper/references/mcp-setup.md +12 -15
  568. package/skills/x-twitter-scraper/references/mcp-tools.md +105 -166
  569. package/skills/x-twitter-scraper/references/types-mcp-output-schemas.md +4 -4
  570. package/skills/x-twitter-scraper/references/types.md +0 -1
  571. package/skills/x-twitter-scraper/skill-card.md +5 -6
  572. package/skills/x-twitter-scraper/skillspector-report.md +6 -3
  573. package/skills/xquik-account-automation/LICENSE +21 -0
  574. package/skills/xquik-account-automation/SKILL.md +91 -0
  575. package/skills/xquik-social-research/SKILL.md +48 -55
  576. package/src/client.ts +48 -7
  577. package/src/core/api-promise.ts +0 -2
  578. package/src/core/error.ts +0 -2
  579. package/src/core/resource.ts +0 -2
  580. package/src/core/streaming.ts +326 -0
  581. package/src/index.ts +0 -2
  582. package/src/internal/builtin-types.ts +0 -2
  583. package/src/internal/decoders/line.ts +138 -0
  584. package/src/internal/detect-platform.ts +0 -2
  585. package/src/internal/errors.ts +0 -2
  586. package/src/internal/headers.ts +0 -2
  587. package/src/internal/parse.ts +9 -2
  588. package/src/internal/request-options.ts +0 -2
  589. package/src/internal/shim-types.ts +0 -2
  590. package/src/internal/shims.ts +0 -2
  591. package/src/internal/types.ts +0 -2
  592. package/src/internal/utils/base64.ts +0 -2
  593. package/src/internal/utils/env.ts +0 -2
  594. package/src/internal/utils/log.ts +0 -2
  595. package/src/internal/utils/query.ts +0 -2
  596. package/src/internal/utils/sleep.ts +0 -2
  597. package/src/internal/utils/uuid.ts +0 -2
  598. package/src/internal/utils/values.ts +0 -2
  599. package/src/internal/utils.ts +0 -2
  600. package/src/lib/.keep +2 -4
  601. package/src/resources/account.ts +41 -14
  602. package/src/resources/compose.ts +77 -23
  603. package/src/resources/credits.ts +19 -12
  604. package/src/resources/drafts.ts +13 -24
  605. package/src/resources/draws.ts +94 -38
  606. package/src/resources/events.ts +3225 -70
  607. package/src/resources/extractions.ts +512 -127
  608. package/src/resources/guest-wallets.ts +6 -7
  609. package/src/resources/index.ts +24 -3
  610. package/src/resources/monitors/index.ts +2 -2
  611. package/src/resources/monitors/keywords.ts +82 -16
  612. package/src/resources/monitors/monitors.ts +66 -16
  613. package/src/resources/monitors.ts +0 -2
  614. package/src/resources/radar.ts +32 -38
  615. package/src/resources/shared.ts +2226 -352
  616. package/src/resources/styles.ts +43 -29
  617. package/src/resources/subscribe.ts +1 -3
  618. package/src/resources/support/attachments.ts +0 -2
  619. package/src/resources/support/index.ts +1 -2
  620. package/src/resources/support/support.ts +2 -2
  621. package/src/resources/support/tickets.ts +38 -12
  622. package/src/resources/support.ts +0 -2
  623. package/src/resources/trends.ts +23 -7
  624. package/src/resources/webhooks.ts +109 -17
  625. package/src/resources/x/account-connection-attempts.ts +1 -3
  626. package/src/resources/x/account-connection-challenges.ts +39 -13
  627. package/src/resources/x/accounts.ts +46 -12
  628. package/src/resources/x/analysis.ts +3945 -0
  629. package/src/resources/x/bookmarks.ts +103 -11
  630. package/src/resources/x/broadcasts.ts +223 -0
  631. package/src/resources/x/communities/communities.ts +743 -143
  632. package/src/resources/x/communities/index.ts +9 -2
  633. package/src/resources/x/communities/join.ts +46 -25
  634. package/src/resources/x/communities/media.ts +249 -0
  635. package/src/resources/x/communities/tweets.ts +427 -22
  636. package/src/resources/x/communities.ts +0 -2
  637. package/src/resources/x/dm.ts +334 -13
  638. package/src/resources/x/followers.ts +35 -5
  639. package/src/resources/x/index.ts +106 -3
  640. package/src/resources/x/jobs.ts +625 -0
  641. package/src/resources/x/lists.ts +1307 -30
  642. package/src/resources/x/media.ts +24 -14
  643. package/src/resources/x/profile.ts +60 -32
  644. package/src/resources/x/spaces.ts +1074 -0
  645. package/src/resources/x/tweets/index.ts +18 -2
  646. package/src/resources/x/tweets/like.ts +38 -20
  647. package/src/resources/x/tweets/retweet.ts +38 -20
  648. package/src/resources/x/tweets/tweets.ts +3693 -843
  649. package/src/resources/x/tweets.ts +0 -2
  650. package/src/resources/x/users/follow.ts +38 -20
  651. package/src/resources/x/users/index.ts +22 -2
  652. package/src/resources/x/users/users.ts +3687 -467
  653. package/src/resources/x/users.ts +0 -2
  654. package/src/resources/x/write-actions.ts +13 -7
  655. package/src/resources/x/x.ts +1234 -24
  656. package/src/resources/x.ts +0 -2
  657. package/src/streaming.ts +6 -0
  658. package/src/version.ts +1 -1
  659. package/streaming.d.mts +3 -0
  660. package/streaming.d.mts.map +1 -0
  661. package/streaming.d.ts +3 -0
  662. package/streaming.d.ts.map +1 -0
  663. package/streaming.js +9 -0
  664. package/streaming.js.map +1 -0
  665. package/streaming.mjs +6 -0
  666. package/streaming.mjs.map +1 -0
  667. package/version.d.mts +1 -1
  668. package/version.d.ts +1 -1
  669. package/version.js +1 -1
  670. package/version.mjs +1 -1
  671. package/skills/x-twitter-scraper/references/types-rest-api-vs-mcp-field-naming.md +0 -15
@@ -2,8 +2,6 @@
2
2
  //
3
3
  // SPDX-License-Identifier: Apache-2.0
4
4
 
5
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
6
-
7
5
  import { APIResource } from '../../core/resource';
8
6
  import * as Shared from '../shared';
9
7
  import * as AccountConnectionAttemptsAPI from './account-connection-attempts';
@@ -23,6 +21,7 @@ import {
23
21
  AccountCreateParams,
24
22
  AccountCreateResponse,
25
23
  AccountDeleteResponse,
24
+ AccountListParams,
26
25
  AccountListResponse,
27
26
  AccountReauthParams,
28
27
  AccountReauthResponse,
@@ -30,16 +29,63 @@ import {
30
29
  XAccount,
31
30
  XAccountDetail,
32
31
  } from './accounts';
32
+ import * as AnalysisAPI from './analysis';
33
+ import {
34
+ Analysis,
35
+ AnalysisBrandParams,
36
+ AnalysisBrandResponse,
37
+ AnalysisClassifyParams,
38
+ AnalysisClassifyResponse,
39
+ AnalysisMarketSignalsParams,
40
+ AnalysisMarketSignalsResponse,
41
+ AnalysisNewsParams,
42
+ AnalysisNewsResponse,
43
+ AnalysisSentimentParams,
44
+ AnalysisSentimentResponse,
45
+ AnalysisViralScoreParams,
46
+ AnalysisViralScoreResponse,
47
+ } from './analysis';
33
48
  import * as BookmarksAPI from './bookmarks';
34
- import { BookmarkListParams, BookmarkRetrieveFoldersResponse, Bookmarks } from './bookmarks';
49
+ import {
50
+ BookmarkListParams,
51
+ BookmarkRetrieveFoldersParams,
52
+ BookmarkRetrieveFoldersResponse,
53
+ Bookmarks,
54
+ } from './bookmarks';
55
+ import * as BroadcastsAPI from './broadcasts';
56
+ import { BroadcastRetrieveParams, BroadcastRetrieveResponse, Broadcasts } from './broadcasts';
35
57
  import * as DmAPI from './dm';
36
- import { Dm, DmRetrieveHistoryParams, DmRetrieveHistoryResponse, DmSendParams, DmSendResponse } from './dm';
58
+ import {
59
+ Dm,
60
+ DmDeleteMessageParams,
61
+ DmDeleteMessageResponse,
62
+ DmRetrieveHistoryParams,
63
+ DmRetrieveHistoryResponse,
64
+ DmSendParams,
65
+ DmSendResponse,
66
+ } from './dm';
37
67
  import * as FollowersAPI from './followers';
38
68
  import { FollowerCheckParams, FollowerCheckResponse, Followers } from './followers';
69
+ import * as JobsAPI from './jobs';
70
+ import {
71
+ JobListLocationsParams,
72
+ JobListLocationsResponse,
73
+ JobRetrieveParams,
74
+ JobRetrieveResponse,
75
+ JobSearchParams,
76
+ JobSearchResponse,
77
+ Jobs,
78
+ } from './jobs';
39
79
  import * as ListsAPI from './lists';
40
80
  import {
41
81
  ListRetrieveFollowersParams,
82
+ ListRetrieveFollowersResponse,
42
83
  ListRetrieveMembersParams,
84
+ ListRetrieveMembersResponse,
85
+ ListRetrieveParams,
86
+ ListRetrieveResponse,
87
+ ListRetrieveSearchParams,
88
+ ListRetrieveSearchResponse,
43
89
  ListRetrieveTweetsParams,
44
90
  Lists,
45
91
  } from './lists';
@@ -61,6 +107,16 @@ import {
61
107
  ProfileUpdateParams,
62
108
  ProfileUpdateResponse,
63
109
  } from './profile';
110
+ import * as SpacesAPI from './spaces';
111
+ import {
112
+ SpaceRetrieveParams,
113
+ SpaceRetrieveReplayParams,
114
+ SpaceRetrieveReplayResponse,
115
+ SpaceRetrieveResponse,
116
+ SpaceSearchParams,
117
+ SpaceSearchResponse,
118
+ Spaces,
119
+ } from './spaces';
64
120
  import * as WriteActionsAPI from './write-actions';
65
121
  import { WriteActionRetrieveResponse, WriteActions } from './write-actions';
66
122
  import * as CommunitiesAPI from './communities/communities';
@@ -70,50 +126,98 @@ import {
70
126
  CommunityCreateResponse,
71
127
  CommunityDeleteParams,
72
128
  CommunityDeleteResponse,
129
+ CommunityFindParams,
130
+ CommunityListPopularParams,
131
+ CommunityListSuggestedParams,
132
+ CommunityListSuggestedResponse,
133
+ CommunityListTopicsParams,
134
+ CommunityListTopicsResponse,
135
+ CommunityRetrieveInfoParams,
73
136
  CommunityRetrieveInfoResponse,
74
137
  CommunityRetrieveMembersParams,
75
138
  CommunityRetrieveModeratorsParams,
76
139
  CommunityRetrieveSearchParams,
140
+ CommunitySearchMembersParams,
77
141
  } from './communities/communities';
78
142
  import * as TweetsAPI from './tweets/tweets';
79
143
  import {
80
144
  TweetAuthor,
145
+ TweetCheckRepostParams,
146
+ TweetCheckRepostResponse,
81
147
  TweetCreateParams,
82
148
  TweetCreateResponse,
83
149
  TweetDeleteParams,
84
150
  TweetDeleteResponse,
85
151
  TweetDetail,
152
+ TweetEmbedParams,
153
+ TweetEmbedResponse,
86
154
  TweetGetFavoritersParams,
155
+ TweetGetHiddenRepliesParams,
156
+ TweetGetInsightsParams,
157
+ TweetGetInsightsResponse,
87
158
  TweetGetQuotesParams,
88
159
  TweetGetRepliesParams,
89
160
  TweetGetRepliesResponse,
161
+ TweetGetRetweeterIDsParams,
162
+ TweetGetRetweeterIDsResponse,
90
163
  TweetGetRetweetersParams,
164
+ TweetGetSubtitlesParams,
165
+ TweetGetSubtitlesResponse,
91
166
  TweetGetThreadParams,
92
167
  TweetListParams,
168
+ TweetListResponse,
169
+ TweetListTopParams,
170
+ TweetResolveLinksParams,
171
+ TweetResolveLinksResponse,
172
+ TweetRetrieveParams,
93
173
  TweetRetrieveResponse,
94
174
  TweetSearchParams,
95
175
  TweetSearchResponse,
176
+ TweetTranslateParams,
177
+ TweetTranslateResponse,
96
178
  Tweets,
97
179
  } from './tweets/tweets';
98
180
  import * as UsersAPI from './users/users';
99
181
  import {
100
182
  UserRemoveFollowerParams,
101
183
  UserRemoveFollowerResponse,
184
+ UserRetrieveAffiliatesParams,
185
+ UserRetrieveArticlesParams,
102
186
  UserRetrieveBatchParams,
103
187
  UserRetrieveBatchResponse,
188
+ UserRetrieveBatchTweetsParams,
189
+ UserRetrieveBatchTweetsResponse,
190
+ UserRetrieveFollowerIDsParams,
191
+ UserRetrieveFollowerIDsResponse,
104
192
  UserRetrieveFollowersParams,
105
193
  UserRetrieveFollowersResponse,
106
194
  UserRetrieveFollowersYouKnowParams,
195
+ UserRetrieveFollowingIDsParams,
196
+ UserRetrieveFollowingIDsResponse,
107
197
  UserRetrieveFollowingParams,
108
198
  UserRetrieveFollowingResponse,
199
+ UserRetrieveHighlightsParams,
200
+ UserRetrieveInsightsParams,
201
+ UserRetrieveInsightsResponse,
109
202
  UserRetrieveLikesParams,
203
+ UserRetrieveListMembershipsParams,
204
+ UserRetrieveListMembershipsResponse,
205
+ UserRetrieveListsParams,
206
+ UserRetrieveListsResponse,
207
+ UserRetrieveLiveParams,
208
+ UserRetrieveLiveResponse,
110
209
  UserRetrieveMediaParams,
111
210
  UserRetrieveMentionsParams,
211
+ UserRetrieveParams,
112
212
  UserRetrieveRepliesParams,
113
213
  UserRetrieveSearchParams,
214
+ UserRetrieveSimilarParams,
215
+ UserRetrieveSubscriptionsParams,
114
216
  UserRetrieveTweetsParams,
115
217
  UserRetrieveVerifiedFollowersParams,
116
218
  UserRetrieveVerifiedFollowersResponse,
219
+ UserTranslateBioParams,
220
+ UserTranslateBioResponse,
117
221
  Users,
118
222
  } from './users/users';
119
223
  import { APIPromise } from '../../core/api-promise';
@@ -122,9 +226,11 @@ import { path } from '../../internal/utils/path';
122
226
 
123
227
  export class X extends APIResource {
124
228
  writeActions: WriteActionsAPI.WriteActions = new WriteActionsAPI.WriteActions(this._client);
229
+ analysis: AnalysisAPI.Analysis = new AnalysisAPI.Analysis(this._client);
125
230
  tweets: TweetsAPI.Tweets = new TweetsAPI.Tweets(this._client);
126
231
  users: UsersAPI.Users = new UsersAPI.Users(this._client);
127
232
  followers: FollowersAPI.Followers = new FollowersAPI.Followers(this._client);
233
+ jobs: JobsAPI.Jobs = new JobsAPI.Jobs(this._client);
128
234
  dm: DmAPI.Dm = new DmAPI.Dm(this._client);
129
235
  media: MediaAPI.Media = new MediaAPI.Media(this._client);
130
236
  profile: ProfileAPI.Profile = new ProfileAPI.Profile(this._client);
@@ -136,6 +242,27 @@ export class X extends APIResource {
136
242
  new AccountConnectionAttemptsAPI.AccountConnectionAttempts(this._client);
137
243
  bookmarks: BookmarksAPI.Bookmarks = new BookmarksAPI.Bookmarks(this._client);
138
244
  lists: ListsAPI.Lists = new ListsAPI.Lists(this._client);
245
+ broadcasts: BroadcastsAPI.Broadcasts = new BroadcastsAPI.Broadcasts(this._client);
246
+ spaces: SpacesAPI.Spaces = new SpacesAPI.Spaces(this._client);
247
+
248
+ /**
249
+ * Returns the accounts, topics, hashtags & cashtags X suggests while someone types
250
+ * a search. X may rank them differently per request. Costs 1 credit per
251
+ * suggestion.
252
+ *
253
+ * @example
254
+ * ```ts
255
+ * const response = await client.x.autocompleteSearch({
256
+ * q: 'nasa',
257
+ * });
258
+ * ```
259
+ */
260
+ autocompleteSearch(
261
+ query: XAutocompleteSearchParams,
262
+ options?: RequestOptions,
263
+ ): APIPromise<XAutocompleteSearchResponse> {
264
+ return this._client.get('/x/search/autocomplete', { query, ...options });
265
+ }
139
266
 
140
267
  /**
141
268
  * Retrieve the full content of an X Article (long-form post) by numeric tweet ID.
@@ -146,12 +273,35 @@ export class X extends APIResource {
146
273
  * const response = await client.x.getArticle('tweetId');
147
274
  * ```
148
275
  */
149
- getArticle(tweetID: string, options?: RequestOptions): APIPromise<XGetArticleResponse> {
150
- return this._client.get(path`/x/articles/${tweetID}`, options);
276
+ getArticle(
277
+ tweetID: string,
278
+ query: XGetArticleParams | null | undefined = {},
279
+ options?: RequestOptions,
280
+ ): APIPromise<XGetArticleResponse> {
281
+ return this._client.get(path`/x/articles/${tweetID}`, { query, ...options });
282
+ }
283
+
284
+ /**
285
+ * Returns X's hashflags, the custom emoji X shows after some hashtags. Lists the
286
+ * ones running now unless activeOnly is false. Each returned hashflag costs 1
287
+ * credit.
288
+ *
289
+ * @example
290
+ * ```ts
291
+ * const response = await client.x.getHashflags();
292
+ * ```
293
+ */
294
+ getHashflags(
295
+ query: XGetHashflagsParams | null | undefined = {},
296
+ options?: RequestOptions,
297
+ ): APIPromise<XGetHashflagsResponse> {
298
+ return this._client.get('/x/hashflags', { query, ...options });
151
299
  }
152
300
 
153
301
  /**
154
- * Get home timeline
302
+ * Returns the home timeline of 1 of your connected X accounts, else 424
303
+ * `account_required`. A cursor reads the next page from the same account. Results
304
+ * exclude X ads.
155
305
  *
156
306
  * @example
157
307
  * ```ts
@@ -166,7 +316,7 @@ export class X extends APIResource {
166
316
  }
167
317
 
168
318
  /**
169
- * Get notifications
319
+ * Returns your X account's notifications, else 424 `account_required`.
170
320
  *
171
321
  * @example
172
322
  * ```ts
@@ -181,7 +331,25 @@ export class X extends APIResource {
181
331
  }
182
332
 
183
333
  /**
184
- * Get trending hashtags and topics from X by region
334
+ * Returns the places X offers trends for. Pass a location's woeid to /x/trends.
335
+ * Each returned location costs 1 credit.
336
+ *
337
+ * @example
338
+ * ```ts
339
+ * const response = await client.x.getTrendLocations();
340
+ * ```
341
+ */
342
+ getTrendLocations(
343
+ query: XGetTrendLocationsParams | null | undefined = {},
344
+ options?: RequestOptions,
345
+ ): APIPromise<XGetTrendLocationsResponse> {
346
+ return this._client.get('/x/trends/locations', { query, ...options });
347
+ }
348
+
349
+ /**
350
+ * Returns X's current trends for a place you choose. Pick it by woeid, country or
351
+ * location name. Without one, trends are worldwide. Each request costs 1 credit,
352
+ * however many trends it returns.
185
353
  *
186
354
  * @example
187
355
  * ```ts
@@ -194,38 +362,344 @@ export class X extends APIResource {
194
362
  ): APIPromise<XGetTrendsResponse> {
195
363
  return this._client.get('/x/trends', { query, ...options });
196
364
  }
365
+
366
+ /**
367
+ * Finds places on X by name. Pass a place's id as place to /x/tweets/search to
368
+ * read posts tagged there. X ranks the places, so their order can differ between
369
+ * requests. Each returned place costs 1 credit.
370
+ *
371
+ * @example
372
+ * ```ts
373
+ * const response = await client.x.searchPlaces({ q: 'q' });
374
+ * ```
375
+ */
376
+ searchPlaces(query: XSearchPlacesParams, options?: RequestOptions): APIPromise<XSearchPlacesResponse> {
377
+ return this._client.get('/x/places/search', { query, ...options });
378
+ }
379
+ }
380
+
381
+ /**
382
+ * What X suggests for a partial search query. Each list keeps X's order. A list is
383
+ * empty when X suggests none of its type or types leaves it out.
384
+ */
385
+ export interface XAutocompleteSearchResponse {
386
+ /**
387
+ * Suggested stocks & crypto tokens.
388
+ */
389
+ cashtags: Array<XAutocompleteSearchResponse.Cashtag>;
390
+
391
+ /**
392
+ * Suggestions returned across all 4 lists. Each costs 1 credit.
393
+ */
394
+ count: number;
395
+
396
+ /**
397
+ * Suggested hashtags.
398
+ */
399
+ hashtags: Array<XAutocompleteSearchResponse.Hashtag>;
400
+
401
+ /**
402
+ * The query you sent, trimmed.
403
+ */
404
+ query: string;
405
+
406
+ /**
407
+ * Suggested search phrases that are not hashtags.
408
+ */
409
+ topics: Array<XAutocompleteSearchResponse.Topic>;
410
+
411
+ /**
412
+ * Suggested accounts.
413
+ */
414
+ users: Array<XAutocompleteSearchResponse.User>;
415
+ }
416
+
417
+ export namespace XAutocompleteSearchResponse {
418
+ /**
419
+ * A stock or crypto token X suggests for the query.
420
+ */
421
+ export interface Cashtag {
422
+ /**
423
+ * Ticker symbol without the $.
424
+ */
425
+ ticker: string;
426
+
427
+ /**
428
+ * Logo of the token's chain. Tokens only.
429
+ */
430
+ chainLogoUrl?: string;
431
+
432
+ /**
433
+ * Token contract address. Tokens only.
434
+ */
435
+ contractAddress?: string;
436
+
437
+ /**
438
+ * Currency of price & marketCap.
439
+ */
440
+ currency?: string;
441
+
442
+ /**
443
+ * Price change over the last 24 hours, in percent.
444
+ */
445
+ dailyChangePercent?: number;
446
+
447
+ /**
448
+ * Stock exchange. Stocks only.
449
+ */
450
+ exchangeShortName?: string;
451
+
452
+ /**
453
+ * Logo image URL.
454
+ */
455
+ logoUrl?: string;
456
+
457
+ /**
458
+ * Market capitalization as decimal text.
459
+ */
460
+ marketCap?: string;
461
+
462
+ /**
463
+ * Company or token name.
464
+ */
465
+ name?: string;
466
+
467
+ /**
468
+ * Latest price as decimal text, which keeps every digit.
469
+ */
470
+ price?: string;
471
+
472
+ /**
473
+ * X's tag for the asset. $TICKER for a stock, chain:contract for a token.
474
+ */
475
+ smartTag?: string;
476
+ }
477
+
478
+ /**
479
+ * A hashtag X suggests for the query.
480
+ */
481
+ export interface Hashtag {
482
+ /**
483
+ * Suggested hashtag, with its
484
+ */
485
+ hashtag: string;
486
+
487
+ /**
488
+ * X's inline flag for the hashtag.
489
+ */
490
+ inline?: boolean;
491
+
492
+ /**
493
+ * X's rounded relevance score for the hashtag.
494
+ */
495
+ score?: number;
496
+
497
+ /**
498
+ * Normalized text tokens X matches the hashtag by.
499
+ */
500
+ tokens?: Array<string>;
501
+ }
502
+
503
+ /**
504
+ * A search phrase X suggests for the query.
505
+ */
506
+ export interface Topic {
507
+ /**
508
+ * Suggested search phrase.
509
+ */
510
+ topic: string;
511
+
512
+ /**
513
+ * X's inline flag for the phrase.
514
+ */
515
+ inline?: boolean;
516
+
517
+ /**
518
+ * X's rounded relevance score for the phrase.
519
+ */
520
+ score?: number;
521
+
522
+ /**
523
+ * Normalized text tokens X matches the phrase by.
524
+ */
525
+ tokens?: Array<string>;
526
+ }
527
+
528
+ /**
529
+ * An account X suggests for the query.
530
+ */
531
+ export interface User {
532
+ /**
533
+ * X user ID.
534
+ */
535
+ id: string;
536
+
537
+ /**
538
+ * Display name.
539
+ */
540
+ name: string;
541
+
542
+ /**
543
+ * Handle without the @.
544
+ */
545
+ username: string;
546
+
547
+ /**
548
+ * Affiliation badges X shows beside the name.
549
+ */
550
+ badges?: Array<User.Badge>;
551
+
552
+ /**
553
+ * X's inline flag for the account.
554
+ */
555
+ inline?: boolean;
556
+
557
+ /**
558
+ * Whether X shows a blue verification badge.
559
+ */
560
+ isBlueVerified?: boolean;
561
+
562
+ /**
563
+ * X's flag for whether media can be generated from this account's persona.
564
+ */
565
+ isPersonaMediaGenable?: boolean;
566
+
567
+ /**
568
+ * Whether the account holds X's legacy verification.
569
+ */
570
+ isVerified?: boolean;
571
+
572
+ /**
573
+ * Public profile location text. Omitted when empty.
574
+ */
575
+ location?: string;
576
+
577
+ /**
578
+ * Avatar URL.
579
+ */
580
+ profilePicture?: string;
581
+
582
+ /**
583
+ * Whether the account protects its posts.
584
+ */
585
+ protected?: boolean;
586
+
587
+ /**
588
+ * X's rounded relevance score for the account.
589
+ */
590
+ score?: number;
591
+
592
+ /**
593
+ * Normalized text tokens X matches the account by.
594
+ */
595
+ tokens?: Array<string>;
596
+
597
+ /**
598
+ * Whether X shows any verification badge.
599
+ */
600
+ verified?: boolean;
601
+
602
+ /**
603
+ * Verification category, such as Government or Business. Omitted when X names
604
+ * none.
605
+ */
606
+ verifiedType?: string;
607
+ }
608
+
609
+ export namespace User {
610
+ /**
611
+ * 1 affiliation badge.
612
+ */
613
+ export interface Badge {
614
+ /**
615
+ * Kind of badge.
616
+ */
617
+ badgeType?: string;
618
+
619
+ /**
620
+ * Badge image URL.
621
+ */
622
+ badgeUrl?: string;
623
+
624
+ /**
625
+ * Name of the affiliated account.
626
+ */
627
+ description?: string;
628
+ }
629
+ }
197
630
  }
198
631
 
199
632
  export interface XGetArticleResponse {
200
633
  article: XGetArticleResponse.Article;
201
634
 
202
635
  /**
203
- * X Article author profile fields returned when available.
636
+ * Available X Article author fields.
204
637
  */
205
638
  author?: XGetArticleResponse.Author;
206
639
  }
207
640
 
208
641
  export namespace XGetArticleResponse {
209
642
  export interface Article {
643
+ /**
644
+ * X's ID for the Article, which differs from its post's ID
645
+ */
646
+ articleId?: string;
647
+
648
+ /**
649
+ * Article blocks as Markdown, with headings, lists, bold, italic, links, images &
650
+ * embedded posts as their x.com URLs. Holds no HTML.
651
+ */
652
+ bodyMarkdown?: string;
653
+
210
654
  /**
211
655
  * Plain text joined from all article blocks
212
656
  */
213
657
  bodyText?: string;
214
658
 
659
+ /**
660
+ * Accounts that bookmarked the Article's post. 0 or more.
661
+ */
662
+ bookmarkCount?: number;
663
+
215
664
  contents?: Array<Article.Content>;
216
665
 
217
666
  coverImageUrl?: string;
218
667
 
668
+ /**
669
+ * Public metadata whose fields are defined by X.
670
+ */
671
+ coverMedia?: { [key: string]: unknown };
672
+
219
673
  createdAt?: string;
220
674
 
675
+ /**
676
+ * Public metadata whose fields are defined by X.
677
+ */
678
+ lifecycleState?: { [key: string]: unknown };
679
+
221
680
  likeCount?: number;
222
681
 
682
+ /**
683
+ * Public metadata whose fields are defined by X.
684
+ */
685
+ metadata?: { [key: string]: unknown };
686
+
223
687
  previewText?: string;
224
688
 
225
689
  quoteCount?: number;
226
690
 
227
691
  replyCount?: number;
228
692
 
693
+ /**
694
+ * Reposts of the Article's post. 0 or more.
695
+ */
696
+ retweetCount?: number;
697
+
698
+ /**
699
+ * X's summary of the Article, when X has one
700
+ */
701
+ summaryText?: string;
702
+
229
703
  title?: string;
230
704
 
231
705
  viewCount?: number;
@@ -233,6 +707,24 @@ export namespace XGetArticleResponse {
233
707
 
234
708
  export namespace Article {
235
709
  export interface Content {
710
+ /**
711
+ * Alt text of the image or preview image
712
+ */
713
+ altText?: string;
714
+
715
+ /**
716
+ * Caption the author wrote under a media block
717
+ */
718
+ caption?: string;
719
+
720
+ /**
721
+ * Length of a video, in milliseconds
722
+ */
723
+ durationMs?: number;
724
+
725
+ /**
726
+ * Height of the image or preview image
727
+ */
236
728
  height?: number;
237
729
 
238
730
  /**
@@ -241,24 +733,47 @@ export namespace XGetArticleResponse {
241
733
  inlineStyleRanges?: Array<Content.InlineStyleRange>;
242
734
 
243
735
  /**
244
- * Preview image URL for media blocks
736
+ * Links in the block's text, with the text range each covers
737
+ */
738
+ links?: Array<Content.Link>;
739
+
740
+ /**
741
+ * What a media block holds
742
+ */
743
+ mediaType?: 'image' | 'video' | 'gif';
744
+
745
+ /**
746
+ * Image of a media block, or the preview image of a video or GIF
245
747
  */
246
748
  previewUrl?: string;
247
749
 
248
750
  text?: string;
249
751
 
752
+ /**
753
+ * ID of the post a tweet block embeds
754
+ */
755
+ tweetId?: string;
756
+
250
757
  /**
251
758
  * Block type: paragraph, header-one, header-two, header-three, header-four,
252
759
  * header-five, header-six, unordered-list-item, ordered-list-item, blockquote,
253
- * code-block, media, divider
760
+ * code-block, markdown, media, tweet, divider
254
761
  */
255
762
  type?: string;
256
763
 
257
764
  /**
258
- * Media URL for media blocks
765
+ * Image URL of an image block. A video or GIF block lists its files in `variants`.
259
766
  */
260
767
  url?: string;
261
768
 
769
+ /**
770
+ * Files of a video or GIF block, in X's order
771
+ */
772
+ variants?: Array<Content.Variant>;
773
+
774
+ /**
775
+ * Width of the image or preview image
776
+ */
262
777
  width?: number;
263
778
  }
264
779
 
@@ -268,18 +783,37 @@ export namespace XGetArticleResponse {
268
783
 
269
784
  offset?: number;
270
785
 
786
+ /**
787
+ * X's name for the style, such as Bold or Italic
788
+ */
271
789
  style?: string;
272
790
  }
273
- }
274
- }
275
791
 
276
- /**
277
- * X Article author profile fields returned when available.
278
- */
279
- export interface Author {
280
- id: string;
792
+ export interface Link {
793
+ length?: number;
281
794
 
282
- name: string;
795
+ offset?: number;
796
+
797
+ url?: string;
798
+ }
799
+
800
+ export interface Variant {
801
+ contentType: string;
802
+
803
+ url: string;
804
+
805
+ bitrate?: number;
806
+ }
807
+ }
808
+ }
809
+
810
+ /**
811
+ * Available X Article author fields.
812
+ */
813
+ export interface Author {
814
+ id: string;
815
+
816
+ name: string;
283
817
 
284
818
  username: string;
285
819
 
@@ -287,10 +821,19 @@ export namespace XGetArticleResponse {
287
821
 
288
822
  description?: string;
289
823
 
824
+ /**
825
+ * Whole number from 0.
826
+ */
290
827
  favouritesCount?: number;
291
828
 
829
+ /**
830
+ * Whole number from 0.
831
+ */
292
832
  followersCount?: number;
293
833
 
834
+ /**
835
+ * Whole number from 0.
836
+ */
294
837
  followingCount?: number;
295
838
 
296
839
  isBlueVerified?: boolean;
@@ -301,6 +844,9 @@ export namespace XGetArticleResponse {
301
844
 
302
845
  location?: string;
303
846
 
847
+ /**
848
+ * Whole number from 0.
849
+ */
304
850
  mediaCount?: number;
305
851
 
306
852
  profileBannerUrl?: string;
@@ -309,12 +855,90 @@ export namespace XGetArticleResponse {
309
855
 
310
856
  protected?: boolean;
311
857
 
858
+ /**
859
+ * Whole number from 0.
860
+ */
312
861
  statusesCount?: number;
313
862
 
314
863
  url?: string;
315
864
  }
316
865
  }
317
866
 
867
+ export interface XGetHashflagsResponse {
868
+ /**
869
+ * Hashflags returned & charged.
870
+ */
871
+ count: number;
872
+
873
+ hashflags: Array<XGetHashflagsResponse.Hashflag>;
874
+
875
+ /**
876
+ * Hashflags that match the filters, before limit.
877
+ */
878
+ total: number;
879
+
880
+ /**
881
+ * What to send instead. Present only when no hashflag matches.
882
+ */
883
+ message?: string;
884
+ }
885
+
886
+ export namespace XGetHashflagsResponse {
887
+ /**
888
+ * A custom emoji X shows after a hashtag for a set time.
889
+ */
890
+ export interface Hashflag {
891
+ /**
892
+ * Animations X plays for the hashtag, such as on a like. Often empty.
893
+ */
894
+ animations: Array<Hashflag.Animation>;
895
+
896
+ /**
897
+ * Image of the emoji.
898
+ */
899
+ assetUrl: string;
900
+
901
+ /**
902
+ * When X stops showing the emoji, in UTC.
903
+ */
904
+ endsAt: string;
905
+
906
+ /**
907
+ * Hashtag text without the hash sign. X also lists some plain phrases.
908
+ */
909
+ hashtag: string;
910
+
911
+ /**
912
+ * Whether X marks the hashflag for its hashfetti effect.
913
+ */
914
+ isHashfettiEnabled: boolean;
915
+
916
+ /**
917
+ * When X starts showing the emoji, in UTC.
918
+ */
919
+ startsAt: string;
920
+ }
921
+
922
+ export namespace Hashflag {
923
+ export interface Animation {
924
+ /**
925
+ * Animation file.
926
+ */
927
+ assetUrl: string;
928
+
929
+ /**
930
+ * What plays the animation, such as Like.
931
+ */
932
+ context: string | null;
933
+
934
+ /**
935
+ * X's order among the animations of a hashtag.
936
+ */
937
+ priority: number | null;
938
+ }
939
+ }
940
+ }
941
+
318
942
  export interface XGetNotificationsResponse {
319
943
  has_next_page: boolean;
320
944
 
@@ -335,12 +959,81 @@ export namespace XGetNotificationsResponse {
335
959
  }
336
960
  }
337
961
 
962
+ export interface XGetTrendLocationsResponse {
963
+ /**
964
+ * Locations returned & charged.
965
+ */
966
+ count: number;
967
+
968
+ locations: Array<XGetTrendLocationsResponse.Location>;
969
+
970
+ /**
971
+ * Locations that match the filters, before limit.
972
+ */
973
+ total: number;
974
+
975
+ /**
976
+ * What to send instead. Present only when no location matches.
977
+ */
978
+ message?: string;
979
+ }
980
+
981
+ export namespace XGetTrendLocationsResponse {
982
+ /**
983
+ * A place X offers trends for.
984
+ */
985
+ export interface Location {
986
+ /**
987
+ * Country name. Null for Worldwide.
988
+ */
989
+ country: string | null;
990
+
991
+ /**
992
+ * 2-letter country code. Null for Worldwide.
993
+ */
994
+ countryCode: string | null;
995
+
996
+ name: string;
997
+
998
+ /**
999
+ * WOEID of the country or region above it. Null for Worldwide.
1000
+ */
1001
+ parentWoeid: number | null;
1002
+
1003
+ /**
1004
+ * X's kind of place. Town, Country, Supername for Worldwide, or Unknown.
1005
+ */
1006
+ placeType: string | null;
1007
+
1008
+ /**
1009
+ * X's numeric code for the kind of place.
1010
+ */
1011
+ placeTypeCode: number | null;
1012
+
1013
+ /**
1014
+ * X's legacy Yahoo GeoPlanet reference. It may not resolve.
1015
+ */
1016
+ url: string | null;
1017
+
1018
+ /**
1019
+ * Location ID. Pass it as woeid to /x/trends.
1020
+ */
1021
+ woeid: number;
1022
+ }
1023
+ }
1024
+
338
1025
  export interface XGetTrendsResponse {
339
1026
  count: number;
340
1027
 
341
1028
  trends: Array<XGetTrendsResponse.Trend>;
342
1029
 
343
1030
  woeid: number;
1031
+
1032
+ /**
1033
+ * The place country or location named. Absent when woeid picked the place or the
1034
+ * request named none.
1035
+ */
1036
+ location?: XGetTrendsResponse.Location;
344
1037
  }
345
1038
 
346
1039
  export namespace XGetTrendsResponse {
@@ -368,11 +1061,316 @@ export namespace XGetTrendsResponse {
368
1061
  */
369
1062
  url?: string;
370
1063
  }
1064
+
1065
+ /**
1066
+ * The place country or location named. Absent when woeid picked the place or the
1067
+ * request named none.
1068
+ */
1069
+ export interface Location {
1070
+ /**
1071
+ * Country name. Null for Worldwide.
1072
+ */
1073
+ country: string | null;
1074
+
1075
+ /**
1076
+ * 2-letter country code. Null for Worldwide.
1077
+ */
1078
+ countryCode: string | null;
1079
+
1080
+ name: string;
1081
+
1082
+ /**
1083
+ * WOEID of the country or region above it. Null for Worldwide.
1084
+ */
1085
+ parentWoeid: number | null;
1086
+
1087
+ /**
1088
+ * X's kind of place. Town, Country, Supername for Worldwide, or Unknown.
1089
+ */
1090
+ placeType: string | null;
1091
+
1092
+ /**
1093
+ * X's numeric code for the kind of place.
1094
+ */
1095
+ placeTypeCode: number | null;
1096
+
1097
+ /**
1098
+ * X's legacy Yahoo GeoPlanet reference. It may not resolve.
1099
+ */
1100
+ url: string | null;
1101
+
1102
+ /**
1103
+ * Location ID. Pass it as woeid to /x/trends.
1104
+ */
1105
+ woeid: number;
1106
+ }
1107
+ }
1108
+
1109
+ export interface XSearchPlacesResponse {
1110
+ /**
1111
+ * Places returned & charged.
1112
+ */
1113
+ count: number;
1114
+
1115
+ places: Array<XSearchPlacesResponse.Place>;
1116
+
1117
+ /**
1118
+ * Places X found, before limit.
1119
+ */
1120
+ total: number;
1121
+
1122
+ /**
1123
+ * What to send instead. Present only when X finds no place.
1124
+ */
1125
+ message?: string;
1126
+ }
1127
+
1128
+ export namespace XSearchPlacesResponse {
1129
+ /**
1130
+ * A place X found, with the larger places it lies in.
1131
+ */
1132
+ export interface Place {
1133
+ /**
1134
+ * Place ID. Pass it as place to /x/tweets/search.
1135
+ */
1136
+ id: string;
1137
+
1138
+ /**
1139
+ * Extra details X attaches to some places. Often empty.
1140
+ */
1141
+ attributes: { [key: string]: unknown };
1142
+
1143
+ /**
1144
+ * Outline of the place as GeoJSON. Each point holds longitude, then latitude.
1145
+ */
1146
+ boundingBox: Place.BoundingBox | null;
1147
+
1148
+ /**
1149
+ * Center of the place. Longitude, then latitude.
1150
+ */
1151
+ centroid: Array<number> | null;
1152
+
1153
+ /**
1154
+ * Larger places this place lies in. Often 1.
1155
+ */
1156
+ containedWithin: Array<Place.ContainedWithin>;
1157
+
1158
+ /**
1159
+ * Country the place lies in.
1160
+ */
1161
+ country: string | null;
1162
+
1163
+ /**
1164
+ * 2-letter code of the country the place lies in.
1165
+ */
1166
+ countryCode: string | null;
1167
+
1168
+ /**
1169
+ * Name with the region or country around the place.
1170
+ */
1171
+ fullName: string | null;
1172
+
1173
+ /**
1174
+ * Short name of the place.
1175
+ */
1176
+ name: string;
1177
+
1178
+ /**
1179
+ * X's kind of place, such as city, admin, neighborhood, poi or country.
1180
+ */
1181
+ placeType: string | null;
1182
+
1183
+ /**
1184
+ * X's own reference URL for the place.
1185
+ */
1186
+ url: string | null;
1187
+ }
1188
+
1189
+ export namespace Place {
1190
+ /**
1191
+ * Outline of the place as GeoJSON. Each point holds longitude, then latitude.
1192
+ */
1193
+ export interface BoundingBox {
1194
+ /**
1195
+ * Rings of points that draw the outline.
1196
+ */
1197
+ coordinates: Array<Array<Array<number>>>;
1198
+
1199
+ /**
1200
+ * GeoJSON shape of the outline.
1201
+ */
1202
+ type: string;
1203
+ }
1204
+
1205
+ /**
1206
+ * A place on X, such as a city or a neighborhood.
1207
+ */
1208
+ export interface ContainedWithin {
1209
+ /**
1210
+ * Place ID. Pass it as place to /x/tweets/search.
1211
+ */
1212
+ id: string;
1213
+
1214
+ /**
1215
+ * Extra details X attaches to some places. Often empty.
1216
+ */
1217
+ attributes: { [key: string]: unknown };
1218
+
1219
+ /**
1220
+ * Outline of the place as GeoJSON. Each point holds longitude, then latitude.
1221
+ */
1222
+ boundingBox: ContainedWithin.BoundingBox | null;
1223
+
1224
+ /**
1225
+ * Center of the place. Longitude, then latitude.
1226
+ */
1227
+ centroid: Array<number> | null;
1228
+
1229
+ /**
1230
+ * Country the place lies in.
1231
+ */
1232
+ country: string | null;
1233
+
1234
+ /**
1235
+ * 2-letter code of the country the place lies in.
1236
+ */
1237
+ countryCode: string | null;
1238
+
1239
+ /**
1240
+ * Name with the region or country around the place.
1241
+ */
1242
+ fullName: string | null;
1243
+
1244
+ /**
1245
+ * Short name of the place.
1246
+ */
1247
+ name: string;
1248
+
1249
+ /**
1250
+ * X's kind of place, such as city, admin, neighborhood, poi or country.
1251
+ */
1252
+ placeType: string | null;
1253
+
1254
+ /**
1255
+ * X's own reference URL for the place.
1256
+ */
1257
+ url: string | null;
1258
+ }
1259
+
1260
+ export namespace ContainedWithin {
1261
+ /**
1262
+ * Outline of the place as GeoJSON. Each point holds longitude, then latitude.
1263
+ */
1264
+ export interface BoundingBox {
1265
+ /**
1266
+ * Rings of points that draw the outline.
1267
+ */
1268
+ coordinates: Array<Array<Array<number>>>;
1269
+
1270
+ /**
1271
+ * GeoJSON shape of the outline.
1272
+ */
1273
+ type: string;
1274
+ }
1275
+ }
1276
+ }
1277
+ }
1278
+
1279
+ export interface XAutocompleteSearchParams {
1280
+ /**
1281
+ * Text typed so far. Start with # for hashtags or $ for cashtags. A # query
1282
+ * returns hashtags & the accounts X suggests for it. Alias: query.
1283
+ */
1284
+ q: string;
1285
+
1286
+ /**
1287
+ * Fields to keep in each row, comma-separated. Use dots for nested fields, such as
1288
+ * author.username. A list keeps the field in each item. Case & underscores do not
1289
+ * matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
1290
+ * always stay. An unknown name answers 400 unknown_field with the valid names,
1291
+ * before any read. The price stays the same. SDK row types then hold only the
1292
+ * named fields.
1293
+ */
1294
+ fields?: string;
1295
+
1296
+ /**
1297
+ * Most suggestions to return: 1 to 100, default 20. Accounts fill it first, then
1298
+ * topics, hashtags & cashtags. Credits can return fewer. Aliases: pageSize, count,
1299
+ * max_results, maxItems, max_items & per_page.
1300
+ */
1301
+ limit?: number;
1302
+
1303
+ /**
1304
+ * Fields to drop from each row, comma-separated. It takes the same names as
1305
+ * fields. With fields, it drops from the kept fields.
1306
+ */
1307
+ omit?: string;
1308
+
1309
+ /**
1310
+ * Comma-separated suggestion types: users, topics, hashtags or cashtags. Omit for
1311
+ * all. With only hashtags or only cashtags, the query gets its # or $ when it
1312
+ * lacks one.
1313
+ */
1314
+ types?: string;
1315
+ }
1316
+
1317
+ export interface XGetArticleParams {
1318
+ /**
1319
+ * Fields to keep in each row, comma-separated. Use dots for nested fields, such as
1320
+ * author.username. A list keeps the field in each item. Case & underscores do not
1321
+ * matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
1322
+ * always stay. An unknown name answers 400 unknown_field with the valid names,
1323
+ * before any read. The price stays the same. SDK row types then hold only the
1324
+ * named fields.
1325
+ */
1326
+ fields?: string;
1327
+
1328
+ /**
1329
+ * Fields to drop from each row, comma-separated. It takes the same names as
1330
+ * fields. With fields, it drops from the kept fields.
1331
+ */
1332
+ omit?: string;
1333
+ }
1334
+
1335
+ export interface XGetHashflagsParams {
1336
+ /**
1337
+ * Keeps hashflags that run now. Send false to add ended & upcoming ones.
1338
+ */
1339
+ activeOnly?: boolean;
1340
+
1341
+ /**
1342
+ * Fields to keep in each row, comma-separated. Use dots for nested fields, such as
1343
+ * author.username. A list keeps the field in each item. Case & underscores do not
1344
+ * matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
1345
+ * always stay. An unknown name answers 400 unknown_field with the valid names,
1346
+ * before any read. The price stays the same. SDK row types then hold only the
1347
+ * named fields.
1348
+ */
1349
+ fields?: string;
1350
+
1351
+ /**
1352
+ * Maximum hashflags to return. Omit it for every match. Credits can return fewer.
1353
+ * Aliases pageSize, count, max_results, maxItems, max_items & per_page.
1354
+ */
1355
+ limit?: number;
1356
+
1357
+ /**
1358
+ * Fields to drop from each row, comma-separated. It takes the same names as
1359
+ * fields. With fields, it drops from the kept fields.
1360
+ */
1361
+ omit?: string;
1362
+
1363
+ /**
1364
+ * Text the hashtag contains, such as football. Case insensitive. A leading hash
1365
+ * sign is ignored. Alias query.
1366
+ */
1367
+ q?: string;
371
1368
  }
372
1369
 
373
1370
  export interface XGetHomeTimelineParams {
374
1371
  /**
375
- * Pagination cursor for timeline
1372
+ * Pagination cursor for collection results. Also read as next_cursor, next_token,
1373
+ * pagination_token or continuation_token.
376
1374
  */
377
1375
  cursor?: string;
378
1376
 
@@ -384,7 +1382,8 @@ export interface XGetHomeTimelineParams {
384
1382
 
385
1383
  export interface XGetNotificationsParams {
386
1384
  /**
387
- * Pagination cursor for notifications
1385
+ * Pagination cursor for collection results. Also read as next_cursor, next_token,
1386
+ * pagination_token or continuation_token.
388
1387
  */
389
1388
  cursor?: string;
390
1389
 
@@ -394,6 +1393,46 @@ export interface XGetNotificationsParams {
394
1393
  type?: 'All' | 'Verified' | 'Mentions';
395
1394
  }
396
1395
 
1396
+ export interface XGetTrendLocationsParams {
1397
+ /**
1398
+ * Country name or 2-letter code, such as Turkey or TR. Case insensitive. Returns
1399
+ * the country & its towns.
1400
+ */
1401
+ country?: string;
1402
+
1403
+ /**
1404
+ * Fields to keep in each row, comma-separated. Use dots for nested fields, such as
1405
+ * author.username. A list keeps the field in each item. Case & underscores do not
1406
+ * matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
1407
+ * always stay. An unknown name answers 400 unknown_field with the valid names,
1408
+ * before any read. The price stays the same. SDK row types then hold only the
1409
+ * named fields.
1410
+ */
1411
+ fields?: string;
1412
+
1413
+ /**
1414
+ * Maximum locations to return. Omit it for every match. Credits can return fewer.
1415
+ * Aliases pageSize, count, max_results, maxItems, max_items & per_page.
1416
+ */
1417
+ limit?: number;
1418
+
1419
+ /**
1420
+ * Fields to drop from each row, comma-separated. It takes the same names as
1421
+ * fields. With fields, it drops from the kept fields.
1422
+ */
1423
+ omit?: string;
1424
+
1425
+ /**
1426
+ * Kind of place. Case insensitive. X labels a few towns unknown.
1427
+ */
1428
+ placeType?: 'country' | 'town' | 'worldwide' | 'unknown';
1429
+
1430
+ /**
1431
+ * Text the location name contains, such as york. Case insensitive. Alias query.
1432
+ */
1433
+ q?: string;
1434
+ }
1435
+
397
1436
  export interface XGetTrendsParams {
398
1437
  /**
399
1438
  * Number of trending topics to return (1-50, default 30)
@@ -401,15 +1440,75 @@ export interface XGetTrendsParams {
401
1440
  count?: number;
402
1441
 
403
1442
  /**
404
- * Region WOEID (1=Worldwide, 23424977=US, 23424975=UK, 23424969=Turkey)
1443
+ * Country to read trends for, by name or 2-letter code, such as Turkey or TR. Case
1444
+ * insensitive.
1445
+ */
1446
+ country?: string;
1447
+
1448
+ /**
1449
+ * Fields to keep in each row, comma-separated. Use dots for nested fields, such as
1450
+ * author.username. A list keeps the field in each item. Case & underscores do not
1451
+ * matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
1452
+ * always stay. An unknown name answers 400 unknown_field with the valid names,
1453
+ * before any read. The price stays the same. SDK row types then hold only the
1454
+ * named fields.
1455
+ */
1456
+ fields?: string;
1457
+
1458
+ /**
1459
+ * Town or country to read trends for, by name, such as Istanbul. Case insensitive.
1460
+ * Add country when 2 towns share a name. /x/trends/locations lists every name.
1461
+ */
1462
+ location?: string;
1463
+
1464
+ /**
1465
+ * Fields to drop from each row, comma-separated. It takes the same names as
1466
+ * fields. With fields, it drops from the kept fields.
1467
+ */
1468
+ omit?: string;
1469
+
1470
+ /**
1471
+ * Region WOEID (1=Worldwide, 23424977=US, 23424975=UK, 23424969=Turkey). Wins over
1472
+ * country & location.
405
1473
  */
406
1474
  woeid?: number;
407
1475
  }
408
1476
 
1477
+ export interface XSearchPlacesParams {
1478
+ /**
1479
+ * Place name to search for, such as istanbul. Alias query.
1480
+ */
1481
+ q: string;
1482
+
1483
+ /**
1484
+ * Fields to keep in each row, comma-separated. Use dots for nested fields, such as
1485
+ * author.username. A list keeps the field in each item. Case & underscores do not
1486
+ * matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
1487
+ * always stay. An unknown name answers 400 unknown_field with the valid names,
1488
+ * before any read. The price stays the same. SDK row types then hold only the
1489
+ * named fields.
1490
+ */
1491
+ fields?: string;
1492
+
1493
+ /**
1494
+ * Maximum places to return. Omit it for every place X finds. Credits can return
1495
+ * fewer. Aliases pageSize, count, max_results, maxItems, max_items & per_page.
1496
+ */
1497
+ limit?: number;
1498
+
1499
+ /**
1500
+ * Fields to drop from each row, comma-separated. It takes the same names as
1501
+ * fields. With fields, it drops from the kept fields.
1502
+ */
1503
+ omit?: string;
1504
+ }
1505
+
409
1506
  X.WriteActions = WriteActions;
1507
+ X.Analysis = Analysis;
410
1508
  X.Tweets = Tweets;
411
1509
  X.Users = Users;
412
1510
  X.Followers = Followers;
1511
+ X.Jobs = Jobs;
413
1512
  X.Dm = Dm;
414
1513
  X.Media = Media;
415
1514
  X.Profile = Profile;
@@ -419,58 +1518,125 @@ X.AccountConnectionChallenges = AccountConnectionChallenges;
419
1518
  X.AccountConnectionAttempts = AccountConnectionAttempts;
420
1519
  X.Bookmarks = Bookmarks;
421
1520
  X.Lists = Lists;
1521
+ X.Broadcasts = Broadcasts;
1522
+ X.Spaces = Spaces;
422
1523
 
423
1524
  export declare namespace X {
424
1525
  export {
1526
+ type XAutocompleteSearchResponse as XAutocompleteSearchResponse,
425
1527
  type XGetArticleResponse as XGetArticleResponse,
1528
+ type XGetHashflagsResponse as XGetHashflagsResponse,
426
1529
  type XGetNotificationsResponse as XGetNotificationsResponse,
1530
+ type XGetTrendLocationsResponse as XGetTrendLocationsResponse,
427
1531
  type XGetTrendsResponse as XGetTrendsResponse,
1532
+ type XSearchPlacesResponse as XSearchPlacesResponse,
1533
+ type XAutocompleteSearchParams as XAutocompleteSearchParams,
1534
+ type XGetArticleParams as XGetArticleParams,
1535
+ type XGetHashflagsParams as XGetHashflagsParams,
428
1536
  type XGetHomeTimelineParams as XGetHomeTimelineParams,
429
1537
  type XGetNotificationsParams as XGetNotificationsParams,
1538
+ type XGetTrendLocationsParams as XGetTrendLocationsParams,
430
1539
  type XGetTrendsParams as XGetTrendsParams,
1540
+ type XSearchPlacesParams as XSearchPlacesParams,
431
1541
  };
432
1542
 
433
1543
  export { WriteActions as WriteActions, type WriteActionRetrieveResponse as WriteActionRetrieveResponse };
434
1544
 
1545
+ export {
1546
+ Analysis as Analysis,
1547
+ type AnalysisBrandResponse as AnalysisBrandResponse,
1548
+ type AnalysisClassifyResponse as AnalysisClassifyResponse,
1549
+ type AnalysisMarketSignalsResponse as AnalysisMarketSignalsResponse,
1550
+ type AnalysisNewsResponse as AnalysisNewsResponse,
1551
+ type AnalysisSentimentResponse as AnalysisSentimentResponse,
1552
+ type AnalysisViralScoreResponse as AnalysisViralScoreResponse,
1553
+ type AnalysisBrandParams as AnalysisBrandParams,
1554
+ type AnalysisClassifyParams as AnalysisClassifyParams,
1555
+ type AnalysisMarketSignalsParams as AnalysisMarketSignalsParams,
1556
+ type AnalysisNewsParams as AnalysisNewsParams,
1557
+ type AnalysisSentimentParams as AnalysisSentimentParams,
1558
+ type AnalysisViralScoreParams as AnalysisViralScoreParams,
1559
+ };
1560
+
435
1561
  export {
436
1562
  Tweets as Tweets,
437
1563
  type TweetAuthor as TweetAuthor,
438
1564
  type TweetDetail as TweetDetail,
439
1565
  type TweetCreateResponse as TweetCreateResponse,
440
1566
  type TweetRetrieveResponse as TweetRetrieveResponse,
1567
+ type TweetListResponse as TweetListResponse,
441
1568
  type TweetDeleteResponse as TweetDeleteResponse,
1569
+ type TweetCheckRepostResponse as TweetCheckRepostResponse,
1570
+ type TweetEmbedResponse as TweetEmbedResponse,
1571
+ type TweetGetInsightsResponse as TweetGetInsightsResponse,
442
1572
  type TweetGetRepliesResponse as TweetGetRepliesResponse,
1573
+ type TweetGetRetweeterIDsResponse as TweetGetRetweeterIDsResponse,
1574
+ type TweetGetSubtitlesResponse as TweetGetSubtitlesResponse,
1575
+ type TweetResolveLinksResponse as TweetResolveLinksResponse,
443
1576
  type TweetSearchResponse as TweetSearchResponse,
1577
+ type TweetTranslateResponse as TweetTranslateResponse,
444
1578
  type TweetCreateParams as TweetCreateParams,
1579
+ type TweetRetrieveParams as TweetRetrieveParams,
445
1580
  type TweetListParams as TweetListParams,
446
1581
  type TweetDeleteParams as TweetDeleteParams,
1582
+ type TweetCheckRepostParams as TweetCheckRepostParams,
1583
+ type TweetEmbedParams as TweetEmbedParams,
447
1584
  type TweetGetFavoritersParams as TweetGetFavoritersParams,
1585
+ type TweetGetHiddenRepliesParams as TweetGetHiddenRepliesParams,
1586
+ type TweetGetInsightsParams as TweetGetInsightsParams,
448
1587
  type TweetGetQuotesParams as TweetGetQuotesParams,
449
1588
  type TweetGetRepliesParams as TweetGetRepliesParams,
1589
+ type TweetGetRetweeterIDsParams as TweetGetRetweeterIDsParams,
450
1590
  type TweetGetRetweetersParams as TweetGetRetweetersParams,
1591
+ type TweetGetSubtitlesParams as TweetGetSubtitlesParams,
451
1592
  type TweetGetThreadParams as TweetGetThreadParams,
1593
+ type TweetListTopParams as TweetListTopParams,
1594
+ type TweetResolveLinksParams as TweetResolveLinksParams,
452
1595
  type TweetSearchParams as TweetSearchParams,
1596
+ type TweetTranslateParams as TweetTranslateParams,
453
1597
  };
454
1598
 
455
1599
  export {
456
1600
  Users as Users,
457
1601
  type UserRemoveFollowerResponse as UserRemoveFollowerResponse,
458
1602
  type UserRetrieveBatchResponse as UserRetrieveBatchResponse,
1603
+ type UserRetrieveBatchTweetsResponse as UserRetrieveBatchTweetsResponse,
1604
+ type UserRetrieveFollowerIDsResponse as UserRetrieveFollowerIDsResponse,
459
1605
  type UserRetrieveFollowersResponse as UserRetrieveFollowersResponse,
460
1606
  type UserRetrieveFollowingResponse as UserRetrieveFollowingResponse,
1607
+ type UserRetrieveFollowingIDsResponse as UserRetrieveFollowingIDsResponse,
1608
+ type UserRetrieveInsightsResponse as UserRetrieveInsightsResponse,
1609
+ type UserRetrieveListMembershipsResponse as UserRetrieveListMembershipsResponse,
1610
+ type UserRetrieveListsResponse as UserRetrieveListsResponse,
1611
+ type UserRetrieveLiveResponse as UserRetrieveLiveResponse,
461
1612
  type UserRetrieveVerifiedFollowersResponse as UserRetrieveVerifiedFollowersResponse,
1613
+ type UserTranslateBioResponse as UserTranslateBioResponse,
1614
+ type UserRetrieveParams as UserRetrieveParams,
462
1615
  type UserRemoveFollowerParams as UserRemoveFollowerParams,
1616
+ type UserRetrieveAffiliatesParams as UserRetrieveAffiliatesParams,
1617
+ type UserRetrieveArticlesParams as UserRetrieveArticlesParams,
463
1618
  type UserRetrieveBatchParams as UserRetrieveBatchParams,
1619
+ type UserRetrieveBatchTweetsParams as UserRetrieveBatchTweetsParams,
1620
+ type UserRetrieveFollowerIDsParams as UserRetrieveFollowerIDsParams,
464
1621
  type UserRetrieveFollowersParams as UserRetrieveFollowersParams,
465
1622
  type UserRetrieveFollowersYouKnowParams as UserRetrieveFollowersYouKnowParams,
466
1623
  type UserRetrieveFollowingParams as UserRetrieveFollowingParams,
1624
+ type UserRetrieveFollowingIDsParams as UserRetrieveFollowingIDsParams,
1625
+ type UserRetrieveHighlightsParams as UserRetrieveHighlightsParams,
1626
+ type UserRetrieveInsightsParams as UserRetrieveInsightsParams,
467
1627
  type UserRetrieveLikesParams as UserRetrieveLikesParams,
1628
+ type UserRetrieveListMembershipsParams as UserRetrieveListMembershipsParams,
1629
+ type UserRetrieveListsParams as UserRetrieveListsParams,
1630
+ type UserRetrieveLiveParams as UserRetrieveLiveParams,
468
1631
  type UserRetrieveMediaParams as UserRetrieveMediaParams,
469
1632
  type UserRetrieveMentionsParams as UserRetrieveMentionsParams,
470
1633
  type UserRetrieveRepliesParams as UserRetrieveRepliesParams,
471
1634
  type UserRetrieveSearchParams as UserRetrieveSearchParams,
1635
+ type UserRetrieveSimilarParams as UserRetrieveSimilarParams,
1636
+ type UserRetrieveSubscriptionsParams as UserRetrieveSubscriptionsParams,
472
1637
  type UserRetrieveTweetsParams as UserRetrieveTweetsParams,
473
1638
  type UserRetrieveVerifiedFollowersParams as UserRetrieveVerifiedFollowersParams,
1639
+ type UserTranslateBioParams as UserTranslateBioParams,
474
1640
  };
475
1641
 
476
1642
  export {
@@ -479,10 +1645,22 @@ export declare namespace X {
479
1645
  type FollowerCheckParams as FollowerCheckParams,
480
1646
  };
481
1647
 
1648
+ export {
1649
+ Jobs as Jobs,
1650
+ type JobRetrieveResponse as JobRetrieveResponse,
1651
+ type JobListLocationsResponse as JobListLocationsResponse,
1652
+ type JobSearchResponse as JobSearchResponse,
1653
+ type JobRetrieveParams as JobRetrieveParams,
1654
+ type JobListLocationsParams as JobListLocationsParams,
1655
+ type JobSearchParams as JobSearchParams,
1656
+ };
1657
+
482
1658
  export {
483
1659
  Dm as Dm,
1660
+ type DmDeleteMessageResponse as DmDeleteMessageResponse,
484
1661
  type DmRetrieveHistoryResponse as DmRetrieveHistoryResponse,
485
1662
  type DmSendResponse as DmSendResponse,
1663
+ type DmDeleteMessageParams as DmDeleteMessageParams,
486
1664
  type DmRetrieveHistoryParams as DmRetrieveHistoryParams,
487
1665
  type DmSendParams as DmSendParams,
488
1666
  };
@@ -509,12 +1687,20 @@ export declare namespace X {
509
1687
  Communities as Communities,
510
1688
  type CommunityCreateResponse as CommunityCreateResponse,
511
1689
  type CommunityDeleteResponse as CommunityDeleteResponse,
1690
+ type CommunityListSuggestedResponse as CommunityListSuggestedResponse,
1691
+ type CommunityListTopicsResponse as CommunityListTopicsResponse,
512
1692
  type CommunityRetrieveInfoResponse as CommunityRetrieveInfoResponse,
513
1693
  type CommunityCreateParams as CommunityCreateParams,
514
1694
  type CommunityDeleteParams as CommunityDeleteParams,
1695
+ type CommunityFindParams as CommunityFindParams,
1696
+ type CommunityListPopularParams as CommunityListPopularParams,
1697
+ type CommunityListSuggestedParams as CommunityListSuggestedParams,
1698
+ type CommunityListTopicsParams as CommunityListTopicsParams,
1699
+ type CommunityRetrieveInfoParams as CommunityRetrieveInfoParams,
515
1700
  type CommunityRetrieveMembersParams as CommunityRetrieveMembersParams,
516
1701
  type CommunityRetrieveModeratorsParams as CommunityRetrieveModeratorsParams,
517
1702
  type CommunityRetrieveSearchParams as CommunityRetrieveSearchParams,
1703
+ type CommunitySearchMembersParams as CommunitySearchMembersParams,
518
1704
  };
519
1705
 
520
1706
  export {
@@ -527,6 +1713,7 @@ export declare namespace X {
527
1713
  type AccountBulkRetryResponse as AccountBulkRetryResponse,
528
1714
  type AccountReauthResponse as AccountReauthResponse,
529
1715
  type AccountCreateParams as AccountCreateParams,
1716
+ type AccountListParams as AccountListParams,
530
1717
  type AccountReauthParams as AccountReauthParams,
531
1718
  };
532
1719
 
@@ -545,12 +1732,35 @@ export declare namespace X {
545
1732
  Bookmarks as Bookmarks,
546
1733
  type BookmarkRetrieveFoldersResponse as BookmarkRetrieveFoldersResponse,
547
1734
  type BookmarkListParams as BookmarkListParams,
1735
+ type BookmarkRetrieveFoldersParams as BookmarkRetrieveFoldersParams,
548
1736
  };
549
1737
 
550
1738
  export {
551
1739
  Lists as Lists,
1740
+ type ListRetrieveResponse as ListRetrieveResponse,
1741
+ type ListRetrieveFollowersResponse as ListRetrieveFollowersResponse,
1742
+ type ListRetrieveMembersResponse as ListRetrieveMembersResponse,
1743
+ type ListRetrieveSearchResponse as ListRetrieveSearchResponse,
1744
+ type ListRetrieveParams as ListRetrieveParams,
552
1745
  type ListRetrieveFollowersParams as ListRetrieveFollowersParams,
553
1746
  type ListRetrieveMembersParams as ListRetrieveMembersParams,
1747
+ type ListRetrieveSearchParams as ListRetrieveSearchParams,
554
1748
  type ListRetrieveTweetsParams as ListRetrieveTweetsParams,
555
1749
  };
1750
+
1751
+ export {
1752
+ Broadcasts as Broadcasts,
1753
+ type BroadcastRetrieveResponse as BroadcastRetrieveResponse,
1754
+ type BroadcastRetrieveParams as BroadcastRetrieveParams,
1755
+ };
1756
+
1757
+ export {
1758
+ Spaces as Spaces,
1759
+ type SpaceRetrieveResponse as SpaceRetrieveResponse,
1760
+ type SpaceRetrieveReplayResponse as SpaceRetrieveReplayResponse,
1761
+ type SpaceSearchResponse as SpaceSearchResponse,
1762
+ type SpaceRetrieveParams as SpaceRetrieveParams,
1763
+ type SpaceRetrieveReplayParams as SpaceRetrieveReplayParams,
1764
+ type SpaceSearchParams as SpaceSearchParams,
1765
+ };
556
1766
  }