x-twitter-scraper 0.12.3 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (473) hide show
  1. package/CHANGELOG.md +73 -2
  2. package/README.md +66 -51
  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 +3 -3
  8. package/client.js.map +1 -1
  9. package/client.mjs +4 -4
  10. package/client.mjs.map +1 -1
  11. package/core/streaming.d.mts +33 -0
  12. package/core/streaming.d.mts.map +1 -0
  13. package/core/streaming.d.ts +33 -0
  14. package/core/streaming.d.ts.map +1 -0
  15. package/core/streaming.js +270 -0
  16. package/core/streaming.js.map +1 -0
  17. package/core/streaming.mjs +265 -0
  18. package/core/streaming.mjs.map +1 -0
  19. package/internal/decoders/line.d.mts +17 -0
  20. package/internal/decoders/line.d.mts.map +1 -0
  21. package/internal/decoders/line.d.ts +17 -0
  22. package/internal/decoders/line.d.ts.map +1 -0
  23. package/internal/decoders/line.js +116 -0
  24. package/internal/decoders/line.js.map +1 -0
  25. package/internal/decoders/line.mjs +111 -0
  26. package/internal/decoders/line.mjs.map +1 -0
  27. package/internal/parse.d.mts.map +1 -1
  28. package/internal/parse.d.ts.map +1 -1
  29. package/internal/parse.js +7 -0
  30. package/internal/parse.js.map +1 -1
  31. package/internal/parse.mjs +7 -0
  32. package/internal/parse.mjs.map +1 -1
  33. package/internal/tslib.js +18 -18
  34. package/package.json +23 -5
  35. package/resources/account.d.mts +35 -12
  36. package/resources/account.d.mts.map +1 -1
  37. package/resources/account.d.ts +35 -12
  38. package/resources/account.d.ts.map +1 -1
  39. package/resources/account.js +4 -3
  40. package/resources/account.js.map +1 -1
  41. package/resources/account.mjs +4 -3
  42. package/resources/account.mjs.map +1 -1
  43. package/resources/compose.d.mts +77 -21
  44. package/resources/compose.d.mts.map +1 -1
  45. package/resources/compose.d.ts +77 -21
  46. package/resources/compose.d.ts.map +1 -1
  47. package/resources/compose.js +3 -4
  48. package/resources/compose.js.map +1 -1
  49. package/resources/compose.mjs +3 -4
  50. package/resources/compose.mjs.map +1 -1
  51. package/resources/credits.d.mts +18 -10
  52. package/resources/credits.d.mts.map +1 -1
  53. package/resources/credits.d.ts +18 -10
  54. package/resources/credits.d.ts.map +1 -1
  55. package/resources/credits.js +5 -4
  56. package/resources/credits.js.map +1 -1
  57. package/resources/credits.mjs +5 -4
  58. package/resources/credits.mjs.map +1 -1
  59. package/resources/drafts.d.mts +13 -17
  60. package/resources/drafts.d.mts.map +1 -1
  61. package/resources/drafts.d.ts +13 -17
  62. package/resources/drafts.d.ts.map +1 -1
  63. package/resources/drafts.js +4 -4
  64. package/resources/drafts.mjs +4 -4
  65. package/resources/draws.d.mts +84 -28
  66. package/resources/draws.d.mts.map +1 -1
  67. package/resources/draws.d.ts +84 -28
  68. package/resources/draws.d.ts.map +1 -1
  69. package/resources/draws.js +24 -9
  70. package/resources/draws.js.map +1 -1
  71. package/resources/draws.mjs +24 -9
  72. package/resources/draws.mjs.map +1 -1
  73. package/resources/events.d.mts +2564 -21
  74. package/resources/events.d.mts.map +1 -1
  75. package/resources/events.d.ts +2564 -21
  76. package/resources/events.d.ts.map +1 -1
  77. package/resources/events.js +34 -2
  78. package/resources/events.js.map +1 -1
  79. package/resources/events.mjs +34 -2
  80. package/resources/events.mjs.map +1 -1
  81. package/resources/extractions.d.mts +410 -128
  82. package/resources/extractions.d.mts.map +1 -1
  83. package/resources/extractions.d.ts +410 -128
  84. package/resources/extractions.d.ts.map +1 -1
  85. package/resources/extractions.js +74 -12
  86. package/resources/extractions.js.map +1 -1
  87. package/resources/extractions.mjs +74 -12
  88. package/resources/extractions.mjs.map +1 -1
  89. package/resources/guest-wallets.d.mts +6 -5
  90. package/resources/guest-wallets.d.mts.map +1 -1
  91. package/resources/guest-wallets.d.ts +6 -5
  92. package/resources/guest-wallets.d.ts.map +1 -1
  93. package/resources/guest-wallets.js +2 -1
  94. package/resources/guest-wallets.js.map +1 -1
  95. package/resources/guest-wallets.mjs +2 -1
  96. package/resources/guest-wallets.mjs.map +1 -1
  97. package/resources/index.d.mts +6 -6
  98. package/resources/index.d.mts.map +1 -1
  99. package/resources/index.d.ts +6 -6
  100. package/resources/index.d.ts.map +1 -1
  101. package/resources/index.js.map +1 -1
  102. package/resources/index.mjs +1 -1
  103. package/resources/index.mjs.map +1 -1
  104. package/resources/monitors/index.d.mts +2 -2
  105. package/resources/monitors/index.d.mts.map +1 -1
  106. package/resources/monitors/index.d.ts +2 -2
  107. package/resources/monitors/index.d.ts.map +1 -1
  108. package/resources/monitors/index.js.map +1 -1
  109. package/resources/monitors/index.mjs.map +1 -1
  110. package/resources/monitors/keywords.d.mts +66 -14
  111. package/resources/monitors/keywords.d.mts.map +1 -1
  112. package/resources/monitors/keywords.d.ts +66 -14
  113. package/resources/monitors/keywords.d.ts.map +1 -1
  114. package/resources/monitors/keywords.js +16 -10
  115. package/resources/monitors/keywords.js.map +1 -1
  116. package/resources/monitors/keywords.mjs +16 -10
  117. package/resources/monitors/keywords.mjs.map +1 -1
  118. package/resources/monitors/monitors.d.mts +53 -16
  119. package/resources/monitors/monitors.d.mts.map +1 -1
  120. package/resources/monitors/monitors.d.ts +53 -16
  121. package/resources/monitors/monitors.d.ts.map +1 -1
  122. package/resources/monitors/monitors.js +12 -10
  123. package/resources/monitors/monitors.js.map +1 -1
  124. package/resources/monitors/monitors.mjs +12 -10
  125. package/resources/monitors/monitors.mjs.map +1 -1
  126. package/resources/radar.d.mts +32 -36
  127. package/resources/radar.d.mts.map +1 -1
  128. package/resources/radar.d.ts +32 -36
  129. package/resources/radar.d.ts.map +1 -1
  130. package/resources/radar.js +1 -1
  131. package/resources/radar.mjs +1 -1
  132. package/resources/shared.d.mts +1726 -233
  133. package/resources/shared.d.mts.map +1 -1
  134. package/resources/shared.d.ts +1726 -233
  135. package/resources/shared.d.ts.map +1 -1
  136. package/resources/styles.d.mts +34 -23
  137. package/resources/styles.d.mts.map +1 -1
  138. package/resources/styles.d.ts +34 -23
  139. package/resources/styles.d.ts.map +1 -1
  140. package/resources/styles.js +11 -13
  141. package/resources/styles.js.map +1 -1
  142. package/resources/styles.mjs +11 -13
  143. package/resources/styles.mjs.map +1 -1
  144. package/resources/subscribe.d.mts +1 -1
  145. package/resources/subscribe.d.ts +1 -1
  146. package/resources/subscribe.js +1 -1
  147. package/resources/subscribe.mjs +1 -1
  148. package/resources/support/index.d.mts +1 -1
  149. package/resources/support/index.d.mts.map +1 -1
  150. package/resources/support/index.d.ts +1 -1
  151. package/resources/support/index.d.ts.map +1 -1
  152. package/resources/support/index.js.map +1 -1
  153. package/resources/support/index.mjs.map +1 -1
  154. package/resources/support/support.d.mts +2 -2
  155. package/resources/support/support.d.mts.map +1 -1
  156. package/resources/support/support.d.ts +2 -2
  157. package/resources/support/support.d.ts.map +1 -1
  158. package/resources/support/support.js.map +1 -1
  159. package/resources/support/support.mjs.map +1 -1
  160. package/resources/support/tickets.d.mts +30 -10
  161. package/resources/support/tickets.d.mts.map +1 -1
  162. package/resources/support/tickets.d.ts +30 -10
  163. package/resources/support/tickets.d.ts.map +1 -1
  164. package/resources/support/tickets.js +7 -7
  165. package/resources/support/tickets.js.map +1 -1
  166. package/resources/support/tickets.mjs +7 -7
  167. package/resources/support/tickets.mjs.map +1 -1
  168. package/resources/trends.d.mts +21 -5
  169. package/resources/trends.d.mts.map +1 -1
  170. package/resources/trends.d.ts +21 -5
  171. package/resources/trends.d.ts.map +1 -1
  172. package/resources/trends.js +2 -1
  173. package/resources/trends.js.map +1 -1
  174. package/resources/trends.mjs +2 -1
  175. package/resources/trends.mjs.map +1 -1
  176. package/resources/webhooks.d.mts +80 -14
  177. package/resources/webhooks.d.mts.map +1 -1
  178. package/resources/webhooks.d.ts +80 -14
  179. package/resources/webhooks.d.ts.map +1 -1
  180. package/resources/webhooks.js +30 -11
  181. package/resources/webhooks.js.map +1 -1
  182. package/resources/webhooks.mjs +30 -11
  183. package/resources/webhooks.mjs.map +1 -1
  184. package/resources/x/account-connection-attempts.d.mts +1 -1
  185. package/resources/x/account-connection-attempts.d.ts +1 -1
  186. package/resources/x/account-connection-attempts.js +1 -1
  187. package/resources/x/account-connection-attempts.mjs +1 -1
  188. package/resources/x/account-connection-challenges.d.mts +30 -11
  189. package/resources/x/account-connection-challenges.d.mts.map +1 -1
  190. package/resources/x/account-connection-challenges.d.ts +30 -11
  191. package/resources/x/account-connection-challenges.d.ts.map +1 -1
  192. package/resources/x/account-connection-challenges.js +5 -4
  193. package/resources/x/account-connection-challenges.js.map +1 -1
  194. package/resources/x/account-connection-challenges.mjs +5 -4
  195. package/resources/x/account-connection-challenges.mjs.map +1 -1
  196. package/resources/x/accounts.d.mts +38 -10
  197. package/resources/x/accounts.d.mts.map +1 -1
  198. package/resources/x/accounts.d.ts +38 -10
  199. package/resources/x/accounts.d.ts.map +1 -1
  200. package/resources/x/accounts.js +8 -7
  201. package/resources/x/accounts.js.map +1 -1
  202. package/resources/x/accounts.mjs +8 -7
  203. package/resources/x/accounts.mjs.map +1 -1
  204. package/resources/x/analysis.d.mts +3274 -0
  205. package/resources/x/analysis.d.mts.map +1 -0
  206. package/resources/x/analysis.d.ts +3274 -0
  207. package/resources/x/analysis.d.ts.map +1 -0
  208. package/resources/x/analysis.js +132 -0
  209. package/resources/x/analysis.js.map +1 -0
  210. package/resources/x/analysis.mjs +128 -0
  211. package/resources/x/analysis.mjs.map +1 -0
  212. package/resources/x/bookmarks.d.mts +84 -9
  213. package/resources/x/bookmarks.d.mts.map +1 -1
  214. package/resources/x/bookmarks.d.ts +84 -9
  215. package/resources/x/bookmarks.d.ts.map +1 -1
  216. package/resources/x/bookmarks.js +6 -4
  217. package/resources/x/bookmarks.js.map +1 -1
  218. package/resources/x/bookmarks.mjs +6 -4
  219. package/resources/x/bookmarks.mjs.map +1 -1
  220. package/resources/x/broadcasts.d.mts +176 -0
  221. package/resources/x/broadcasts.d.mts.map +1 -0
  222. package/resources/x/broadcasts.d.ts +176 -0
  223. package/resources/x/broadcasts.d.ts.map +1 -0
  224. package/resources/x/broadcasts.js +29 -0
  225. package/resources/x/broadcasts.js.map +1 -0
  226. package/resources/x/broadcasts.mjs +25 -0
  227. package/resources/x/broadcasts.mjs.map +1 -0
  228. package/resources/x/communities/communities.d.mts +612 -128
  229. package/resources/x/communities/communities.d.mts.map +1 -1
  230. package/resources/x/communities/communities.d.ts +612 -128
  231. package/resources/x/communities/communities.d.ts.map +1 -1
  232. package/resources/x/communities/communities.js +96 -17
  233. package/resources/x/communities/communities.js.map +1 -1
  234. package/resources/x/communities/communities.mjs +96 -17
  235. package/resources/x/communities/communities.mjs.map +1 -1
  236. package/resources/x/communities/index.d.mts +2 -1
  237. package/resources/x/communities/index.d.mts.map +1 -1
  238. package/resources/x/communities/index.d.ts +2 -1
  239. package/resources/x/communities/index.d.ts.map +1 -1
  240. package/resources/x/communities/index.js +3 -1
  241. package/resources/x/communities/index.js.map +1 -1
  242. package/resources/x/communities/index.mjs +1 -0
  243. package/resources/x/communities/index.mjs.map +1 -1
  244. package/resources/x/communities/join.d.mts +46 -25
  245. package/resources/x/communities/join.d.mts.map +1 -1
  246. package/resources/x/communities/join.d.ts +46 -25
  247. package/resources/x/communities/join.d.ts.map +1 -1
  248. package/resources/x/communities/join.js +10 -7
  249. package/resources/x/communities/join.js.map +1 -1
  250. package/resources/x/communities/join.mjs +10 -7
  251. package/resources/x/communities/join.mjs.map +1 -1
  252. package/resources/x/communities/media.d.mts +197 -0
  253. package/resources/x/communities/media.d.mts.map +1 -0
  254. package/resources/x/communities/media.d.ts +197 -0
  255. package/resources/x/communities/media.d.ts.map +1 -0
  256. package/resources/x/communities/media.js +29 -0
  257. package/resources/x/communities/media.js.map +1 -0
  258. package/resources/x/communities/media.mjs +25 -0
  259. package/resources/x/communities/media.mjs.map +1 -0
  260. package/resources/x/communities/tweets.d.mts +350 -20
  261. package/resources/x/communities/tweets.d.mts.map +1 -1
  262. package/resources/x/communities/tweets.d.ts +350 -20
  263. package/resources/x/communities/tweets.d.ts.map +1 -1
  264. package/resources/x/communities/tweets.js +8 -7
  265. package/resources/x/communities/tweets.js.map +1 -1
  266. package/resources/x/communities/tweets.mjs +8 -7
  267. package/resources/x/communities/tweets.mjs.map +1 -1
  268. package/resources/x/dm.d.mts +245 -13
  269. package/resources/x/dm.d.mts.map +1 -1
  270. package/resources/x/dm.d.ts +245 -13
  271. package/resources/x/dm.d.ts.map +1 -1
  272. package/resources/x/dm.js +29 -2
  273. package/resources/x/dm.js.map +1 -1
  274. package/resources/x/dm.mjs +29 -2
  275. package/resources/x/dm.mjs.map +1 -1
  276. package/resources/x/followers.d.mts +31 -3
  277. package/resources/x/followers.d.mts.map +1 -1
  278. package/resources/x/followers.d.ts +31 -3
  279. package/resources/x/followers.d.ts.map +1 -1
  280. package/resources/x/followers.js +2 -1
  281. package/resources/x/followers.js.map +1 -1
  282. package/resources/x/followers.mjs +2 -1
  283. package/resources/x/followers.mjs.map +1 -1
  284. package/resources/x/index.d.mts +12 -8
  285. package/resources/x/index.d.mts.map +1 -1
  286. package/resources/x/index.d.ts +12 -8
  287. package/resources/x/index.d.ts.map +1 -1
  288. package/resources/x/index.js +9 -1
  289. package/resources/x/index.js.map +1 -1
  290. package/resources/x/index.mjs +5 -1
  291. package/resources/x/index.mjs.map +1 -1
  292. package/resources/x/jobs.d.mts +506 -0
  293. package/resources/x/jobs.d.mts.map +1 -0
  294. package/resources/x/jobs.d.ts +506 -0
  295. package/resources/x/jobs.d.ts.map +1 -0
  296. package/resources/x/jobs.js +60 -0
  297. package/resources/x/jobs.js.map +1 -0
  298. package/resources/x/jobs.mjs +56 -0
  299. package/resources/x/jobs.mjs.map +1 -0
  300. package/resources/x/lists.d.mts +1058 -27
  301. package/resources/x/lists.d.mts.map +1 -1
  302. package/resources/x/lists.d.ts +1058 -27
  303. package/resources/x/lists.d.ts.map +1 -1
  304. package/resources/x/lists.js +39 -9
  305. package/resources/x/lists.js.map +1 -1
  306. package/resources/x/lists.mjs +39 -9
  307. package/resources/x/lists.mjs.map +1 -1
  308. package/resources/x/media.d.mts +24 -13
  309. package/resources/x/media.d.mts.map +1 -1
  310. package/resources/x/media.d.ts +24 -13
  311. package/resources/x/media.d.ts.map +1 -1
  312. package/resources/x/media.js +2 -2
  313. package/resources/x/media.mjs +2 -2
  314. package/resources/x/profile.d.mts +60 -33
  315. package/resources/x/profile.d.mts.map +1 -1
  316. package/resources/x/profile.d.ts +60 -33
  317. package/resources/x/profile.d.ts.map +1 -1
  318. package/resources/x/profile.js +3 -3
  319. package/resources/x/profile.mjs +3 -3
  320. package/resources/x/spaces.d.mts +857 -0
  321. package/resources/x/spaces.d.mts.map +1 -0
  322. package/resources/x/spaces.d.ts +857 -0
  323. package/resources/x/spaces.d.ts.map +1 -0
  324. package/resources/x/spaces.js +58 -0
  325. package/resources/x/spaces.js.map +1 -0
  326. package/resources/x/spaces.mjs +54 -0
  327. package/resources/x/spaces.mjs.map +1 -0
  328. package/resources/x/tweets/index.d.mts +1 -1
  329. package/resources/x/tweets/index.d.mts.map +1 -1
  330. package/resources/x/tweets/index.d.ts +1 -1
  331. package/resources/x/tweets/index.d.ts.map +1 -1
  332. package/resources/x/tweets/index.js.map +1 -1
  333. package/resources/x/tweets/index.mjs.map +1 -1
  334. package/resources/x/tweets/like.d.mts +38 -20
  335. package/resources/x/tweets/like.d.mts.map +1 -1
  336. package/resources/x/tweets/like.d.ts +38 -20
  337. package/resources/x/tweets/like.d.ts.map +1 -1
  338. package/resources/x/tweets/like.js +2 -2
  339. package/resources/x/tweets/like.mjs +2 -2
  340. package/resources/x/tweets/retweet.d.mts +38 -20
  341. package/resources/x/tweets/retweet.d.mts.map +1 -1
  342. package/resources/x/tweets/retweet.d.ts +38 -20
  343. package/resources/x/tweets/retweet.d.ts.map +1 -1
  344. package/resources/x/tweets/retweet.js +2 -2
  345. package/resources/x/tweets/retweet.mjs +2 -2
  346. package/resources/x/tweets/tweets.d.mts +2639 -326
  347. package/resources/x/tweets/tweets.d.mts.map +1 -1
  348. package/resources/x/tweets/tweets.d.ts +2639 -326
  349. package/resources/x/tweets/tweets.d.ts.map +1 -1
  350. package/resources/x/tweets/tweets.js +147 -21
  351. package/resources/x/tweets/tweets.js.map +1 -1
  352. package/resources/x/tweets/tweets.mjs +147 -21
  353. package/resources/x/tweets/tweets.mjs.map +1 -1
  354. package/resources/x/users/follow.d.mts +38 -20
  355. package/resources/x/users/follow.d.mts.map +1 -1
  356. package/resources/x/users/follow.d.ts +38 -20
  357. package/resources/x/users/follow.d.ts.map +1 -1
  358. package/resources/x/users/follow.js +2 -2
  359. package/resources/x/users/follow.mjs +2 -2
  360. package/resources/x/users/index.d.mts +1 -1
  361. package/resources/x/users/index.d.mts.map +1 -1
  362. package/resources/x/users/index.d.ts +1 -1
  363. package/resources/x/users/index.d.ts.map +1 -1
  364. package/resources/x/users/index.js.map +1 -1
  365. package/resources/x/users/index.mjs.map +1 -1
  366. package/resources/x/users/users.d.mts +3068 -457
  367. package/resources/x/users/users.d.mts.map +1 -1
  368. package/resources/x/users/users.d.ts +3068 -457
  369. package/resources/x/users/users.d.ts.map +1 -1
  370. package/resources/x/users/users.js +205 -22
  371. package/resources/x/users/users.js.map +1 -1
  372. package/resources/x/users/users.mjs +205 -22
  373. package/resources/x/users/users.mjs.map +1 -1
  374. package/resources/x/write-actions.d.mts +13 -6
  375. package/resources/x/write-actions.d.mts.map +1 -1
  376. package/resources/x/write-actions.d.ts +13 -6
  377. package/resources/x/write-actions.d.ts.map +1 -1
  378. package/resources/x/write-actions.js +1 -1
  379. package/resources/x/write-actions.mjs +1 -1
  380. package/resources/x/x.d.mts +864 -27
  381. package/resources/x/x.d.mts.map +1 -1
  382. package/resources/x/x.d.ts +864 -27
  383. package/resources/x/x.d.ts.map +1 -1
  384. package/resources/x/x.js +78 -5
  385. package/resources/x/x.js.map +1 -1
  386. package/resources/x/x.mjs +80 -7
  387. package/resources/x/x.mjs.map +1 -1
  388. package/skills/x-twitter-scraper/SKILL.md +97 -350
  389. package/skills/x-twitter-scraper/metadata.json +3 -9
  390. package/skills/x-twitter-scraper/references/draws.md +24 -24
  391. package/skills/x-twitter-scraper/references/extractions.md +71 -62
  392. package/skills/x-twitter-scraper/references/mcp-setup.md +36 -39
  393. package/skills/x-twitter-scraper/references/mcp-tools.md +105 -166
  394. package/skills/x-twitter-scraper/references/python-examples.md +5 -5
  395. package/skills/x-twitter-scraper/references/security.md +8 -8
  396. package/skills/x-twitter-scraper/references/types-mcp-output-schemas.md +4 -4
  397. package/skills/x-twitter-scraper/references/types.md +0 -1
  398. package/skills/x-twitter-scraper/references/usage.md +5 -5
  399. package/skills/x-twitter-scraper/references/webhooks.md +28 -31
  400. package/skills/x-twitter-scraper/references/workflows.md +70 -71
  401. package/skills/x-twitter-scraper/skill-card.md +13 -14
  402. package/skills/x-twitter-scraper/skillspector-report.md +8 -5
  403. package/skills/xquik-account-automation/LICENSE +21 -0
  404. package/skills/xquik-account-automation/SKILL.md +91 -0
  405. package/skills/xquik-social-research/SKILL.md +49 -56
  406. package/src/client.ts +47 -4
  407. package/src/core/streaming.ts +328 -0
  408. package/src/internal/decoders/line.ts +140 -0
  409. package/src/internal/parse.ts +9 -0
  410. package/src/resources/account.ts +41 -12
  411. package/src/resources/compose.ts +77 -21
  412. package/src/resources/credits.ts +19 -10
  413. package/src/resources/drafts.ts +13 -22
  414. package/src/resources/draws.ts +94 -36
  415. package/src/resources/events.ts +3225 -68
  416. package/src/resources/extractions.ts +512 -125
  417. package/src/resources/guest-wallets.ts +6 -5
  418. package/src/resources/index.ts +24 -1
  419. package/src/resources/monitors/index.ts +2 -0
  420. package/src/resources/monitors/keywords.ts +82 -14
  421. package/src/resources/monitors/monitors.ts +66 -14
  422. package/src/resources/radar.ts +32 -36
  423. package/src/resources/shared.ts +2227 -351
  424. package/src/resources/styles.ts +43 -27
  425. package/src/resources/subscribe.ts +1 -1
  426. package/src/resources/support/index.ts +1 -0
  427. package/src/resources/support/support.ts +2 -0
  428. package/src/resources/support/tickets.ts +38 -10
  429. package/src/resources/trends.ts +23 -5
  430. package/src/resources/webhooks.ts +109 -15
  431. package/src/resources/x/account-connection-attempts.ts +1 -1
  432. package/src/resources/x/account-connection-challenges.ts +39 -11
  433. package/src/resources/x/accounts.ts +46 -10
  434. package/src/resources/x/analysis.ts +3947 -0
  435. package/src/resources/x/bookmarks.ts +103 -9
  436. package/src/resources/x/broadcasts.ts +225 -0
  437. package/src/resources/x/communities/communities.ts +743 -141
  438. package/src/resources/x/communities/index.ts +9 -0
  439. package/src/resources/x/communities/join.ts +46 -23
  440. package/src/resources/x/communities/media.ts +251 -0
  441. package/src/resources/x/communities/tweets.ts +427 -20
  442. package/src/resources/x/dm.ts +334 -11
  443. package/src/resources/x/followers.ts +35 -3
  444. package/src/resources/x/index.ts +106 -1
  445. package/src/resources/x/jobs.ts +627 -0
  446. package/src/resources/x/lists.ts +1307 -28
  447. package/src/resources/x/media.ts +24 -12
  448. package/src/resources/x/profile.ts +60 -30
  449. package/src/resources/x/spaces.ts +1076 -0
  450. package/src/resources/x/tweets/index.ts +18 -0
  451. package/src/resources/x/tweets/like.ts +38 -18
  452. package/src/resources/x/tweets/retweet.ts +38 -18
  453. package/src/resources/x/tweets/tweets.ts +3695 -843
  454. package/src/resources/x/users/follow.ts +38 -18
  455. package/src/resources/x/users/index.ts +22 -0
  456. package/src/resources/x/users/users.ts +3687 -465
  457. package/src/resources/x/write-actions.ts +13 -5
  458. package/src/resources/x/x.ts +1227 -15
  459. package/src/streaming.ts +6 -0
  460. package/src/version.ts +1 -1
  461. package/streaming.d.mts +3 -0
  462. package/streaming.d.mts.map +1 -0
  463. package/streaming.d.ts +3 -0
  464. package/streaming.d.ts.map +1 -0
  465. package/streaming.js +9 -0
  466. package/streaming.js.map +1 -0
  467. package/streaming.mjs +6 -0
  468. package/streaming.mjs.map +1 -0
  469. package/version.d.mts +1 -1
  470. package/version.d.ts +1 -1
  471. package/version.js +1 -1
  472. package/version.mjs +1 -1
  473. package/skills/x-twitter-scraper/references/types-rest-api-vs-mcp-field-naming.md +0 -15
@@ -6,7 +6,8 @@ import { RequestOptions } from "../internal/request-options.js";
6
6
  */
7
7
  export declare class Account extends APIResource {
8
8
  /**
9
- * Get account info
9
+ * Returns plan, credit, monitoring, and account settings for the authenticated
10
+ * user.
10
11
  *
11
12
  * @example
12
13
  * ```ts
@@ -15,7 +16,7 @@ export declare class Account extends APIResource {
15
16
  */
16
17
  retrieve(options?: RequestOptions): APIPromise<AccountRetrieveResponse>;
17
18
  /**
18
- * Set linked X username
19
+ * Links an X username to the authenticated Xquik account.
19
20
  *
20
21
  * @example
21
22
  * ```ts
@@ -26,7 +27,7 @@ export declare class Account extends APIResource {
26
27
  */
27
28
  setXUsername(body: AccountSetXUsernameParams, options?: RequestOptions): APIPromise<AccountSetXUsernameResponse>;
28
29
  /**
29
- * Update account locale
30
+ * Changes the locale used for account responses and notifications.
30
31
  *
31
32
  * @example
32
33
  * ```ts
@@ -46,6 +47,10 @@ export interface AccountRetrieveResponse {
46
47
  monitorsAllowed: number;
47
48
  monitorsUsed: number;
48
49
  plan: 'active' | 'inactive';
50
+ /**
51
+ * Subscription state without billing provider identifiers.
52
+ */
53
+ subscription: AccountRetrieveResponse.Subscription;
49
54
  creditInfo?: AccountRetrieveResponse.CreditInfo;
50
55
  /**
51
56
  * Linked X username, omitted when no X account is connected.
@@ -55,21 +60,21 @@ export interface AccountRetrieveResponse {
55
60
  export declare namespace AccountRetrieveResponse {
56
61
  interface MonitorBilling {
57
62
  /**
58
- * Estimated daily usage for currently active monitors.
63
+ * Daily credits for currently active monitors.
59
64
  */
60
65
  activeDailyEstimate: string;
61
66
  /**
62
- * Usage charged each hour for currently active monitors.
67
+ * Credits charged each hour for currently active monitors.
63
68
  */
64
69
  activeHourlyBurn: string;
65
70
  /**
66
- * Rounded daily estimate for 1 active monitor.
71
+ * Daily credits charged for 1 active monitor.
67
72
  */
68
- creditsPerActiveMonitorDay: string;
73
+ creditsPerActiveMonitorDay: '720';
69
74
  /**
70
- * Hourly credits charged for 1 active monitor.
75
+ * Hourly credits charged for 1 active monitor. It is a monitor's only charge.
71
76
  */
72
- creditsPerActiveMonitorHour: string;
77
+ creditsPerActiveMonitorHour: '30';
73
78
  /**
74
79
  * Webhook and event deliveries are included in monitor billing.
75
80
  */
@@ -83,26 +88,44 @@ export declare namespace AccountRetrieveResponse {
83
88
  */
84
89
  unlimitedSlots: boolean;
85
90
  }
91
+ /**
92
+ * Subscription state without billing provider identifiers.
93
+ */
94
+ interface Subscription {
95
+ status: 'none' | 'active' | 'past_due' | 'canceling' | 'incomplete';
96
+ /**
97
+ * Renewal date, or the end date when canceling.
98
+ */
99
+ currentPeriodEnd?: string;
100
+ currentPeriodStart?: string;
101
+ tier?: 'starter' | 'pro' | 'business';
102
+ }
86
103
  interface CreditInfo {
87
104
  /**
88
105
  * Dollar amount charged when automatic top-up runs.
89
106
  */
90
107
  autoTopupAmountDollars: number;
91
108
  autoTopupEnabled: boolean;
109
+ /**
110
+ * True when 3 declined charges in a row on one card stopped automatic top-up while
111
+ * it stays enabled. A paid top-up, a paid plan renewal, or the next automatic
112
+ * top-up on a new card clears it.
113
+ */
114
+ autoTopupStopped: boolean;
92
115
  /**
93
116
  * Bigint string threshold that triggers automatic top-up when enabled.
94
117
  */
95
- autoTopupThreshold: string;
118
+ autoTopupThreshold: '10000' | '50000' | '100000' | '250000';
96
119
  /**
97
120
  * Bigint string to preserve precision above Number.MAX_SAFE_INTEGER.
98
121
  */
99
122
  balance: string;
100
123
  /**
101
- * Total purchased usage as a bigint string.
124
+ * Total purchased credits as a bigint string.
102
125
  */
103
126
  lifetimePurchased: string;
104
127
  /**
105
- * Total consumed usage as a bigint string.
128
+ * Total consumed credits as a bigint string.
106
129
  */
107
130
  lifetimeUsed: string;
108
131
  }
@@ -1 +1 @@
1
- {"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../src/resources/account.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,WAA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OAAO,CAAC;QAE1B;;WAEG;QACH,kBAAkB,EAAE,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;QAE5D;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;QAEhB;;WAEG;QACH,iBAAiB,EAAE,MAAM,CAAC;QAE1B;;WAEG;QACH,YAAY,EAAE,MAAM,CAAC;KACtB;CACF;AAED,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,IAAI,CAAC;IAEd,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,IAAI,CAAC;CACf;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC5B;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
@@ -11,7 +11,8 @@ const resource_1 = require("../core/resource.js");
11
11
  */
12
12
  class Account extends resource_1.APIResource {
13
13
  /**
14
- * Get account info
14
+ * Returns plan, credit, monitoring, and account settings for the authenticated
15
+ * user.
15
16
  *
16
17
  * @example
17
18
  * ```ts
@@ -22,7 +23,7 @@ class Account extends resource_1.APIResource {
22
23
  return this._client.get('/account', options);
23
24
  }
24
25
  /**
25
- * Set linked X username
26
+ * Links an X username to the authenticated Xquik account.
26
27
  *
27
28
  * @example
28
29
  * ```ts
@@ -35,7 +36,7 @@ class Account extends resource_1.APIResource {
35
36
  return this._client.put('/account/x-identity', { body, ...options });
36
37
  }
37
38
  /**
38
- * Update account locale
39
+ * Changes the locale used for account responses and notifications.
39
40
  *
40
41
  * @example
41
42
  * ```ts
@@ -1 +1 @@
1
- {"version":3,"file":"account.js","sourceRoot":"","sources":["../src/resources/account.ts"],"names":[],"mappings":";AAAA,kDAAkD;AAClD,EAAE;AACF,sCAAsC;;;AAEtC,sFAAsF;AAEtF,kDAA+C;AAI/C;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;OAOG;IACH,QAAQ,CAAC,OAAwB;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAC/C,CAAC;IAED;;;;;;;;;OASG;IACH,YAAY,CACV,IAA+B,EAC/B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;;;;;;;;OASG;IACH,YAAY,CACV,IAA+B,EAC/B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;CACF;AA9CD,0BA8CC"}
1
+ {"version":3,"file":"account.js","sourceRoot":"","sources":["../src/resources/account.ts"],"names":[],"mappings":";AAAA,kDAAkD;AAClD,EAAE;AACF,sCAAsC;;;AAEtC,sFAAsF;AAEtF,kDAA+C;AAI/C;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;OAQG;IACH,QAAQ,CAAC,OAAwB;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAC/C,CAAC;IAED;;;;;;;;;OASG;IACH,YAAY,CACV,IAA+B,EAC/B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;;;;;;;;OASG;IACH,YAAY,CACV,IAA+B,EAC/B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;CACF;AA/CD,0BA+CC"}
@@ -8,7 +8,8 @@ import { APIResource } from "../core/resource.mjs";
8
8
  */
9
9
  export class Account extends APIResource {
10
10
  /**
11
- * Get account info
11
+ * Returns plan, credit, monitoring, and account settings for the authenticated
12
+ * user.
12
13
  *
13
14
  * @example
14
15
  * ```ts
@@ -19,7 +20,7 @@ export class Account extends APIResource {
19
20
  return this._client.get('/account', options);
20
21
  }
21
22
  /**
22
- * Set linked X username
23
+ * Links an X username to the authenticated Xquik account.
23
24
  *
24
25
  * @example
25
26
  * ```ts
@@ -32,7 +33,7 @@ export class Account extends APIResource {
32
33
  return this._client.put('/account/x-identity', { body, ...options });
33
34
  }
34
35
  /**
35
- * Update account locale
36
+ * Changes the locale used for account responses and notifications.
36
37
  *
37
38
  * @example
38
39
  * ```ts
@@ -1 +1 @@
1
- {"version":3,"file":"account.mjs","sourceRoot":"","sources":["../src/resources/account.ts"],"names":[],"mappings":"AAAA,kDAAkD;AAClD,EAAE;AACF,sCAAsC;AAEtC,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;OAOG;IACH,QAAQ,CAAC,OAAwB;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAC/C,CAAC;IAED;;;;;;;;;OASG;IACH,YAAY,CACV,IAA+B,EAC/B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;;;;;;;;OASG;IACH,YAAY,CACV,IAA+B,EAC/B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;CACF"}
1
+ {"version":3,"file":"account.mjs","sourceRoot":"","sources":["../src/resources/account.ts"],"names":[],"mappings":"AAAA,kDAAkD;AAClD,EAAE;AACF,sCAAsC;AAEtC,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;OAQG;IACH,QAAQ,CAAC,OAAwB;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAC/C,CAAC;IAED;;;;;;;;;OASG;IACH,YAAY,CACV,IAA+B,EAC/B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;;;;;;;;OASG;IACH,YAAY,CACV,IAA+B,EAC/B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;CACF"}
@@ -6,10 +6,8 @@ import { RequestOptions } from "../internal/request-options.mjs";
6
6
  */
7
7
  export declare class Compose extends APIResource {
8
8
  /**
9
- * Run one step of Xquik's three-step writing workflow. Compose returns questions,
10
- * editorial rules, and source-specific Radar recommendations. Refine returns
11
- * goal-specific guidance. Score applies deterministic text checks. It does not
12
- * predict reach or expose X ranking weights.
9
+ * Uses xai-org/x-algorithm facts to compose and refine text. Score checks text. It
10
+ * never predicts reach or engagement.
13
11
  *
14
12
  * @example
15
13
  * ```ts
@@ -17,20 +15,27 @@ export declare class Compose extends APIResource {
17
15
  * step: 'compose',
18
16
  * topic: 'PostgreSQL query planning',
19
17
  * goal: 'engagement',
18
+ * styleUsername: 'example_user',
20
19
  * });
21
20
  * ```
22
21
  */
23
22
  create(body: ComposeCreateParams, options?: RequestOptions): APIPromise<ComposeCreateResponse>;
24
23
  }
24
+ /**
25
+ * Rules, questions, and research guidance for drafting a post.
26
+ */
25
27
  export type ComposeCreateResponse = ComposeCreateResponse.ComposePrepareResult | ComposeCreateResponse.ComposeRefineResult | ComposeCreateResponse.ComposeScoreResult;
26
28
  export declare namespace ComposeCreateResponse {
29
+ /**
30
+ * Rules, questions, and research guidance for drafting a post.
31
+ */
27
32
  interface ComposePrepareResult {
28
33
  /**
29
- * Xquik editorial heuristics, ordered for the goal.
34
+ * Facts derived only from xai-org/x-algorithm.
30
35
  */
31
36
  contentRules: Array<ComposePrepareResult.ContentRule>;
32
37
  /**
33
- * Published engagement signal names. Production multipliers are not published.
38
+ * Source ranking signals. Repository defaults may vary in production.
34
39
  */
35
40
  engagementMultipliers: Array<ComposePrepareResult.EngagementMultiplier>;
36
41
  /**
@@ -44,11 +49,13 @@ export declare namespace ComposeCreateResponse {
44
49
  intentUrl: string;
45
50
  nextStep: string;
46
51
  /**
47
- * Sources and guidance for researching a fresh post angle.
52
+ * Deprecated compatibility field. Always empty.
53
+ *
54
+ * @deprecated
48
55
  */
49
56
  radarRecommendations: Array<ComposePrepareResult.RadarRecommendation>;
50
57
  /**
51
- * Published signal names with unpublished weights as null.
58
+ * Source signals with production values withheld as null.
52
59
  */
53
60
  scorerWeights: Array<ComposePrepareResult.ScorerWeight>;
54
61
  /**
@@ -73,16 +80,27 @@ export declare namespace ComposeCreateResponse {
73
80
  styleTweets?: Array<string>;
74
81
  }
75
82
  namespace ComposePrepareResult {
83
+ /**
84
+ * One source-backed ranking fact returned during preparation.
85
+ */
76
86
  interface ContentRule {
77
87
  rule: string;
78
88
  }
89
+ /**
90
+ * One ranking signal and its source-value limit.
91
+ */
79
92
  interface EngagementMultiplier {
80
93
  /**
81
94
  * Human-readable published signal name.
82
95
  */
83
96
  action: string;
84
- multiplier: 'Production weight not published by X';
97
+ multiplier: 'Source default; production value can vary';
85
98
  }
99
+ /**
100
+ * Deprecated compatibility schema. The response array is empty.
101
+ *
102
+ * @deprecated
103
+ */
86
104
  interface RadarRecommendation {
87
105
  /**
88
106
  * Radar endpoint for this source.
@@ -98,9 +116,12 @@ export declare namespace ComposeCreateResponse {
98
116
  */
99
117
  useFor: string;
100
118
  }
119
+ /**
120
+ * One source ranking signal without a production claim.
121
+ */
101
122
  interface ScorerWeight {
102
123
  /**
103
- * Signal direction and publication limit.
124
+ * Signal direction and production limit.
104
125
  */
105
126
  context: string;
106
127
  /**
@@ -108,49 +129,72 @@ export declare namespace ComposeCreateResponse {
108
129
  */
109
130
  signal: string;
110
131
  /**
111
- * X does not publish the production weight.
132
+ * Null prevents source defaults becoming production claims.
112
133
  */
113
134
  weight: null;
114
135
  }
136
+ /**
137
+ * A saved username style and analyzed post count.
138
+ */
115
139
  interface SavedStyle {
140
+ /**
141
+ * Whole number from 0.
142
+ */
116
143
  tweetCount: number;
117
144
  username: string;
118
145
  }
119
146
  }
147
+ /**
148
+ * Source-backed guidance for refining a post.
149
+ */
120
150
  interface ComposeRefineResult {
121
151
  /**
122
- * Goal, tone, media, and editorial guidance.
152
+ * Request context and xai-org/x-algorithm guidance.
123
153
  */
124
154
  compositionGuidance: Array<string>;
155
+ /**
156
+ * @deprecated
157
+ */
125
158
  examplePatterns: Array<ComposeRefineResult.ExamplePattern>;
126
159
  /**
127
- * X post intent seeded with the topic.
160
+ * X post intent generated for the refined topic.
128
161
  */
129
162
  intentUrl: string;
130
163
  nextStep: string;
131
164
  }
132
165
  namespace ComposeRefineResult {
166
+ /**
167
+ * Deprecated example-pattern schema. The response array is empty.
168
+ *
169
+ * @deprecated
170
+ */
133
171
  interface ExamplePattern {
134
172
  description: string;
135
173
  pattern: string;
136
174
  }
137
175
  }
176
+ /**
177
+ * Posting validation without a fabricated ranking score.
178
+ */
138
179
  interface ComposeScoreResult {
139
180
  /**
140
- * Deterministic editorial checks. Not a reach prediction.
181
+ * Deterministic input validation. Not a reach prediction.
141
182
  */
142
183
  checklist: Array<ComposeScoreResult.Checklist>;
143
184
  nextStep: string;
144
185
  passed: boolean;
145
186
  passedCount: number;
146
187
  topSuggestion: string;
147
- totalChecks: 9;
188
+ totalChecks: 1;
148
189
  /**
149
190
  * Present only when every check passes.
150
191
  */
151
192
  intentUrl?: string;
152
193
  }
153
194
  namespace ComposeScoreResult {
195
+ /**
196
+ * One deterministic draft check.
197
+ */
154
198
  interface Checklist {
155
199
  factor: string;
156
200
  passed: boolean;
@@ -161,8 +205,14 @@ export declare namespace ComposeCreateResponse {
161
205
  }
162
206
  }
163
207
  }
208
+ /**
209
+ * Inputs for preparing source-backed post guidance.
210
+ */
164
211
  export type ComposeCreateParams = ComposeCreateParams.ComposePrepareRequest | ComposeCreateParams.ComposeRefineRequest | ComposeCreateParams.ComposeScoreRequest;
165
212
  export declare namespace ComposeCreateParams {
213
+ /**
214
+ * Inputs for preparing source-backed post guidance.
215
+ */
166
216
  interface ComposePrepareRequest {
167
217
  step: 'compose';
168
218
  /**
@@ -170,7 +220,7 @@ export declare namespace ComposeCreateParams {
170
220
  */
171
221
  topic: string;
172
222
  /**
173
- * Editorial goal used to order the rules and questions.
223
+ * User goal used for one follow-up question.
174
224
  */
175
225
  goal?: 'engagement' | 'followers' | 'authority' | 'conversation';
176
226
  /**
@@ -179,9 +229,12 @@ export declare namespace ComposeCreateParams {
179
229
  styleUsername?: string;
180
230
  [k: string]: unknown;
181
231
  }
232
+ /**
233
+ * Inputs for refining a post plan.
234
+ */
182
235
  interface ComposeRefineRequest {
183
236
  /**
184
- * Editorial goal for the guidance.
237
+ * User goal interpreted against published ranking signals.
185
238
  */
186
239
  goal: 'engagement' | 'followers' | 'authority' | 'conversation';
187
240
  step: 'refine';
@@ -190,7 +243,7 @@ export declare namespace ComposeCreateParams {
190
243
  */
191
244
  tone: string;
192
245
  /**
193
- * Subject for the post.
246
+ * Subject to refine into a post.
194
247
  */
195
248
  topic: string;
196
249
  /**
@@ -207,18 +260,21 @@ export declare namespace ComposeCreateParams {
207
260
  mediaType?: 'photo' | 'video' | 'none';
208
261
  [k: string]: unknown;
209
262
  }
263
+ /**
264
+ * Inputs for checking a post draft.
265
+ */
210
266
  interface ComposeScoreRequest {
211
267
  /**
212
- * Full post text for deterministic editorial checks.
268
+ * Full post text. The endpoint never assigns a ranking score.
213
269
  */
214
270
  draft: string;
215
271
  step: 'score';
216
272
  /**
217
- * True when a separate link card is attached.
273
+ * @deprecated Ignored. Remove this field.
218
274
  */
219
275
  hasLink?: boolean;
220
276
  /**
221
- * @deprecated Ignored. Remove this field. Use hasLink for a separate link card.
277
+ * @deprecated Ignored. Remove this field.
222
278
  */
223
279
  hasMedia?: boolean;
224
280
  [k: string]: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"compose.d.mts","sourceRoot":"","sources":["../src/resources/compose.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;CAG/F;AAED,MAAM,MAAM,qBAAqB,GAC7B,qBAAqB,CAAC,oBAAoB,GAC1C,qBAAqB,CAAC,mBAAmB,GACzC,qBAAqB,CAAC,kBAAkB,CAAC;AAE7C,yBAAiB,qBAAqB,CAAC;IACrC,UAAiB,oBAAoB;QACnC;;WAEG;QACH,YAAY,EAAE,KAAK,CAAC,oBAAoB,CAAC,WAAW,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