x-twitter-scraper 0.12.4 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +80 -0
- package/README.md +56 -29
- 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 +4 -4
- package/client.js.map +1 -1
- package/client.mjs +5 -5
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.js.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.d.mts.map +1 -1
- package/core/error.d.ts.map +1 -1
- package/core/error.js +0 -1
- package/core/error.js.map +1 -1
- package/core/error.mjs +0 -1
- package/core/error.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/resource.js.map +1 -1
- package/core/resource.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 +269 -0
- package/core/streaming.js.map +1 -0
- package/core/streaming.mjs +264 -0
- package/core/streaming.mjs.map +1 -0
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.js +0 -1
- package/index.js.map +1 -1
- package/index.mjs +0 -1
- package/index.mjs.map +1 -1
- package/internal/builtin-types.d.mts.map +1 -1
- package/internal/builtin-types.d.ts.map +1 -1
- 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 +115 -0
- package/internal/decoders/line.js.map +1 -0
- package/internal/decoders/line.mjs +110 -0
- package/internal/decoders/line.mjs.map +1 -0
- package/internal/detect-platform.d.mts.map +1 -1
- package/internal/detect-platform.d.ts.map +1 -1
- package/internal/detect-platform.js +0 -1
- package/internal/detect-platform.js.map +1 -1
- package/internal/detect-platform.mjs +0 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/errors.d.mts.map +1 -1
- package/internal/errors.d.ts.map +1 -1
- package/internal/errors.js +0 -1
- package/internal/errors.js.map +1 -1
- package/internal/errors.mjs +0 -1
- package/internal/errors.mjs.map +1 -1
- package/internal/headers.d.mts.map +1 -1
- package/internal/headers.d.ts.map +1 -1
- package/internal/headers.js +0 -1
- package/internal/headers.js.map +1 -1
- package/internal/headers.mjs +0 -1
- package/internal/headers.mjs.map +1 -1
- 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/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/request-options.js.map +1 -1
- package/internal/request-options.mjs.map +1 -1
- package/internal/shim-types.d.mts.map +1 -1
- package/internal/shim-types.d.ts.map +1 -1
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts.map +1 -1
- package/internal/shims.js.map +1 -1
- package/internal/shims.mjs.map +1 -1
- package/internal/tslib.js +18 -18
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts.map +1 -1
- package/internal/utils/base64.d.mts.map +1 -1
- package/internal/utils/base64.d.ts.map +1 -1
- package/internal/utils/base64.js +0 -1
- package/internal/utils/base64.js.map +1 -1
- package/internal/utils/base64.mjs +0 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/env.d.mts.map +1 -1
- package/internal/utils/env.d.ts.map +1 -1
- package/internal/utils/env.js +0 -1
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +0 -1
- package/internal/utils/env.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +0 -1
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +0 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/query.d.mts.map +1 -1
- package/internal/utils/query.d.ts.map +1 -1
- package/internal/utils/query.js +0 -1
- package/internal/utils/query.js.map +1 -1
- package/internal/utils/query.mjs +0 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/sleep.d.mts.map +1 -1
- package/internal/utils/sleep.d.ts.map +1 -1
- package/internal/utils/sleep.js +0 -1
- package/internal/utils/sleep.js.map +1 -1
- package/internal/utils/sleep.mjs +0 -1
- package/internal/utils/sleep.mjs.map +1 -1
- package/internal/utils/uuid.d.mts.map +1 -1
- package/internal/utils/uuid.d.ts.map +1 -1
- package/internal/utils/uuid.js +0 -1
- package/internal/utils/uuid.js.map +1 -1
- package/internal/utils/uuid.mjs +0 -1
- package/internal/utils/uuid.mjs.map +1 -1
- package/internal/utils/values.d.mts.map +1 -1
- package/internal/utils/values.d.ts.map +1 -1
- package/internal/utils/values.js +0 -1
- package/internal/utils/values.js.map +1 -1
- package/internal/utils/values.mjs +0 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.js +0 -1
- package/internal/utils.js.map +1 -1
- package/internal/utils.mjs +0 -1
- package/internal/utils.mjs.map +1 -1
- 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 -4
- package/resources/account.js.map +1 -1
- package/resources/account.mjs +4 -4
- 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 -5
- package/resources/compose.js.map +1 -1
- package/resources/compose.mjs +3 -5
- 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 -5
- package/resources/credits.js.map +1 -1
- package/resources/credits.mjs +5 -5
- 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 -5
- package/resources/drafts.js.map +1 -1
- package/resources/drafts.mjs +4 -5
- package/resources/drafts.mjs.map +1 -1
- 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 -10
- package/resources/draws.js.map +1 -1
- package/resources/draws.mjs +24 -10
- 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 -3
- package/resources/events.js.map +1 -1
- package/resources/events.mjs +34 -3
- 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 -13
- package/resources/extractions.js.map +1 -1
- package/resources/extractions.mjs +74 -13
- 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 -2
- package/resources/guest-wallets.js.map +1 -1
- package/resources/guest-wallets.mjs +2 -2
- 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 +0 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -2
- 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 +0 -1
- package/resources/monitors/index.js.map +1 -1
- package/resources/monitors/index.mjs +0 -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 -11
- package/resources/monitors/keywords.js.map +1 -1
- package/resources/monitors/keywords.mjs +16 -11
- 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 -11
- package/resources/monitors/monitors.js.map +1 -1
- package/resources/monitors/monitors.mjs +12 -11
- package/resources/monitors/monitors.mjs.map +1 -1
- package/resources/monitors.d.mts.map +1 -1
- package/resources/monitors.d.ts.map +1 -1
- package/resources/monitors.js +0 -1
- package/resources/monitors.js.map +1 -1
- package/resources/monitors.mjs +0 -1
- package/resources/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 -2
- package/resources/radar.js.map +1 -1
- package/resources/radar.mjs +1 -2
- package/resources/radar.mjs.map +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 -14
- package/resources/styles.js.map +1 -1
- package/resources/styles.mjs +11 -14
- package/resources/styles.mjs.map +1 -1
- package/resources/subscribe.d.mts +1 -1
- package/resources/subscribe.d.mts.map +1 -1
- package/resources/subscribe.d.ts +1 -1
- package/resources/subscribe.d.ts.map +1 -1
- package/resources/subscribe.js +1 -2
- package/resources/subscribe.js.map +1 -1
- package/resources/subscribe.mjs +1 -2
- package/resources/subscribe.mjs.map +1 -1
- package/resources/support/attachments.d.mts.map +1 -1
- package/resources/support/attachments.d.ts.map +1 -1
- package/resources/support/attachments.js +0 -1
- package/resources/support/attachments.js.map +1 -1
- package/resources/support/attachments.mjs +0 -1
- package/resources/support/attachments.mjs.map +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 +0 -1
- package/resources/support/index.js.map +1 -1
- package/resources/support/index.mjs +0 -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 +0 -1
- package/resources/support/support.js.map +1 -1
- package/resources/support/support.mjs +0 -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 -8
- package/resources/support/tickets.js.map +1 -1
- package/resources/support/tickets.mjs +7 -8
- package/resources/support/tickets.mjs.map +1 -1
- package/resources/support.d.mts.map +1 -1
- package/resources/support.d.ts.map +1 -1
- package/resources/support.js +0 -1
- package/resources/support.js.map +1 -1
- package/resources/support.mjs +0 -1
- package/resources/support.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 -2
- package/resources/trends.js.map +1 -1
- package/resources/trends.mjs +2 -2
- 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 -12
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +30 -12
- package/resources/webhooks.mjs.map +1 -1
- package/resources/x/account-connection-attempts.d.mts +1 -1
- package/resources/x/account-connection-attempts.d.mts.map +1 -1
- package/resources/x/account-connection-attempts.d.ts +1 -1
- package/resources/x/account-connection-attempts.d.ts.map +1 -1
- package/resources/x/account-connection-attempts.js +1 -2
- package/resources/x/account-connection-attempts.js.map +1 -1
- package/resources/x/account-connection-attempts.mjs +1 -2
- package/resources/x/account-connection-attempts.mjs.map +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 -5
- package/resources/x/account-connection-challenges.js.map +1 -1
- package/resources/x/account-connection-challenges.mjs +5 -5
- 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 -8
- package/resources/x/accounts.js.map +1 -1
- package/resources/x/accounts.mjs +8 -8
- 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 +131 -0
- package/resources/x/analysis.js.map +1 -0
- package/resources/x/analysis.mjs +127 -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 -5
- package/resources/x/bookmarks.js.map +1 -1
- package/resources/x/bookmarks.mjs +6 -5
- 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 +28 -0
- package/resources/x/broadcasts.js.map +1 -0
- package/resources/x/broadcasts.mjs +24 -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 -18
- package/resources/x/communities/communities.js.map +1 -1
- package/resources/x/communities/communities.mjs +96 -18
- 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 -2
- package/resources/x/communities/index.js.map +1 -1
- package/resources/x/communities/index.mjs +1 -1
- 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 -8
- package/resources/x/communities/join.js.map +1 -1
- package/resources/x/communities/join.mjs +10 -8
- 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 +28 -0
- package/resources/x/communities/media.js.map +1 -0
- package/resources/x/communities/media.mjs +24 -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 -8
- package/resources/x/communities/tweets.js.map +1 -1
- package/resources/x/communities/tweets.mjs +8 -8
- package/resources/x/communities/tweets.mjs.map +1 -1
- package/resources/x/communities.d.mts.map +1 -1
- package/resources/x/communities.d.ts.map +1 -1
- package/resources/x/communities.js +0 -1
- package/resources/x/communities.js.map +1 -1
- package/resources/x/communities.mjs +0 -1
- package/resources/x/communities.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 -3
- package/resources/x/dm.js.map +1 -1
- package/resources/x/dm.mjs +29 -3
- 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 -2
- package/resources/x/followers.js.map +1 -1
- package/resources/x/followers.mjs +2 -2
- 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 -2
- package/resources/x/index.js.map +1 -1
- package/resources/x/index.mjs +5 -2
- 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 +59 -0
- package/resources/x/jobs.js.map +1 -0
- package/resources/x/jobs.mjs +55 -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 -10
- package/resources/x/lists.js.map +1 -1
- package/resources/x/lists.mjs +39 -10
- 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 -3
- package/resources/x/media.js.map +1 -1
- package/resources/x/media.mjs +2 -3
- package/resources/x/media.mjs.map +1 -1
- 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 -4
- package/resources/x/profile.js.map +1 -1
- package/resources/x/profile.mjs +3 -4
- package/resources/x/profile.mjs.map +1 -1
- 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 +57 -0
- package/resources/x/spaces.js.map +1 -0
- package/resources/x/spaces.mjs +53 -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 +0 -1
- package/resources/x/tweets/index.js.map +1 -1
- package/resources/x/tweets/index.mjs +0 -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 -3
- package/resources/x/tweets/like.js.map +1 -1
- package/resources/x/tweets/like.mjs +2 -3
- package/resources/x/tweets/like.mjs.map +1 -1
- 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 -3
- package/resources/x/tweets/retweet.js.map +1 -1
- package/resources/x/tweets/retweet.mjs +2 -3
- package/resources/x/tweets/retweet.mjs.map +1 -1
- 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 -22
- package/resources/x/tweets/tweets.js.map +1 -1
- package/resources/x/tweets/tweets.mjs +147 -22
- package/resources/x/tweets/tweets.mjs.map +1 -1
- package/resources/x/tweets.d.mts.map +1 -1
- package/resources/x/tweets.d.ts.map +1 -1
- package/resources/x/tweets.js +0 -1
- package/resources/x/tweets.js.map +1 -1
- package/resources/x/tweets.mjs +0 -1
- package/resources/x/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 -3
- package/resources/x/users/follow.js.map +1 -1
- package/resources/x/users/follow.mjs +2 -3
- package/resources/x/users/follow.mjs.map +1 -1
- 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 +0 -1
- package/resources/x/users/index.js.map +1 -1
- package/resources/x/users/index.mjs +0 -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 -23
- package/resources/x/users/users.js.map +1 -1
- package/resources/x/users/users.mjs +205 -23
- package/resources/x/users/users.mjs.map +1 -1
- package/resources/x/users.d.mts.map +1 -1
- package/resources/x/users.d.ts.map +1 -1
- package/resources/x/users.js +0 -1
- package/resources/x/users.js.map +1 -1
- package/resources/x/users.mjs +0 -1
- package/resources/x/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 -2
- package/resources/x/write-actions.js.map +1 -1
- package/resources/x/write-actions.mjs +1 -2
- package/resources/x/write-actions.mjs.map +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 -6
- package/resources/x/x.js.map +1 -1
- package/resources/x/x.mjs +80 -8
- package/resources/x/x.mjs.map +1 -1
- package/resources/x.d.mts.map +1 -1
- package/resources/x.d.ts.map +1 -1
- package/resources/x.js +0 -1
- package/resources/x.js.map +1 -1
- package/resources/x.mjs +0 -1
- package/resources/x.mjs.map +1 -1
- package/skills/x-twitter-scraper/SKILL.md +99 -344
- package/skills/x-twitter-scraper/metadata.json +2 -2
- package/skills/x-twitter-scraper/references/mcp-setup.md +12 -15
- package/skills/x-twitter-scraper/references/mcp-tools.md +105 -166
- 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/skill-card.md +5 -6
- package/skills/x-twitter-scraper/skillspector-report.md +6 -3
- package/skills/xquik-account-automation/LICENSE +21 -0
- package/skills/xquik-account-automation/SKILL.md +91 -0
- package/skills/xquik-social-research/SKILL.md +48 -55
- package/src/client.ts +48 -7
- package/src/core/api-promise.ts +0 -2
- package/src/core/error.ts +0 -2
- package/src/core/resource.ts +0 -2
- package/src/core/streaming.ts +326 -0
- package/src/index.ts +0 -2
- package/src/internal/builtin-types.ts +0 -2
- package/src/internal/decoders/line.ts +138 -0
- package/src/internal/detect-platform.ts +0 -2
- package/src/internal/errors.ts +0 -2
- package/src/internal/headers.ts +0 -2
- package/src/internal/parse.ts +9 -2
- package/src/internal/request-options.ts +0 -2
- package/src/internal/shim-types.ts +0 -2
- package/src/internal/shims.ts +0 -2
- package/src/internal/types.ts +0 -2
- package/src/internal/utils/base64.ts +0 -2
- package/src/internal/utils/env.ts +0 -2
- package/src/internal/utils/log.ts +0 -2
- package/src/internal/utils/query.ts +0 -2
- package/src/internal/utils/sleep.ts +0 -2
- package/src/internal/utils/uuid.ts +0 -2
- package/src/internal/utils/values.ts +0 -2
- package/src/internal/utils.ts +0 -2
- package/src/lib/.keep +2 -4
- package/src/resources/account.ts +41 -14
- package/src/resources/compose.ts +77 -23
- package/src/resources/credits.ts +19 -12
- package/src/resources/drafts.ts +13 -24
- package/src/resources/draws.ts +94 -38
- package/src/resources/events.ts +3225 -70
- package/src/resources/extractions.ts +512 -127
- package/src/resources/guest-wallets.ts +6 -7
- package/src/resources/index.ts +24 -3
- package/src/resources/monitors/index.ts +2 -2
- package/src/resources/monitors/keywords.ts +82 -16
- package/src/resources/monitors/monitors.ts +66 -16
- package/src/resources/monitors.ts +0 -2
- package/src/resources/radar.ts +32 -38
- package/src/resources/shared.ts +2226 -352
- package/src/resources/styles.ts +43 -29
- package/src/resources/subscribe.ts +1 -3
- package/src/resources/support/attachments.ts +0 -2
- package/src/resources/support/index.ts +1 -2
- package/src/resources/support/support.ts +2 -2
- package/src/resources/support/tickets.ts +38 -12
- package/src/resources/support.ts +0 -2
- package/src/resources/trends.ts +23 -7
- package/src/resources/webhooks.ts +109 -17
- package/src/resources/x/account-connection-attempts.ts +1 -3
- package/src/resources/x/account-connection-challenges.ts +39 -13
- package/src/resources/x/accounts.ts +46 -12
- package/src/resources/x/analysis.ts +3945 -0
- package/src/resources/x/bookmarks.ts +103 -11
- package/src/resources/x/broadcasts.ts +223 -0
- package/src/resources/x/communities/communities.ts +743 -143
- package/src/resources/x/communities/index.ts +9 -2
- package/src/resources/x/communities/join.ts +46 -25
- package/src/resources/x/communities/media.ts +249 -0
- package/src/resources/x/communities/tweets.ts +427 -22
- package/src/resources/x/communities.ts +0 -2
- package/src/resources/x/dm.ts +334 -13
- package/src/resources/x/followers.ts +35 -5
- package/src/resources/x/index.ts +106 -3
- package/src/resources/x/jobs.ts +625 -0
- package/src/resources/x/lists.ts +1307 -30
- package/src/resources/x/media.ts +24 -14
- package/src/resources/x/profile.ts +60 -32
- package/src/resources/x/spaces.ts +1074 -0
- package/src/resources/x/tweets/index.ts +18 -2
- package/src/resources/x/tweets/like.ts +38 -20
- package/src/resources/x/tweets/retweet.ts +38 -20
- package/src/resources/x/tweets/tweets.ts +3693 -843
- package/src/resources/x/tweets.ts +0 -2
- package/src/resources/x/users/follow.ts +38 -20
- package/src/resources/x/users/index.ts +22 -2
- package/src/resources/x/users/users.ts +3687 -467
- package/src/resources/x/users.ts +0 -2
- package/src/resources/x/write-actions.ts +13 -7
- package/src/resources/x/x.ts +1234 -24
- package/src/resources/x.ts +0 -2
- 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/lists.ts
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
//
|
|
3
3
|
// SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
|
|
5
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
6
|
-
|
|
7
5
|
import { APIResource } from '../../core/resource';
|
|
8
6
|
import * as Shared from '../shared';
|
|
9
7
|
import { APIPromise } from '../../core/api-promise';
|
|
@@ -11,46 +9,85 @@ import { RequestOptions } from '../../internal/request-options';
|
|
|
11
9
|
import { path } from '../../internal/utils/path';
|
|
12
10
|
|
|
13
11
|
/**
|
|
14
|
-
* X List followers, members, and tweets
|
|
12
|
+
* X List search, details, followers, members, and tweets
|
|
15
13
|
*/
|
|
16
14
|
export class Lists extends APIResource {
|
|
17
15
|
/**
|
|
18
|
-
* List
|
|
16
|
+
* Returns one public X List as its page on X shows it. Accepts the List ID or the
|
|
17
|
+
* URL-encoded List URL, such as x.com/i/lists/4143408. A private List answers 404
|
|
18
|
+
* list_not_found.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* const list = await client.x.lists.retrieve('id');
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
retrieve(
|
|
26
|
+
id: string,
|
|
27
|
+
query: ListRetrieveParams | null | undefined = {},
|
|
28
|
+
options?: RequestOptions,
|
|
29
|
+
): APIPromise<ListRetrieveResponse> {
|
|
30
|
+
return this._client.get(path`/x/lists/${id}`, { query, ...options });
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Returns a public List's followers with resumable or standard pagination. A
|
|
35
|
+
* private List answers 404 list_not_found.
|
|
19
36
|
*
|
|
20
37
|
* @example
|
|
21
38
|
* ```ts
|
|
22
|
-
* const
|
|
23
|
-
*
|
|
39
|
+
* const response = await client.x.lists.retrieveFollowers(
|
|
40
|
+
* 'id',
|
|
41
|
+
* );
|
|
24
42
|
* ```
|
|
25
43
|
*/
|
|
26
44
|
retrieveFollowers(
|
|
27
45
|
id: string,
|
|
28
46
|
query: ListRetrieveFollowersParams | null | undefined = {},
|
|
29
47
|
options?: RequestOptions,
|
|
30
|
-
): APIPromise<
|
|
48
|
+
): APIPromise<ListRetrieveFollowersResponse> {
|
|
31
49
|
return this._client.get(path`/x/lists/${id}/followers`, { query, ...options });
|
|
32
50
|
}
|
|
33
51
|
|
|
34
52
|
/**
|
|
35
|
-
* List members
|
|
53
|
+
* Returns a public List's members with resumable or standard pagination. A private
|
|
54
|
+
* List answers 404 list_not_found.
|
|
36
55
|
*
|
|
37
56
|
* @example
|
|
38
57
|
* ```ts
|
|
39
|
-
* const
|
|
40
|
-
* 'id',
|
|
41
|
-
* );
|
|
58
|
+
* const response = await client.x.lists.retrieveMembers('id');
|
|
42
59
|
* ```
|
|
43
60
|
*/
|
|
44
61
|
retrieveMembers(
|
|
45
62
|
id: string,
|
|
46
63
|
query: ListRetrieveMembersParams | null | undefined = {},
|
|
47
64
|
options?: RequestOptions,
|
|
48
|
-
): APIPromise<
|
|
65
|
+
): APIPromise<ListRetrieveMembersResponse> {
|
|
49
66
|
return this._client.get(path`/x/lists/${id}/members`, { query, ...options });
|
|
50
67
|
}
|
|
51
68
|
|
|
52
69
|
/**
|
|
53
|
-
*
|
|
70
|
+
* Returns one page of public Lists with member counts, banners & owner profiles. X
|
|
71
|
+
* may rank the Lists differently per request. Pass next_cursor as cursor for the
|
|
72
|
+
* next page.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* ```ts
|
|
76
|
+
* const response = await client.x.lists.retrieveSearch({
|
|
77
|
+
* q: 'q',
|
|
78
|
+
* });
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
retrieveSearch(
|
|
82
|
+
query: ListRetrieveSearchParams,
|
|
83
|
+
options?: RequestOptions,
|
|
84
|
+
): APIPromise<ListRetrieveSearchResponse> {
|
|
85
|
+
return this._client.get('/x/lists/search', { query, ...options });
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Omit mode for resumable maximum coverage. Pass next_cursor unchanged. Standard
|
|
90
|
+
* keeps legacy pagination. A private List answers 404 list_not_found.
|
|
54
91
|
*
|
|
55
92
|
* @example
|
|
56
93
|
* ```ts
|
|
@@ -68,17 +105,846 @@ export class Lists extends APIResource {
|
|
|
68
105
|
}
|
|
69
106
|
}
|
|
70
107
|
|
|
108
|
+
export interface ListRetrieveResponse {
|
|
109
|
+
/**
|
|
110
|
+
* Public X List with its owner's public profile. Leaves out what X tells the
|
|
111
|
+
* reading account, such as whether it follows the List.
|
|
112
|
+
*/
|
|
113
|
+
list: ListRetrieveResponse.List;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export namespace ListRetrieveResponse {
|
|
117
|
+
/**
|
|
118
|
+
* Public X List with its owner's public profile. Leaves out what X tells the
|
|
119
|
+
* reading account, such as whether it follows the List.
|
|
120
|
+
*/
|
|
121
|
+
export interface List {
|
|
122
|
+
/**
|
|
123
|
+
* Numeric ID of the List.
|
|
124
|
+
*/
|
|
125
|
+
id: string;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Name the owner gave the List.
|
|
129
|
+
*/
|
|
130
|
+
name: string;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* URL of the banner the owner uploaded. Absent when the owner uploaded none.
|
|
134
|
+
*/
|
|
135
|
+
bannerUrl?: string;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* When the owner made the List.
|
|
139
|
+
*/
|
|
140
|
+
createdAt?: string;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Banner the owner uploaded.
|
|
144
|
+
*/
|
|
145
|
+
customBanner?: List.CustomBanner;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Banner X shows when the owner uploaded none. X picks it per reading account, so
|
|
149
|
+
* 2 calls can return different ones.
|
|
150
|
+
*/
|
|
151
|
+
defaultBanner?: List.DefaultBanner;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* About text of the List. Empty when the owner wrote none.
|
|
155
|
+
*/
|
|
156
|
+
description?: string;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Avatar URLs of a few List members, which X may pick per request.
|
|
160
|
+
*/
|
|
161
|
+
facepileUrls?: Array<string>;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Accounts on the List.
|
|
165
|
+
*/
|
|
166
|
+
memberCount?: number;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Member count as X words it, such as 35 members.
|
|
170
|
+
*/
|
|
171
|
+
membersContext?: string;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Public profile of the account that owns the List.
|
|
175
|
+
*/
|
|
176
|
+
owner?: Shared.UserProfile;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Accounts that follow the List, which X calls followers.
|
|
180
|
+
*/
|
|
181
|
+
subscriberCount?: number;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* List page on x.com.
|
|
185
|
+
*/
|
|
186
|
+
url?: string;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export namespace List {
|
|
190
|
+
/**
|
|
191
|
+
* Banner the owner uploaded.
|
|
192
|
+
*/
|
|
193
|
+
export interface CustomBanner {
|
|
194
|
+
/**
|
|
195
|
+
* Banner image URL.
|
|
196
|
+
*/
|
|
197
|
+
url: string;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Banner height in pixels.
|
|
201
|
+
*/
|
|
202
|
+
height?: number;
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Media ID of an uploaded banner.
|
|
206
|
+
*/
|
|
207
|
+
mediaId?: string;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Stable media key of an uploaded banner.
|
|
211
|
+
*/
|
|
212
|
+
mediaKey?: string;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Dominant colors of an uploaded banner and their shares.
|
|
216
|
+
*/
|
|
217
|
+
palette?: Array<CustomBanner.Palette>;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Area X marks as the subject of the banner, in pixels.
|
|
221
|
+
*/
|
|
222
|
+
salientRect?: CustomBanner.SalientRect;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Banner width in pixels.
|
|
226
|
+
*/
|
|
227
|
+
width?: number;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
export namespace CustomBanner {
|
|
231
|
+
export interface Palette {
|
|
232
|
+
/**
|
|
233
|
+
* Share of the banner
|
|
234
|
+
*/
|
|
235
|
+
percentage?: number;
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* The color's red, green and blue values.
|
|
239
|
+
*/
|
|
240
|
+
rgb?: Palette.Rgb;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
export namespace Palette {
|
|
244
|
+
/**
|
|
245
|
+
* The color's red, green and blue values.
|
|
246
|
+
*/
|
|
247
|
+
export interface Rgb {
|
|
248
|
+
blue?: number;
|
|
249
|
+
|
|
250
|
+
green?: number;
|
|
251
|
+
|
|
252
|
+
red?: number;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* Area X marks as the subject of the banner, in pixels.
|
|
258
|
+
*/
|
|
259
|
+
export interface SalientRect {
|
|
260
|
+
/**
|
|
261
|
+
* Height of the marked area.
|
|
262
|
+
*/
|
|
263
|
+
height?: number;
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* Pixels from the banner's left.
|
|
267
|
+
*/
|
|
268
|
+
left?: number;
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* Pixels from the banner's top.
|
|
272
|
+
*/
|
|
273
|
+
top?: number;
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Width of the marked area.
|
|
277
|
+
*/
|
|
278
|
+
width?: number;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Banner X shows when the owner uploaded none. X picks it per reading account, so
|
|
284
|
+
* 2 calls can return different ones.
|
|
285
|
+
*/
|
|
286
|
+
export interface DefaultBanner {
|
|
287
|
+
/**
|
|
288
|
+
* Banner image URL.
|
|
289
|
+
*/
|
|
290
|
+
url: string;
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* Banner height in pixels.
|
|
294
|
+
*/
|
|
295
|
+
height?: number;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Media ID of an uploaded banner.
|
|
299
|
+
*/
|
|
300
|
+
mediaId?: string;
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* Stable media key of an uploaded banner.
|
|
304
|
+
*/
|
|
305
|
+
mediaKey?: string;
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Dominant colors of an uploaded banner and their shares.
|
|
309
|
+
*/
|
|
310
|
+
palette?: Array<DefaultBanner.Palette>;
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Area X marks as the subject of the banner, in pixels.
|
|
314
|
+
*/
|
|
315
|
+
salientRect?: DefaultBanner.SalientRect;
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Banner width in pixels.
|
|
319
|
+
*/
|
|
320
|
+
width?: number;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
export namespace DefaultBanner {
|
|
324
|
+
export interface Palette {
|
|
325
|
+
/**
|
|
326
|
+
* Share of the banner
|
|
327
|
+
*/
|
|
328
|
+
percentage?: number;
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* The color's red, green and blue values.
|
|
332
|
+
*/
|
|
333
|
+
rgb?: Palette.Rgb;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
export namespace Palette {
|
|
337
|
+
/**
|
|
338
|
+
* The color's red, green and blue values.
|
|
339
|
+
*/
|
|
340
|
+
export interface Rgb {
|
|
341
|
+
blue?: number;
|
|
342
|
+
|
|
343
|
+
green?: number;
|
|
344
|
+
|
|
345
|
+
red?: number;
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* Area X marks as the subject of the banner, in pixels.
|
|
351
|
+
*/
|
|
352
|
+
export interface SalientRect {
|
|
353
|
+
/**
|
|
354
|
+
* Height of the marked area.
|
|
355
|
+
*/
|
|
356
|
+
height?: number;
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* Pixels from the banner's left.
|
|
360
|
+
*/
|
|
361
|
+
left?: number;
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* Pixels from the banner's top.
|
|
365
|
+
*/
|
|
366
|
+
top?: number;
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* Width of the marked area.
|
|
370
|
+
*/
|
|
371
|
+
width?: number;
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* A standard or terminal maximum-coverage relationship page.
|
|
379
|
+
*/
|
|
380
|
+
export type ListRetrieveFollowersResponse =
|
|
381
|
+
Shared.PaginatedUsers | ListRetrieveFollowersResponse.UserListCoverageResponse;
|
|
382
|
+
|
|
383
|
+
export namespace ListRetrieveFollowersResponse {
|
|
384
|
+
/**
|
|
385
|
+
* Terminal relationship coverage response with diagnostics.
|
|
386
|
+
*/
|
|
387
|
+
export interface UserListCoverageResponse extends Omit<
|
|
388
|
+
Shared.PaginatedUsers,
|
|
389
|
+
'has_next_page' | 'next_cursor'
|
|
390
|
+
> {
|
|
391
|
+
/**
|
|
392
|
+
* Coverage evidence across parallel relationship strategies.
|
|
393
|
+
*/
|
|
394
|
+
diagnostic: UserListCoverageResponse.Diagnostic;
|
|
395
|
+
|
|
396
|
+
has_next_page?: false;
|
|
397
|
+
|
|
398
|
+
next_cursor?: '';
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
export namespace UserListCoverageResponse {
|
|
402
|
+
/**
|
|
403
|
+
* Coverage evidence across parallel relationship strategies.
|
|
404
|
+
*/
|
|
405
|
+
export interface Diagnostic {
|
|
406
|
+
/**
|
|
407
|
+
* True after all active strategies exhaust their sources. An empty read of the
|
|
408
|
+
* whole search window also ends its time slices.
|
|
409
|
+
*/
|
|
410
|
+
complete: boolean;
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* Whole number from 0.
|
|
414
|
+
*/
|
|
415
|
+
cursorFailureCount: number;
|
|
416
|
+
|
|
417
|
+
deadlineReached: boolean;
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* Whole number from 0.
|
|
421
|
+
*/
|
|
422
|
+
duplicateCount: number;
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* Whole number from 0.
|
|
426
|
+
*/
|
|
427
|
+
failedStrategyCount: number;
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* Whole number from 0.
|
|
431
|
+
*/
|
|
432
|
+
malformedCount: number;
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* Whole number from 0.
|
|
436
|
+
*/
|
|
437
|
+
pagesFetched: number;
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* True when credits or the requested limit reduce output.
|
|
441
|
+
*/
|
|
442
|
+
responseTruncated: boolean;
|
|
443
|
+
|
|
444
|
+
resultLimitReached: boolean;
|
|
445
|
+
|
|
446
|
+
returnedUsers: number;
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* Whole number from 0.
|
|
450
|
+
*/
|
|
451
|
+
stalledStrategyCount: number;
|
|
452
|
+
|
|
453
|
+
strategies: Array<Diagnostic.Strategy>;
|
|
454
|
+
|
|
455
|
+
strategyCount: number;
|
|
456
|
+
|
|
457
|
+
uniqueUsers: number;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
export namespace Diagnostic {
|
|
461
|
+
/**
|
|
462
|
+
* Result counts and stop reason for one relationship strategy.
|
|
463
|
+
*/
|
|
464
|
+
export interface Strategy {
|
|
465
|
+
/**
|
|
466
|
+
* Whole number from 0.
|
|
467
|
+
*/
|
|
468
|
+
duplicateCount: number;
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* Whole number from 0.
|
|
472
|
+
*/
|
|
473
|
+
pagesFetched: number;
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* Reason a coverage strategy stopped.
|
|
477
|
+
*/
|
|
478
|
+
stopReason:
|
|
479
|
+
'cursor_failure' | 'deadline' | 'exhausted' | 'failed' | 'page_limit' | 'result_limit' | 'stalled';
|
|
480
|
+
|
|
481
|
+
strategy: number;
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* Whole number from 0.
|
|
485
|
+
*/
|
|
486
|
+
uniqueAdded: number;
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* A standard or terminal maximum-coverage relationship page.
|
|
494
|
+
*/
|
|
495
|
+
export type ListRetrieveMembersResponse =
|
|
496
|
+
Shared.PaginatedUsers | ListRetrieveMembersResponse.UserListCoverageResponse;
|
|
497
|
+
|
|
498
|
+
export namespace ListRetrieveMembersResponse {
|
|
499
|
+
/**
|
|
500
|
+
* Terminal relationship coverage response with diagnostics.
|
|
501
|
+
*/
|
|
502
|
+
export interface UserListCoverageResponse extends Omit<
|
|
503
|
+
Shared.PaginatedUsers,
|
|
504
|
+
'has_next_page' | 'next_cursor'
|
|
505
|
+
> {
|
|
506
|
+
/**
|
|
507
|
+
* Coverage evidence across parallel relationship strategies.
|
|
508
|
+
*/
|
|
509
|
+
diagnostic: UserListCoverageResponse.Diagnostic;
|
|
510
|
+
|
|
511
|
+
has_next_page?: false;
|
|
512
|
+
|
|
513
|
+
next_cursor?: '';
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
export namespace UserListCoverageResponse {
|
|
517
|
+
/**
|
|
518
|
+
* Coverage evidence across parallel relationship strategies.
|
|
519
|
+
*/
|
|
520
|
+
export interface Diagnostic {
|
|
521
|
+
/**
|
|
522
|
+
* True after all active strategies exhaust their sources. An empty read of the
|
|
523
|
+
* whole search window also ends its time slices.
|
|
524
|
+
*/
|
|
525
|
+
complete: boolean;
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* Whole number from 0.
|
|
529
|
+
*/
|
|
530
|
+
cursorFailureCount: number;
|
|
531
|
+
|
|
532
|
+
deadlineReached: boolean;
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* Whole number from 0.
|
|
536
|
+
*/
|
|
537
|
+
duplicateCount: number;
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* Whole number from 0.
|
|
541
|
+
*/
|
|
542
|
+
failedStrategyCount: number;
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* Whole number from 0.
|
|
546
|
+
*/
|
|
547
|
+
malformedCount: number;
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* Whole number from 0.
|
|
551
|
+
*/
|
|
552
|
+
pagesFetched: number;
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* True when credits or the requested limit reduce output.
|
|
556
|
+
*/
|
|
557
|
+
responseTruncated: boolean;
|
|
558
|
+
|
|
559
|
+
resultLimitReached: boolean;
|
|
560
|
+
|
|
561
|
+
returnedUsers: number;
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* Whole number from 0.
|
|
565
|
+
*/
|
|
566
|
+
stalledStrategyCount: number;
|
|
567
|
+
|
|
568
|
+
strategies: Array<Diagnostic.Strategy>;
|
|
569
|
+
|
|
570
|
+
strategyCount: number;
|
|
571
|
+
|
|
572
|
+
uniqueUsers: number;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
export namespace Diagnostic {
|
|
576
|
+
/**
|
|
577
|
+
* Result counts and stop reason for one relationship strategy.
|
|
578
|
+
*/
|
|
579
|
+
export interface Strategy {
|
|
580
|
+
/**
|
|
581
|
+
* Whole number from 0.
|
|
582
|
+
*/
|
|
583
|
+
duplicateCount: number;
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* Whole number from 0.
|
|
587
|
+
*/
|
|
588
|
+
pagesFetched: number;
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* Reason a coverage strategy stopped.
|
|
592
|
+
*/
|
|
593
|
+
stopReason:
|
|
594
|
+
'cursor_failure' | 'deadline' | 'exhausted' | 'failed' | 'page_limit' | 'result_limit' | 'stalled';
|
|
595
|
+
|
|
596
|
+
strategy: number;
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* Whole number from 0.
|
|
600
|
+
*/
|
|
601
|
+
uniqueAdded: number;
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* One page of public X Lists. Follow next_cursor while the response reports more
|
|
609
|
+
* pages. Each returned List costs 1 credit.
|
|
610
|
+
*/
|
|
611
|
+
export interface ListRetrieveSearchResponse {
|
|
612
|
+
has_next_page: boolean;
|
|
613
|
+
|
|
614
|
+
lists: Array<ListRetrieveSearchResponse.List>;
|
|
615
|
+
|
|
616
|
+
next_cursor: string;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
export namespace ListRetrieveSearchResponse {
|
|
620
|
+
/**
|
|
621
|
+
* Public X List with its owner's public profile. Leaves out what X tells the
|
|
622
|
+
* reading account, such as whether it follows the List.
|
|
623
|
+
*/
|
|
624
|
+
export interface List {
|
|
625
|
+
/**
|
|
626
|
+
* Numeric ID of the List.
|
|
627
|
+
*/
|
|
628
|
+
id: string;
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* Name the owner gave the List.
|
|
632
|
+
*/
|
|
633
|
+
name: string;
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* URL of the banner the owner uploaded. Absent when the owner uploaded none.
|
|
637
|
+
*/
|
|
638
|
+
bannerUrl?: string;
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
* When the owner made the List.
|
|
642
|
+
*/
|
|
643
|
+
createdAt?: string;
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* Banner the owner uploaded.
|
|
647
|
+
*/
|
|
648
|
+
customBanner?: List.CustomBanner;
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* Banner X shows when the owner uploaded none. X picks it per reading account, so
|
|
652
|
+
* 2 calls can return different ones.
|
|
653
|
+
*/
|
|
654
|
+
defaultBanner?: List.DefaultBanner;
|
|
655
|
+
|
|
656
|
+
/**
|
|
657
|
+
* About text of the List. Empty when the owner wrote none.
|
|
658
|
+
*/
|
|
659
|
+
description?: string;
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* Avatar URLs of a few List members, which X may pick per request.
|
|
663
|
+
*/
|
|
664
|
+
facepileUrls?: Array<string>;
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* Accounts on the List.
|
|
668
|
+
*/
|
|
669
|
+
memberCount?: number;
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* Member count as X words it, such as 35 members.
|
|
673
|
+
*/
|
|
674
|
+
membersContext?: string;
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* Public profile of the account that owns the List.
|
|
678
|
+
*/
|
|
679
|
+
owner?: Shared.UserProfile;
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* Accounts that follow the List, which X calls followers.
|
|
683
|
+
*/
|
|
684
|
+
subscriberCount?: number;
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* List page on x.com.
|
|
688
|
+
*/
|
|
689
|
+
url?: string;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
export namespace List {
|
|
693
|
+
/**
|
|
694
|
+
* Banner the owner uploaded.
|
|
695
|
+
*/
|
|
696
|
+
export interface CustomBanner {
|
|
697
|
+
/**
|
|
698
|
+
* Banner image URL.
|
|
699
|
+
*/
|
|
700
|
+
url: string;
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* Banner height in pixels.
|
|
704
|
+
*/
|
|
705
|
+
height?: number;
|
|
706
|
+
|
|
707
|
+
/**
|
|
708
|
+
* Media ID of an uploaded banner.
|
|
709
|
+
*/
|
|
710
|
+
mediaId?: string;
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* Stable media key of an uploaded banner.
|
|
714
|
+
*/
|
|
715
|
+
mediaKey?: string;
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* Dominant colors of an uploaded banner and their shares.
|
|
719
|
+
*/
|
|
720
|
+
palette?: Array<CustomBanner.Palette>;
|
|
721
|
+
|
|
722
|
+
/**
|
|
723
|
+
* Area X marks as the subject of the banner, in pixels.
|
|
724
|
+
*/
|
|
725
|
+
salientRect?: CustomBanner.SalientRect;
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* Banner width in pixels.
|
|
729
|
+
*/
|
|
730
|
+
width?: number;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
export namespace CustomBanner {
|
|
734
|
+
export interface Palette {
|
|
735
|
+
/**
|
|
736
|
+
* Share of the banner
|
|
737
|
+
*/
|
|
738
|
+
percentage?: number;
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* The color's red, green and blue values.
|
|
742
|
+
*/
|
|
743
|
+
rgb?: Palette.Rgb;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
export namespace Palette {
|
|
747
|
+
/**
|
|
748
|
+
* The color's red, green and blue values.
|
|
749
|
+
*/
|
|
750
|
+
export interface Rgb {
|
|
751
|
+
blue?: number;
|
|
752
|
+
|
|
753
|
+
green?: number;
|
|
754
|
+
|
|
755
|
+
red?: number;
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* Area X marks as the subject of the banner, in pixels.
|
|
761
|
+
*/
|
|
762
|
+
export interface SalientRect {
|
|
763
|
+
/**
|
|
764
|
+
* Height of the marked area.
|
|
765
|
+
*/
|
|
766
|
+
height?: number;
|
|
767
|
+
|
|
768
|
+
/**
|
|
769
|
+
* Pixels from the banner's left.
|
|
770
|
+
*/
|
|
771
|
+
left?: number;
|
|
772
|
+
|
|
773
|
+
/**
|
|
774
|
+
* Pixels from the banner's top.
|
|
775
|
+
*/
|
|
776
|
+
top?: number;
|
|
777
|
+
|
|
778
|
+
/**
|
|
779
|
+
* Width of the marked area.
|
|
780
|
+
*/
|
|
781
|
+
width?: number;
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
/**
|
|
786
|
+
* Banner X shows when the owner uploaded none. X picks it per reading account, so
|
|
787
|
+
* 2 calls can return different ones.
|
|
788
|
+
*/
|
|
789
|
+
export interface DefaultBanner {
|
|
790
|
+
/**
|
|
791
|
+
* Banner image URL.
|
|
792
|
+
*/
|
|
793
|
+
url: string;
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* Banner height in pixels.
|
|
797
|
+
*/
|
|
798
|
+
height?: number;
|
|
799
|
+
|
|
800
|
+
/**
|
|
801
|
+
* Media ID of an uploaded banner.
|
|
802
|
+
*/
|
|
803
|
+
mediaId?: string;
|
|
804
|
+
|
|
805
|
+
/**
|
|
806
|
+
* Stable media key of an uploaded banner.
|
|
807
|
+
*/
|
|
808
|
+
mediaKey?: string;
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* Dominant colors of an uploaded banner and their shares.
|
|
812
|
+
*/
|
|
813
|
+
palette?: Array<DefaultBanner.Palette>;
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* Area X marks as the subject of the banner, in pixels.
|
|
817
|
+
*/
|
|
818
|
+
salientRect?: DefaultBanner.SalientRect;
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* Banner width in pixels.
|
|
822
|
+
*/
|
|
823
|
+
width?: number;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
export namespace DefaultBanner {
|
|
827
|
+
export interface Palette {
|
|
828
|
+
/**
|
|
829
|
+
* Share of the banner
|
|
830
|
+
*/
|
|
831
|
+
percentage?: number;
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
* The color's red, green and blue values.
|
|
835
|
+
*/
|
|
836
|
+
rgb?: Palette.Rgb;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
export namespace Palette {
|
|
840
|
+
/**
|
|
841
|
+
* The color's red, green and blue values.
|
|
842
|
+
*/
|
|
843
|
+
export interface Rgb {
|
|
844
|
+
blue?: number;
|
|
845
|
+
|
|
846
|
+
green?: number;
|
|
847
|
+
|
|
848
|
+
red?: number;
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* Area X marks as the subject of the banner, in pixels.
|
|
854
|
+
*/
|
|
855
|
+
export interface SalientRect {
|
|
856
|
+
/**
|
|
857
|
+
* Height of the marked area.
|
|
858
|
+
*/
|
|
859
|
+
height?: number;
|
|
860
|
+
|
|
861
|
+
/**
|
|
862
|
+
* Pixels from the banner's left.
|
|
863
|
+
*/
|
|
864
|
+
left?: number;
|
|
865
|
+
|
|
866
|
+
/**
|
|
867
|
+
* Pixels from the banner's top.
|
|
868
|
+
*/
|
|
869
|
+
top?: number;
|
|
870
|
+
|
|
871
|
+
/**
|
|
872
|
+
* Width of the marked area.
|
|
873
|
+
*/
|
|
874
|
+
width?: number;
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
export interface ListRetrieveParams {
|
|
881
|
+
/**
|
|
882
|
+
* Fields to keep in each row, comma-separated. Use dots for nested fields, such as
|
|
883
|
+
* author.username. A list keeps the field in each item. Case & underscores do not
|
|
884
|
+
* matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
|
|
885
|
+
* always stay. An unknown name answers 400 unknown_field with the valid names,
|
|
886
|
+
* before any read. The price stays the same. SDK row types then hold only the
|
|
887
|
+
* named fields.
|
|
888
|
+
*/
|
|
889
|
+
fields?: string;
|
|
890
|
+
|
|
891
|
+
/**
|
|
892
|
+
* Fields to drop from each row, comma-separated. It takes the same names as
|
|
893
|
+
* fields. With fields, it drops from the kept fields.
|
|
894
|
+
*/
|
|
895
|
+
omit?: string;
|
|
896
|
+
}
|
|
897
|
+
|
|
71
898
|
export interface ListRetrieveFollowersParams {
|
|
899
|
+
/**
|
|
900
|
+
* Legacy cursor alias. Prefer cursor.
|
|
901
|
+
*/
|
|
902
|
+
after?: string;
|
|
903
|
+
|
|
72
904
|
/**
|
|
73
905
|
* Match any comma-separated or line-separated bio term, ignoring case.
|
|
74
906
|
*/
|
|
75
907
|
bioContains?: string;
|
|
76
908
|
|
|
77
909
|
/**
|
|
78
|
-
*
|
|
910
|
+
* Only return profiles X marks as blue verified. X marks many business &
|
|
911
|
+
* government accounts blue too. Use verifiedType for 1 badge type.
|
|
912
|
+
*/
|
|
913
|
+
blueVerifiedOnly?: boolean;
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* Only return profiles that publish an email outside free webmail, such as Gmail.
|
|
917
|
+
*/
|
|
918
|
+
businessEmailOnly?: boolean;
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* Cursor from the previous response. Existing unprefixed cursors keep legacy
|
|
922
|
+
* standard behavior. Pages can be empty before more rows; follow next_cursor. Also
|
|
923
|
+
* read as next_cursor, next_token, pagination_token or continuation_token.
|
|
79
924
|
*/
|
|
80
925
|
cursor?: string;
|
|
81
926
|
|
|
927
|
+
/**
|
|
928
|
+
* Only return profiles with an email at one of these domains. Separate domains
|
|
929
|
+
* with commas. Subdomains match.
|
|
930
|
+
*/
|
|
931
|
+
emailDomains?: string;
|
|
932
|
+
|
|
933
|
+
/**
|
|
934
|
+
* Fields to keep in each row, comma-separated. Use dots for nested fields, such as
|
|
935
|
+
* author.username. A list keeps the field in each item. Case & underscores do not
|
|
936
|
+
* matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
|
|
937
|
+
* always stay. An unknown name answers 400 unknown_field with the valid names,
|
|
938
|
+
* before any read. The price stays the same. SDK row types then hold only the
|
|
939
|
+
* named fields.
|
|
940
|
+
*/
|
|
941
|
+
fields?: string;
|
|
942
|
+
|
|
943
|
+
/**
|
|
944
|
+
* Only return profiles that publish an email.
|
|
945
|
+
*/
|
|
946
|
+
hasEmail?: boolean;
|
|
947
|
+
|
|
82
948
|
/**
|
|
83
949
|
* Only return profiles with a location.
|
|
84
950
|
*/
|
|
@@ -100,10 +966,18 @@ export interface ListRetrieveFollowersParams {
|
|
|
100
966
|
maxFollowers?: number;
|
|
101
967
|
|
|
102
968
|
/**
|
|
103
|
-
*
|
|
969
|
+
* Profiles may follow at most this many accounts.
|
|
104
970
|
*/
|
|
105
971
|
maxFollowing?: number;
|
|
106
972
|
|
|
973
|
+
/**
|
|
974
|
+
* Most profiles 1 request reads, kept or dropped by the filters. A filter that
|
|
975
|
+
* keeps few profiles reads up to 65 s a request without it. The request then
|
|
976
|
+
* answers the profiles it kept, the count it dropped & the cursor to read on. Each
|
|
977
|
+
* request of a cursor may send its own value. Automatic mode only.
|
|
978
|
+
*/
|
|
979
|
+
maxScan?: number;
|
|
980
|
+
|
|
107
981
|
/**
|
|
108
982
|
* Maximum post count. maxPosts is also accepted.
|
|
109
983
|
*/
|
|
@@ -120,7 +994,7 @@ export interface ListRetrieveFollowersParams {
|
|
|
120
994
|
minFollowers?: number;
|
|
121
995
|
|
|
122
996
|
/**
|
|
123
|
-
*
|
|
997
|
+
* Profiles must follow at least this many accounts.
|
|
124
998
|
*/
|
|
125
999
|
minFollowing?: number;
|
|
126
1000
|
|
|
@@ -130,9 +1004,21 @@ export interface ListRetrieveFollowersParams {
|
|
|
130
1004
|
minStatuses?: number;
|
|
131
1005
|
|
|
132
1006
|
/**
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
|
|
1007
|
+
* Omit mode for resumable maximum coverage. Standard keeps legacy pagination.
|
|
1008
|
+
* Coverage returns diagnostics once and rejects cursors.
|
|
1009
|
+
*/
|
|
1010
|
+
mode?: 'standard' | 'coverage';
|
|
1011
|
+
|
|
1012
|
+
/**
|
|
1013
|
+
* Fields to drop from each row, comma-separated. It takes the same names as
|
|
1014
|
+
* fields. With fields, it drops from the kept fields.
|
|
1015
|
+
*/
|
|
1016
|
+
omit?: string;
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* Up to 300 user profiles in automatic mode, 200 in standard. Sources can return
|
|
1020
|
+
* fewer. Follow next_cursor for more pages. Aliases: limit, count, max_results,
|
|
1021
|
+
* maxItems, max_items & per_page.
|
|
136
1022
|
*/
|
|
137
1023
|
pageSize?: number;
|
|
138
1024
|
|
|
@@ -153,16 +1039,55 @@ export interface ListRetrieveFollowersParams {
|
|
|
153
1039
|
}
|
|
154
1040
|
|
|
155
1041
|
export interface ListRetrieveMembersParams {
|
|
1042
|
+
/**
|
|
1043
|
+
* Legacy cursor alias. Prefer cursor.
|
|
1044
|
+
*/
|
|
1045
|
+
after?: string;
|
|
1046
|
+
|
|
156
1047
|
/**
|
|
157
1048
|
* Match any comma-separated or line-separated bio term, ignoring case.
|
|
158
1049
|
*/
|
|
159
1050
|
bioContains?: string;
|
|
160
1051
|
|
|
161
1052
|
/**
|
|
162
|
-
*
|
|
1053
|
+
* Only return profiles X marks as blue verified. X marks many business &
|
|
1054
|
+
* government accounts blue too. Use verifiedType for 1 badge type.
|
|
1055
|
+
*/
|
|
1056
|
+
blueVerifiedOnly?: boolean;
|
|
1057
|
+
|
|
1058
|
+
/**
|
|
1059
|
+
* Only return profiles that publish an email outside free webmail, such as Gmail.
|
|
1060
|
+
*/
|
|
1061
|
+
businessEmailOnly?: boolean;
|
|
1062
|
+
|
|
1063
|
+
/**
|
|
1064
|
+
* Cursor from the previous response. Existing unprefixed cursors keep legacy
|
|
1065
|
+
* standard behavior. Pages can be empty before more rows; follow next_cursor. Also
|
|
1066
|
+
* read as next_cursor, next_token, pagination_token or continuation_token.
|
|
163
1067
|
*/
|
|
164
1068
|
cursor?: string;
|
|
165
1069
|
|
|
1070
|
+
/**
|
|
1071
|
+
* Only return profiles with an email at one of these domains. Separate domains
|
|
1072
|
+
* with commas. Subdomains match.
|
|
1073
|
+
*/
|
|
1074
|
+
emailDomains?: string;
|
|
1075
|
+
|
|
1076
|
+
/**
|
|
1077
|
+
* Fields to keep in each row, comma-separated. Use dots for nested fields, such as
|
|
1078
|
+
* author.username. A list keeps the field in each item. Case & underscores do not
|
|
1079
|
+
* matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
|
|
1080
|
+
* always stay. An unknown name answers 400 unknown_field with the valid names,
|
|
1081
|
+
* before any read. The price stays the same. SDK row types then hold only the
|
|
1082
|
+
* named fields.
|
|
1083
|
+
*/
|
|
1084
|
+
fields?: string;
|
|
1085
|
+
|
|
1086
|
+
/**
|
|
1087
|
+
* Only return profiles that publish an email.
|
|
1088
|
+
*/
|
|
1089
|
+
hasEmail?: boolean;
|
|
1090
|
+
|
|
166
1091
|
/**
|
|
167
1092
|
* Only return profiles with a location.
|
|
168
1093
|
*/
|
|
@@ -184,10 +1109,18 @@ export interface ListRetrieveMembersParams {
|
|
|
184
1109
|
maxFollowers?: number;
|
|
185
1110
|
|
|
186
1111
|
/**
|
|
187
|
-
*
|
|
1112
|
+
* Profiles may follow at most this many accounts.
|
|
188
1113
|
*/
|
|
189
1114
|
maxFollowing?: number;
|
|
190
1115
|
|
|
1116
|
+
/**
|
|
1117
|
+
* Most profiles 1 request reads, kept or dropped by the filters. A filter that
|
|
1118
|
+
* keeps few profiles reads up to 65 s a request without it. The request then
|
|
1119
|
+
* answers the profiles it kept, the count it dropped & the cursor to read on. Each
|
|
1120
|
+
* request of a cursor may send its own value. Automatic mode only.
|
|
1121
|
+
*/
|
|
1122
|
+
maxScan?: number;
|
|
1123
|
+
|
|
191
1124
|
/**
|
|
192
1125
|
* Maximum post count. maxPosts is also accepted.
|
|
193
1126
|
*/
|
|
@@ -204,7 +1137,7 @@ export interface ListRetrieveMembersParams {
|
|
|
204
1137
|
minFollowers?: number;
|
|
205
1138
|
|
|
206
1139
|
/**
|
|
207
|
-
*
|
|
1140
|
+
* Profiles must follow at least this many accounts.
|
|
208
1141
|
*/
|
|
209
1142
|
minFollowing?: number;
|
|
210
1143
|
|
|
@@ -214,7 +1147,21 @@ export interface ListRetrieveMembersParams {
|
|
|
214
1147
|
minStatuses?: number;
|
|
215
1148
|
|
|
216
1149
|
/**
|
|
217
|
-
*
|
|
1150
|
+
* Omit mode for resumable maximum coverage. Standard keeps legacy pagination.
|
|
1151
|
+
* Coverage returns diagnostics once and rejects cursors.
|
|
1152
|
+
*/
|
|
1153
|
+
mode?: 'standard' | 'coverage';
|
|
1154
|
+
|
|
1155
|
+
/**
|
|
1156
|
+
* Fields to drop from each row, comma-separated. It takes the same names as
|
|
1157
|
+
* fields. With fields, it drops from the kept fields.
|
|
1158
|
+
*/
|
|
1159
|
+
omit?: string;
|
|
1160
|
+
|
|
1161
|
+
/**
|
|
1162
|
+
* Up to 300 user profiles in automatic mode, 200 in standard. Sources can return
|
|
1163
|
+
* fewer. Follow next_cursor for more pages. Aliases: limit, count, max_results,
|
|
1164
|
+
* maxItems, max_items & per_page.
|
|
218
1165
|
*/
|
|
219
1166
|
pageSize?: number;
|
|
220
1167
|
|
|
@@ -234,39 +1181,369 @@ export interface ListRetrieveMembersParams {
|
|
|
234
1181
|
verifiedType?: string;
|
|
235
1182
|
}
|
|
236
1183
|
|
|
1184
|
+
export interface ListRetrieveSearchParams {
|
|
1185
|
+
/**
|
|
1186
|
+
* Keywords to find Lists by, such as a topic. Alias query.
|
|
1187
|
+
*/
|
|
1188
|
+
q: string;
|
|
1189
|
+
|
|
1190
|
+
/**
|
|
1191
|
+
* Pagination cursor for collection results. Also read as next_cursor, next_token,
|
|
1192
|
+
* pagination_token or continuation_token.
|
|
1193
|
+
*/
|
|
1194
|
+
cursor?: string;
|
|
1195
|
+
|
|
1196
|
+
/**
|
|
1197
|
+
* Fields to keep in each row, comma-separated. Use dots for nested fields, such as
|
|
1198
|
+
* author.username. A list keeps the field in each item. Case & underscores do not
|
|
1199
|
+
* matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
|
|
1200
|
+
* always stay. An unknown name answers 400 unknown_field with the valid names,
|
|
1201
|
+
* before any read. The price stays the same. SDK row types then hold only the
|
|
1202
|
+
* named fields.
|
|
1203
|
+
*/
|
|
1204
|
+
fields?: string;
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* Fields to drop from each row, comma-separated. It takes the same names as
|
|
1208
|
+
* fields. With fields, it drops from the kept fields.
|
|
1209
|
+
*/
|
|
1210
|
+
omit?: string;
|
|
1211
|
+
|
|
1212
|
+
/**
|
|
1213
|
+
* Items per page (1-100, default 20). Source, filters or credits can return fewer.
|
|
1214
|
+
* Follow next_cursor for more pages. Aliases: limit, count, max_results, maxItems,
|
|
1215
|
+
* max_items & per_page.
|
|
1216
|
+
*/
|
|
1217
|
+
pageSize?: number;
|
|
1218
|
+
}
|
|
1219
|
+
|
|
237
1220
|
export interface ListRetrieveTweetsParams {
|
|
238
1221
|
/**
|
|
239
|
-
*
|
|
1222
|
+
* Raw advanced search query appended as-is.
|
|
1223
|
+
*/
|
|
1224
|
+
advancedQuery?: string;
|
|
1225
|
+
|
|
1226
|
+
/**
|
|
1227
|
+
* Legacy cursor alias. Prefer cursor.
|
|
1228
|
+
*/
|
|
1229
|
+
after?: string;
|
|
1230
|
+
|
|
1231
|
+
/**
|
|
1232
|
+
* Words or quoted phrases where any one can match. Separate with spaces, commas,
|
|
1233
|
+
* or lines.
|
|
1234
|
+
*/
|
|
1235
|
+
anyWords?: string;
|
|
1236
|
+
|
|
1237
|
+
/**
|
|
1238
|
+
* Only return tweets from Blue-verified authors.
|
|
1239
|
+
*/
|
|
1240
|
+
blueVerifiedOnly?: boolean;
|
|
1241
|
+
|
|
1242
|
+
/**
|
|
1243
|
+
* Geo bounding box, e.g. -74.1 40.6 -73.9 40.8.
|
|
1244
|
+
*/
|
|
1245
|
+
boundingBox?: string;
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* Keep only Tweets with this card type, such as poll2choice_text_only. Tweet
|
|
1249
|
+
* search checks each Tweet's card.
|
|
1250
|
+
*/
|
|
1251
|
+
cardName?: string;
|
|
1252
|
+
|
|
1253
|
+
/**
|
|
1254
|
+
* Cashtags separated by spaces, commas, or lines.
|
|
1255
|
+
*/
|
|
1256
|
+
cashtags?: string;
|
|
1257
|
+
|
|
1258
|
+
/**
|
|
1259
|
+
* Conversation ID filter.
|
|
1260
|
+
*/
|
|
1261
|
+
conversationId?: string;
|
|
1262
|
+
|
|
1263
|
+
/**
|
|
1264
|
+
* Cursor from the previous response. Existing unprefixed cursors keep legacy
|
|
1265
|
+
* standard behavior. Pages can be empty before more rows; follow next_cursor. Also
|
|
1266
|
+
* read as next_cursor, next_token, pagination_token or continuation_token.
|
|
240
1267
|
*/
|
|
241
1268
|
cursor?: string;
|
|
242
1269
|
|
|
243
1270
|
/**
|
|
244
|
-
*
|
|
1271
|
+
* Match this literal phrase, including any hyphens.
|
|
1272
|
+
*/
|
|
1273
|
+
exactPhrase?: string;
|
|
1274
|
+
|
|
1275
|
+
/**
|
|
1276
|
+
* X search no longer supports excludeSource. A Tweet search with it answers 424 &
|
|
1277
|
+
* charges nothing.
|
|
1278
|
+
*/
|
|
1279
|
+
excludeSource?: string;
|
|
1280
|
+
|
|
1281
|
+
/**
|
|
1282
|
+
* Words or quoted phrases to exclude. Separate with spaces, commas, or lines.
|
|
1283
|
+
*/
|
|
1284
|
+
excludeWords?: string;
|
|
1285
|
+
|
|
1286
|
+
/**
|
|
1287
|
+
* Fields to keep in each row, comma-separated. Use dots for nested fields, such as
|
|
1288
|
+
* author.username. A list keeps the field in each item. Case & underscores do not
|
|
1289
|
+
* matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics
|
|
1290
|
+
* always stay. An unknown name answers 400 unknown_field with the valid names,
|
|
1291
|
+
* before any read. The price stays the same. SDK row types then hold only the
|
|
1292
|
+
* named fields.
|
|
1293
|
+
*/
|
|
1294
|
+
fields?: string;
|
|
1295
|
+
|
|
1296
|
+
/**
|
|
1297
|
+
* Filter by author username.
|
|
1298
|
+
*/
|
|
1299
|
+
fromUser?: string;
|
|
1300
|
+
|
|
1301
|
+
/**
|
|
1302
|
+
* X search no longer supports geocode. A Tweet search with it answers 424 &
|
|
1303
|
+
* charges nothing.
|
|
1304
|
+
*/
|
|
1305
|
+
geocode?: string;
|
|
1306
|
+
|
|
1307
|
+
/**
|
|
1308
|
+
* Hashtags separated by spaces, commas, or lines.
|
|
1309
|
+
*/
|
|
1310
|
+
hashtags?: string;
|
|
1311
|
+
|
|
1312
|
+
/**
|
|
1313
|
+
* Include reply tweets unless replies specifies another mode.
|
|
245
1314
|
*/
|
|
246
1315
|
includeReplies?: boolean;
|
|
247
1316
|
|
|
248
1317
|
/**
|
|
249
|
-
*
|
|
250
|
-
|
|
251
|
-
|
|
1318
|
+
* Only replies to this tweet ID.
|
|
1319
|
+
*/
|
|
1320
|
+
inReplyToTweetId?: string;
|
|
1321
|
+
|
|
1322
|
+
/**
|
|
1323
|
+
* Words the Tweets must match, in X search syntax.
|
|
1324
|
+
*/
|
|
1325
|
+
keywords?: string;
|
|
1326
|
+
|
|
1327
|
+
/**
|
|
1328
|
+
* Filter by language. Alias `lang` is accepted.
|
|
1329
|
+
*/
|
|
1330
|
+
language?: string;
|
|
1331
|
+
|
|
1332
|
+
/**
|
|
1333
|
+
* Maximum likes threshold. maxLikes & max_likes also work.
|
|
1334
|
+
*/
|
|
1335
|
+
maxFaves?: number;
|
|
1336
|
+
|
|
1337
|
+
/**
|
|
1338
|
+
* Return Tweets at or below this ID.
|
|
1339
|
+
*/
|
|
1340
|
+
maxId?: string;
|
|
1341
|
+
|
|
1342
|
+
/**
|
|
1343
|
+
* Maximum quotes threshold.
|
|
1344
|
+
*/
|
|
1345
|
+
maxQuotes?: number;
|
|
1346
|
+
|
|
1347
|
+
/**
|
|
1348
|
+
* Maximum replies threshold.
|
|
1349
|
+
*/
|
|
1350
|
+
maxReplies?: number;
|
|
1351
|
+
|
|
1352
|
+
/**
|
|
1353
|
+
* Maximum retweets threshold.
|
|
1354
|
+
*/
|
|
1355
|
+
maxRetweets?: number;
|
|
1356
|
+
|
|
1357
|
+
/**
|
|
1358
|
+
* Filter media. Aliases: has_video, has_media.
|
|
1359
|
+
*/
|
|
1360
|
+
mediaType?: 'images' | 'videos' | 'gifs' | 'media' | 'links' | 'none';
|
|
1361
|
+
|
|
1362
|
+
/**
|
|
1363
|
+
* Filter tweets mentioning a username.
|
|
1364
|
+
*/
|
|
1365
|
+
mentioning?: string;
|
|
1366
|
+
|
|
1367
|
+
/**
|
|
1368
|
+
* Minimum bookmark count threshold.
|
|
1369
|
+
*/
|
|
1370
|
+
minBookmarks?: number;
|
|
1371
|
+
|
|
1372
|
+
/**
|
|
1373
|
+
* Minimum likes. Aliases: minFaves, min_likes, min_faves.
|
|
1374
|
+
*/
|
|
1375
|
+
minLikes?: number;
|
|
1376
|
+
|
|
1377
|
+
/**
|
|
1378
|
+
* Minimum quote count threshold.
|
|
1379
|
+
*/
|
|
1380
|
+
minQuotes?: number;
|
|
1381
|
+
|
|
1382
|
+
/**
|
|
1383
|
+
* Minimum replies threshold.
|
|
1384
|
+
*/
|
|
1385
|
+
minReplies?: number;
|
|
1386
|
+
|
|
1387
|
+
/**
|
|
1388
|
+
* Minimum retweets threshold.
|
|
1389
|
+
*/
|
|
1390
|
+
minRetweets?: number;
|
|
1391
|
+
|
|
1392
|
+
/**
|
|
1393
|
+
* Minimum view count threshold.
|
|
1394
|
+
*/
|
|
1395
|
+
minViews?: number;
|
|
1396
|
+
|
|
1397
|
+
/**
|
|
1398
|
+
* Omit mode for resumable maximum coverage. Standard keeps legacy pagination.
|
|
1399
|
+
* Coverage returns diagnostics once and rejects cursors.
|
|
1400
|
+
*/
|
|
1401
|
+
mode?: 'standard' | 'coverage';
|
|
1402
|
+
|
|
1403
|
+
/**
|
|
1404
|
+
* Only return native reposts.
|
|
1405
|
+
*/
|
|
1406
|
+
nativeRetweets?: boolean;
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* Match a place name.
|
|
1410
|
+
*/
|
|
1411
|
+
near?: string;
|
|
1412
|
+
|
|
1413
|
+
/**
|
|
1414
|
+
* X no longer searches filter:news.
|
|
1415
|
+
*/
|
|
1416
|
+
news?: boolean;
|
|
1417
|
+
|
|
1418
|
+
/**
|
|
1419
|
+
* Fields to drop from each row, comma-separated. It takes the same names as
|
|
1420
|
+
* fields. With fields, it drops from the kept fields.
|
|
1421
|
+
*/
|
|
1422
|
+
omit?: string;
|
|
1423
|
+
|
|
1424
|
+
/**
|
|
1425
|
+
* Automatic pages accept 1-300 Tweets, standard pages 1-100. Default 20. Follow
|
|
1426
|
+
* next_cursor for more pages. Aliases: limit, count, max_results, maxItems,
|
|
1427
|
+
* max_items & per_page.
|
|
252
1428
|
*/
|
|
253
1429
|
pageSize?: number;
|
|
254
1430
|
|
|
255
1431
|
/**
|
|
256
|
-
*
|
|
1432
|
+
* Search within a place ID.
|
|
1433
|
+
*/
|
|
1434
|
+
place?: string;
|
|
1435
|
+
|
|
1436
|
+
/**
|
|
1437
|
+
* Search within a country code.
|
|
1438
|
+
*/
|
|
1439
|
+
placeCountry?: string;
|
|
1440
|
+
|
|
1441
|
+
/**
|
|
1442
|
+
* Geo point radius, e.g. -73.99 40.73 25mi.
|
|
1443
|
+
*/
|
|
1444
|
+
pointRadius?: string;
|
|
1445
|
+
|
|
1446
|
+
/**
|
|
1447
|
+
* Only when the caller requests a quote mode.
|
|
1448
|
+
*/
|
|
1449
|
+
quotes?: 'include' | 'exclude' | 'only';
|
|
1450
|
+
|
|
1451
|
+
/**
|
|
1452
|
+
* Only quotes of this tweet ID.
|
|
1453
|
+
*/
|
|
1454
|
+
quotesOfTweetId?: string;
|
|
1455
|
+
|
|
1456
|
+
/**
|
|
1457
|
+
* Reply mode. Exclude keeps own-thread replies.
|
|
1458
|
+
*/
|
|
1459
|
+
replies?: 'include' | 'exclude' | 'only';
|
|
1460
|
+
|
|
1461
|
+
/**
|
|
1462
|
+
* Only when the caller requests a repost mode.
|
|
1463
|
+
*/
|
|
1464
|
+
retweets?: 'include' | 'exclude' | 'only';
|
|
1465
|
+
|
|
1466
|
+
/**
|
|
1467
|
+
* Only retweets of this tweet ID.
|
|
1468
|
+
*/
|
|
1469
|
+
retweetsOfTweetId?: string;
|
|
1470
|
+
|
|
1471
|
+
/**
|
|
1472
|
+
* Enable the safe-search filter.
|
|
1473
|
+
*/
|
|
1474
|
+
safe?: boolean;
|
|
1475
|
+
|
|
1476
|
+
/**
|
|
1477
|
+
* Start date in YYYY-MM-DD format, as a UTC day.
|
|
1478
|
+
*/
|
|
1479
|
+
sinceDate?: string;
|
|
1480
|
+
|
|
1481
|
+
/**
|
|
1482
|
+
* Return Tweets whose IDs exceed this ID.
|
|
1483
|
+
*/
|
|
1484
|
+
sinceId?: string;
|
|
1485
|
+
|
|
1486
|
+
/**
|
|
1487
|
+
* Inclusive ISO bound for Tweet creation time, such as 2026-09-25T19:20:41Z. Unix
|
|
1488
|
+
* seconds also work. A time without an offset is UTC.
|
|
257
1489
|
*/
|
|
258
1490
|
sinceTime?: string;
|
|
259
1491
|
|
|
260
1492
|
/**
|
|
261
|
-
*
|
|
1493
|
+
* X search no longer supports source. A Tweet search with it answers 424 & charges
|
|
1494
|
+
* nothing.
|
|
1495
|
+
*/
|
|
1496
|
+
source?: string;
|
|
1497
|
+
|
|
1498
|
+
/**
|
|
1499
|
+
* Filter replies sent to a username.
|
|
1500
|
+
*/
|
|
1501
|
+
toUser?: string;
|
|
1502
|
+
|
|
1503
|
+
/**
|
|
1504
|
+
* End date in YYYY-MM-DD format, as a UTC day, inclusive, so its own posts count.
|
|
1505
|
+
*/
|
|
1506
|
+
untilDate?: string;
|
|
1507
|
+
|
|
1508
|
+
/**
|
|
1509
|
+
* Exclusive ISO bound for Tweet creation time. Unix seconds also work. A time
|
|
1510
|
+
* without an offset is UTC.
|
|
262
1511
|
*/
|
|
263
1512
|
untilTime?: string;
|
|
1513
|
+
|
|
1514
|
+
/**
|
|
1515
|
+
* URL substring or domain filter.
|
|
1516
|
+
*/
|
|
1517
|
+
url?: string;
|
|
1518
|
+
|
|
1519
|
+
/**
|
|
1520
|
+
* Only return tweets from verified authors.
|
|
1521
|
+
*/
|
|
1522
|
+
verifiedOnly?: boolean;
|
|
1523
|
+
|
|
1524
|
+
/**
|
|
1525
|
+
* X search no longer supports within. A Tweet search with it answers 424 & charges
|
|
1526
|
+
* nothing. Use near alone.
|
|
1527
|
+
*/
|
|
1528
|
+
within?: string;
|
|
1529
|
+
|
|
1530
|
+
/**
|
|
1531
|
+
* Keeps Tweets from a recent window, such as 90m or 7d. Use a whole number & s, m,
|
|
1532
|
+
* h or d.
|
|
1533
|
+
*/
|
|
1534
|
+
withinTime?: string;
|
|
264
1535
|
}
|
|
265
1536
|
|
|
266
1537
|
export declare namespace Lists {
|
|
267
1538
|
export {
|
|
1539
|
+
type ListRetrieveResponse as ListRetrieveResponse,
|
|
1540
|
+
type ListRetrieveFollowersResponse as ListRetrieveFollowersResponse,
|
|
1541
|
+
type ListRetrieveMembersResponse as ListRetrieveMembersResponse,
|
|
1542
|
+
type ListRetrieveSearchResponse as ListRetrieveSearchResponse,
|
|
1543
|
+
type ListRetrieveParams as ListRetrieveParams,
|
|
268
1544
|
type ListRetrieveFollowersParams as ListRetrieveFollowersParams,
|
|
269
1545
|
type ListRetrieveMembersParams as ListRetrieveMembersParams,
|
|
1546
|
+
type ListRetrieveSearchParams as ListRetrieveSearchParams,
|
|
270
1547
|
type ListRetrieveTweetsParams as ListRetrieveTweetsParams,
|
|
271
1548
|
};
|
|
272
1549
|
}
|