x-twitter-scraper 0.3.2 → 0.4.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 +35 -0
- package/README.md +25 -5
- package/api-promise.d.mts +1 -0
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +1 -0
- package/api-promise.d.ts.map +1 -1
- package/api-promise.mjs +1 -0
- package/api-promise.mjs.map +1 -1
- package/client.d.mts +23 -17
- package/client.d.mts.map +1 -1
- package/client.d.ts +23 -17
- package/client.d.ts.map +1 -1
- package/client.js +42 -17
- package/client.js.map +1 -1
- package/client.mjs +42 -17
- 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.mjs.map +1 -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/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +1 -0
- package/error.d.mts.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.mjs +1 -0
- package/error.mjs.map +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.mjs.map +1 -1
- package/internal/detect-platform.mjs.map +1 -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.mjs.map +1 -1
- package/internal/request-options.d.mts +4 -0
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts +4 -0
- 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/shims.d.mts +6 -0
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +6 -0
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +4 -4
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +4 -4
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.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 +3 -2
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +3 -2
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -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.mjs.map +1 -1
- package/package.json +29 -16
- package/resource.d.mts +1 -0
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +1 -0
- package/resource.d.ts.map +1 -1
- package/resource.mjs +1 -0
- package/resource.mjs.map +1 -1
- package/resources/account.d.mts +59 -3
- package/resources/account.d.mts.map +1 -1
- package/resources/account.d.ts +59 -3
- package/resources/account.d.ts.map +1 -1
- package/resources/account.mjs.map +1 -1
- package/resources/compose.d.mts.map +1 -1
- package/resources/compose.d.ts.map +1 -1
- package/resources/compose.mjs.map +1 -1
- package/resources/credits.d.mts +88 -11
- package/resources/credits.d.mts.map +1 -1
- package/resources/credits.d.ts +88 -11
- package/resources/credits.d.ts.map +1 -1
- package/resources/credits.js +37 -4
- package/resources/credits.js.map +1 -1
- package/resources/credits.mjs +37 -4
- package/resources/credits.mjs.map +1 -1
- package/resources/drafts.d.mts +4 -1
- package/resources/drafts.d.mts.map +1 -1
- package/resources/drafts.d.ts +4 -1
- package/resources/drafts.d.ts.map +1 -1
- package/resources/drafts.mjs.map +1 -1
- package/resources/draws.d.mts +33 -8
- package/resources/draws.d.mts.map +1 -1
- package/resources/draws.d.ts +33 -8
- package/resources/draws.d.ts.map +1 -1
- package/resources/draws.js +12 -4
- package/resources/draws.js.map +1 -1
- package/resources/draws.mjs +12 -4
- package/resources/draws.mjs.map +1 -1
- package/resources/events.d.mts +46 -7
- package/resources/events.d.mts.map +1 -1
- package/resources/events.d.ts +46 -7
- package/resources/events.d.ts.map +1 -1
- package/resources/events.mjs.map +1 -1
- package/resources/extractions.d.mts +287 -17
- package/resources/extractions.d.mts.map +1 -1
- package/resources/extractions.d.ts +287 -17
- package/resources/extractions.d.ts.map +1 -1
- package/resources/extractions.js +3 -2
- package/resources/extractions.js.map +1 -1
- package/resources/extractions.mjs +3 -2
- package/resources/extractions.mjs.map +1 -1
- package/resources/guest-wallets.d.mts +245 -0
- package/resources/guest-wallets.d.mts.map +1 -0
- package/resources/guest-wallets.d.ts +245 -0
- package/resources/guest-wallets.d.ts.map +1 -0
- package/resources/guest-wallets.js +79 -0
- package/resources/guest-wallets.js.map +1 -0
- package/resources/guest-wallets.mjs +75 -0
- package/resources/guest-wallets.mjs.map +1 -0
- package/resources/index.d.mts +5 -5
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -5
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +4 -4
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -2
- package/resources/index.mjs.map +1 -1
- package/resources/monitors/index.d.mts +3 -0
- package/resources/monitors/index.d.mts.map +1 -0
- package/resources/monitors/index.d.ts +3 -0
- package/resources/monitors/index.d.ts.map +1 -0
- package/resources/monitors/index.js +9 -0
- package/resources/monitors/index.js.map +1 -0
- package/resources/monitors/index.mjs +4 -0
- package/resources/monitors/index.mjs.map +1 -0
- package/resources/monitors/keywords.d.mts +164 -0
- package/resources/monitors/keywords.d.mts.map +1 -0
- package/resources/monitors/keywords.d.ts +164 -0
- package/resources/monitors/keywords.d.ts.map +1 -0
- package/resources/monitors/keywords.js +80 -0
- package/resources/monitors/keywords.js.map +1 -0
- package/resources/monitors/keywords.mjs +76 -0
- package/resources/monitors/keywords.mjs.map +1 -0
- package/resources/monitors/monitors.d.mts +127 -0
- package/resources/monitors/monitors.d.mts.map +1 -0
- package/resources/monitors/monitors.d.ts +127 -0
- package/resources/monitors/monitors.d.ts.map +1 -0
- package/resources/monitors/monitors.js +84 -0
- package/resources/monitors/monitors.js.map +1 -0
- package/resources/monitors/monitors.mjs +79 -0
- package/resources/monitors/monitors.mjs.map +1 -0
- package/resources/monitors.d.mts +1 -111
- package/resources/monitors.d.mts.map +1 -1
- package/resources/monitors.d.ts +1 -111
- package/resources/monitors.d.ts.map +1 -1
- package/resources/monitors.js +2 -70
- package/resources/monitors.js.map +1 -1
- package/resources/monitors.mjs +1 -68
- package/resources/monitors.mjs.map +1 -1
- package/resources/radar.d.mts +3 -3
- package/resources/radar.d.mts.map +1 -1
- package/resources/radar.d.ts +3 -3
- package/resources/radar.d.ts.map +1 -1
- package/resources/radar.mjs.map +1 -1
- package/resources/shared.d.mts +251 -19
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +251 -19
- package/resources/shared.d.ts.map +1 -1
- package/resources/styles.d.mts.map +1 -1
- package/resources/styles.d.ts.map +1 -1
- package/resources/styles.mjs.map +1 -1
- package/resources/subscribe.d.mts +20 -6
- package/resources/subscribe.d.mts.map +1 -1
- package/resources/subscribe.d.ts +20 -6
- package/resources/subscribe.d.ts.map +1 -1
- package/resources/subscribe.js +12 -4
- package/resources/subscribe.js.map +1 -1
- package/resources/subscribe.mjs +12 -4
- package/resources/subscribe.mjs.map +1 -1
- package/resources/support/index.d.mts.map +1 -1
- package/resources/support/index.d.ts.map +1 -1
- package/resources/support/index.mjs.map +1 -1
- package/resources/support/support.d.mts.map +1 -1
- package/resources/support/support.d.ts.map +1 -1
- package/resources/support/support.mjs.map +1 -1
- package/resources/support/tickets.d.mts +9 -7
- package/resources/support/tickets.d.mts.map +1 -1
- package/resources/support/tickets.d.ts +9 -7
- package/resources/support/tickets.d.ts.map +1 -1
- package/resources/support/tickets.js +9 -7
- package/resources/support/tickets.js.map +1 -1
- package/resources/support/tickets.mjs +9 -7
- 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.mjs.map +1 -1
- package/resources/trends.d.mts +2 -2
- package/resources/trends.d.mts.map +1 -1
- package/resources/trends.d.ts +2 -2
- package/resources/trends.d.ts.map +1 -1
- package/resources/trends.mjs.map +1 -1
- package/resources/webhooks.d.mts +34 -1
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +34 -1
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +11 -0
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +11 -0
- package/resources/webhooks.mjs.map +1 -1
- package/resources/x/account-connection-challenges.d.mts +41 -0
- package/resources/x/account-connection-challenges.d.mts.map +1 -0
- package/resources/x/account-connection-challenges.d.ts +41 -0
- package/resources/x/account-connection-challenges.d.ts.map +1 -0
- package/resources/x/account-connection-challenges.js +27 -0
- package/resources/x/account-connection-challenges.js.map +1 -0
- package/resources/x/account-connection-challenges.mjs +23 -0
- package/resources/x/account-connection-challenges.mjs.map +1 -0
- package/resources/x/accounts.d.mts +13 -41
- package/resources/x/accounts.d.mts.map +1 -1
- package/resources/x/accounts.d.ts +13 -41
- package/resources/x/accounts.d.ts.map +1 -1
- package/resources/x/accounts.js +3 -3
- package/resources/x/accounts.mjs +3 -3
- package/resources/x/accounts.mjs.map +1 -1
- package/resources/x/bookmarks.d.mts +6 -0
- package/resources/x/bookmarks.d.mts.map +1 -1
- package/resources/x/bookmarks.d.ts +6 -0
- package/resources/x/bookmarks.d.ts.map +1 -1
- package/resources/x/bookmarks.mjs.map +1 -1
- package/resources/x/communities/communities.d.mts +50 -14
- package/resources/x/communities/communities.d.mts.map +1 -1
- package/resources/x/communities/communities.d.ts +50 -14
- package/resources/x/communities/communities.d.ts.map +1 -1
- package/resources/x/communities/communities.js +5 -2
- package/resources/x/communities/communities.js.map +1 -1
- package/resources/x/communities/communities.mjs +6 -3
- package/resources/x/communities/communities.mjs.map +1 -1
- package/resources/x/communities/index.d.mts +2 -2
- package/resources/x/communities/index.d.mts.map +1 -1
- package/resources/x/communities/index.d.ts +2 -2
- package/resources/x/communities/index.d.ts.map +1 -1
- 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 +16 -12
- package/resources/x/communities/join.d.mts.map +1 -1
- package/resources/x/communities/join.d.ts +16 -12
- package/resources/x/communities/join.d.ts.map +1 -1
- package/resources/x/communities/join.js +7 -8
- package/resources/x/communities/join.js.map +1 -1
- package/resources/x/communities/join.mjs +7 -8
- package/resources/x/communities/join.mjs.map +1 -1
- package/resources/x/communities/tweets.d.mts +29 -6
- package/resources/x/communities/tweets.d.mts.map +1 -1
- package/resources/x/communities/tweets.d.ts +29 -6
- package/resources/x/communities/tweets.d.ts.map +1 -1
- package/resources/x/communities/tweets.js +5 -2
- package/resources/x/communities/tweets.js.map +1 -1
- package/resources/x/communities/tweets.mjs +5 -2
- 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.mjs.map +1 -1
- package/resources/x/dm.d.mts +17 -5
- package/resources/x/dm.d.mts.map +1 -1
- package/resources/x/dm.d.ts +17 -5
- package/resources/x/dm.d.ts.map +1 -1
- package/resources/x/dm.js +2 -2
- package/resources/x/dm.js.map +1 -1
- package/resources/x/dm.mjs +2 -2
- package/resources/x/dm.mjs.map +1 -1
- package/resources/x/followers.d.mts +2 -2
- package/resources/x/followers.d.mts.map +1 -1
- package/resources/x/followers.d.ts +2 -2
- package/resources/x/followers.d.ts.map +1 -1
- package/resources/x/followers.mjs.map +1 -1
- package/resources/x/index.d.mts +4 -2
- package/resources/x/index.d.mts.map +1 -1
- package/resources/x/index.d.ts +4 -2
- package/resources/x/index.d.ts.map +1 -1
- package/resources/x/index.js +5 -1
- package/resources/x/index.js.map +1 -1
- package/resources/x/index.mjs +2 -0
- package/resources/x/index.mjs.map +1 -1
- package/resources/x/lists.d.mts +19 -0
- package/resources/x/lists.d.mts.map +1 -1
- package/resources/x/lists.d.ts +19 -0
- package/resources/x/lists.d.ts.map +1 -1
- package/resources/x/lists.mjs.map +1 -1
- package/resources/x/media.d.mts +17 -8
- package/resources/x/media.d.mts.map +1 -1
- package/resources/x/media.d.ts +17 -8
- 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 +3 -4
- package/resources/x/media.mjs.map +1 -1
- package/resources/x/profile.d.mts +8 -9
- package/resources/x/profile.d.mts.map +1 -1
- package/resources/x/profile.d.ts +8 -9
- package/resources/x/profile.d.ts.map +1 -1
- package/resources/x/profile.js +4 -4
- package/resources/x/profile.js.map +1 -1
- package/resources/x/profile.mjs +5 -5
- package/resources/x/profile.mjs.map +1 -1
- package/resources/x/tweets/index.d.mts.map +1 -1
- package/resources/x/tweets/index.d.ts.map +1 -1
- package/resources/x/tweets/index.mjs.map +1 -1
- package/resources/x/tweets/like.d.mts.map +1 -1
- package/resources/x/tweets/like.d.ts.map +1 -1
- package/resources/x/tweets/like.mjs.map +1 -1
- package/resources/x/tweets/retweet.d.mts.map +1 -1
- package/resources/x/tweets/retweet.d.ts.map +1 -1
- package/resources/x/tweets/retweet.mjs.map +1 -1
- package/resources/x/tweets/tweets.d.mts +442 -29
- package/resources/x/tweets/tweets.d.mts.map +1 -1
- package/resources/x/tweets/tweets.d.ts +442 -29
- package/resources/x/tweets/tweets.d.ts.map +1 -1
- package/resources/x/tweets/tweets.js +1 -1
- package/resources/x/tweets/tweets.js.map +1 -1
- package/resources/x/tweets/tweets.mjs +1 -1
- 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.mjs.map +1 -1
- package/resources/x/users/follow.d.mts.map +1 -1
- package/resources/x/users/follow.d.ts.map +1 -1
- 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.map +1 -1
- package/resources/x/users/index.mjs.map +1 -1
- package/resources/x/users/users.d.mts +666 -9
- package/resources/x/users/users.d.mts.map +1 -1
- package/resources/x/users/users.d.ts +666 -9
- package/resources/x/users/users.d.ts.map +1 -1
- package/resources/x/users/users.js +26 -4
- package/resources/x/users/users.js.map +1 -1
- package/resources/x/users/users.mjs +26 -4
- 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.mjs.map +1 -1
- package/resources/x/write-actions.d.mts +51 -0
- package/resources/x/write-actions.d.mts.map +1 -0
- package/resources/x/write-actions.d.ts +51 -0
- package/resources/x/write-actions.d.ts.map +1 -0
- package/resources/x/write-actions.js +26 -0
- package/resources/x/write-actions.js.map +1 -0
- package/resources/x/write-actions.mjs +22 -0
- package/resources/x/write-actions.mjs.map +1 -0
- package/resources/x/x.d.mts +65 -12
- package/resources/x/x.d.mts.map +1 -1
- package/resources/x/x.d.ts +65 -12
- package/resources/x/x.d.ts.map +1 -1
- package/resources/x/x.js +10 -1
- package/resources/x/x.js.map +1 -1
- package/resources/x/x.mjs +10 -1
- 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.mjs.map +1 -1
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/client.ts +86 -40
- package/src/internal/request-options.ts +2 -0
- package/src/internal/utils/log.ts +2 -1
- package/src/resources/account.ts +72 -5
- package/src/resources/credits.ts +117 -10
- package/src/resources/drafts.ts +4 -1
- package/src/resources/draws.ts +33 -12
- package/src/resources/events.ts +52 -7
- package/src/resources/extractions.ts +364 -12
- package/src/resources/guest-wallets.ts +337 -0
- package/src/resources/index.ts +15 -10
- package/src/resources/monitors/index.ts +21 -0
- package/src/resources/monitors/keywords.ts +221 -0
- package/src/resources/monitors/monitors.ts +195 -0
- package/src/resources/monitors.ts +1 -153
- package/src/resources/radar.ts +3 -3
- package/src/resources/shared.ts +463 -21
- package/src/resources/subscribe.ts +29 -8
- package/src/resources/support/tickets.ts +9 -7
- package/src/resources/trends.ts +2 -2
- package/src/resources/webhooks.ts +43 -0
- package/src/resources/x/account-connection-challenges.ts +61 -0
- package/src/resources/x/accounts.ts +15 -46
- package/src/resources/x/bookmarks.ts +6 -0
- package/src/resources/x/communities/communities.ts +68 -16
- package/src/resources/x/communities/index.ts +7 -2
- package/src/resources/x/communities/join.ts +23 -16
- package/src/resources/x/communities/tweets.ts +32 -6
- package/src/resources/x/dm.ts +20 -7
- package/src/resources/x/followers.ts +2 -2
- package/src/resources/x/index.ts +10 -1
- package/src/resources/x/lists.ts +22 -0
- package/src/resources/x/media.ts +25 -11
- package/src/resources/x/profile.ts +11 -12
- package/src/resources/x/tweets/tweets.ts +540 -32
- package/src/resources/x/users/index.ts +4 -0
- package/src/resources/x/users/users.ts +834 -8
- package/src/resources/x/write-actions.ts +79 -0
- package/src/resources/x/x.ts +107 -10
- package/src/version.ts +1 -1
- package/uploads.d.mts +1 -0
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +1 -0
- package/uploads.d.ts.map +1 -1
- package/uploads.mjs +1 -0
- package/uploads.mjs.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/api-keys.d.mts +0 -68
- package/resources/api-keys.d.mts.map +0 -1
- package/resources/api-keys.d.ts +0 -68
- package/resources/api-keys.d.ts.map +0 -1
- package/resources/api-keys.js +0 -48
- package/resources/api-keys.js.map +0 -1
- package/resources/api-keys.mjs +0 -44
- package/resources/api-keys.mjs.map +0 -1
- package/resources/bot/bot.d.mts +0 -10
- package/resources/bot/bot.d.mts.map +0 -1
- package/resources/bot/bot.d.ts +0 -10
- package/resources/bot/bot.d.ts.map +0 -1
- package/resources/bot/bot.js +0 -17
- package/resources/bot/bot.js.map +0 -1
- package/resources/bot/bot.mjs +0 -12
- package/resources/bot/bot.mjs.map +0 -1
- package/resources/bot/index.d.mts +0 -3
- package/resources/bot/index.d.mts.map +0 -1
- package/resources/bot/index.d.ts +0 -3
- package/resources/bot/index.d.ts.map +0 -1
- package/resources/bot/index.js +0 -9
- package/resources/bot/index.js.map +0 -1
- package/resources/bot/index.mjs +0 -4
- package/resources/bot/index.mjs.map +0 -1
- package/resources/bot/platform-links.d.mts +0 -4
- package/resources/bot/platform-links.d.mts.map +0 -1
- package/resources/bot/platform-links.d.ts +0 -4
- package/resources/bot/platform-links.d.ts.map +0 -1
- package/resources/bot/platform-links.js +0 -9
- package/resources/bot/platform-links.js.map +0 -1
- package/resources/bot/platform-links.mjs +0 -5
- package/resources/bot/platform-links.mjs.map +0 -1
- package/resources/bot.d.mts +0 -2
- package/resources/bot.d.mts.map +0 -1
- package/resources/bot.d.ts +0 -2
- package/resources/bot.d.ts.map +0 -1
- package/resources/bot.js +0 -6
- package/resources/bot.js.map +0 -1
- package/resources/bot.mjs +0 -3
- package/resources/bot.mjs.map +0 -1
- package/src/resources/api-keys.ts +0 -100
- package/src/resources/bot/bot.ts +0 -15
- package/src/resources/bot/index.ts +0 -4
- package/src/resources/bot/platform-links.ts +0 -5
- package/src/resources/bot.ts +0 -3
|
@@ -2,7 +2,7 @@ import { APIResource } from "../core/resource.mjs";
|
|
|
2
2
|
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
3
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
4
|
/**
|
|
5
|
-
* Bulk data extraction (
|
|
5
|
+
* Bulk data extraction (23 tool types)
|
|
6
6
|
*/
|
|
7
7
|
export declare class Extractions extends APIResource {
|
|
8
8
|
/**
|
|
@@ -42,13 +42,14 @@ export declare class Extractions extends APIResource {
|
|
|
42
42
|
* ```ts
|
|
43
43
|
* const response = await client.extractions.exportResults(
|
|
44
44
|
* 'id',
|
|
45
|
+
* { format: 'csv' },
|
|
45
46
|
* );
|
|
46
47
|
*
|
|
47
48
|
* const content = await response.blob();
|
|
48
49
|
* console.log(content);
|
|
49
50
|
* ```
|
|
50
51
|
*/
|
|
51
|
-
exportResults(id: string, query
|
|
52
|
+
exportResults(id: string, query: ExtractionExportResultsParams, options?: RequestOptions): APIPromise<Response>;
|
|
52
53
|
/**
|
|
53
54
|
* Run extraction
|
|
54
55
|
*
|
|
@@ -72,14 +73,14 @@ export interface ExtractionJob {
|
|
|
72
73
|
/**
|
|
73
74
|
* Identifier for the extraction tool used to run a job.
|
|
74
75
|
*/
|
|
75
|
-
toolType: 'article_extractor' | 'community_extractor' | 'community_moderator_explorer' | 'community_post_extractor' | 'community_search' | 'follower_explorer' | 'following_explorer' | 'list_follower_explorer' | 'list_member_extractor' | 'list_post_extractor' | 'mention_extractor' | 'people_search' | 'post_extractor' | 'quote_extractor' | 'reply_extractor' | 'repost_extractor' | 'space_explorer' | 'thread_extractor' | 'tweet_search_extractor' | 'verified_follower_explorer';
|
|
76
|
+
toolType: 'article_extractor' | 'community_extractor' | 'community_moderator_explorer' | 'community_post_extractor' | 'community_search' | 'favoriters' | 'follower_explorer' | 'following_explorer' | 'list_follower_explorer' | 'list_member_extractor' | 'list_post_extractor' | 'mention_extractor' | 'people_search' | 'post_extractor' | 'quote_extractor' | 'reply_extractor' | 'repost_extractor' | 'space_explorer' | 'thread_extractor' | 'tweet_search_extractor' | 'user_likes' | 'user_media' | 'verified_follower_explorer';
|
|
76
77
|
totalResults: number;
|
|
77
78
|
completedAt?: string;
|
|
78
79
|
}
|
|
79
80
|
export interface ExtractionRetrieveResponse {
|
|
80
81
|
hasMore: boolean;
|
|
81
82
|
/**
|
|
82
|
-
* Extraction job metadata
|
|
83
|
+
* Extraction job metadata - shape varies by tool type (JSON)
|
|
83
84
|
*/
|
|
84
85
|
job: {
|
|
85
86
|
[key: string]: unknown;
|
|
@@ -99,7 +100,7 @@ export interface ExtractionEstimateCostResponse {
|
|
|
99
100
|
creditsAvailable: string;
|
|
100
101
|
creditsRequired: string;
|
|
101
102
|
estimatedResults: number;
|
|
102
|
-
source:
|
|
103
|
+
source: 'followers' | 'following' | 'paginationCap' | 'posts' | 'quoteCount' | 'replyCount' | 'resultsLimit' | 'retweetCount' | 'unknown';
|
|
103
104
|
resolvedXUserId?: string;
|
|
104
105
|
}
|
|
105
106
|
export interface ExtractionRunResponse {
|
|
@@ -108,13 +109,13 @@ export interface ExtractionRunResponse {
|
|
|
108
109
|
/**
|
|
109
110
|
* Identifier for the extraction tool used to run a job.
|
|
110
111
|
*/
|
|
111
|
-
toolType: 'article_extractor' | 'community_extractor' | 'community_moderator_explorer' | 'community_post_extractor' | 'community_search' | 'follower_explorer' | 'following_explorer' | 'list_follower_explorer' | 'list_member_extractor' | 'list_post_extractor' | 'mention_extractor' | 'people_search' | 'post_extractor' | 'quote_extractor' | 'reply_extractor' | 'repost_extractor' | 'space_explorer' | 'thread_extractor' | 'tweet_search_extractor' | 'verified_follower_explorer';
|
|
112
|
+
toolType: 'article_extractor' | 'community_extractor' | 'community_moderator_explorer' | 'community_post_extractor' | 'community_search' | 'favoriters' | 'follower_explorer' | 'following_explorer' | 'list_follower_explorer' | 'list_member_extractor' | 'list_post_extractor' | 'mention_extractor' | 'people_search' | 'post_extractor' | 'quote_extractor' | 'reply_extractor' | 'repost_extractor' | 'space_explorer' | 'thread_extractor' | 'tweet_search_extractor' | 'user_likes' | 'user_media' | 'verified_follower_explorer';
|
|
112
113
|
}
|
|
113
114
|
export interface ExtractionRetrieveParams {
|
|
114
115
|
/**
|
|
115
|
-
* Cursor for keyset pagination
|
|
116
|
+
* Cursor for keyset pagination from prior response next_cursor
|
|
116
117
|
*/
|
|
117
|
-
|
|
118
|
+
cursor?: string;
|
|
118
119
|
/**
|
|
119
120
|
* Maximum number of results to return (1-1000, default 100)
|
|
120
121
|
*/
|
|
@@ -122,11 +123,14 @@ export interface ExtractionRetrieveParams {
|
|
|
122
123
|
}
|
|
123
124
|
export interface ExtractionListParams {
|
|
124
125
|
/**
|
|
125
|
-
* Cursor for keyset pagination
|
|
126
|
+
* Cursor for keyset pagination from prior response next_cursor
|
|
126
127
|
*/
|
|
127
|
-
|
|
128
|
+
cursor?: string;
|
|
128
129
|
/**
|
|
129
|
-
* Maximum number of items to return (1-100, default 50)
|
|
130
|
+
* Maximum number of items to return (1-100, default 50). For paid per-result
|
|
131
|
+
* endpoints, the returned count may be lower when available usage balance cannot cover
|
|
132
|
+
* the requested page. If zero paid results are affordable, the endpoint returns
|
|
133
|
+
* 402 insufficient_credits.
|
|
130
134
|
*/
|
|
131
135
|
limit?: number;
|
|
132
136
|
/**
|
|
@@ -136,61 +140,327 @@ export interface ExtractionListParams {
|
|
|
136
140
|
/**
|
|
137
141
|
* Filter by extraction tool type
|
|
138
142
|
*/
|
|
139
|
-
toolType?: 'article_extractor' | 'community_extractor' | 'community_moderator_explorer' | 'community_post_extractor' | 'community_search' | 'follower_explorer' | 'following_explorer' | 'list_follower_explorer' | 'list_member_extractor' | 'list_post_extractor' | 'mention_extractor' | 'people_search' | 'post_extractor' | 'quote_extractor' | 'reply_extractor' | 'repost_extractor' | 'space_explorer' | 'thread_extractor' | 'tweet_search_extractor' | 'verified_follower_explorer';
|
|
143
|
+
toolType?: 'article_extractor' | 'community_extractor' | 'community_moderator_explorer' | 'community_post_extractor' | 'community_search' | 'favoriters' | 'follower_explorer' | 'following_explorer' | 'list_follower_explorer' | 'list_member_extractor' | 'list_post_extractor' | 'mention_extractor' | 'people_search' | 'post_extractor' | 'quote_extractor' | 'reply_extractor' | 'repost_extractor' | 'space_explorer' | 'thread_extractor' | 'tweet_search_extractor' | 'user_likes' | 'user_media' | 'verified_follower_explorer';
|
|
140
144
|
}
|
|
141
145
|
export interface ExtractionEstimateCostParams {
|
|
142
146
|
/**
|
|
143
147
|
* Identifier for the extraction tool used to run a job.
|
|
144
148
|
*/
|
|
145
|
-
toolType: 'article_extractor' | 'community_extractor' | 'community_moderator_explorer' | 'community_post_extractor' | 'community_search' | 'follower_explorer' | 'following_explorer' | 'list_follower_explorer' | 'list_member_extractor' | 'list_post_extractor' | 'mention_extractor' | 'people_search' | 'post_extractor' | 'quote_extractor' | 'reply_extractor' | 'repost_extractor' | 'space_explorer' | 'thread_extractor' | 'tweet_search_extractor' | 'verified_follower_explorer';
|
|
149
|
+
toolType: 'article_extractor' | 'community_extractor' | 'community_moderator_explorer' | 'community_post_extractor' | 'community_search' | 'favoriters' | 'follower_explorer' | 'following_explorer' | 'list_follower_explorer' | 'list_member_extractor' | 'list_post_extractor' | 'mention_extractor' | 'people_search' | 'post_extractor' | 'quote_extractor' | 'reply_extractor' | 'repost_extractor' | 'space_explorer' | 'thread_extractor' | 'tweet_search_extractor' | 'user_likes' | 'user_media' | 'verified_follower_explorer';
|
|
146
150
|
/**
|
|
147
151
|
* Raw advanced query string appended to the estimate (tweet_search_extractor)
|
|
148
152
|
*/
|
|
149
153
|
advancedQuery?: string;
|
|
154
|
+
/**
|
|
155
|
+
* Alternative words or quoted phrases for estimated results. Separate with spaces,
|
|
156
|
+
* commas, or lines.
|
|
157
|
+
*/
|
|
158
|
+
anyWords?: string;
|
|
159
|
+
/**
|
|
160
|
+
* Geo bounding box used for estimation, e.g. -74.1 40.6 -73.9 40.8
|
|
161
|
+
* (tweet_search_extractor)
|
|
162
|
+
*/
|
|
163
|
+
boundingBox?: string;
|
|
164
|
+
/**
|
|
165
|
+
* Cashtags applied to the estimate, separated by spaces, commas, or lines.
|
|
166
|
+
*/
|
|
167
|
+
cashtags?: string;
|
|
168
|
+
/**
|
|
169
|
+
* Conversation ID filter used for estimation (tweet_search_extractor)
|
|
170
|
+
*/
|
|
171
|
+
conversationId?: string;
|
|
150
172
|
/**
|
|
151
173
|
* Exact phrase filter for search estimation
|
|
152
174
|
*/
|
|
153
175
|
exactPhrase?: string;
|
|
154
176
|
/**
|
|
155
|
-
* Words excluded from estimated
|
|
177
|
+
* Words or quoted phrases excluded from estimated results. Separate with spaces,
|
|
178
|
+
* commas, or lines.
|
|
156
179
|
*/
|
|
157
180
|
excludeWords?: string;
|
|
181
|
+
/**
|
|
182
|
+
* Estimate only tweets from this author username (tweet_search_extractor)
|
|
183
|
+
*/
|
|
184
|
+
fromUser?: string;
|
|
185
|
+
/**
|
|
186
|
+
* Hashtags applied to the estimate, separated by spaces, commas, or lines.
|
|
187
|
+
*/
|
|
188
|
+
hashtags?: string;
|
|
189
|
+
/**
|
|
190
|
+
* Estimate only replies to this tweet ID (tweet_search_extractor)
|
|
191
|
+
*/
|
|
192
|
+
inReplyToTweetId?: string;
|
|
193
|
+
/**
|
|
194
|
+
* Language code used for estimate filtering (tweet_search_extractor)
|
|
195
|
+
*/
|
|
196
|
+
language?: string;
|
|
197
|
+
/**
|
|
198
|
+
* Estimate search results within this list ID (tweet_search_extractor)
|
|
199
|
+
*/
|
|
200
|
+
listId?: string;
|
|
201
|
+
/**
|
|
202
|
+
* Media type used for estimate filtering (tweet_search_extractor)
|
|
203
|
+
*/
|
|
204
|
+
mediaType?: 'images' | 'videos' | 'gifs' | 'media' | 'links' | 'none';
|
|
205
|
+
/**
|
|
206
|
+
* Estimate tweets mentioning this username (tweet_search_extractor)
|
|
207
|
+
*/
|
|
208
|
+
mentioning?: string;
|
|
209
|
+
/**
|
|
210
|
+
* Minimum likes threshold for estimated results (tweet_search_extractor)
|
|
211
|
+
*/
|
|
212
|
+
minFaves?: number;
|
|
213
|
+
/**
|
|
214
|
+
* Minimum quote count threshold for estimated results (tweet_search_extractor)
|
|
215
|
+
*/
|
|
216
|
+
minQuotes?: number;
|
|
217
|
+
/**
|
|
218
|
+
* Minimum replies threshold for estimated results (tweet_search_extractor)
|
|
219
|
+
*/
|
|
220
|
+
minReplies?: number;
|
|
221
|
+
/**
|
|
222
|
+
* Minimum retweets threshold for estimated results (tweet_search_extractor)
|
|
223
|
+
*/
|
|
224
|
+
minRetweets?: number;
|
|
225
|
+
/**
|
|
226
|
+
* Estimate search results within this place ID (tweet_search_extractor)
|
|
227
|
+
*/
|
|
228
|
+
place?: string;
|
|
229
|
+
/**
|
|
230
|
+
* Estimate search results within this country code (tweet_search_extractor)
|
|
231
|
+
*/
|
|
232
|
+
placeCountry?: string;
|
|
233
|
+
/**
|
|
234
|
+
* Geo point radius used for estimation, e.g. -73.99 40.73 25mi
|
|
235
|
+
* (tweet_search_extractor)
|
|
236
|
+
*/
|
|
237
|
+
pointRadius?: string;
|
|
238
|
+
/**
|
|
239
|
+
* Quote mode used for estimation (tweet_search_extractor)
|
|
240
|
+
*/
|
|
241
|
+
quotes?: 'include' | 'exclude' | 'only';
|
|
242
|
+
/**
|
|
243
|
+
* Estimate only quotes of this tweet ID (tweet_search_extractor)
|
|
244
|
+
*/
|
|
245
|
+
quotesOfTweetId?: string;
|
|
246
|
+
/**
|
|
247
|
+
* Reply mode used for estimation (tweet_search_extractor)
|
|
248
|
+
*/
|
|
249
|
+
replies?: 'include' | 'exclude' | 'only';
|
|
250
|
+
/**
|
|
251
|
+
* Maximum number of results to estimate. When set, the estimate caps projected
|
|
252
|
+
* results to this value.
|
|
253
|
+
*/
|
|
254
|
+
resultsLimit?: number;
|
|
255
|
+
/**
|
|
256
|
+
* Retweet mode used for estimation (tweet_search_extractor)
|
|
257
|
+
*/
|
|
258
|
+
retweets?: 'include' | 'exclude' | 'only';
|
|
259
|
+
/**
|
|
260
|
+
* Estimate only retweets of this tweet ID (tweet_search_extractor)
|
|
261
|
+
*/
|
|
262
|
+
retweetsOfTweetId?: string;
|
|
263
|
+
/**
|
|
264
|
+
* Required for tweet_search_extractor & community_search.
|
|
265
|
+
*/
|
|
158
266
|
searchQuery?: string;
|
|
267
|
+
/**
|
|
268
|
+
* Estimate start date in YYYY-MM-DD format (tweet_search_extractor)
|
|
269
|
+
*/
|
|
270
|
+
sinceDate?: string;
|
|
271
|
+
/**
|
|
272
|
+
* Required for community_post_extractor & community_search.
|
|
273
|
+
*/
|
|
159
274
|
targetCommunityId?: string;
|
|
275
|
+
/**
|
|
276
|
+
* Required for list_follower_explorer, list_member_extractor &
|
|
277
|
+
* list_post_extractor.
|
|
278
|
+
*/
|
|
160
279
|
targetListId?: string;
|
|
280
|
+
/**
|
|
281
|
+
* Required for space_explorer.
|
|
282
|
+
*/
|
|
161
283
|
targetSpaceId?: string;
|
|
162
284
|
targetTweetId?: string;
|
|
163
285
|
targetUsername?: string;
|
|
286
|
+
/**
|
|
287
|
+
* Estimate replies sent to this username (tweet_search_extractor)
|
|
288
|
+
*/
|
|
289
|
+
toUser?: string;
|
|
290
|
+
/**
|
|
291
|
+
* Estimate end date in YYYY-MM-DD format (tweet_search_extractor)
|
|
292
|
+
*/
|
|
293
|
+
untilDate?: string;
|
|
294
|
+
/**
|
|
295
|
+
* URL substring or domain filter used for estimation (tweet_search_extractor)
|
|
296
|
+
*/
|
|
297
|
+
url?: string;
|
|
298
|
+
/**
|
|
299
|
+
* Estimate only verified authors (tweet_search_extractor)
|
|
300
|
+
*/
|
|
301
|
+
verifiedOnly?: boolean;
|
|
164
302
|
}
|
|
165
303
|
export interface ExtractionExportResultsParams {
|
|
166
304
|
/**
|
|
167
305
|
* Export file format
|
|
168
306
|
*/
|
|
169
|
-
format
|
|
307
|
+
format: 'csv' | 'json' | 'md' | 'md-document' | 'pdf' | 'txt' | 'xlsx';
|
|
170
308
|
}
|
|
171
309
|
export interface ExtractionRunParams {
|
|
172
310
|
/**
|
|
173
311
|
* Identifier for the extraction tool used to run a job.
|
|
174
312
|
*/
|
|
175
|
-
toolType: 'article_extractor' | 'community_extractor' | 'community_moderator_explorer' | 'community_post_extractor' | 'community_search' | 'follower_explorer' | 'following_explorer' | 'list_follower_explorer' | 'list_member_extractor' | 'list_post_extractor' | 'mention_extractor' | 'people_search' | 'post_extractor' | 'quote_extractor' | 'reply_extractor' | 'repost_extractor' | 'space_explorer' | 'thread_extractor' | 'tweet_search_extractor' | 'verified_follower_explorer';
|
|
313
|
+
toolType: 'article_extractor' | 'community_extractor' | 'community_moderator_explorer' | 'community_post_extractor' | 'community_search' | 'favoriters' | 'follower_explorer' | 'following_explorer' | 'list_follower_explorer' | 'list_member_extractor' | 'list_post_extractor' | 'mention_extractor' | 'people_search' | 'post_extractor' | 'quote_extractor' | 'reply_extractor' | 'repost_extractor' | 'space_explorer' | 'thread_extractor' | 'tweet_search_extractor' | 'user_likes' | 'user_media' | 'verified_follower_explorer';
|
|
176
314
|
/**
|
|
177
315
|
* Raw advanced search query appended as-is (tweet_search_extractor)
|
|
178
316
|
*/
|
|
179
317
|
advancedQuery?: string;
|
|
318
|
+
/**
|
|
319
|
+
* Words or quoted phrases where any one can match. Separate with spaces, commas,
|
|
320
|
+
* or lines. (tweet_search_extractor)
|
|
321
|
+
*/
|
|
322
|
+
anyWords?: string;
|
|
323
|
+
/**
|
|
324
|
+
* Geo bounding box, e.g. -74.1 40.6 -73.9 40.8 (tweet_search_extractor)
|
|
325
|
+
*/
|
|
326
|
+
boundingBox?: string;
|
|
327
|
+
/**
|
|
328
|
+
* Cashtags separated by spaces, commas, or lines. (tweet_search_extractor)
|
|
329
|
+
*/
|
|
330
|
+
cashtags?: string;
|
|
331
|
+
/**
|
|
332
|
+
* Conversation ID filter (tweet_search_extractor)
|
|
333
|
+
*/
|
|
334
|
+
conversationId?: string;
|
|
180
335
|
/**
|
|
181
336
|
* Exact phrase to match (tweet_search_extractor)
|
|
182
337
|
*/
|
|
183
338
|
exactPhrase?: string;
|
|
184
339
|
/**
|
|
185
|
-
* Words to exclude
|
|
340
|
+
* Words or quoted phrases to exclude. Separate with spaces, commas, or lines.
|
|
341
|
+
* (tweet_search_extractor)
|
|
186
342
|
*/
|
|
187
343
|
excludeWords?: string;
|
|
344
|
+
/**
|
|
345
|
+
* Filter by author username (tweet_search_extractor)
|
|
346
|
+
*/
|
|
347
|
+
fromUser?: string;
|
|
348
|
+
/**
|
|
349
|
+
* Hashtags separated by spaces, commas, or lines. (tweet_search_extractor)
|
|
350
|
+
*/
|
|
351
|
+
hashtags?: string;
|
|
352
|
+
/**
|
|
353
|
+
* Only replies to this tweet ID (tweet_search_extractor)
|
|
354
|
+
*/
|
|
355
|
+
inReplyToTweetId?: string;
|
|
356
|
+
/**
|
|
357
|
+
* Language code filter (tweet_search_extractor)
|
|
358
|
+
*/
|
|
359
|
+
language?: string;
|
|
360
|
+
/**
|
|
361
|
+
* Search within a list ID (tweet_search_extractor)
|
|
362
|
+
*/
|
|
363
|
+
listId?: string;
|
|
364
|
+
/**
|
|
365
|
+
* Media type filter (tweet_search_extractor)
|
|
366
|
+
*/
|
|
367
|
+
mediaType?: 'images' | 'videos' | 'gifs' | 'media' | 'links' | 'none';
|
|
368
|
+
/**
|
|
369
|
+
* Filter tweets mentioning a username (tweet_search_extractor)
|
|
370
|
+
*/
|
|
371
|
+
mentioning?: string;
|
|
372
|
+
/**
|
|
373
|
+
* Minimum likes threshold (tweet_search_extractor)
|
|
374
|
+
*/
|
|
375
|
+
minFaves?: number;
|
|
376
|
+
/**
|
|
377
|
+
* Minimum quote count threshold (tweet_search_extractor)
|
|
378
|
+
*/
|
|
379
|
+
minQuotes?: number;
|
|
380
|
+
/**
|
|
381
|
+
* Minimum replies threshold (tweet_search_extractor)
|
|
382
|
+
*/
|
|
383
|
+
minReplies?: number;
|
|
384
|
+
/**
|
|
385
|
+
* Minimum retweets threshold (tweet_search_extractor)
|
|
386
|
+
*/
|
|
387
|
+
minRetweets?: number;
|
|
388
|
+
/**
|
|
389
|
+
* Search within a place ID (tweet_search_extractor)
|
|
390
|
+
*/
|
|
391
|
+
place?: string;
|
|
392
|
+
/**
|
|
393
|
+
* Search within a country code (tweet_search_extractor)
|
|
394
|
+
*/
|
|
395
|
+
placeCountry?: string;
|
|
396
|
+
/**
|
|
397
|
+
* Geo point radius, e.g. -73.99 40.73 25mi (tweet_search_extractor)
|
|
398
|
+
*/
|
|
399
|
+
pointRadius?: string;
|
|
400
|
+
/**
|
|
401
|
+
* Quote mode (tweet_search_extractor)
|
|
402
|
+
*/
|
|
403
|
+
quotes?: 'include' | 'exclude' | 'only';
|
|
404
|
+
/**
|
|
405
|
+
* Only quotes of this tweet ID (tweet_search_extractor)
|
|
406
|
+
*/
|
|
407
|
+
quotesOfTweetId?: string;
|
|
408
|
+
/**
|
|
409
|
+
* Reply mode (tweet_search_extractor)
|
|
410
|
+
*/
|
|
411
|
+
replies?: 'include' | 'exclude' | 'only';
|
|
412
|
+
/**
|
|
413
|
+
* Maximum number of results to extract. When set, the extraction stops after
|
|
414
|
+
* reaching this limit.
|
|
415
|
+
*/
|
|
416
|
+
resultsLimit?: number;
|
|
417
|
+
/**
|
|
418
|
+
* Retweet mode (tweet_search_extractor)
|
|
419
|
+
*/
|
|
420
|
+
retweets?: 'include' | 'exclude' | 'only';
|
|
421
|
+
/**
|
|
422
|
+
* Only retweets of this tweet ID (tweet_search_extractor)
|
|
423
|
+
*/
|
|
424
|
+
retweetsOfTweetId?: string;
|
|
425
|
+
/**
|
|
426
|
+
* Required for tweet_search_extractor & community_search.
|
|
427
|
+
*/
|
|
188
428
|
searchQuery?: string;
|
|
429
|
+
/**
|
|
430
|
+
* Start date YYYY-MM-DD (tweet_search_extractor)
|
|
431
|
+
*/
|
|
432
|
+
sinceDate?: string;
|
|
433
|
+
/**
|
|
434
|
+
* Required for community_post_extractor & community_search.
|
|
435
|
+
*/
|
|
189
436
|
targetCommunityId?: string;
|
|
437
|
+
/**
|
|
438
|
+
* Required for list_follower_explorer, list_member_extractor &
|
|
439
|
+
* list_post_extractor.
|
|
440
|
+
*/
|
|
190
441
|
targetListId?: string;
|
|
442
|
+
/**
|
|
443
|
+
* Required for space_explorer.
|
|
444
|
+
*/
|
|
191
445
|
targetSpaceId?: string;
|
|
192
446
|
targetTweetId?: string;
|
|
193
447
|
targetUsername?: string;
|
|
448
|
+
/**
|
|
449
|
+
* Filter replies sent to a username (tweet_search_extractor)
|
|
450
|
+
*/
|
|
451
|
+
toUser?: string;
|
|
452
|
+
/**
|
|
453
|
+
* End date YYYY-MM-DD (tweet_search_extractor)
|
|
454
|
+
*/
|
|
455
|
+
untilDate?: string;
|
|
456
|
+
/**
|
|
457
|
+
* URL substring or domain filter (tweet_search_extractor)
|
|
458
|
+
*/
|
|
459
|
+
url?: string;
|
|
460
|
+
/**
|
|
461
|
+
* Only verified authors (tweet_search_extractor)
|
|
462
|
+
*/
|
|
463
|
+
verifiedOnly?: boolean;
|
|
194
464
|
}
|
|
195
465
|
export declare namespace Extractions {
|
|
196
466
|
export { type ExtractionJob as ExtractionJob, type ExtractionRetrieveResponse as ExtractionRetrieveResponse, type ExtractionListResponse as ExtractionListResponse, type ExtractionEstimateCostResponse as ExtractionEstimateCostResponse, type ExtractionRunResponse as ExtractionRunResponse, type ExtractionRetrieveParams as ExtractionRetrieveParams, type ExtractionListParams as ExtractionListParams, type ExtractionEstimateCostParams as ExtractionEstimateCostParams, type ExtractionExportResultsParams as ExtractionExportResultsParams, type ExtractionRunParams as ExtractionRunParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extractions.d.mts","sourceRoot":"","sources":["../src/resources/extractions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"extractions.d.mts","sourceRoot":"","sources":["../src/resources/extractions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AAEjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;OAOG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,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