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.
- package/CHANGELOG.md +73 -2
- package/README.md +66 -51
- package/client.d.mts +18 -15
- package/client.d.mts.map +1 -1
- package/client.d.ts +18 -15
- package/client.d.ts.map +1 -1
- package/client.js +3 -3
- package/client.js.map +1 -1
- package/client.mjs +4 -4
- package/client.mjs.map +1 -1
- package/core/streaming.d.mts +33 -0
- package/core/streaming.d.mts.map +1 -0
- package/core/streaming.d.ts +33 -0
- package/core/streaming.d.ts.map +1 -0
- package/core/streaming.js +270 -0
- package/core/streaming.js.map +1 -0
- package/core/streaming.mjs +265 -0
- package/core/streaming.mjs.map +1 -0
- package/internal/decoders/line.d.mts +17 -0
- package/internal/decoders/line.d.mts.map +1 -0
- package/internal/decoders/line.d.ts +17 -0
- package/internal/decoders/line.d.ts.map +1 -0
- package/internal/decoders/line.js +116 -0
- package/internal/decoders/line.js.map +1 -0
- package/internal/decoders/line.mjs +111 -0
- package/internal/decoders/line.mjs.map +1 -0
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +7 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +7 -0
- package/internal/parse.mjs.map +1 -1
- package/internal/tslib.js +18 -18
- package/package.json +23 -5
- package/resources/account.d.mts +35 -12
- package/resources/account.d.mts.map +1 -1
- package/resources/account.d.ts +35 -12
- package/resources/account.d.ts.map +1 -1
- package/resources/account.js +4 -3
- package/resources/account.js.map +1 -1
- package/resources/account.mjs +4 -3
- package/resources/account.mjs.map +1 -1
- package/resources/compose.d.mts +77 -21
- package/resources/compose.d.mts.map +1 -1
- package/resources/compose.d.ts +77 -21
- package/resources/compose.d.ts.map +1 -1
- package/resources/compose.js +3 -4
- package/resources/compose.js.map +1 -1
- package/resources/compose.mjs +3 -4
- package/resources/compose.mjs.map +1 -1
- package/resources/credits.d.mts +18 -10
- package/resources/credits.d.mts.map +1 -1
- package/resources/credits.d.ts +18 -10
- package/resources/credits.d.ts.map +1 -1
- package/resources/credits.js +5 -4
- package/resources/credits.js.map +1 -1
- package/resources/credits.mjs +5 -4
- package/resources/credits.mjs.map +1 -1
- package/resources/drafts.d.mts +13 -17
- package/resources/drafts.d.mts.map +1 -1
- package/resources/drafts.d.ts +13 -17
- package/resources/drafts.d.ts.map +1 -1
- package/resources/drafts.js +4 -4
- package/resources/drafts.mjs +4 -4
- package/resources/draws.d.mts +84 -28
- package/resources/draws.d.mts.map +1 -1
- package/resources/draws.d.ts +84 -28
- package/resources/draws.d.ts.map +1 -1
- package/resources/draws.js +24 -9
- package/resources/draws.js.map +1 -1
- package/resources/draws.mjs +24 -9
- package/resources/draws.mjs.map +1 -1
- package/resources/events.d.mts +2564 -21
- package/resources/events.d.mts.map +1 -1
- package/resources/events.d.ts +2564 -21
- package/resources/events.d.ts.map +1 -1
- package/resources/events.js +34 -2
- package/resources/events.js.map +1 -1
- package/resources/events.mjs +34 -2
- package/resources/events.mjs.map +1 -1
- package/resources/extractions.d.mts +410 -128
- package/resources/extractions.d.mts.map +1 -1
- package/resources/extractions.d.ts +410 -128
- package/resources/extractions.d.ts.map +1 -1
- package/resources/extractions.js +74 -12
- package/resources/extractions.js.map +1 -1
- package/resources/extractions.mjs +74 -12
- package/resources/extractions.mjs.map +1 -1
- package/resources/guest-wallets.d.mts +6 -5
- package/resources/guest-wallets.d.mts.map +1 -1
- package/resources/guest-wallets.d.ts +6 -5
- package/resources/guest-wallets.d.ts.map +1 -1
- package/resources/guest-wallets.js +2 -1
- package/resources/guest-wallets.js.map +1 -1
- package/resources/guest-wallets.mjs +2 -1
- package/resources/guest-wallets.mjs.map +1 -1
- package/resources/index.d.mts +6 -6
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +6 -6
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/monitors/index.d.mts +2 -2
- package/resources/monitors/index.d.mts.map +1 -1
- package/resources/monitors/index.d.ts +2 -2
- package/resources/monitors/index.d.ts.map +1 -1
- package/resources/monitors/index.js.map +1 -1
- package/resources/monitors/index.mjs.map +1 -1
- package/resources/monitors/keywords.d.mts +66 -14
- package/resources/monitors/keywords.d.mts.map +1 -1
- package/resources/monitors/keywords.d.ts +66 -14
- package/resources/monitors/keywords.d.ts.map +1 -1
- package/resources/monitors/keywords.js +16 -10
- package/resources/monitors/keywords.js.map +1 -1
- package/resources/monitors/keywords.mjs +16 -10
- package/resources/monitors/keywords.mjs.map +1 -1
- package/resources/monitors/monitors.d.mts +53 -16
- package/resources/monitors/monitors.d.mts.map +1 -1
- package/resources/monitors/monitors.d.ts +53 -16
- package/resources/monitors/monitors.d.ts.map +1 -1
- package/resources/monitors/monitors.js +12 -10
- package/resources/monitors/monitors.js.map +1 -1
- package/resources/monitors/monitors.mjs +12 -10
- package/resources/monitors/monitors.mjs.map +1 -1
- package/resources/radar.d.mts +32 -36
- package/resources/radar.d.mts.map +1 -1
- package/resources/radar.d.ts +32 -36
- package/resources/radar.d.ts.map +1 -1
- package/resources/radar.js +1 -1
- package/resources/radar.mjs +1 -1
- package/resources/shared.d.mts +1726 -233
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +1726 -233
- package/resources/shared.d.ts.map +1 -1
- package/resources/styles.d.mts +34 -23
- package/resources/styles.d.mts.map +1 -1
- package/resources/styles.d.ts +34 -23
- package/resources/styles.d.ts.map +1 -1
- package/resources/styles.js +11 -13
- package/resources/styles.js.map +1 -1
- package/resources/styles.mjs +11 -13
- package/resources/styles.mjs.map +1 -1
- package/resources/subscribe.d.mts +1 -1
- package/resources/subscribe.d.ts +1 -1
- package/resources/subscribe.js +1 -1
- package/resources/subscribe.mjs +1 -1
- package/resources/support/index.d.mts +1 -1
- package/resources/support/index.d.mts.map +1 -1
- package/resources/support/index.d.ts +1 -1
- package/resources/support/index.d.ts.map +1 -1
- package/resources/support/index.js.map +1 -1
- package/resources/support/index.mjs.map +1 -1
- package/resources/support/support.d.mts +2 -2
- package/resources/support/support.d.mts.map +1 -1
- package/resources/support/support.d.ts +2 -2
- package/resources/support/support.d.ts.map +1 -1
- package/resources/support/support.js.map +1 -1
- package/resources/support/support.mjs.map +1 -1
- package/resources/support/tickets.d.mts +30 -10
- package/resources/support/tickets.d.mts.map +1 -1
- package/resources/support/tickets.d.ts +30 -10
- package/resources/support/tickets.d.ts.map +1 -1
- package/resources/support/tickets.js +7 -7
- package/resources/support/tickets.js.map +1 -1
- package/resources/support/tickets.mjs +7 -7
- package/resources/support/tickets.mjs.map +1 -1
- package/resources/trends.d.mts +21 -5
- package/resources/trends.d.mts.map +1 -1
- package/resources/trends.d.ts +21 -5
- package/resources/trends.d.ts.map +1 -1
- package/resources/trends.js +2 -1
- package/resources/trends.js.map +1 -1
- package/resources/trends.mjs +2 -1
- package/resources/trends.mjs.map +1 -1
- package/resources/webhooks.d.mts +80 -14
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +80 -14
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +30 -11
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +30 -11
- package/resources/webhooks.mjs.map +1 -1
- package/resources/x/account-connection-attempts.d.mts +1 -1
- package/resources/x/account-connection-attempts.d.ts +1 -1
- package/resources/x/account-connection-attempts.js +1 -1
- package/resources/x/account-connection-attempts.mjs +1 -1
- package/resources/x/account-connection-challenges.d.mts +30 -11
- package/resources/x/account-connection-challenges.d.mts.map +1 -1
- package/resources/x/account-connection-challenges.d.ts +30 -11
- package/resources/x/account-connection-challenges.d.ts.map +1 -1
- package/resources/x/account-connection-challenges.js +5 -4
- package/resources/x/account-connection-challenges.js.map +1 -1
- package/resources/x/account-connection-challenges.mjs +5 -4
- package/resources/x/account-connection-challenges.mjs.map +1 -1
- package/resources/x/accounts.d.mts +38 -10
- package/resources/x/accounts.d.mts.map +1 -1
- package/resources/x/accounts.d.ts +38 -10
- package/resources/x/accounts.d.ts.map +1 -1
- package/resources/x/accounts.js +8 -7
- package/resources/x/accounts.js.map +1 -1
- package/resources/x/accounts.mjs +8 -7
- package/resources/x/accounts.mjs.map +1 -1
- package/resources/x/analysis.d.mts +3274 -0
- package/resources/x/analysis.d.mts.map +1 -0
- package/resources/x/analysis.d.ts +3274 -0
- package/resources/x/analysis.d.ts.map +1 -0
- package/resources/x/analysis.js +132 -0
- package/resources/x/analysis.js.map +1 -0
- package/resources/x/analysis.mjs +128 -0
- package/resources/x/analysis.mjs.map +1 -0
- package/resources/x/bookmarks.d.mts +84 -9
- package/resources/x/bookmarks.d.mts.map +1 -1
- package/resources/x/bookmarks.d.ts +84 -9
- package/resources/x/bookmarks.d.ts.map +1 -1
- package/resources/x/bookmarks.js +6 -4
- package/resources/x/bookmarks.js.map +1 -1
- package/resources/x/bookmarks.mjs +6 -4
- package/resources/x/bookmarks.mjs.map +1 -1
- package/resources/x/broadcasts.d.mts +176 -0
- package/resources/x/broadcasts.d.mts.map +1 -0
- package/resources/x/broadcasts.d.ts +176 -0
- package/resources/x/broadcasts.d.ts.map +1 -0
- package/resources/x/broadcasts.js +29 -0
- package/resources/x/broadcasts.js.map +1 -0
- package/resources/x/broadcasts.mjs +25 -0
- package/resources/x/broadcasts.mjs.map +1 -0
- package/resources/x/communities/communities.d.mts +612 -128
- package/resources/x/communities/communities.d.mts.map +1 -1
- package/resources/x/communities/communities.d.ts +612 -128
- package/resources/x/communities/communities.d.ts.map +1 -1
- package/resources/x/communities/communities.js +96 -17
- package/resources/x/communities/communities.js.map +1 -1
- package/resources/x/communities/communities.mjs +96 -17
- package/resources/x/communities/communities.mjs.map +1 -1
- package/resources/x/communities/index.d.mts +2 -1
- package/resources/x/communities/index.d.mts.map +1 -1
- package/resources/x/communities/index.d.ts +2 -1
- package/resources/x/communities/index.d.ts.map +1 -1
- package/resources/x/communities/index.js +3 -1
- package/resources/x/communities/index.js.map +1 -1
- package/resources/x/communities/index.mjs +1 -0
- package/resources/x/communities/index.mjs.map +1 -1
- package/resources/x/communities/join.d.mts +46 -25
- package/resources/x/communities/join.d.mts.map +1 -1
- package/resources/x/communities/join.d.ts +46 -25
- package/resources/x/communities/join.d.ts.map +1 -1
- package/resources/x/communities/join.js +10 -7
- package/resources/x/communities/join.js.map +1 -1
- package/resources/x/communities/join.mjs +10 -7
- package/resources/x/communities/join.mjs.map +1 -1
- package/resources/x/communities/media.d.mts +197 -0
- package/resources/x/communities/media.d.mts.map +1 -0
- package/resources/x/communities/media.d.ts +197 -0
- package/resources/x/communities/media.d.ts.map +1 -0
- package/resources/x/communities/media.js +29 -0
- package/resources/x/communities/media.js.map +1 -0
- package/resources/x/communities/media.mjs +25 -0
- package/resources/x/communities/media.mjs.map +1 -0
- package/resources/x/communities/tweets.d.mts +350 -20
- package/resources/x/communities/tweets.d.mts.map +1 -1
- package/resources/x/communities/tweets.d.ts +350 -20
- package/resources/x/communities/tweets.d.ts.map +1 -1
- package/resources/x/communities/tweets.js +8 -7
- package/resources/x/communities/tweets.js.map +1 -1
- package/resources/x/communities/tweets.mjs +8 -7
- package/resources/x/communities/tweets.mjs.map +1 -1
- package/resources/x/dm.d.mts +245 -13
- package/resources/x/dm.d.mts.map +1 -1
- package/resources/x/dm.d.ts +245 -13
- package/resources/x/dm.d.ts.map +1 -1
- package/resources/x/dm.js +29 -2
- package/resources/x/dm.js.map +1 -1
- package/resources/x/dm.mjs +29 -2
- package/resources/x/dm.mjs.map +1 -1
- package/resources/x/followers.d.mts +31 -3
- package/resources/x/followers.d.mts.map +1 -1
- package/resources/x/followers.d.ts +31 -3
- package/resources/x/followers.d.ts.map +1 -1
- package/resources/x/followers.js +2 -1
- package/resources/x/followers.js.map +1 -1
- package/resources/x/followers.mjs +2 -1
- package/resources/x/followers.mjs.map +1 -1
- package/resources/x/index.d.mts +12 -8
- package/resources/x/index.d.mts.map +1 -1
- package/resources/x/index.d.ts +12 -8
- package/resources/x/index.d.ts.map +1 -1
- package/resources/x/index.js +9 -1
- package/resources/x/index.js.map +1 -1
- package/resources/x/index.mjs +5 -1
- package/resources/x/index.mjs.map +1 -1
- package/resources/x/jobs.d.mts +506 -0
- package/resources/x/jobs.d.mts.map +1 -0
- package/resources/x/jobs.d.ts +506 -0
- package/resources/x/jobs.d.ts.map +1 -0
- package/resources/x/jobs.js +60 -0
- package/resources/x/jobs.js.map +1 -0
- package/resources/x/jobs.mjs +56 -0
- package/resources/x/jobs.mjs.map +1 -0
- package/resources/x/lists.d.mts +1058 -27
- package/resources/x/lists.d.mts.map +1 -1
- package/resources/x/lists.d.ts +1058 -27
- package/resources/x/lists.d.ts.map +1 -1
- package/resources/x/lists.js +39 -9
- package/resources/x/lists.js.map +1 -1
- package/resources/x/lists.mjs +39 -9
- package/resources/x/lists.mjs.map +1 -1
- package/resources/x/media.d.mts +24 -13
- package/resources/x/media.d.mts.map +1 -1
- package/resources/x/media.d.ts +24 -13
- package/resources/x/media.d.ts.map +1 -1
- package/resources/x/media.js +2 -2
- package/resources/x/media.mjs +2 -2
- package/resources/x/profile.d.mts +60 -33
- package/resources/x/profile.d.mts.map +1 -1
- package/resources/x/profile.d.ts +60 -33
- package/resources/x/profile.d.ts.map +1 -1
- package/resources/x/profile.js +3 -3
- package/resources/x/profile.mjs +3 -3
- package/resources/x/spaces.d.mts +857 -0
- package/resources/x/spaces.d.mts.map +1 -0
- package/resources/x/spaces.d.ts +857 -0
- package/resources/x/spaces.d.ts.map +1 -0
- package/resources/x/spaces.js +58 -0
- package/resources/x/spaces.js.map +1 -0
- package/resources/x/spaces.mjs +54 -0
- package/resources/x/spaces.mjs.map +1 -0
- package/resources/x/tweets/index.d.mts +1 -1
- package/resources/x/tweets/index.d.mts.map +1 -1
- package/resources/x/tweets/index.d.ts +1 -1
- package/resources/x/tweets/index.d.ts.map +1 -1
- package/resources/x/tweets/index.js.map +1 -1
- package/resources/x/tweets/index.mjs.map +1 -1
- package/resources/x/tweets/like.d.mts +38 -20
- package/resources/x/tweets/like.d.mts.map +1 -1
- package/resources/x/tweets/like.d.ts +38 -20
- package/resources/x/tweets/like.d.ts.map +1 -1
- package/resources/x/tweets/like.js +2 -2
- package/resources/x/tweets/like.mjs +2 -2
- package/resources/x/tweets/retweet.d.mts +38 -20
- package/resources/x/tweets/retweet.d.mts.map +1 -1
- package/resources/x/tweets/retweet.d.ts +38 -20
- package/resources/x/tweets/retweet.d.ts.map +1 -1
- package/resources/x/tweets/retweet.js +2 -2
- package/resources/x/tweets/retweet.mjs +2 -2
- package/resources/x/tweets/tweets.d.mts +2639 -326
- package/resources/x/tweets/tweets.d.mts.map +1 -1
- package/resources/x/tweets/tweets.d.ts +2639 -326
- package/resources/x/tweets/tweets.d.ts.map +1 -1
- package/resources/x/tweets/tweets.js +147 -21
- package/resources/x/tweets/tweets.js.map +1 -1
- package/resources/x/tweets/tweets.mjs +147 -21
- package/resources/x/tweets/tweets.mjs.map +1 -1
- package/resources/x/users/follow.d.mts +38 -20
- package/resources/x/users/follow.d.mts.map +1 -1
- package/resources/x/users/follow.d.ts +38 -20
- package/resources/x/users/follow.d.ts.map +1 -1
- package/resources/x/users/follow.js +2 -2
- package/resources/x/users/follow.mjs +2 -2
- package/resources/x/users/index.d.mts +1 -1
- package/resources/x/users/index.d.mts.map +1 -1
- package/resources/x/users/index.d.ts +1 -1
- package/resources/x/users/index.d.ts.map +1 -1
- package/resources/x/users/index.js.map +1 -1
- package/resources/x/users/index.mjs.map +1 -1
- package/resources/x/users/users.d.mts +3068 -457
- package/resources/x/users/users.d.mts.map +1 -1
- package/resources/x/users/users.d.ts +3068 -457
- package/resources/x/users/users.d.ts.map +1 -1
- package/resources/x/users/users.js +205 -22
- package/resources/x/users/users.js.map +1 -1
- package/resources/x/users/users.mjs +205 -22
- package/resources/x/users/users.mjs.map +1 -1
- package/resources/x/write-actions.d.mts +13 -6
- package/resources/x/write-actions.d.mts.map +1 -1
- package/resources/x/write-actions.d.ts +13 -6
- package/resources/x/write-actions.d.ts.map +1 -1
- package/resources/x/write-actions.js +1 -1
- package/resources/x/write-actions.mjs +1 -1
- package/resources/x/x.d.mts +864 -27
- package/resources/x/x.d.mts.map +1 -1
- package/resources/x/x.d.ts +864 -27
- package/resources/x/x.d.ts.map +1 -1
- package/resources/x/x.js +78 -5
- package/resources/x/x.js.map +1 -1
- package/resources/x/x.mjs +80 -7
- package/resources/x/x.mjs.map +1 -1
- package/skills/x-twitter-scraper/SKILL.md +97 -350
- package/skills/x-twitter-scraper/metadata.json +3 -9
- package/skills/x-twitter-scraper/references/draws.md +24 -24
- package/skills/x-twitter-scraper/references/extractions.md +71 -62
- package/skills/x-twitter-scraper/references/mcp-setup.md +36 -39
- package/skills/x-twitter-scraper/references/mcp-tools.md +105 -166
- package/skills/x-twitter-scraper/references/python-examples.md +5 -5
- package/skills/x-twitter-scraper/references/security.md +8 -8
- package/skills/x-twitter-scraper/references/types-mcp-output-schemas.md +4 -4
- package/skills/x-twitter-scraper/references/types.md +0 -1
- package/skills/x-twitter-scraper/references/usage.md +5 -5
- package/skills/x-twitter-scraper/references/webhooks.md +28 -31
- package/skills/x-twitter-scraper/references/workflows.md +70 -71
- package/skills/x-twitter-scraper/skill-card.md +13 -14
- package/skills/x-twitter-scraper/skillspector-report.md +8 -5
- package/skills/xquik-account-automation/LICENSE +21 -0
- package/skills/xquik-account-automation/SKILL.md +91 -0
- package/skills/xquik-social-research/SKILL.md +49 -56
- package/src/client.ts +47 -4
- package/src/core/streaming.ts +328 -0
- package/src/internal/decoders/line.ts +140 -0
- package/src/internal/parse.ts +9 -0
- package/src/resources/account.ts +41 -12
- package/src/resources/compose.ts +77 -21
- package/src/resources/credits.ts +19 -10
- package/src/resources/drafts.ts +13 -22
- package/src/resources/draws.ts +94 -36
- package/src/resources/events.ts +3225 -68
- package/src/resources/extractions.ts +512 -125
- package/src/resources/guest-wallets.ts +6 -5
- package/src/resources/index.ts +24 -1
- package/src/resources/monitors/index.ts +2 -0
- package/src/resources/monitors/keywords.ts +82 -14
- package/src/resources/monitors/monitors.ts +66 -14
- package/src/resources/radar.ts +32 -36
- package/src/resources/shared.ts +2227 -351
- package/src/resources/styles.ts +43 -27
- package/src/resources/subscribe.ts +1 -1
- package/src/resources/support/index.ts +1 -0
- package/src/resources/support/support.ts +2 -0
- package/src/resources/support/tickets.ts +38 -10
- package/src/resources/trends.ts +23 -5
- package/src/resources/webhooks.ts +109 -15
- package/src/resources/x/account-connection-attempts.ts +1 -1
- package/src/resources/x/account-connection-challenges.ts +39 -11
- package/src/resources/x/accounts.ts +46 -10
- package/src/resources/x/analysis.ts +3947 -0
- package/src/resources/x/bookmarks.ts +103 -9
- package/src/resources/x/broadcasts.ts +225 -0
- package/src/resources/x/communities/communities.ts +743 -141
- package/src/resources/x/communities/index.ts +9 -0
- package/src/resources/x/communities/join.ts +46 -23
- package/src/resources/x/communities/media.ts +251 -0
- package/src/resources/x/communities/tweets.ts +427 -20
- package/src/resources/x/dm.ts +334 -11
- package/src/resources/x/followers.ts +35 -3
- package/src/resources/x/index.ts +106 -1
- package/src/resources/x/jobs.ts +627 -0
- package/src/resources/x/lists.ts +1307 -28
- package/src/resources/x/media.ts +24 -12
- package/src/resources/x/profile.ts +60 -30
- package/src/resources/x/spaces.ts +1076 -0
- package/src/resources/x/tweets/index.ts +18 -0
- package/src/resources/x/tweets/like.ts +38 -18
- package/src/resources/x/tweets/retweet.ts +38 -18
- package/src/resources/x/tweets/tweets.ts +3695 -843
- package/src/resources/x/users/follow.ts +38 -18
- package/src/resources/x/users/index.ts +22 -0
- package/src/resources/x/users/users.ts +3687 -465
- package/src/resources/x/write-actions.ts +13 -5
- package/src/resources/x/x.ts +1227 -15
- package/src/streaming.ts +6 -0
- package/src/version.ts +1 -1
- package/streaming.d.mts +3 -0
- package/streaming.d.mts.map +1 -0
- package/streaming.d.ts +3 -0
- package/streaming.d.ts.map +1 -0
- package/streaming.js +9 -0
- package/streaming.js.map +1 -0
- package/streaming.mjs +6 -0
- package/streaming.mjs.map +1 -0
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/skills/x-twitter-scraper/references/types-rest-api-vs-mcp-field-naming.md +0 -15
package/src/resources/x/dm.ts
CHANGED
|
@@ -12,7 +12,37 @@ import { path } from '../../internal/utils/path';
|
|
|
12
12
|
|
|
13
13
|
export class Dm extends APIResource {
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Deletes 1 DM from the account's side; the other person keeps it. Success means
|
|
16
|
+
* the account's conversation no longer shows it. Still shown gets 422
|
|
17
|
+
* `x_dm_not_deleted`, uncharged.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const response = await client.x.dm.deleteMessage(
|
|
22
|
+
* '321669910225',
|
|
23
|
+
* {
|
|
24
|
+
* userId: 'userId',
|
|
25
|
+
* account: 'account',
|
|
26
|
+
* 'Idempotency-Key': 'Idempotency-Key',
|
|
27
|
+
* },
|
|
28
|
+
* );
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
deleteMessage(
|
|
32
|
+
messageID: string,
|
|
33
|
+
params: DmDeleteMessageParams,
|
|
34
|
+
options?: RequestOptions,
|
|
35
|
+
): APIPromise<DmDeleteMessageResponse> {
|
|
36
|
+
const { userId, account, 'Idempotency-Key': idempotencyKey } = params;
|
|
37
|
+
return this._client.delete(path`/x/dm/${userId}/messages/${messageID}`, {
|
|
38
|
+
query: { account },
|
|
39
|
+
...options,
|
|
40
|
+
headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey }, options?.headers]),
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Returns message history with one user for the connected X account.
|
|
16
46
|
*
|
|
17
47
|
* @example
|
|
18
48
|
* ```ts
|
|
@@ -31,7 +61,9 @@ export class Dm extends APIResource {
|
|
|
31
61
|
}
|
|
32
62
|
|
|
33
63
|
/**
|
|
34
|
-
*
|
|
64
|
+
* Sends a direct message through a connected X account. Once X rate limits an
|
|
65
|
+
* account's DMs, its DMs get 429 until X's reset. Xquik sends nothing to X &
|
|
66
|
+
* charges nothing. `Retry-After` & `nextAction.afterMs` give the wait.
|
|
35
67
|
*
|
|
36
68
|
* @example
|
|
37
69
|
* ```ts
|
|
@@ -53,6 +85,257 @@ export class Dm extends APIResource {
|
|
|
53
85
|
}
|
|
54
86
|
}
|
|
55
87
|
|
|
88
|
+
/**
|
|
89
|
+
* Durable write record. Poll statusUrl until terminal is true. Reusing its
|
|
90
|
+
* Idempotency-Key returns this record. Create another action only when safeToRetry
|
|
91
|
+
* is true.
|
|
92
|
+
*/
|
|
93
|
+
export interface DmDeleteMessageResponse {
|
|
94
|
+
id: string;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Connected account selected for the write.
|
|
98
|
+
*/
|
|
99
|
+
account: DmDeleteMessageResponse.Account | null;
|
|
100
|
+
|
|
101
|
+
action:
|
|
102
|
+
| 'create_tweet'
|
|
103
|
+
| 'delete_tweet'
|
|
104
|
+
| 'like'
|
|
105
|
+
| 'unlike'
|
|
106
|
+
| 'retweet'
|
|
107
|
+
| 'unretweet'
|
|
108
|
+
| 'follow'
|
|
109
|
+
| 'unfollow'
|
|
110
|
+
| 'remove_follower'
|
|
111
|
+
| 'send_dm'
|
|
112
|
+
| 'delete_dm'
|
|
113
|
+
| 'upload_media'
|
|
114
|
+
| 'update_profile'
|
|
115
|
+
| 'update_avatar'
|
|
116
|
+
| 'update_banner'
|
|
117
|
+
| 'create_community'
|
|
118
|
+
| 'delete_community'
|
|
119
|
+
| 'join_community'
|
|
120
|
+
| 'leave_community';
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* plannedCredits is the approved maximum. chargedCredits comes from the settled
|
|
124
|
+
* credit ledger. Pending or failed writes are not charged.
|
|
125
|
+
*/
|
|
126
|
+
billing: DmDeleteMessageResponse.Billing;
|
|
127
|
+
|
|
128
|
+
charged: boolean;
|
|
129
|
+
|
|
130
|
+
chargedCredits: string;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Exact follow-up an API client or agent should perform.
|
|
134
|
+
*/
|
|
135
|
+
nextAction: DmDeleteMessageResponse.NextAction | null;
|
|
136
|
+
|
|
137
|
+
object: 'x_write_action';
|
|
138
|
+
|
|
139
|
+
pollAfterMs: number | null;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Stable fingerprint and sanitized payload for replay checks.
|
|
143
|
+
*/
|
|
144
|
+
request: DmDeleteMessageResponse.Request;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Confirmed result produced by the write, when available.
|
|
148
|
+
*/
|
|
149
|
+
result: DmDeleteMessageResponse.Result | null;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* True only when a new attempt can reasonably succeed.
|
|
153
|
+
*/
|
|
154
|
+
retryable: boolean;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* True only when X did not get the write and a new idempotency key may be used.
|
|
158
|
+
*/
|
|
159
|
+
safeToRetry: boolean;
|
|
160
|
+
|
|
161
|
+
sendDispatched: boolean;
|
|
162
|
+
|
|
163
|
+
status: 'accepted' | 'dispatching' | 'pending_confirmation' | 'success' | 'failed' | 'expired';
|
|
164
|
+
|
|
165
|
+
statusUrl: string;
|
|
166
|
+
|
|
167
|
+
success: boolean;
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Existing X resource targeted by the write, when applicable.
|
|
171
|
+
*/
|
|
172
|
+
target: DmDeleteMessageResponse.Target | null;
|
|
173
|
+
|
|
174
|
+
targetId: string | null;
|
|
175
|
+
|
|
176
|
+
terminal: boolean;
|
|
177
|
+
|
|
178
|
+
writeActionId: string;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Compatibility field for a confirmed community ID.
|
|
182
|
+
*/
|
|
183
|
+
communityId?: string;
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Confirmed community name when available.
|
|
187
|
+
*/
|
|
188
|
+
communityName?: string;
|
|
189
|
+
|
|
190
|
+
completedAt?: string;
|
|
191
|
+
|
|
192
|
+
confirmationAttempts?: number;
|
|
193
|
+
|
|
194
|
+
confirmationCheckedAt?: string;
|
|
195
|
+
|
|
196
|
+
confirmedAt?: string;
|
|
197
|
+
|
|
198
|
+
createdAt?: string;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Structured recovery context for a failed write.
|
|
202
|
+
*/
|
|
203
|
+
details?: { [key: string]: unknown };
|
|
204
|
+
|
|
205
|
+
error?: string;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Deadline for resolving a non-terminal write. This is not the Idempotency-Key
|
|
209
|
+
* retention deadline.
|
|
210
|
+
*/
|
|
211
|
+
expiresAt?: string;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* True when this answers a retry of an earlier request with the same
|
|
215
|
+
* Idempotency-Key.
|
|
216
|
+
*/
|
|
217
|
+
idempotent?: boolean;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Media count, kind, size, and billing details when used.
|
|
221
|
+
*/
|
|
222
|
+
media?: { [key: string]: unknown };
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Compatibility field for a confirmed media upload ID.
|
|
226
|
+
*/
|
|
227
|
+
mediaId?: string;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Public media URL when the upload creates one.
|
|
231
|
+
*/
|
|
232
|
+
mediaUrl?: string;
|
|
233
|
+
|
|
234
|
+
message?: string;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Compatibility field for a confirmed direct message ID.
|
|
238
|
+
*/
|
|
239
|
+
messageId?: string;
|
|
240
|
+
|
|
241
|
+
requestHash?: string;
|
|
242
|
+
|
|
243
|
+
requestId?: string;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* Compatibility result ID for other write actions.
|
|
247
|
+
*/
|
|
248
|
+
resultId?: string;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* Dispatch timestamp when the write reached execution.
|
|
252
|
+
*/
|
|
253
|
+
sendDispatchedAt?: string;
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Compatibility field for a confirmed tweet result ID.
|
|
257
|
+
*/
|
|
258
|
+
tweetId?: string;
|
|
259
|
+
|
|
260
|
+
updatedAt?: string;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
export namespace DmDeleteMessageResponse {
|
|
264
|
+
/**
|
|
265
|
+
* Connected account selected for the write.
|
|
266
|
+
*/
|
|
267
|
+
export interface Account {
|
|
268
|
+
id: string;
|
|
269
|
+
|
|
270
|
+
username: string;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* plannedCredits is the approved maximum. chargedCredits comes from the settled
|
|
275
|
+
* credit ledger. Pending or failed writes are not charged.
|
|
276
|
+
*/
|
|
277
|
+
export interface Billing {
|
|
278
|
+
charged: boolean;
|
|
279
|
+
|
|
280
|
+
chargedCredits: string;
|
|
281
|
+
|
|
282
|
+
plannedCredits: string;
|
|
283
|
+
|
|
284
|
+
status: 'not_charged' | 'pending' | 'charged' | 'charge_failed' | 'refunded';
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Exact follow-up an API client or agent should perform.
|
|
289
|
+
*/
|
|
290
|
+
export interface NextAction {
|
|
291
|
+
type: 'poll' | 'retry' | 'verify_result' | 'fix_request';
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* Milliseconds to wait before you poll or retry.
|
|
295
|
+
*/
|
|
296
|
+
afterMs?: number;
|
|
297
|
+
|
|
298
|
+
requiresNewIdempotencyKey?: boolean;
|
|
299
|
+
|
|
300
|
+
url?: string;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Stable fingerprint and sanitized payload for replay checks.
|
|
305
|
+
*/
|
|
306
|
+
export interface Request {
|
|
307
|
+
/**
|
|
308
|
+
* Stable hash of account, action, target, and payload.
|
|
309
|
+
*/
|
|
310
|
+
hash: string | null;
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Exact sanitized payload dispatched for this action.
|
|
314
|
+
*/
|
|
315
|
+
payload: { [key: string]: unknown } | null;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Confirmed result produced by the write, when available.
|
|
320
|
+
*/
|
|
321
|
+
export interface Result {
|
|
322
|
+
id?: string;
|
|
323
|
+
|
|
324
|
+
state?: string;
|
|
325
|
+
|
|
326
|
+
type?: 'tweet' | 'direct_message' | 'media' | 'community' | 'state_change';
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* Existing X resource targeted by the write, when applicable.
|
|
331
|
+
*/
|
|
332
|
+
export interface Target {
|
|
333
|
+
id: string;
|
|
334
|
+
|
|
335
|
+
type: 'tweet' | 'user' | 'community';
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
|
|
56
339
|
export interface DmRetrieveHistoryResponse {
|
|
57
340
|
has_next_page: boolean;
|
|
58
341
|
|
|
@@ -77,14 +360,17 @@ export namespace DmRetrieveHistoryResponse {
|
|
|
77
360
|
*/
|
|
78
361
|
mediaUrl?: string;
|
|
79
362
|
|
|
363
|
+
/**
|
|
364
|
+
* Text as x.com shows it, with `&`, `<` & `>` decoded.
|
|
365
|
+
*/
|
|
80
366
|
text?: string;
|
|
81
367
|
}
|
|
82
368
|
}
|
|
83
369
|
|
|
84
370
|
/**
|
|
85
|
-
* Durable write
|
|
86
|
-
*
|
|
87
|
-
*
|
|
371
|
+
* Durable write record. Poll statusUrl until terminal is true. Reusing its
|
|
372
|
+
* Idempotency-Key returns this record. Create another action only when safeToRetry
|
|
373
|
+
* is true.
|
|
88
374
|
*/
|
|
89
375
|
export interface DmSendResponse {
|
|
90
376
|
id: string;
|
|
@@ -105,6 +391,7 @@ export interface DmSendResponse {
|
|
|
105
391
|
| 'unfollow'
|
|
106
392
|
| 'remove_follower'
|
|
107
393
|
| 'send_dm'
|
|
394
|
+
| 'delete_dm'
|
|
108
395
|
| 'upload_media'
|
|
109
396
|
| 'update_profile'
|
|
110
397
|
| 'update_avatar'
|
|
@@ -149,7 +436,7 @@ export interface DmSendResponse {
|
|
|
149
436
|
retryable: boolean;
|
|
150
437
|
|
|
151
438
|
/**
|
|
152
|
-
* True only when
|
|
439
|
+
* True only when X did not get the write and a new idempotency key may be used.
|
|
153
440
|
*/
|
|
154
441
|
safeToRetry: boolean;
|
|
155
442
|
|
|
@@ -205,6 +492,10 @@ export interface DmSendResponse {
|
|
|
205
492
|
*/
|
|
206
493
|
expiresAt?: string;
|
|
207
494
|
|
|
495
|
+
/**
|
|
496
|
+
* True when this answers a retry of an earlier request with the same
|
|
497
|
+
* Idempotency-Key.
|
|
498
|
+
*/
|
|
208
499
|
idempotent?: boolean;
|
|
209
500
|
|
|
210
501
|
/**
|
|
@@ -281,6 +572,9 @@ export namespace DmSendResponse {
|
|
|
281
572
|
export interface NextAction {
|
|
282
573
|
type: 'poll' | 'retry' | 'verify_result' | 'fix_request';
|
|
283
574
|
|
|
575
|
+
/**
|
|
576
|
+
* Milliseconds to wait before you poll or retry.
|
|
577
|
+
*/
|
|
284
578
|
afterMs?: number;
|
|
285
579
|
|
|
286
580
|
requiresNewIdempotencyKey?: boolean;
|
|
@@ -324,6 +618,30 @@ export namespace DmSendResponse {
|
|
|
324
618
|
}
|
|
325
619
|
}
|
|
326
620
|
|
|
621
|
+
export interface DmDeleteMessageParams {
|
|
622
|
+
/**
|
|
623
|
+
* Path param: The other person in the conversation: user ID, username with or
|
|
624
|
+
* without @, or URL-encoded profile URL, such as x.com/nasa. Xquik looks up a
|
|
625
|
+
* username's ID first. Anything else gets 400 `invalid_user_id`.
|
|
626
|
+
*/
|
|
627
|
+
userId: string;
|
|
628
|
+
|
|
629
|
+
/**
|
|
630
|
+
* Query param: Connected X account (@username or ID) that sees the DM.
|
|
631
|
+
*/
|
|
632
|
+
account: string;
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
* Header param: Use one unique value per intended write. Reuse it only for an
|
|
636
|
+
* identical retry. A matching retry returns the first answer again, with
|
|
637
|
+
* idempotent: true added. It keeps the first status, body & Retry-After. It sends
|
|
638
|
+
* nothing to X & charges nothing. While the first request runs, a retry returns
|
|
639
|
+
* 202 & the action. Different input returns 409. Protection lasts at least 90
|
|
640
|
+
* days.
|
|
641
|
+
*/
|
|
642
|
+
'Idempotency-Key': string;
|
|
643
|
+
}
|
|
644
|
+
|
|
327
645
|
export interface DmRetrieveHistoryParams {
|
|
328
646
|
/**
|
|
329
647
|
* X handle (without the `@` prefix) of the connected X account used to read the
|
|
@@ -332,7 +650,8 @@ export interface DmRetrieveHistoryParams {
|
|
|
332
650
|
account: string;
|
|
333
651
|
|
|
334
652
|
/**
|
|
335
|
-
* Pagination cursor for
|
|
653
|
+
* Pagination cursor for collection results. Also read as next_cursor, next_token,
|
|
654
|
+
* pagination_token or continuation_token.
|
|
336
655
|
*/
|
|
337
656
|
cursor?: string;
|
|
338
657
|
|
|
@@ -354,10 +673,12 @@ export interface DmSendParams {
|
|
|
354
673
|
text: string;
|
|
355
674
|
|
|
356
675
|
/**
|
|
357
|
-
* Header param:
|
|
358
|
-
*
|
|
359
|
-
*
|
|
360
|
-
*
|
|
676
|
+
* Header param: Use one unique value per intended write. Reuse it only for an
|
|
677
|
+
* identical retry. A matching retry returns the first answer again, with
|
|
678
|
+
* idempotent: true added. It keeps the first status, body & Retry-After. It sends
|
|
679
|
+
* nothing to X & charges nothing. While the first request runs, a retry returns
|
|
680
|
+
* 202 & the action. Different input returns 409. Protection lasts at least 90
|
|
681
|
+
* days.
|
|
361
682
|
*/
|
|
362
683
|
'Idempotency-Key': string;
|
|
363
684
|
|
|
@@ -369,8 +690,10 @@ export interface DmSendParams {
|
|
|
369
690
|
|
|
370
691
|
export declare namespace Dm {
|
|
371
692
|
export {
|
|
693
|
+
type DmDeleteMessageResponse as DmDeleteMessageResponse,
|
|
372
694
|
type DmRetrieveHistoryResponse as DmRetrieveHistoryResponse,
|
|
373
695
|
type DmSendResponse as DmSendResponse,
|
|
696
|
+
type DmDeleteMessageParams as DmDeleteMessageParams,
|
|
374
697
|
type DmRetrieveHistoryParams as DmRetrieveHistoryParams,
|
|
375
698
|
type DmSendParams as DmSendParams,
|
|
376
699
|
};
|
|
@@ -13,7 +13,8 @@ import { RequestOptions } from '../../internal/request-options';
|
|
|
13
13
|
*/
|
|
14
14
|
export class Followers extends APIResource {
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Returns whether one public account follows another, & the reverse, with each
|
|
17
|
+
* account's username & user ID as X names them.
|
|
17
18
|
*
|
|
18
19
|
* @example
|
|
19
20
|
* ```ts
|
|
@@ -35,19 +36,50 @@ export interface FollowerCheckResponse {
|
|
|
35
36
|
|
|
36
37
|
sourceUsername: string;
|
|
37
38
|
|
|
39
|
+
/**
|
|
40
|
+
* The target account's username, in lower case.
|
|
41
|
+
*/
|
|
38
42
|
targetUsername: string;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* The source account's user ID, as X gives it.
|
|
46
|
+
*/
|
|
47
|
+
sourceId?: string;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* The target account's user ID, as X gives it.
|
|
51
|
+
*/
|
|
52
|
+
targetId?: string;
|
|
39
53
|
}
|
|
40
54
|
|
|
41
55
|
export interface FollowerCheckParams {
|
|
42
56
|
/**
|
|
43
|
-
* Source username, @username, or X or Twitter profile URL
|
|
57
|
+
* Source user ID, username, @username, or X or Twitter profile URL, such as
|
|
58
|
+
* x.com/i/user/11348282. A number is a user ID.
|
|
44
59
|
*/
|
|
45
60
|
source: string;
|
|
46
61
|
|
|
47
62
|
/**
|
|
48
|
-
* Target username, @username, or X or Twitter profile URL
|
|
63
|
+
* Target user ID, username, @username, or X or Twitter profile URL, such as
|
|
64
|
+
* x.com/i/user/11348282. A number is a user ID.
|
|
49
65
|
*/
|
|
50
66
|
target: string;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Fields to keep in each row, comma-separated. Use dots for nested fields, such as
|
|
70
|
+
* author.username. A list keeps the field in each item. Case & underscores do not
|
|
71
|
+
* matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
|
|
72
|
+
* always stay. An unknown name answers 400 unknown_field with the valid names,
|
|
73
|
+
* before any read. The price stays the same. SDK row types then hold only the
|
|
74
|
+
* named fields.
|
|
75
|
+
*/
|
|
76
|
+
fields?: string;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Fields to drop from each row, comma-separated. It takes the same names as
|
|
80
|
+
* fields. With fields, it drops from the kept fields.
|
|
81
|
+
*/
|
|
82
|
+
omit?: string;
|
|
51
83
|
}
|
|
52
84
|
|
|
53
85
|
export declare namespace Followers {
|
package/src/resources/x/index.ts
CHANGED
|
@@ -23,32 +23,79 @@ export {
|
|
|
23
23
|
type AccountBulkRetryResponse,
|
|
24
24
|
type AccountReauthResponse,
|
|
25
25
|
type AccountCreateParams,
|
|
26
|
+
type AccountListParams,
|
|
26
27
|
type AccountReauthParams,
|
|
27
28
|
} from './accounts';
|
|
28
|
-
export {
|
|
29
|
+
export {
|
|
30
|
+
Analysis,
|
|
31
|
+
type AnalysisBrandResponse,
|
|
32
|
+
type AnalysisClassifyResponse,
|
|
33
|
+
type AnalysisMarketSignalsResponse,
|
|
34
|
+
type AnalysisNewsResponse,
|
|
35
|
+
type AnalysisSentimentResponse,
|
|
36
|
+
type AnalysisViralScoreResponse,
|
|
37
|
+
type AnalysisBrandParams,
|
|
38
|
+
type AnalysisClassifyParams,
|
|
39
|
+
type AnalysisMarketSignalsParams,
|
|
40
|
+
type AnalysisNewsParams,
|
|
41
|
+
type AnalysisSentimentParams,
|
|
42
|
+
type AnalysisViralScoreParams,
|
|
43
|
+
} from './analysis';
|
|
44
|
+
export {
|
|
45
|
+
Bookmarks,
|
|
46
|
+
type BookmarkRetrieveFoldersResponse,
|
|
47
|
+
type BookmarkListParams,
|
|
48
|
+
type BookmarkRetrieveFoldersParams,
|
|
49
|
+
} from './bookmarks';
|
|
50
|
+
export { Broadcasts, type BroadcastRetrieveResponse, type BroadcastRetrieveParams } from './broadcasts';
|
|
29
51
|
export {
|
|
30
52
|
Communities,
|
|
31
53
|
type CommunityCreateResponse,
|
|
32
54
|
type CommunityDeleteResponse,
|
|
55
|
+
type CommunityListSuggestedResponse,
|
|
56
|
+
type CommunityListTopicsResponse,
|
|
33
57
|
type CommunityRetrieveInfoResponse,
|
|
34
58
|
type CommunityCreateParams,
|
|
35
59
|
type CommunityDeleteParams,
|
|
60
|
+
type CommunityFindParams,
|
|
61
|
+
type CommunityListPopularParams,
|
|
62
|
+
type CommunityListSuggestedParams,
|
|
63
|
+
type CommunityListTopicsParams,
|
|
64
|
+
type CommunityRetrieveInfoParams,
|
|
36
65
|
type CommunityRetrieveMembersParams,
|
|
37
66
|
type CommunityRetrieveModeratorsParams,
|
|
38
67
|
type CommunityRetrieveSearchParams,
|
|
68
|
+
type CommunitySearchMembersParams,
|
|
39
69
|
} from './communities/index';
|
|
40
70
|
export {
|
|
41
71
|
Dm,
|
|
72
|
+
type DmDeleteMessageResponse,
|
|
42
73
|
type DmRetrieveHistoryResponse,
|
|
43
74
|
type DmSendResponse,
|
|
75
|
+
type DmDeleteMessageParams,
|
|
44
76
|
type DmRetrieveHistoryParams,
|
|
45
77
|
type DmSendParams,
|
|
46
78
|
} from './dm';
|
|
47
79
|
export { Followers, type FollowerCheckResponse, type FollowerCheckParams } from './followers';
|
|
80
|
+
export {
|
|
81
|
+
Jobs,
|
|
82
|
+
type JobRetrieveResponse,
|
|
83
|
+
type JobListLocationsResponse,
|
|
84
|
+
type JobSearchResponse,
|
|
85
|
+
type JobRetrieveParams,
|
|
86
|
+
type JobListLocationsParams,
|
|
87
|
+
type JobSearchParams,
|
|
88
|
+
} from './jobs';
|
|
48
89
|
export {
|
|
49
90
|
Lists,
|
|
91
|
+
type ListRetrieveResponse,
|
|
92
|
+
type ListRetrieveFollowersResponse,
|
|
93
|
+
type ListRetrieveMembersResponse,
|
|
94
|
+
type ListRetrieveSearchResponse,
|
|
95
|
+
type ListRetrieveParams,
|
|
50
96
|
type ListRetrieveFollowersParams,
|
|
51
97
|
type ListRetrieveMembersParams,
|
|
98
|
+
type ListRetrieveSearchParams,
|
|
52
99
|
type ListRetrieveTweetsParams,
|
|
53
100
|
} from './lists';
|
|
54
101
|
export {
|
|
@@ -67,52 +114,110 @@ export {
|
|
|
67
114
|
type ProfileUpdateAvatarParams,
|
|
68
115
|
type ProfileUpdateBannerParams,
|
|
69
116
|
} from './profile';
|
|
117
|
+
export {
|
|
118
|
+
Spaces,
|
|
119
|
+
type SpaceRetrieveResponse,
|
|
120
|
+
type SpaceRetrieveReplayResponse,
|
|
121
|
+
type SpaceSearchResponse,
|
|
122
|
+
type SpaceRetrieveParams,
|
|
123
|
+
type SpaceRetrieveReplayParams,
|
|
124
|
+
type SpaceSearchParams,
|
|
125
|
+
} from './spaces';
|
|
70
126
|
export {
|
|
71
127
|
Tweets,
|
|
72
128
|
type TweetAuthor,
|
|
73
129
|
type TweetDetail,
|
|
74
130
|
type TweetCreateResponse,
|
|
75
131
|
type TweetRetrieveResponse,
|
|
132
|
+
type TweetListResponse,
|
|
76
133
|
type TweetDeleteResponse,
|
|
134
|
+
type TweetCheckRepostResponse,
|
|
135
|
+
type TweetEmbedResponse,
|
|
136
|
+
type TweetGetInsightsResponse,
|
|
77
137
|
type TweetGetRepliesResponse,
|
|
138
|
+
type TweetGetRetweeterIDsResponse,
|
|
139
|
+
type TweetGetSubtitlesResponse,
|
|
140
|
+
type TweetResolveLinksResponse,
|
|
78
141
|
type TweetSearchResponse,
|
|
142
|
+
type TweetTranslateResponse,
|
|
79
143
|
type TweetCreateParams,
|
|
144
|
+
type TweetRetrieveParams,
|
|
80
145
|
type TweetListParams,
|
|
81
146
|
type TweetDeleteParams,
|
|
147
|
+
type TweetCheckRepostParams,
|
|
148
|
+
type TweetEmbedParams,
|
|
82
149
|
type TweetGetFavoritersParams,
|
|
150
|
+
type TweetGetHiddenRepliesParams,
|
|
151
|
+
type TweetGetInsightsParams,
|
|
83
152
|
type TweetGetQuotesParams,
|
|
84
153
|
type TweetGetRepliesParams,
|
|
154
|
+
type TweetGetRetweeterIDsParams,
|
|
85
155
|
type TweetGetRetweetersParams,
|
|
156
|
+
type TweetGetSubtitlesParams,
|
|
86
157
|
type TweetGetThreadParams,
|
|
158
|
+
type TweetListTopParams,
|
|
159
|
+
type TweetResolveLinksParams,
|
|
87
160
|
type TweetSearchParams,
|
|
161
|
+
type TweetTranslateParams,
|
|
88
162
|
} from './tweets/index';
|
|
89
163
|
export {
|
|
90
164
|
Users,
|
|
91
165
|
type UserRemoveFollowerResponse,
|
|
92
166
|
type UserRetrieveBatchResponse,
|
|
167
|
+
type UserRetrieveBatchTweetsResponse,
|
|
168
|
+
type UserRetrieveFollowerIDsResponse,
|
|
93
169
|
type UserRetrieveFollowersResponse,
|
|
94
170
|
type UserRetrieveFollowingResponse,
|
|
171
|
+
type UserRetrieveFollowingIDsResponse,
|
|
172
|
+
type UserRetrieveInsightsResponse,
|
|
173
|
+
type UserRetrieveListMembershipsResponse,
|
|
174
|
+
type UserRetrieveListsResponse,
|
|
175
|
+
type UserRetrieveLiveResponse,
|
|
95
176
|
type UserRetrieveVerifiedFollowersResponse,
|
|
177
|
+
type UserTranslateBioResponse,
|
|
178
|
+
type UserRetrieveParams,
|
|
96
179
|
type UserRemoveFollowerParams,
|
|
180
|
+
type UserRetrieveAffiliatesParams,
|
|
181
|
+
type UserRetrieveArticlesParams,
|
|
97
182
|
type UserRetrieveBatchParams,
|
|
183
|
+
type UserRetrieveBatchTweetsParams,
|
|
184
|
+
type UserRetrieveFollowerIDsParams,
|
|
98
185
|
type UserRetrieveFollowersParams,
|
|
99
186
|
type UserRetrieveFollowersYouKnowParams,
|
|
100
187
|
type UserRetrieveFollowingParams,
|
|
188
|
+
type UserRetrieveFollowingIDsParams,
|
|
189
|
+
type UserRetrieveHighlightsParams,
|
|
190
|
+
type UserRetrieveInsightsParams,
|
|
101
191
|
type UserRetrieveLikesParams,
|
|
192
|
+
type UserRetrieveListMembershipsParams,
|
|
193
|
+
type UserRetrieveListsParams,
|
|
194
|
+
type UserRetrieveLiveParams,
|
|
102
195
|
type UserRetrieveMediaParams,
|
|
103
196
|
type UserRetrieveMentionsParams,
|
|
104
197
|
type UserRetrieveRepliesParams,
|
|
105
198
|
type UserRetrieveSearchParams,
|
|
199
|
+
type UserRetrieveSimilarParams,
|
|
200
|
+
type UserRetrieveSubscriptionsParams,
|
|
106
201
|
type UserRetrieveTweetsParams,
|
|
107
202
|
type UserRetrieveVerifiedFollowersParams,
|
|
203
|
+
type UserTranslateBioParams,
|
|
108
204
|
} from './users/index';
|
|
109
205
|
export { WriteActions, type WriteActionRetrieveResponse } from './write-actions';
|
|
110
206
|
export {
|
|
111
207
|
X,
|
|
208
|
+
type XAutocompleteSearchResponse,
|
|
112
209
|
type XGetArticleResponse,
|
|
210
|
+
type XGetHashflagsResponse,
|
|
113
211
|
type XGetNotificationsResponse,
|
|
212
|
+
type XGetTrendLocationsResponse,
|
|
114
213
|
type XGetTrendsResponse,
|
|
214
|
+
type XSearchPlacesResponse,
|
|
215
|
+
type XAutocompleteSearchParams,
|
|
216
|
+
type XGetArticleParams,
|
|
217
|
+
type XGetHashflagsParams,
|
|
115
218
|
type XGetHomeTimelineParams,
|
|
116
219
|
type XGetNotificationsParams,
|
|
220
|
+
type XGetTrendLocationsParams,
|
|
117
221
|
type XGetTrendsParams,
|
|
222
|
+
type XSearchPlacesParams,
|
|
118
223
|
} from './x';
|