x-twitter-scraper 0.3.3 → 0.4.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 +27 -0
- package/README.md +34 -6
- 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 +15 -18
- 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
package/resources/draws.d.mts
CHANGED
|
@@ -10,7 +10,9 @@ export declare class Draws extends APIResource {
|
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* ```ts
|
|
13
|
-
* const draw = await client.draws.retrieve(
|
|
13
|
+
* const draw = await client.draws.retrieve(
|
|
14
|
+
* 'f4bd00a2-7b4e-4e59-8e1b-72e2c9f12345',
|
|
15
|
+
* );
|
|
14
16
|
* ```
|
|
15
17
|
*/
|
|
16
18
|
retrieve(id: string, options?: RequestOptions): APIPromise<DrawRetrieveResponse>;
|
|
@@ -28,15 +30,21 @@ export declare class Draws extends APIResource {
|
|
|
28
30
|
*
|
|
29
31
|
* @example
|
|
30
32
|
* ```ts
|
|
31
|
-
* const response = await client.draws.export(
|
|
33
|
+
* const response = await client.draws.export(
|
|
34
|
+
* 'f4bd00a2-7b4e-4e59-8e1b-72e2c9f12345',
|
|
35
|
+
* { format: 'csv' },
|
|
36
|
+
* );
|
|
32
37
|
*
|
|
33
38
|
* const content = await response.blob();
|
|
34
39
|
* console.log(content);
|
|
35
40
|
* ```
|
|
36
41
|
*/
|
|
37
|
-
export(id: string, query
|
|
42
|
+
export(id: string, query: DrawExportParams, options?: RequestOptions): APIPromise<Response>;
|
|
38
43
|
/**
|
|
39
|
-
*
|
|
44
|
+
* Runs a giveaway draw from a source tweet. The draw first checks that the usage
|
|
45
|
+
* balance can inspect the source tweet and at least 1 candidate. Available balance
|
|
46
|
+
* caps how many replies and retweeters can be inspected before filters and winner
|
|
47
|
+
* selection run.
|
|
40
48
|
*
|
|
41
49
|
* @example
|
|
42
50
|
* ```ts
|
|
@@ -53,6 +61,9 @@ export declare class Draws extends APIResource {
|
|
|
53
61
|
* Full giveaway draw with tweet metrics, entries, and timing.
|
|
54
62
|
*/
|
|
55
63
|
export interface DrawDetail {
|
|
64
|
+
/**
|
|
65
|
+
* Draw public ID.
|
|
66
|
+
*/
|
|
56
67
|
id: string;
|
|
57
68
|
createdAt: string;
|
|
58
69
|
status: string;
|
|
@@ -72,6 +83,9 @@ export interface DrawDetail {
|
|
|
72
83
|
* Giveaway draw summary with entry counts and status.
|
|
73
84
|
*/
|
|
74
85
|
export interface DrawListItem {
|
|
86
|
+
/**
|
|
87
|
+
* Draw public ID for detail responses.
|
|
88
|
+
*/
|
|
75
89
|
id: string;
|
|
76
90
|
createdAt: string;
|
|
77
91
|
status: string;
|
|
@@ -103,18 +117,29 @@ export interface DrawListResponse {
|
|
|
103
117
|
}
|
|
104
118
|
export interface DrawRunResponse {
|
|
105
119
|
id: string;
|
|
120
|
+
/**
|
|
121
|
+
* Candidate entries inspected for this draw. This may
|
|
122
|
+
* be lower than the source tweet's full reply count.
|
|
123
|
+
*/
|
|
106
124
|
totalEntries: number;
|
|
107
125
|
tweetId: string;
|
|
126
|
+
/**
|
|
127
|
+
* Entries from the inspected candidate set that passed all filters. This is not
|
|
128
|
+
* necessarily every valid reply on the source tweet when the available balance limits inspection.
|
|
129
|
+
*/
|
|
108
130
|
validEntries: number;
|
|
109
131
|
winners: Array<Winner>;
|
|
110
132
|
}
|
|
111
133
|
export interface DrawListParams {
|
|
112
134
|
/**
|
|
113
|
-
* Cursor for keyset pagination
|
|
135
|
+
* Cursor for keyset pagination from prior response next_cursor
|
|
114
136
|
*/
|
|
115
|
-
|
|
137
|
+
cursor?: string;
|
|
116
138
|
/**
|
|
117
|
-
* Maximum number of items to return (1-100, default 50)
|
|
139
|
+
* Maximum number of items to return (1-100, default 50). For paid per-result
|
|
140
|
+
* endpoints, the returned count may be lower when available usage balance cannot cover
|
|
141
|
+
* the requested page. If zero paid results are affordable, the endpoint returns
|
|
142
|
+
* 402 insufficient_credits.
|
|
118
143
|
*/
|
|
119
144
|
limit?: number;
|
|
120
145
|
}
|
|
@@ -122,7 +147,7 @@ export interface DrawExportParams {
|
|
|
122
147
|
/**
|
|
123
148
|
* Export output format
|
|
124
149
|
*/
|
|
125
|
-
format
|
|
150
|
+
format: 'csv' | 'json' | 'md' | 'md-document' | 'pdf' | 'txt' | 'xlsx';
|
|
126
151
|
/**
|
|
127
152
|
* Export winners or all entries
|
|
128
153
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draws.d.mts","sourceRoot":"","sources":["../src/resources/draws.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"draws.d.mts","sour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IACH,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CAC9B;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;IAEjB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEjC,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEjC,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEjC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,aAAa,IAAI,aAAa,GACpC,CAAC;CACH"}
|
package/resources/draws.d.ts
CHANGED
|
@@ -10,7 +10,9 @@ export declare class Draws extends APIResource {
|
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* ```ts
|
|
13
|
-
* const draw = await client.draws.retrieve(
|
|
13
|
+
* const draw = await client.draws.retrieve(
|
|
14
|
+
* 'f4bd00a2-7b4e-4e59-8e1b-72e2c9f12345',
|
|
15
|
+
* );
|
|
14
16
|
* ```
|
|
15
17
|
*/
|
|
16
18
|
retrieve(id: string, options?: RequestOptions): APIPromise<DrawRetrieveResponse>;
|
|
@@ -28,15 +30,21 @@ export declare class Draws extends APIResource {
|
|
|
28
30
|
*
|
|
29
31
|
* @example
|
|
30
32
|
* ```ts
|
|
31
|
-
* const response = await client.draws.export(
|
|
33
|
+
* const response = await client.draws.export(
|
|
34
|
+
* 'f4bd00a2-7b4e-4e59-8e1b-72e2c9f12345',
|
|
35
|
+
* { format: 'csv' },
|
|
36
|
+
* );
|
|
32
37
|
*
|
|
33
38
|
* const content = await response.blob();
|
|
34
39
|
* console.log(content);
|
|
35
40
|
* ```
|
|
36
41
|
*/
|
|
37
|
-
export(id: string, query
|
|
42
|
+
export(id: string, query: DrawExportParams, options?: RequestOptions): APIPromise<Response>;
|
|
38
43
|
/**
|
|
39
|
-
*
|
|
44
|
+
* Runs a giveaway draw from a source tweet. The draw first checks that the usage
|
|
45
|
+
* balance can inspect the source tweet and at least 1 candidate. Available balance
|
|
46
|
+
* caps how many replies and retweeters can be inspected before filters and winner
|
|
47
|
+
* selection run.
|
|
40
48
|
*
|
|
41
49
|
* @example
|
|
42
50
|
* ```ts
|
|
@@ -53,6 +61,9 @@ export declare class Draws extends APIResource {
|
|
|
53
61
|
* Full giveaway draw with tweet metrics, entries, and timing.
|
|
54
62
|
*/
|
|
55
63
|
export interface DrawDetail {
|
|
64
|
+
/**
|
|
65
|
+
* Draw public ID.
|
|
66
|
+
*/
|
|
56
67
|
id: string;
|
|
57
68
|
createdAt: string;
|
|
58
69
|
status: string;
|
|
@@ -72,6 +83,9 @@ export interface DrawDetail {
|
|
|
72
83
|
* Giveaway draw summary with entry counts and status.
|
|
73
84
|
*/
|
|
74
85
|
export interface DrawListItem {
|
|
86
|
+
/**
|
|
87
|
+
* Draw public ID for detail responses.
|
|
88
|
+
*/
|
|
75
89
|
id: string;
|
|
76
90
|
createdAt: string;
|
|
77
91
|
status: string;
|
|
@@ -103,18 +117,29 @@ export interface DrawListResponse {
|
|
|
103
117
|
}
|
|
104
118
|
export interface DrawRunResponse {
|
|
105
119
|
id: string;
|
|
120
|
+
/**
|
|
121
|
+
* Candidate entries inspected for this draw. This may
|
|
122
|
+
* be lower than the source tweet's full reply count.
|
|
123
|
+
*/
|
|
106
124
|
totalEntries: number;
|
|
107
125
|
tweetId: string;
|
|
126
|
+
/**
|
|
127
|
+
* Entries from the inspected candidate set that passed all filters. This is not
|
|
128
|
+
* necessarily every valid reply on the source tweet when the available balance limits inspection.
|
|
129
|
+
*/
|
|
108
130
|
validEntries: number;
|
|
109
131
|
winners: Array<Winner>;
|
|
110
132
|
}
|
|
111
133
|
export interface DrawListParams {
|
|
112
134
|
/**
|
|
113
|
-
* Cursor for keyset pagination
|
|
135
|
+
* Cursor for keyset pagination from prior response next_cursor
|
|
114
136
|
*/
|
|
115
|
-
|
|
137
|
+
cursor?: string;
|
|
116
138
|
/**
|
|
117
|
-
* Maximum number of items to return (1-100, default 50)
|
|
139
|
+
* Maximum number of items to return (1-100, default 50). For paid per-result
|
|
140
|
+
* endpoints, the returned count may be lower when available usage balance cannot cover
|
|
141
|
+
* the requested page. If zero paid results are affordable, the endpoint returns
|
|
142
|
+
* 402 insufficient_credits.
|
|
118
143
|
*/
|
|
119
144
|
limit?: number;
|
|
120
145
|
}
|
|
@@ -122,7 +147,7 @@ export interface DrawExportParams {
|
|
|
122
147
|
/**
|
|
123
148
|
* Export output format
|
|
124
149
|
*/
|
|
125
|
-
format
|
|
150
|
+
format: 'csv' | 'json' | 'md' | 'md-document' | 'pdf' | 'txt' | 'xlsx';
|
|
126
151
|
/**
|
|
127
152
|
* Export winners or all entries
|
|
128
153
|
*/
|
package/resources/draws.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draws.d.ts","sourceRoot":"","sources":["../src/resources/draws.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"draws.d.ts","sourceRoot":"","sources":["../src/resources/draws.ts"],"names":[],"mappings":"AAEA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CAC9B;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;IAEjB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEjC,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEjC,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEjC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,aAAa,IAAI,aAAa,GACpC,CAAC;CACH"}
|
package/resources/draws.js
CHANGED
|
@@ -14,7 +14,9 @@ class Draws extends resource_1.APIResource {
|
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* ```ts
|
|
17
|
-
* const draw = await client.draws.retrieve(
|
|
17
|
+
* const draw = await client.draws.retrieve(
|
|
18
|
+
* 'f4bd00a2-7b4e-4e59-8e1b-72e2c9f12345',
|
|
19
|
+
* );
|
|
18
20
|
* ```
|
|
19
21
|
*/
|
|
20
22
|
retrieve(id, options) {
|
|
@@ -36,13 +38,16 @@ class Draws extends resource_1.APIResource {
|
|
|
36
38
|
*
|
|
37
39
|
* @example
|
|
38
40
|
* ```ts
|
|
39
|
-
* const response = await client.draws.export(
|
|
41
|
+
* const response = await client.draws.export(
|
|
42
|
+
* 'f4bd00a2-7b4e-4e59-8e1b-72e2c9f12345',
|
|
43
|
+
* { format: 'csv' },
|
|
44
|
+
* );
|
|
40
45
|
*
|
|
41
46
|
* const content = await response.blob();
|
|
42
47
|
* console.log(content);
|
|
43
48
|
* ```
|
|
44
49
|
*/
|
|
45
|
-
export(id, query
|
|
50
|
+
export(id, query, options) {
|
|
46
51
|
return this._client.get((0, path_1.path) `/draws/${id}/export`, {
|
|
47
52
|
query,
|
|
48
53
|
...options,
|
|
@@ -51,7 +56,10 @@ class Draws extends resource_1.APIResource {
|
|
|
51
56
|
});
|
|
52
57
|
}
|
|
53
58
|
/**
|
|
54
|
-
*
|
|
59
|
+
* Runs a giveaway draw from a source tweet. The draw first checks that the usage
|
|
60
|
+
* balance can inspect the source tweet and at least 1 candidate. Available balance
|
|
61
|
+
* caps how many replies and retweeters can be inspected before filters and winner
|
|
62
|
+
* selection run.
|
|
55
63
|
*
|
|
56
64
|
* @example
|
|
57
65
|
* ```ts
|
package/resources/draws.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draws.js","sourceRoot":"","sources":["../src/resources/draws.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,oDAAmD;AAEnD,oDAA8C;AAE9C;;GAEG;AACH,MAAa,KAAM,SAAQ,sBAAW;IACpC
|
|
1
|
+
{"version":3,"file":"draws.js","sourceRoot":"","sources":["../src/resources/draws.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,oDAAmD;AAEnD,oDAA8C;AAE9C;;GAEG;AACH,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,UAAU,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CACF,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3D,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAU,EAAE,KAAuB,EAAE,OAAwB;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,UAAU,EAAE,SAAS,EAAE;YACjD,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,0BAA0B,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YACjF,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,GAAG,CAAC,IAAmB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3D,CAAC;CACF;AAvED,sBAuEC"}
|
package/resources/draws.mjs
CHANGED
|
@@ -11,7 +11,9 @@ export class Draws extends APIResource {
|
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* ```ts
|
|
14
|
-
* const draw = await client.draws.retrieve(
|
|
14
|
+
* const draw = await client.draws.retrieve(
|
|
15
|
+
* 'f4bd00a2-7b4e-4e59-8e1b-72e2c9f12345',
|
|
16
|
+
* );
|
|
15
17
|
* ```
|
|
16
18
|
*/
|
|
17
19
|
retrieve(id, options) {
|
|
@@ -33,13 +35,16 @@ export class Draws extends APIResource {
|
|
|
33
35
|
*
|
|
34
36
|
* @example
|
|
35
37
|
* ```ts
|
|
36
|
-
* const response = await client.draws.export(
|
|
38
|
+
* const response = await client.draws.export(
|
|
39
|
+
* 'f4bd00a2-7b4e-4e59-8e1b-72e2c9f12345',
|
|
40
|
+
* { format: 'csv' },
|
|
41
|
+
* );
|
|
37
42
|
*
|
|
38
43
|
* const content = await response.blob();
|
|
39
44
|
* console.log(content);
|
|
40
45
|
* ```
|
|
41
46
|
*/
|
|
42
|
-
export(id, query
|
|
47
|
+
export(id, query, options) {
|
|
43
48
|
return this._client.get(path `/draws/${id}/export`, {
|
|
44
49
|
query,
|
|
45
50
|
...options,
|
|
@@ -48,7 +53,10 @@ export class Draws extends APIResource {
|
|
|
48
53
|
});
|
|
49
54
|
}
|
|
50
55
|
/**
|
|
51
|
-
*
|
|
56
|
+
* Runs a giveaway draw from a source tweet. The draw first checks that the usage
|
|
57
|
+
* balance can inspect the source tweet and at least 1 candidate. Available balance
|
|
58
|
+
* caps how many replies and retweeters can be inspected before filters and winner
|
|
59
|
+
* selection run.
|
|
52
60
|
*
|
|
53
61
|
* @example
|
|
54
62
|
* ```ts
|
package/resources/draws.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draws.mjs","sourceRoot":"","sources":["../src/resources/draws.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"draws.mjs","sourceRoot":"","sources":["../src/resources/draws.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,YAAY,EAAE,gCAA4B;AAEnD,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;GAEG;AACH,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,UAAU,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CACF,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3D,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAU,EAAE,KAAuB,EAAE,OAAwB;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,UAAU,EAAE,SAAS,EAAE;YACjD,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,0BAA0B,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YACjF,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,GAAG,CAAC,IAAmB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3D,CAAC;CACF"}
|
package/resources/events.d.mts
CHANGED
|
@@ -16,20 +16,38 @@ export declare class Events extends APIResource {
|
|
|
16
16
|
list(query?: EventListParams | null | undefined, options?: RequestOptions): APIPromise<EventListResponse>;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
* Monitor event summary with
|
|
19
|
+
* Monitor event summary with source metadata and occurrence time.
|
|
20
20
|
*/
|
|
21
21
|
export interface Event {
|
|
22
22
|
id: string;
|
|
23
23
|
data: {
|
|
24
24
|
[key: string]: unknown;
|
|
25
25
|
};
|
|
26
|
+
/**
|
|
27
|
+
* Account monitor ID for account events, or keyword monitor ID for keyword events.
|
|
28
|
+
*/
|
|
26
29
|
monitorId: string;
|
|
30
|
+
/**
|
|
31
|
+
* Source monitor type.
|
|
32
|
+
*/
|
|
33
|
+
monitorType: 'account' | 'keyword';
|
|
27
34
|
occurredAt: string;
|
|
28
35
|
/**
|
|
29
36
|
* Type of monitor event fired when account activity occurs.
|
|
30
37
|
*/
|
|
31
38
|
type: Shared.EventType;
|
|
32
|
-
|
|
39
|
+
/**
|
|
40
|
+
* Keyword monitor ID, present for keyword monitor events.
|
|
41
|
+
*/
|
|
42
|
+
keywordMonitorId?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Keyword query, present for keyword monitor events.
|
|
45
|
+
*/
|
|
46
|
+
query?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Account username, present for account monitor events.
|
|
49
|
+
*/
|
|
50
|
+
username?: string;
|
|
33
51
|
}
|
|
34
52
|
/**
|
|
35
53
|
* Full monitor event including payload data and optional X event ID.
|
|
@@ -37,18 +55,36 @@ export interface Event {
|
|
|
37
55
|
export interface EventDetail {
|
|
38
56
|
id: string;
|
|
39
57
|
/**
|
|
40
|
-
* Event payload
|
|
58
|
+
* Event payload - shape varies by event type (JSON)
|
|
41
59
|
*/
|
|
42
60
|
data: {
|
|
43
61
|
[key: string]: unknown;
|
|
44
62
|
};
|
|
63
|
+
/**
|
|
64
|
+
* Monitor ID associated with this detailed event payload.
|
|
65
|
+
*/
|
|
45
66
|
monitorId: string;
|
|
67
|
+
/**
|
|
68
|
+
* Source monitor type for this detailed event.
|
|
69
|
+
*/
|
|
70
|
+
monitorType: 'account' | 'keyword';
|
|
46
71
|
occurredAt: string;
|
|
47
72
|
/**
|
|
48
73
|
* Type of monitor event fired when account activity occurs.
|
|
49
74
|
*/
|
|
50
75
|
type: Shared.EventType;
|
|
51
|
-
|
|
76
|
+
/**
|
|
77
|
+
* Keyword monitor ID included on detailed keyword events.
|
|
78
|
+
*/
|
|
79
|
+
keywordMonitorId?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Keyword query for this detailed monitor event.
|
|
82
|
+
*/
|
|
83
|
+
query?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Account username for this detailed monitor event.
|
|
86
|
+
*/
|
|
87
|
+
username?: string;
|
|
52
88
|
xEventId?: string;
|
|
53
89
|
}
|
|
54
90
|
export interface EventListResponse {
|
|
@@ -58,15 +94,18 @@ export interface EventListResponse {
|
|
|
58
94
|
}
|
|
59
95
|
export interface EventListParams {
|
|
60
96
|
/**
|
|
61
|
-
* Cursor for keyset pagination
|
|
97
|
+
* Cursor for keyset pagination from prior response next_cursor
|
|
62
98
|
*/
|
|
63
|
-
|
|
99
|
+
cursor?: string;
|
|
64
100
|
/**
|
|
65
101
|
* Filter events by type
|
|
66
102
|
*/
|
|
67
103
|
eventType?: Shared.EventType;
|
|
68
104
|
/**
|
|
69
|
-
* Maximum number of items to return (1-100, default 50)
|
|
105
|
+
* Maximum number of items to return (1-100, default 50). For paid per-result
|
|
106
|
+
* endpoints, the returned count may be lower when available usage balance cannot cover
|
|
107
|
+
* the requested page. If zero paid results are affordable, the endpoint returns
|
|
108
|
+
* 402 insufficient_credits.
|
|
70
109
|
*/
|
|
71
110
|
limit?: number;
|
|
72
111
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.mts","sourceRoot":"","sources":["../src/resources/events.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"events.d.mts","sourceRoot":"","sources":["../src/resources/events.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,KAAK,MAAM,qBAAiB;AACnC,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D;;GAEG;AACH,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;IAIvE;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC9C,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,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,SAAS,CAAC;IAE7B;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,KAAK,IAAI,KAAK,EACnB,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
|
package/resources/events.d.ts
CHANGED
|
@@ -16,20 +16,38 @@ export declare class Events extends APIResource {
|
|
|
16
16
|
list(query?: EventListParams | null | undefined, options?: RequestOptions): APIPromise<EventListResponse>;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
* Monitor event summary with
|
|
19
|
+
* Monitor event summary with source metadata and occurrence time.
|
|
20
20
|
*/
|
|
21
21
|
export interface Event {
|
|
22
22
|
id: string;
|
|
23
23
|
data: {
|
|
24
24
|
[key: string]: unknown;
|
|
25
25
|
};
|
|
26
|
+
/**
|
|
27
|
+
* Account monitor ID for account events, or keyword monitor ID for keyword events.
|
|
28
|
+
*/
|
|
26
29
|
monitorId: string;
|
|
30
|
+
/**
|
|
31
|
+
* Source monitor type.
|
|
32
|
+
*/
|
|
33
|
+
monitorType: 'account' | 'keyword';
|
|
27
34
|
occurredAt: string;
|
|
28
35
|
/**
|
|
29
36
|
* Type of monitor event fired when account activity occurs.
|
|
30
37
|
*/
|
|
31
38
|
type: Shared.EventType;
|
|
32
|
-
|
|
39
|
+
/**
|
|
40
|
+
* Keyword monitor ID, present for keyword monitor events.
|
|
41
|
+
*/
|
|
42
|
+
keywordMonitorId?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Keyword query, present for keyword monitor events.
|
|
45
|
+
*/
|
|
46
|
+
query?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Account username, present for account monitor events.
|
|
49
|
+
*/
|
|
50
|
+
username?: string;
|
|
33
51
|
}
|
|
34
52
|
/**
|
|
35
53
|
* Full monitor event including payload data and optional X event ID.
|
|
@@ -37,18 +55,36 @@ export interface Event {
|
|
|
37
55
|
export interface EventDetail {
|
|
38
56
|
id: string;
|
|
39
57
|
/**
|
|
40
|
-
* Event payload
|
|
58
|
+
* Event payload - shape varies by event type (JSON)
|
|
41
59
|
*/
|
|
42
60
|
data: {
|
|
43
61
|
[key: string]: unknown;
|
|
44
62
|
};
|
|
63
|
+
/**
|
|
64
|
+
* Monitor ID associated with this detailed event payload.
|
|
65
|
+
*/
|
|
45
66
|
monitorId: string;
|
|
67
|
+
/**
|
|
68
|
+
* Source monitor type for this detailed event.
|
|
69
|
+
*/
|
|
70
|
+
monitorType: 'account' | 'keyword';
|
|
46
71
|
occurredAt: string;
|
|
47
72
|
/**
|
|
48
73
|
* Type of monitor event fired when account activity occurs.
|
|
49
74
|
*/
|
|
50
75
|
type: Shared.EventType;
|
|
51
|
-
|
|
76
|
+
/**
|
|
77
|
+
* Keyword monitor ID included on detailed keyword events.
|
|
78
|
+
*/
|
|
79
|
+
keywordMonitorId?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Keyword query for this detailed monitor event.
|
|
82
|
+
*/
|
|
83
|
+
query?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Account username for this detailed monitor event.
|
|
86
|
+
*/
|
|
87
|
+
username?: string;
|
|
52
88
|
xEventId?: string;
|
|
53
89
|
}
|
|
54
90
|
export interface EventListResponse {
|
|
@@ -58,15 +94,18 @@ export interface EventListResponse {
|
|
|
58
94
|
}
|
|
59
95
|
export interface EventListParams {
|
|
60
96
|
/**
|
|
61
|
-
* Cursor for keyset pagination
|
|
97
|
+
* Cursor for keyset pagination from prior response next_cursor
|
|
62
98
|
*/
|
|
63
|
-
|
|
99
|
+
cursor?: string;
|
|
64
100
|
/**
|
|
65
101
|
* Filter events by type
|
|
66
102
|
*/
|
|
67
103
|
eventType?: Shared.EventType;
|
|
68
104
|
/**
|
|
69
|
-
* Maximum number of items to return (1-100, default 50)
|
|
105
|
+
* Maximum number of items to return (1-100, default 50). For paid per-result
|
|
106
|
+
* endpoints, the returned count may be lower when available usage balance cannot cover
|
|
107
|
+
* the requested page. If zero paid results are affordable, the endpoint returns
|
|
108
|
+
* 402 insufficient_credits.
|
|
70
109
|
*/
|
|
71
110
|
limit?: number;
|
|
72
111
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../src/resources/events.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../src/resources/events.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,KAAK,MAAM,oBAAiB;AACnC,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D;;GAEG;AACH,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;IAIvE;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iBAAiB,CAAC;CAGjC;AAED;;GAEG;AACH,MAAM,WAAW,KAAK;IACpB,EAAE,EAAE,MAAM,CAAC;IAEX,IAAI,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAEjC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,WAAW,EAAE,SAAS,GAAG,SAAS,CAAC;IAEnC,UAAU,EAAE,MAAM,CA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WAAW,IAAI,WAAW,EAC/B,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
|
package/resources/events.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.mjs","sourceRoot":"","sources":["../src/resources/events.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"events.mjs","sourceRoot":"","sources":["../src/resources/events.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;GAEG;AACH,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,WAAW,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5D,CAAC;CACF"}
|