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
|
@@ -2,6 +2,8 @@ import { APIResource } from "../../../core/resource.js";
|
|
|
2
2
|
import * as Shared from "../../shared.js";
|
|
3
3
|
import * as JoinAPI from "./join.js";
|
|
4
4
|
import { Join, JoinCreateParams, JoinCreateResponse, JoinDeleteAllParams, JoinDeleteAllResponse } from "./join.js";
|
|
5
|
+
import * as MediaAPI from "./media.js";
|
|
6
|
+
import { Media, MediaListParams } from "./media.js";
|
|
5
7
|
import * as TweetsAPI from "./tweets.js";
|
|
6
8
|
import { TweetListByCommunityParams, TweetListParams, Tweets } from "./tweets.js";
|
|
7
9
|
import { APIPromise } from "../../../core/api-promise.js";
|
|
@@ -9,8 +11,9 @@ import { RequestOptions } from "../../../internal/request-options.js";
|
|
|
9
11
|
export declare class Communities extends APIResource {
|
|
10
12
|
join: JoinAPI.Join;
|
|
11
13
|
tweets: TweetsAPI.Tweets;
|
|
14
|
+
media: MediaAPI.Media;
|
|
12
15
|
/**
|
|
13
|
-
*
|
|
16
|
+
* Creates an X Community through a connected account.
|
|
14
17
|
*
|
|
15
18
|
* @example
|
|
16
19
|
* ```ts
|
|
@@ -24,20 +27,71 @@ export declare class Communities extends APIResource {
|
|
|
24
27
|
*/
|
|
25
28
|
create(params: CommunityCreateParams, options?: RequestOptions): APIPromise<CommunityCreateResponse>;
|
|
26
29
|
/**
|
|
27
|
-
*
|
|
30
|
+
* Deletes an owned X Community through a connected account.
|
|
28
31
|
*
|
|
29
32
|
* @example
|
|
30
33
|
* ```ts
|
|
31
|
-
* const community = await client.x.communities.delete(
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
34
|
+
* const community = await client.x.communities.delete(
|
|
35
|
+
* '1500000000000000000',
|
|
36
|
+
* {
|
|
37
|
+
* account: '@elonmusk',
|
|
38
|
+
* community_name: 'Tesla Fans',
|
|
39
|
+
* 'Idempotency-Key': 'Idempotency-Key',
|
|
40
|
+
* },
|
|
41
|
+
* );
|
|
36
42
|
* ```
|
|
37
43
|
*/
|
|
38
44
|
delete(id: string, params: CommunityDeleteParams, options?: RequestOptions): APIPromise<CommunityDeleteResponse>;
|
|
39
45
|
/**
|
|
40
|
-
*
|
|
46
|
+
* Returns the communities X finds for a keyword, in X's order. Each community
|
|
47
|
+
* costs 1 credit. To search the tweets in Communities, use /x/communities/search.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```ts
|
|
51
|
+
* const communityPage = await client.x.communities.find({
|
|
52
|
+
* q: 'q',
|
|
53
|
+
* });
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
find(query: CommunityFindParams, options?: RequestOptions): APIPromise<Shared.CommunityPage>;
|
|
57
|
+
/**
|
|
58
|
+
* Returns the communities X ranks highest under a topic or subtopic. Name it by
|
|
59
|
+
* topicId or by topic name from /x/communities/topics. Each community costs 1
|
|
60
|
+
* credit. A missing or unknown topic returns invalid_community_topic & lists the
|
|
61
|
+
* topic names.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ```ts
|
|
65
|
+
* const communityPage =
|
|
66
|
+
* await client.x.communities.listPopular();
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
listPopular(query?: CommunityListPopularParams | null | undefined, options?: RequestOptions): APIPromise<Shared.CommunityPage>;
|
|
70
|
+
/**
|
|
71
|
+
* Returns the communities X suggests, with their full public fields. X picks them
|
|
72
|
+
* per request, so 2 calls can differ. If X suggests none, Xquik asks up to 2 more
|
|
73
|
+
* times. An empty list is free. Each community costs 1 credit.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* ```ts
|
|
77
|
+
* const response = await client.x.communities.listSuggested();
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
listSuggested(query?: CommunityListSuggestedParams | null | undefined, options?: RequestOptions): APIPromise<CommunityListSuggestedResponse>;
|
|
81
|
+
/**
|
|
82
|
+
* Returns the community topics with their subtopics. Pass an ID as topicId, or a
|
|
83
|
+
* name as topic, to /x/communities/popular. Each top-level topic costs 1 credit,
|
|
84
|
+
* its subtopics included.
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* ```ts
|
|
88
|
+
* const response = await client.x.communities.listTopics();
|
|
89
|
+
* ```
|
|
90
|
+
*/
|
|
91
|
+
listTopics(query?: CommunityListTopicsParams | null | undefined, options?: RequestOptions): APIPromise<CommunityListTopicsResponse>;
|
|
92
|
+
/**
|
|
93
|
+
* Returns one community's public identity, rules, join question, search tags,
|
|
94
|
+
* membership counts, and the profiles of its creator, admin and previewed members.
|
|
41
95
|
*
|
|
42
96
|
* @example
|
|
43
97
|
* ```ts
|
|
@@ -46,9 +100,9 @@ export declare class Communities extends APIResource {
|
|
|
46
100
|
* );
|
|
47
101
|
* ```
|
|
48
102
|
*/
|
|
49
|
-
retrieveInfo(id: string, options?: RequestOptions): APIPromise<CommunityRetrieveInfoResponse>;
|
|
103
|
+
retrieveInfo(id: string, query?: CommunityRetrieveInfoParams | null | undefined, options?: RequestOptions): APIPromise<CommunityRetrieveInfoResponse>;
|
|
50
104
|
/**
|
|
51
|
-
*
|
|
105
|
+
* Returns public member profiles for one community.
|
|
52
106
|
*
|
|
53
107
|
* @example
|
|
54
108
|
* ```ts
|
|
@@ -58,7 +112,7 @@ export declare class Communities extends APIResource {
|
|
|
58
112
|
*/
|
|
59
113
|
retrieveMembers(id: string, query?: CommunityRetrieveMembersParams | null | undefined, options?: RequestOptions): APIPromise<Shared.PaginatedUsers>;
|
|
60
114
|
/**
|
|
61
|
-
*
|
|
115
|
+
* Returns public moderator profiles for one community.
|
|
62
116
|
*
|
|
63
117
|
* @example
|
|
64
118
|
* ```ts
|
|
@@ -68,23 +122,37 @@ export declare class Communities extends APIResource {
|
|
|
68
122
|
*/
|
|
69
123
|
retrieveModerators(id: string, query?: CommunityRetrieveModeratorsParams | null | undefined, options?: RequestOptions): APIPromise<Shared.PaginatedUsers>;
|
|
70
124
|
/**
|
|
71
|
-
* Returns
|
|
125
|
+
* Returns one tweet page, not community records. Add communityId to search 1
|
|
126
|
+
* Community, or leave it out to search every Community. To find communities by
|
|
127
|
+
* keyword, use /x/communities/find.
|
|
72
128
|
*
|
|
73
129
|
* @example
|
|
74
130
|
* ```ts
|
|
75
131
|
* const paginatedTweets =
|
|
76
|
-
* await client.x.communities.retrieveSearch({
|
|
77
|
-
*
|
|
132
|
+
* await client.x.communities.retrieveSearch({ q: 'q' });
|
|
133
|
+
* ```
|
|
134
|
+
*/
|
|
135
|
+
retrieveSearch(query: CommunityRetrieveSearchParams, options?: RequestOptions): APIPromise<Shared.PaginatedTweets>;
|
|
136
|
+
/**
|
|
137
|
+
* Finds a community's members by name or username, as the search box on X's
|
|
138
|
+
* members page does. X checks up to 10 accounts that match, & the answer holds the
|
|
139
|
+
* members among them, each with its role. Each member costs 1 credit. An answer
|
|
140
|
+
* without members is free.
|
|
141
|
+
*
|
|
142
|
+
* @example
|
|
143
|
+
* ```ts
|
|
144
|
+
* const paginatedUsers =
|
|
145
|
+
* await client.x.communities.searchMembers('id', {
|
|
78
146
|
* q: 'q',
|
|
79
147
|
* });
|
|
80
148
|
* ```
|
|
81
149
|
*/
|
|
82
|
-
|
|
150
|
+
searchMembers(id: string, query: CommunitySearchMembersParams, options?: RequestOptions): APIPromise<Shared.PaginatedUsers>;
|
|
83
151
|
}
|
|
84
152
|
/**
|
|
85
|
-
* Durable write
|
|
86
|
-
*
|
|
87
|
-
*
|
|
153
|
+
* Durable write record. Poll statusUrl until terminal is true. Reusing its
|
|
154
|
+
* Idempotency-Key returns this record. Create another action only when safeToRetry
|
|
155
|
+
* is true.
|
|
88
156
|
*/
|
|
89
157
|
export interface CommunityCreateResponse {
|
|
90
158
|
id: string;
|
|
@@ -92,7 +160,7 @@ export interface CommunityCreateResponse {
|
|
|
92
160
|
* Connected account selected for the write.
|
|
93
161
|
*/
|
|
94
162
|
account: CommunityCreateResponse.Account | null;
|
|
95
|
-
action: 'create_tweet' | 'delete_tweet' | 'like' | 'unlike' | 'retweet' | 'unretweet' | 'follow' | 'unfollow' | 'remove_follower' | 'send_dm' | 'upload_media' | 'update_profile' | 'update_avatar' | 'update_banner' | 'create_community' | 'delete_community' | 'join_community' | 'leave_community';
|
|
163
|
+
action: 'create_tweet' | 'delete_tweet' | 'like' | 'unlike' | 'retweet' | 'unretweet' | 'follow' | 'unfollow' | 'remove_follower' | 'send_dm' | 'delete_dm' | 'upload_media' | 'update_profile' | 'update_avatar' | 'update_banner' | 'create_community' | 'delete_community' | 'join_community' | 'leave_community';
|
|
96
164
|
/**
|
|
97
165
|
* plannedCredits is the approved maximum. chargedCredits comes from the settled
|
|
98
166
|
* credit ledger. Pending or failed writes are not charged.
|
|
@@ -119,7 +187,7 @@ export interface CommunityCreateResponse {
|
|
|
119
187
|
*/
|
|
120
188
|
retryable: boolean;
|
|
121
189
|
/**
|
|
122
|
-
* True only when
|
|
190
|
+
* True only when X did not get the write and a new idempotency key may be used.
|
|
123
191
|
*/
|
|
124
192
|
safeToRetry: boolean;
|
|
125
193
|
sendDispatched: boolean;
|
|
@@ -158,6 +226,10 @@ export interface CommunityCreateResponse {
|
|
|
158
226
|
* retention deadline.
|
|
159
227
|
*/
|
|
160
228
|
expiresAt?: string;
|
|
229
|
+
/**
|
|
230
|
+
* True when this answers a retry of an earlier request with the same
|
|
231
|
+
* Idempotency-Key.
|
|
232
|
+
*/
|
|
161
233
|
idempotent?: boolean;
|
|
162
234
|
/**
|
|
163
235
|
* Media count, kind, size, and billing details when used.
|
|
@@ -217,6 +289,9 @@ export declare namespace CommunityCreateResponse {
|
|
|
217
289
|
*/
|
|
218
290
|
interface NextAction {
|
|
219
291
|
type: 'poll' | 'retry' | 'verify_result' | 'fix_request';
|
|
292
|
+
/**
|
|
293
|
+
* Milliseconds to wait before you poll or retry.
|
|
294
|
+
*/
|
|
220
295
|
afterMs?: number;
|
|
221
296
|
requiresNewIdempotencyKey?: boolean;
|
|
222
297
|
url?: string;
|
|
@@ -253,9 +328,9 @@ export declare namespace CommunityCreateResponse {
|
|
|
253
328
|
}
|
|
254
329
|
}
|
|
255
330
|
/**
|
|
256
|
-
* Durable write
|
|
257
|
-
*
|
|
258
|
-
*
|
|
331
|
+
* Durable write record. Poll statusUrl until terminal is true. Reusing its
|
|
332
|
+
* Idempotency-Key returns this record. Create another action only when safeToRetry
|
|
333
|
+
* is true.
|
|
259
334
|
*/
|
|
260
335
|
export interface CommunityDeleteResponse {
|
|
261
336
|
id: string;
|
|
@@ -263,7 +338,7 @@ export interface CommunityDeleteResponse {
|
|
|
263
338
|
* Connected account selected for the write.
|
|
264
339
|
*/
|
|
265
340
|
account: CommunityDeleteResponse.Account | null;
|
|
266
|
-
action: 'create_tweet' | 'delete_tweet' | 'like' | 'unlike' | 'retweet' | 'unretweet' | 'follow' | 'unfollow' | 'remove_follower' | 'send_dm' | 'upload_media' | 'update_profile' | 'update_avatar' | 'update_banner' | 'create_community' | 'delete_community' | 'join_community' | 'leave_community';
|
|
341
|
+
action: 'create_tweet' | 'delete_tweet' | 'like' | 'unlike' | 'retweet' | 'unretweet' | 'follow' | 'unfollow' | 'remove_follower' | 'send_dm' | 'delete_dm' | 'upload_media' | 'update_profile' | 'update_avatar' | 'update_banner' | 'create_community' | 'delete_community' | 'join_community' | 'leave_community';
|
|
267
342
|
/**
|
|
268
343
|
* plannedCredits is the approved maximum. chargedCredits comes from the settled
|
|
269
344
|
* credit ledger. Pending or failed writes are not charged.
|
|
@@ -290,7 +365,7 @@ export interface CommunityDeleteResponse {
|
|
|
290
365
|
*/
|
|
291
366
|
retryable: boolean;
|
|
292
367
|
/**
|
|
293
|
-
* True only when
|
|
368
|
+
* True only when X did not get the write and a new idempotency key may be used.
|
|
294
369
|
*/
|
|
295
370
|
safeToRetry: boolean;
|
|
296
371
|
sendDispatched: boolean;
|
|
@@ -329,6 +404,10 @@ export interface CommunityDeleteResponse {
|
|
|
329
404
|
* retention deadline.
|
|
330
405
|
*/
|
|
331
406
|
expiresAt?: string;
|
|
407
|
+
/**
|
|
408
|
+
* True when this answers a retry of an earlier request with the same
|
|
409
|
+
* Idempotency-Key.
|
|
410
|
+
*/
|
|
332
411
|
idempotent?: boolean;
|
|
333
412
|
/**
|
|
334
413
|
* Media count, kind, size, and billing details when used.
|
|
@@ -388,6 +467,9 @@ export declare namespace CommunityDeleteResponse {
|
|
|
388
467
|
*/
|
|
389
468
|
interface NextAction {
|
|
390
469
|
type: 'poll' | 'retry' | 'verify_result' | 'fix_request';
|
|
470
|
+
/**
|
|
471
|
+
* Milliseconds to wait before you poll or retry.
|
|
472
|
+
*/
|
|
391
473
|
afterMs?: number;
|
|
392
474
|
requiresNewIdempotencyKey?: boolean;
|
|
393
475
|
url?: string;
|
|
@@ -423,87 +505,39 @@ export declare namespace CommunityDeleteResponse {
|
|
|
423
505
|
type: 'tweet' | 'user' | 'community';
|
|
424
506
|
}
|
|
425
507
|
}
|
|
426
|
-
export interface
|
|
508
|
+
export interface CommunityListSuggestedResponse {
|
|
509
|
+
/**
|
|
510
|
+
* Suggested communities in X's order
|
|
511
|
+
*/
|
|
512
|
+
communities: Array<Shared.Community>;
|
|
513
|
+
/**
|
|
514
|
+
* Communities returned & charged
|
|
515
|
+
*/
|
|
516
|
+
count: number;
|
|
427
517
|
/**
|
|
428
|
-
*
|
|
518
|
+
* What to do next. Present only when X suggests none.
|
|
429
519
|
*/
|
|
430
|
-
|
|
520
|
+
message?: string;
|
|
431
521
|
}
|
|
432
|
-
export
|
|
522
|
+
export interface CommunityListTopicsResponse {
|
|
433
523
|
/**
|
|
434
|
-
*
|
|
524
|
+
* Top-level topics returned & charged
|
|
435
525
|
*/
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
* About text for the community
|
|
452
|
-
*/
|
|
453
|
-
description?: string;
|
|
454
|
-
/**
|
|
455
|
-
* Invitation policy
|
|
456
|
-
*/
|
|
457
|
-
invites_policy?: string;
|
|
458
|
-
/**
|
|
459
|
-
* Whether the community is marked sensitive
|
|
460
|
-
*/
|
|
461
|
-
is_nsfw?: boolean;
|
|
462
|
-
/**
|
|
463
|
-
* Join policy (open or restricted)
|
|
464
|
-
*/
|
|
465
|
-
join_policy?: string;
|
|
466
|
-
/**
|
|
467
|
-
* Total member count
|
|
468
|
-
*/
|
|
469
|
-
member_count?: number;
|
|
470
|
-
/**
|
|
471
|
-
* Total moderator count
|
|
472
|
-
*/
|
|
473
|
-
moderator_count?: number;
|
|
474
|
-
/**
|
|
475
|
-
* Display name of the community
|
|
476
|
-
*/
|
|
477
|
-
name?: string;
|
|
478
|
-
/**
|
|
479
|
-
* Primary topic
|
|
480
|
-
*/
|
|
481
|
-
primary_topic?: Community.PrimaryTopic;
|
|
482
|
-
/**
|
|
483
|
-
* Community rules
|
|
484
|
-
*/
|
|
485
|
-
rules?: Array<Community.Rule>;
|
|
486
|
-
}
|
|
487
|
-
namespace Community {
|
|
488
|
-
interface Creator {
|
|
489
|
-
id: string;
|
|
490
|
-
username: string;
|
|
491
|
-
verified: boolean;
|
|
492
|
-
name?: string;
|
|
493
|
-
}
|
|
494
|
-
/**
|
|
495
|
-
* Primary topic
|
|
496
|
-
*/
|
|
497
|
-
interface PrimaryTopic {
|
|
498
|
-
id?: string;
|
|
499
|
-
name?: string;
|
|
500
|
-
}
|
|
501
|
-
interface Rule {
|
|
502
|
-
id?: string;
|
|
503
|
-
description?: string;
|
|
504
|
-
name?: string;
|
|
505
|
-
}
|
|
506
|
-
}
|
|
526
|
+
count: number;
|
|
527
|
+
/**
|
|
528
|
+
* Topics in X's order
|
|
529
|
+
*/
|
|
530
|
+
topics: Array<Shared.CommunityTopic>;
|
|
531
|
+
/**
|
|
532
|
+
* What to do next. Present only when X lists no topic.
|
|
533
|
+
*/
|
|
534
|
+
message?: string;
|
|
535
|
+
}
|
|
536
|
+
export interface CommunityRetrieveInfoResponse {
|
|
537
|
+
/**
|
|
538
|
+
* Public X Community, as every Community read returns it.
|
|
539
|
+
*/
|
|
540
|
+
community: Shared.Community;
|
|
507
541
|
}
|
|
508
542
|
export interface CommunityCreateParams {
|
|
509
543
|
/**
|
|
@@ -511,14 +545,16 @@ export interface CommunityCreateParams {
|
|
|
511
545
|
*/
|
|
512
546
|
account: string;
|
|
513
547
|
/**
|
|
514
|
-
* Body param: Community name
|
|
548
|
+
* Body param: Community name, 1 to 100 characters, as X takes it
|
|
515
549
|
*/
|
|
516
550
|
name: string;
|
|
517
551
|
/**
|
|
518
|
-
* Header param:
|
|
519
|
-
*
|
|
520
|
-
*
|
|
521
|
-
*
|
|
552
|
+
* Header param: Use one unique value per intended write. Reuse it only for an
|
|
553
|
+
* identical retry. A matching retry returns the first answer again, with
|
|
554
|
+
* idempotent: true added. It keeps the first status, body & Retry-After. It sends
|
|
555
|
+
* nothing to X & charges nothing. While the first request runs, a retry returns
|
|
556
|
+
* 202 & the action. Different input returns 409. Protection lasts at least 90
|
|
557
|
+
* days.
|
|
522
558
|
*/
|
|
523
559
|
'Idempotency-Key': string;
|
|
524
560
|
/**
|
|
@@ -536,22 +572,176 @@ export interface CommunityDeleteParams {
|
|
|
536
572
|
*/
|
|
537
573
|
community_name: string;
|
|
538
574
|
/**
|
|
539
|
-
* Header param:
|
|
540
|
-
*
|
|
541
|
-
*
|
|
542
|
-
*
|
|
575
|
+
* Header param: Use one unique value per intended write. Reuse it only for an
|
|
576
|
+
* identical retry. A matching retry returns the first answer again, with
|
|
577
|
+
* idempotent: true added. It keeps the first status, body & Retry-After. It sends
|
|
578
|
+
* nothing to X & charges nothing. While the first request runs, a retry returns
|
|
579
|
+
* 202 & the action. Different input returns 409. Protection lasts at least 90
|
|
580
|
+
* days.
|
|
543
581
|
*/
|
|
544
582
|
'Idempotency-Key': string;
|
|
545
583
|
}
|
|
584
|
+
export interface CommunityFindParams {
|
|
585
|
+
/**
|
|
586
|
+
* Keyword to find communities by, such as ai. Alias query.
|
|
587
|
+
*/
|
|
588
|
+
q: string;
|
|
589
|
+
/**
|
|
590
|
+
* Pagination cursor for collection results. Also read as next_cursor, next_token,
|
|
591
|
+
* pagination_token or continuation_token.
|
|
592
|
+
*/
|
|
593
|
+
cursor?: string;
|
|
594
|
+
/**
|
|
595
|
+
* Fields to keep in each row, comma-separated. Use dots for nested fields, such as
|
|
596
|
+
* author.username. A list keeps the field in each item. Case & underscores do not
|
|
597
|
+
* matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
|
|
598
|
+
* always stay. An unknown name answers 400 unknown_field with the valid names,
|
|
599
|
+
* before any read. The price stays the same. SDK row types then hold only the
|
|
600
|
+
* named fields.
|
|
601
|
+
*/
|
|
602
|
+
fields?: string;
|
|
603
|
+
/**
|
|
604
|
+
* Fields to drop from each row, comma-separated. It takes the same names as
|
|
605
|
+
* fields. With fields, it drops from the kept fields.
|
|
606
|
+
*/
|
|
607
|
+
omit?: string;
|
|
608
|
+
/**
|
|
609
|
+
* Items per page (1-100, default 20). Source, filters or credits can return fewer.
|
|
610
|
+
* Follow next_cursor for more pages. Aliases: limit, count, max_results, maxItems,
|
|
611
|
+
* max_items & per_page.
|
|
612
|
+
*/
|
|
613
|
+
pageSize?: number;
|
|
614
|
+
}
|
|
615
|
+
export interface CommunityListPopularParams {
|
|
616
|
+
/**
|
|
617
|
+
* Pagination cursor for collection results. Also read as next_cursor, next_token,
|
|
618
|
+
* pagination_token or continuation_token.
|
|
619
|
+
*/
|
|
620
|
+
cursor?: string;
|
|
621
|
+
/**
|
|
622
|
+
* Fields to keep in each row, comma-separated. Use dots for nested fields, such as
|
|
623
|
+
* author.username. A list keeps the field in each item. Case & underscores do not
|
|
624
|
+
* matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
|
|
625
|
+
* always stay. An unknown name answers 400 unknown_field with the valid names,
|
|
626
|
+
* before any read. The price stays the same. SDK row types then hold only the
|
|
627
|
+
* named fields.
|
|
628
|
+
*/
|
|
629
|
+
fields?: string;
|
|
630
|
+
/**
|
|
631
|
+
* Fields to drop from each row, comma-separated. It takes the same names as
|
|
632
|
+
* fields. With fields, it drops from the kept fields.
|
|
633
|
+
*/
|
|
634
|
+
omit?: string;
|
|
635
|
+
/**
|
|
636
|
+
* Items per page (1-100, default 20). Source, filters or credits can return fewer.
|
|
637
|
+
* Follow next_cursor for more pages. Aliases: limit, count, max_results, maxItems,
|
|
638
|
+
* max_items & per_page.
|
|
639
|
+
*/
|
|
640
|
+
pageSize?: number;
|
|
641
|
+
/**
|
|
642
|
+
* Topic or subtopic name in any case, such as technology. Send this or topicId.
|
|
643
|
+
*/
|
|
644
|
+
topic?: string;
|
|
645
|
+
/**
|
|
646
|
+
* Topic or subtopic ID from /x/communities/topics, such as 301. Wins over topic.
|
|
647
|
+
*/
|
|
648
|
+
topicId?: string;
|
|
649
|
+
}
|
|
650
|
+
export interface CommunityListSuggestedParams {
|
|
651
|
+
/**
|
|
652
|
+
* Fields to keep in each row, comma-separated. Use dots for nested fields, such as
|
|
653
|
+
* author.username. A list keeps the field in each item. Case & underscores do not
|
|
654
|
+
* matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
|
|
655
|
+
* always stay. An unknown name answers 400 unknown_field with the valid names,
|
|
656
|
+
* before any read. The price stays the same. SDK row types then hold only the
|
|
657
|
+
* named fields.
|
|
658
|
+
*/
|
|
659
|
+
fields?: string;
|
|
660
|
+
/**
|
|
661
|
+
* Maximum communities to return. Omit it for every suggestion. Credits can return
|
|
662
|
+
* fewer. Aliases pageSize, count, max_results, maxItems, max_items & per_page.
|
|
663
|
+
*/
|
|
664
|
+
limit?: number;
|
|
665
|
+
/**
|
|
666
|
+
* Fields to drop from each row, comma-separated. It takes the same names as
|
|
667
|
+
* fields. With fields, it drops from the kept fields.
|
|
668
|
+
*/
|
|
669
|
+
omit?: string;
|
|
670
|
+
}
|
|
671
|
+
export interface CommunityListTopicsParams {
|
|
672
|
+
/**
|
|
673
|
+
* Fields to keep in each row, comma-separated. Use dots for nested fields, such as
|
|
674
|
+
* author.username. A list keeps the field in each item. Case & underscores do not
|
|
675
|
+
* matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
|
|
676
|
+
* always stay. An unknown name answers 400 unknown_field with the valid names,
|
|
677
|
+
* before any read. The price stays the same. SDK row types then hold only the
|
|
678
|
+
* named fields.
|
|
679
|
+
*/
|
|
680
|
+
fields?: string;
|
|
681
|
+
/**
|
|
682
|
+
* Maximum topics to return. Omit it for every topic. Credits can return fewer.
|
|
683
|
+
* Aliases pageSize, count, max_results, maxItems, max_items & per_page.
|
|
684
|
+
*/
|
|
685
|
+
limit?: number;
|
|
686
|
+
/**
|
|
687
|
+
* Fields to drop from each row, comma-separated. It takes the same names as
|
|
688
|
+
* fields. With fields, it drops from the kept fields.
|
|
689
|
+
*/
|
|
690
|
+
omit?: string;
|
|
691
|
+
}
|
|
692
|
+
export interface CommunityRetrieveInfoParams {
|
|
693
|
+
/**
|
|
694
|
+
* Fields to keep in each row, comma-separated. Use dots for nested fields, such as
|
|
695
|
+
* author.username. A list keeps the field in each item. Case & underscores do not
|
|
696
|
+
* matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
|
|
697
|
+
* always stay. An unknown name answers 400 unknown_field with the valid names,
|
|
698
|
+
* before any read. The price stays the same. SDK row types then hold only the
|
|
699
|
+
* named fields.
|
|
700
|
+
*/
|
|
701
|
+
fields?: string;
|
|
702
|
+
/**
|
|
703
|
+
* Fields to drop from each row, comma-separated. It takes the same names as
|
|
704
|
+
* fields. With fields, it drops from the kept fields.
|
|
705
|
+
*/
|
|
706
|
+
omit?: string;
|
|
707
|
+
}
|
|
546
708
|
export interface CommunityRetrieveMembersParams {
|
|
547
709
|
/**
|
|
548
710
|
* Match any comma-separated or line-separated bio term, ignoring case.
|
|
549
711
|
*/
|
|
550
712
|
bioContains?: string;
|
|
551
713
|
/**
|
|
552
|
-
*
|
|
714
|
+
* Only return profiles X marks as blue verified. X marks many business &
|
|
715
|
+
* government accounts blue too. Use verifiedType for 1 badge type.
|
|
716
|
+
*/
|
|
717
|
+
blueVerifiedOnly?: boolean;
|
|
718
|
+
/**
|
|
719
|
+
* Only return profiles that publish an email outside free webmail, such as Gmail.
|
|
720
|
+
*/
|
|
721
|
+
businessEmailOnly?: boolean;
|
|
722
|
+
/**
|
|
723
|
+
* Pagination cursor for collection results. Also read as next_cursor, next_token,
|
|
724
|
+
* pagination_token or continuation_token.
|
|
553
725
|
*/
|
|
554
726
|
cursor?: string;
|
|
727
|
+
/**
|
|
728
|
+
* Only return profiles with an email at one of these domains. Separate domains
|
|
729
|
+
* with commas. Subdomains match.
|
|
730
|
+
*/
|
|
731
|
+
emailDomains?: string;
|
|
732
|
+
/**
|
|
733
|
+
* Fields to keep in each row, comma-separated. Use dots for nested fields, such as
|
|
734
|
+
* author.username. A list keeps the field in each item. Case & underscores do not
|
|
735
|
+
* matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
|
|
736
|
+
* always stay. An unknown name answers 400 unknown_field with the valid names,
|
|
737
|
+
* before any read. The price stays the same. SDK row types then hold only the
|
|
738
|
+
* named fields.
|
|
739
|
+
*/
|
|
740
|
+
fields?: string;
|
|
741
|
+
/**
|
|
742
|
+
* Only return profiles that publish an email.
|
|
743
|
+
*/
|
|
744
|
+
hasEmail?: boolean;
|
|
555
745
|
/**
|
|
556
746
|
* Only return profiles with a location.
|
|
557
747
|
*/
|
|
@@ -569,7 +759,7 @@ export interface CommunityRetrieveMembersParams {
|
|
|
569
759
|
*/
|
|
570
760
|
maxFollowers?: number;
|
|
571
761
|
/**
|
|
572
|
-
*
|
|
762
|
+
* Profiles may follow at most this many accounts.
|
|
573
763
|
*/
|
|
574
764
|
maxFollowing?: number;
|
|
575
765
|
/**
|
|
@@ -585,7 +775,7 @@ export interface CommunityRetrieveMembersParams {
|
|
|
585
775
|
*/
|
|
586
776
|
minFollowers?: number;
|
|
587
777
|
/**
|
|
588
|
-
*
|
|
778
|
+
* Profiles must follow at least this many accounts.
|
|
589
779
|
*/
|
|
590
780
|
minFollowing?: number;
|
|
591
781
|
/**
|
|
@@ -593,9 +783,12 @@ export interface CommunityRetrieveMembersParams {
|
|
|
593
783
|
*/
|
|
594
784
|
minStatuses?: number;
|
|
595
785
|
/**
|
|
596
|
-
*
|
|
597
|
-
*
|
|
598
|
-
|
|
786
|
+
* Fields to drop from each row, comma-separated. It takes the same names as
|
|
787
|
+
* fields. With fields, it drops from the kept fields.
|
|
788
|
+
*/
|
|
789
|
+
omit?: string;
|
|
790
|
+
/**
|
|
791
|
+
* Maximum user profiles per page (1-200, default 20).
|
|
599
792
|
*/
|
|
600
793
|
pageSize?: number;
|
|
601
794
|
/**
|
|
@@ -617,9 +810,37 @@ export interface CommunityRetrieveModeratorsParams {
|
|
|
617
810
|
*/
|
|
618
811
|
bioContains?: string;
|
|
619
812
|
/**
|
|
620
|
-
*
|
|
813
|
+
* Only return profiles X marks as blue verified. X marks many business &
|
|
814
|
+
* government accounts blue too. Use verifiedType for 1 badge type.
|
|
815
|
+
*/
|
|
816
|
+
blueVerifiedOnly?: boolean;
|
|
817
|
+
/**
|
|
818
|
+
* Only return profiles that publish an email outside free webmail, such as Gmail.
|
|
819
|
+
*/
|
|
820
|
+
businessEmailOnly?: boolean;
|
|
821
|
+
/**
|
|
822
|
+
* Pagination cursor for collection results. Also read as next_cursor, next_token,
|
|
823
|
+
* pagination_token or continuation_token.
|
|
621
824
|
*/
|
|
622
825
|
cursor?: string;
|
|
826
|
+
/**
|
|
827
|
+
* Only return profiles with an email at one of these domains. Separate domains
|
|
828
|
+
* with commas. Subdomains match.
|
|
829
|
+
*/
|
|
830
|
+
emailDomains?: string;
|
|
831
|
+
/**
|
|
832
|
+
* Fields to keep in each row, comma-separated. Use dots for nested fields, such as
|
|
833
|
+
* author.username. A list keeps the field in each item. Case & underscores do not
|
|
834
|
+
* matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
|
|
835
|
+
* always stay. An unknown name answers 400 unknown_field with the valid names,
|
|
836
|
+
* before any read. The price stays the same. SDK row types then hold only the
|
|
837
|
+
* named fields.
|
|
838
|
+
*/
|
|
839
|
+
fields?: string;
|
|
840
|
+
/**
|
|
841
|
+
* Only return profiles that publish an email.
|
|
842
|
+
*/
|
|
843
|
+
hasEmail?: boolean;
|
|
623
844
|
/**
|
|
624
845
|
* Only return profiles with a location.
|
|
625
846
|
*/
|
|
@@ -637,7 +858,7 @@ export interface CommunityRetrieveModeratorsParams {
|
|
|
637
858
|
*/
|
|
638
859
|
maxFollowers?: number;
|
|
639
860
|
/**
|
|
640
|
-
*
|
|
861
|
+
* Profiles may follow at most this many accounts.
|
|
641
862
|
*/
|
|
642
863
|
maxFollowing?: number;
|
|
643
864
|
/**
|
|
@@ -653,13 +874,18 @@ export interface CommunityRetrieveModeratorsParams {
|
|
|
653
874
|
*/
|
|
654
875
|
minFollowers?: number;
|
|
655
876
|
/**
|
|
656
|
-
*
|
|
877
|
+
* Profiles must follow at least this many accounts.
|
|
657
878
|
*/
|
|
658
879
|
minFollowing?: number;
|
|
659
880
|
/**
|
|
660
881
|
* Minimum post count. minPosts is also accepted.
|
|
661
882
|
*/
|
|
662
883
|
minStatuses?: number;
|
|
884
|
+
/**
|
|
885
|
+
* Fields to drop from each row, comma-separated. It takes the same names as
|
|
886
|
+
* fields. With fields, it drops from the kept fields.
|
|
887
|
+
*/
|
|
888
|
+
omit?: string;
|
|
663
889
|
/**
|
|
664
890
|
* Match a username substring, ignoring case.
|
|
665
891
|
*/
|
|
@@ -674,32 +900,290 @@ export interface CommunityRetrieveModeratorsParams {
|
|
|
674
900
|
verifiedType?: string;
|
|
675
901
|
}
|
|
676
902
|
export interface CommunityRetrieveSearchParams {
|
|
677
|
-
/**
|
|
678
|
-
* Numeric ID of the community whose posts to search
|
|
679
|
-
*/
|
|
680
|
-
communityId: string;
|
|
681
903
|
/**
|
|
682
904
|
* Search query
|
|
683
905
|
*/
|
|
684
906
|
q: string;
|
|
685
907
|
/**
|
|
686
|
-
*
|
|
908
|
+
* Words or quoted phrases where any one can match. Separate with spaces, commas,
|
|
909
|
+
* or lines.
|
|
910
|
+
*/
|
|
911
|
+
anyWords?: string;
|
|
912
|
+
/**
|
|
913
|
+
* Only return tweets from Blue-verified authors.
|
|
914
|
+
*/
|
|
915
|
+
blueVerifiedOnly?: boolean;
|
|
916
|
+
/**
|
|
917
|
+
* Cashtags separated by spaces, commas, or lines.
|
|
918
|
+
*/
|
|
919
|
+
cashtags?: string;
|
|
920
|
+
/**
|
|
921
|
+
* Numeric ID of the Community whose posts to search. Leave it out to search posts
|
|
922
|
+
* across every Community.
|
|
923
|
+
*/
|
|
924
|
+
communityId?: string;
|
|
925
|
+
/**
|
|
926
|
+
* Conversation ID filter.
|
|
927
|
+
*/
|
|
928
|
+
conversationId?: string;
|
|
929
|
+
/**
|
|
930
|
+
* Pagination cursor for community search. Also read as next_cursor, next_token,
|
|
931
|
+
* pagination_token or continuation_token.
|
|
687
932
|
*/
|
|
688
933
|
cursor?: string;
|
|
689
934
|
/**
|
|
690
|
-
*
|
|
691
|
-
|
|
692
|
-
|
|
935
|
+
* Match this literal phrase, including any hyphens.
|
|
936
|
+
*/
|
|
937
|
+
exactPhrase?: string;
|
|
938
|
+
/**
|
|
939
|
+
* Words or quoted phrases to exclude. Separate with spaces, commas, or lines.
|
|
940
|
+
*/
|
|
941
|
+
excludeWords?: string;
|
|
942
|
+
/**
|
|
943
|
+
* Fields to keep in each row, comma-separated. Use dots for nested fields, such as
|
|
944
|
+
* author.username. A list keeps the field in each item. Case & underscores do not
|
|
945
|
+
* matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
|
|
946
|
+
* always stay. An unknown name answers 400 unknown_field with the valid names,
|
|
947
|
+
* before any read. The price stays the same. SDK row types then hold only the
|
|
948
|
+
* named fields.
|
|
949
|
+
*/
|
|
950
|
+
fields?: string;
|
|
951
|
+
/**
|
|
952
|
+
* Filter by author username.
|
|
953
|
+
*/
|
|
954
|
+
fromUser?: string;
|
|
955
|
+
/**
|
|
956
|
+
* Hashtags separated by spaces, commas, or lines.
|
|
957
|
+
*/
|
|
958
|
+
hashtags?: string;
|
|
959
|
+
/**
|
|
960
|
+
* Only replies to this tweet ID.
|
|
961
|
+
*/
|
|
962
|
+
inReplyToTweetId?: string;
|
|
963
|
+
/**
|
|
964
|
+
* Filter by language. Alias `lang` is accepted.
|
|
965
|
+
*/
|
|
966
|
+
language?: string;
|
|
967
|
+
/**
|
|
968
|
+
* Maximum likes threshold. maxLikes & max_likes also work.
|
|
969
|
+
*/
|
|
970
|
+
maxFaves?: number;
|
|
971
|
+
/**
|
|
972
|
+
* Return Tweets at or below this ID.
|
|
973
|
+
*/
|
|
974
|
+
maxId?: string;
|
|
975
|
+
/**
|
|
976
|
+
* Maximum quotes threshold.
|
|
977
|
+
*/
|
|
978
|
+
maxQuotes?: number;
|
|
979
|
+
/**
|
|
980
|
+
* Maximum replies threshold.
|
|
981
|
+
*/
|
|
982
|
+
maxReplies?: number;
|
|
983
|
+
/**
|
|
984
|
+
* Maximum retweets threshold.
|
|
985
|
+
*/
|
|
986
|
+
maxRetweets?: number;
|
|
987
|
+
/**
|
|
988
|
+
* Filter media. Aliases: has_video, has_media.
|
|
989
|
+
*/
|
|
990
|
+
mediaType?: 'images' | 'videos' | 'gifs' | 'media' | 'links' | 'none';
|
|
991
|
+
/**
|
|
992
|
+
* Filter tweets mentioning a username.
|
|
993
|
+
*/
|
|
994
|
+
mentioning?: string;
|
|
995
|
+
/**
|
|
996
|
+
* Minimum bookmark count threshold.
|
|
997
|
+
*/
|
|
998
|
+
minBookmarks?: number;
|
|
999
|
+
/**
|
|
1000
|
+
* Minimum likes. Aliases: minFaves, min_likes, min_faves.
|
|
1001
|
+
*/
|
|
1002
|
+
minLikes?: number;
|
|
1003
|
+
/**
|
|
1004
|
+
* Minimum quote count threshold.
|
|
1005
|
+
*/
|
|
1006
|
+
minQuotes?: number;
|
|
1007
|
+
/**
|
|
1008
|
+
* Minimum replies threshold.
|
|
1009
|
+
*/
|
|
1010
|
+
minReplies?: number;
|
|
1011
|
+
/**
|
|
1012
|
+
* Minimum retweets threshold.
|
|
1013
|
+
*/
|
|
1014
|
+
minRetweets?: number;
|
|
1015
|
+
/**
|
|
1016
|
+
* Minimum view count threshold.
|
|
1017
|
+
*/
|
|
1018
|
+
minViews?: number;
|
|
1019
|
+
/**
|
|
1020
|
+
* Only return native reposts.
|
|
1021
|
+
*/
|
|
1022
|
+
nativeRetweets?: boolean;
|
|
1023
|
+
/**
|
|
1024
|
+
* Fields to drop from each row, comma-separated. It takes the same names as
|
|
1025
|
+
* fields. With fields, it drops from the kept fields.
|
|
1026
|
+
*/
|
|
1027
|
+
omit?: string;
|
|
1028
|
+
/**
|
|
1029
|
+
* Items per page (1-100, default 20). Source, filters or credits can return fewer.
|
|
1030
|
+
* Follow next_cursor for more pages. Aliases: limit, count, max_results, maxItems,
|
|
1031
|
+
* max_items & per_page.
|
|
693
1032
|
*/
|
|
694
1033
|
pageSize?: number;
|
|
695
1034
|
/**
|
|
696
1035
|
* Sort order (Latest or Top)
|
|
697
1036
|
*/
|
|
698
1037
|
queryType?: 'Latest' | 'Top';
|
|
1038
|
+
/**
|
|
1039
|
+
* Only when the caller requests a quote mode.
|
|
1040
|
+
*/
|
|
1041
|
+
quotes?: 'include' | 'exclude' | 'only';
|
|
1042
|
+
/**
|
|
1043
|
+
* Only quotes of this tweet ID.
|
|
1044
|
+
*/
|
|
1045
|
+
quotesOfTweetId?: string;
|
|
1046
|
+
/**
|
|
1047
|
+
* Reply mode. Exclude keeps own-thread replies.
|
|
1048
|
+
*/
|
|
1049
|
+
replies?: 'include' | 'exclude' | 'only';
|
|
1050
|
+
/**
|
|
1051
|
+
* Only when the caller requests a repost mode.
|
|
1052
|
+
*/
|
|
1053
|
+
retweets?: 'include' | 'exclude' | 'only';
|
|
1054
|
+
/**
|
|
1055
|
+
* Only retweets of this tweet ID.
|
|
1056
|
+
*/
|
|
1057
|
+
retweetsOfTweetId?: string;
|
|
1058
|
+
/**
|
|
1059
|
+
* Start date in YYYY-MM-DD format, as a UTC day.
|
|
1060
|
+
*/
|
|
1061
|
+
sinceDate?: string;
|
|
1062
|
+
/**
|
|
1063
|
+
* Return Tweets whose IDs exceed this ID.
|
|
1064
|
+
*/
|
|
1065
|
+
sinceId?: string;
|
|
1066
|
+
/**
|
|
1067
|
+
* Filter replies sent to a username.
|
|
1068
|
+
*/
|
|
1069
|
+
toUser?: string;
|
|
1070
|
+
/**
|
|
1071
|
+
* End date in YYYY-MM-DD format, as a UTC day, inclusive, so its own posts count.
|
|
1072
|
+
*/
|
|
1073
|
+
untilDate?: string;
|
|
1074
|
+
/**
|
|
1075
|
+
* URL substring or domain filter.
|
|
1076
|
+
*/
|
|
1077
|
+
url?: string;
|
|
1078
|
+
/**
|
|
1079
|
+
* Only return tweets from verified authors.
|
|
1080
|
+
*/
|
|
1081
|
+
verifiedOnly?: boolean;
|
|
1082
|
+
/**
|
|
1083
|
+
* Keeps Tweets from a recent window, such as 90m or 7d. Use a whole number & s, m,
|
|
1084
|
+
* h or d.
|
|
1085
|
+
*/
|
|
1086
|
+
withinTime?: string;
|
|
1087
|
+
}
|
|
1088
|
+
export interface CommunitySearchMembersParams {
|
|
1089
|
+
/**
|
|
1090
|
+
* Name or username to find members by, such as marckohlbrugge. A leading @ is
|
|
1091
|
+
* dropped. Alias query.
|
|
1092
|
+
*/
|
|
1093
|
+
q: string;
|
|
1094
|
+
/**
|
|
1095
|
+
* Match any comma-separated or line-separated bio term, ignoring case.
|
|
1096
|
+
*/
|
|
1097
|
+
bioContains?: string;
|
|
1098
|
+
/**
|
|
1099
|
+
* Only return profiles X marks as blue verified. X marks many business &
|
|
1100
|
+
* government accounts blue too. Use verifiedType for 1 badge type.
|
|
1101
|
+
*/
|
|
1102
|
+
blueVerifiedOnly?: boolean;
|
|
1103
|
+
/**
|
|
1104
|
+
* Only return profiles that publish an email outside free webmail, such as Gmail.
|
|
1105
|
+
*/
|
|
1106
|
+
businessEmailOnly?: boolean;
|
|
1107
|
+
/**
|
|
1108
|
+
* Only return profiles with an email at one of these domains. Separate domains
|
|
1109
|
+
* with commas. Subdomains match.
|
|
1110
|
+
*/
|
|
1111
|
+
emailDomains?: string;
|
|
1112
|
+
/**
|
|
1113
|
+
* Fields to keep in each row, comma-separated. Use dots for nested fields, such as
|
|
1114
|
+
* author.username. A list keeps the field in each item. Case & underscores do not
|
|
1115
|
+
* matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
|
|
1116
|
+
* always stay. An unknown name answers 400 unknown_field with the valid names,
|
|
1117
|
+
* before any read. The price stays the same. SDK row types then hold only the
|
|
1118
|
+
* named fields.
|
|
1119
|
+
*/
|
|
1120
|
+
fields?: string;
|
|
1121
|
+
/**
|
|
1122
|
+
* Only return profiles that publish an email.
|
|
1123
|
+
*/
|
|
1124
|
+
hasEmail?: boolean;
|
|
1125
|
+
/**
|
|
1126
|
+
* Only return profiles with a location.
|
|
1127
|
+
*/
|
|
1128
|
+
hasLocation?: boolean;
|
|
1129
|
+
/**
|
|
1130
|
+
* Only return profiles with a website.
|
|
1131
|
+
*/
|
|
1132
|
+
hasWebsite?: boolean;
|
|
1133
|
+
/**
|
|
1134
|
+
* Match a location substring, ignoring case.
|
|
1135
|
+
*/
|
|
1136
|
+
locationContains?: string;
|
|
1137
|
+
/**
|
|
1138
|
+
* Maximum follower count. Missing counts pass this maximum.
|
|
1139
|
+
*/
|
|
1140
|
+
maxFollowers?: number;
|
|
1141
|
+
/**
|
|
1142
|
+
* Profiles may follow at most this many accounts.
|
|
1143
|
+
*/
|
|
1144
|
+
maxFollowing?: number;
|
|
1145
|
+
/**
|
|
1146
|
+
* Maximum post count. maxPosts is also accepted.
|
|
1147
|
+
*/
|
|
1148
|
+
maxStatuses?: number;
|
|
1149
|
+
/**
|
|
1150
|
+
* Minimum account age in whole days.
|
|
1151
|
+
*/
|
|
1152
|
+
minAccountAgeDays?: number;
|
|
1153
|
+
/**
|
|
1154
|
+
* Minimum follower count. Filtering happens before billing.
|
|
1155
|
+
*/
|
|
1156
|
+
minFollowers?: number;
|
|
1157
|
+
/**
|
|
1158
|
+
* Profiles must follow at least this many accounts.
|
|
1159
|
+
*/
|
|
1160
|
+
minFollowing?: number;
|
|
1161
|
+
/**
|
|
1162
|
+
* Minimum post count. minPosts is also accepted.
|
|
1163
|
+
*/
|
|
1164
|
+
minStatuses?: number;
|
|
1165
|
+
/**
|
|
1166
|
+
* Fields to drop from each row, comma-separated. It takes the same names as
|
|
1167
|
+
* fields. With fields, it drops from the kept fields.
|
|
1168
|
+
*/
|
|
1169
|
+
omit?: string;
|
|
1170
|
+
/**
|
|
1171
|
+
* Match a username substring, ignoring case.
|
|
1172
|
+
*/
|
|
1173
|
+
usernameContains?: string;
|
|
1174
|
+
/**
|
|
1175
|
+
* Only return verified profiles.
|
|
1176
|
+
*/
|
|
1177
|
+
verifiedOnly?: boolean;
|
|
1178
|
+
/**
|
|
1179
|
+
* Match the verification type exactly, ignoring case.
|
|
1180
|
+
*/
|
|
1181
|
+
verifiedType?: string;
|
|
699
1182
|
}
|
|
700
1183
|
export declare namespace Communities {
|
|
701
|
-
export { type CommunityCreateResponse as CommunityCreateResponse, type CommunityDeleteResponse as CommunityDeleteResponse, type CommunityRetrieveInfoResponse as CommunityRetrieveInfoResponse, type CommunityCreateParams as CommunityCreateParams, type CommunityDeleteParams as CommunityDeleteParams, type CommunityRetrieveMembersParams as CommunityRetrieveMembersParams, type CommunityRetrieveModeratorsParams as CommunityRetrieveModeratorsParams, type CommunityRetrieveSearchParams as CommunityRetrieveSearchParams, };
|
|
1184
|
+
export { type CommunityCreateResponse as CommunityCreateResponse, type CommunityDeleteResponse as CommunityDeleteResponse, type CommunityListSuggestedResponse as CommunityListSuggestedResponse, type CommunityListTopicsResponse as CommunityListTopicsResponse, type CommunityRetrieveInfoResponse as CommunityRetrieveInfoResponse, type CommunityCreateParams as CommunityCreateParams, type CommunityDeleteParams as CommunityDeleteParams, type CommunityFindParams as CommunityFindParams, type CommunityListPopularParams as CommunityListPopularParams, type CommunityListSuggestedParams as CommunityListSuggestedParams, type CommunityListTopicsParams as CommunityListTopicsParams, type CommunityRetrieveInfoParams as CommunityRetrieveInfoParams, type CommunityRetrieveMembersParams as CommunityRetrieveMembersParams, type CommunityRetrieveModeratorsParams as CommunityRetrieveModeratorsParams, type CommunityRetrieveSearchParams as CommunityRetrieveSearchParams, type CommunitySearchMembersParams as CommunitySearchMembersParams, };
|
|
702
1185
|
export { Join as Join, type JoinCreateResponse as JoinCreateResponse, type JoinDeleteAllResponse as JoinDeleteAllResponse, type JoinCreateParams as JoinCreateParams, type JoinDeleteAllParams as JoinDeleteAllParams, };
|
|
703
1186
|
export { Tweets as Tweets, type TweetListParams as TweetListParams, type TweetListByCommunityParams as TweetListByCommunityParams, };
|
|
1187
|
+
export { Media as Media, type MediaListParams as MediaListParams };
|
|
704
1188
|
}
|
|
705
1189
|
//# sourceMappingURL=communities.d.ts.map
|