x-twitter-scraper 0.1.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 +17 -0
- package/LICENSE +201 -0
- package/README.md +398 -0
- package/api-promise.d.mts +2 -0
- package/api-promise.d.mts.map +1 -0
- package/api-promise.d.ts +2 -0
- package/api-promise.d.ts.map +1 -0
- package/api-promise.js +6 -0
- package/api-promise.js.map +1 -0
- package/api-promise.mjs +2 -0
- package/api-promise.mjs.map +1 -0
- package/client.d.mts +295 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +295 -0
- package/client.d.ts.map +1 -0
- package/client.js +592 -0
- package/client.js.map +1 -0
- package/client.mjs +588 -0
- package/client.mjs.map +1 -0
- package/core/api-promise.d.mts +46 -0
- package/core/api-promise.d.mts.map +1 -0
- package/core/api-promise.d.ts +46 -0
- package/core/api-promise.d.ts.map +1 -0
- package/core/api-promise.js +74 -0
- package/core/api-promise.js.map +1 -0
- package/core/api-promise.mjs +70 -0
- package/core/api-promise.mjs.map +1 -0
- package/core/error.d.mts +46 -0
- package/core/error.d.mts.map +1 -0
- package/core/error.d.ts +46 -0
- package/core/error.d.ts.map +1 -0
- package/core/error.js +113 -0
- package/core/error.js.map +1 -0
- package/core/error.mjs +97 -0
- package/core/error.mjs.map +1 -0
- package/core/resource.d.mts +6 -0
- package/core/resource.d.mts.map +1 -0
- package/core/resource.d.ts +6 -0
- package/core/resource.d.ts.map +1 -0
- package/core/resource.js +11 -0
- package/core/resource.js.map +1 -0
- package/core/resource.mjs +7 -0
- package/core/resource.mjs.map +1 -0
- package/core/uploads.d.mts +3 -0
- package/core/uploads.d.mts.map +1 -0
- package/core/uploads.d.ts +3 -0
- package/core/uploads.d.ts.map +1 -0
- package/core/uploads.js +6 -0
- package/core/uploads.js.map +1 -0
- package/core/uploads.mjs +2 -0
- package/core/uploads.mjs.map +1 -0
- package/error.d.mts +2 -0
- package/error.d.mts.map +1 -0
- package/error.d.ts +2 -0
- package/error.d.ts.map +1 -0
- package/error.js +6 -0
- package/error.js.map +1 -0
- package/error.mjs +2 -0
- package/error.mjs.map +1 -0
- package/index.d.mts +6 -0
- package/index.d.mts.map +1 -0
- package/index.d.ts +6 -0
- package/index.d.ts.map +1 -0
- package/index.js +30 -0
- package/index.js.map +1 -0
- package/index.mjs +7 -0
- package/index.mjs.map +1 -0
- package/internal/builtin-types.d.mts +73 -0
- package/internal/builtin-types.d.mts.map +1 -0
- package/internal/builtin-types.d.ts +73 -0
- package/internal/builtin-types.d.ts.map +1 -0
- package/internal/builtin-types.js +4 -0
- package/internal/builtin-types.js.map +1 -0
- package/internal/builtin-types.mjs +3 -0
- package/internal/builtin-types.mjs.map +1 -0
- package/internal/detect-platform.d.mts +15 -0
- package/internal/detect-platform.d.mts.map +1 -0
- package/internal/detect-platform.d.ts +15 -0
- package/internal/detect-platform.d.ts.map +1 -0
- package/internal/detect-platform.js +162 -0
- package/internal/detect-platform.js.map +1 -0
- package/internal/detect-platform.mjs +157 -0
- package/internal/detect-platform.mjs.map +1 -0
- package/internal/errors.d.mts +3 -0
- package/internal/errors.d.mts.map +1 -0
- package/internal/errors.d.ts +3 -0
- package/internal/errors.d.ts.map +1 -0
- package/internal/errors.js +41 -0
- package/internal/errors.js.map +1 -0
- package/internal/errors.mjs +36 -0
- package/internal/errors.mjs.map +1 -0
- package/internal/headers.d.mts +20 -0
- package/internal/headers.d.mts.map +1 -0
- package/internal/headers.d.ts +20 -0
- package/internal/headers.d.ts.map +1 -0
- package/internal/headers.js +79 -0
- package/internal/headers.js.map +1 -0
- package/internal/headers.mjs +74 -0
- package/internal/headers.mjs.map +1 -0
- package/internal/parse.d.mts +12 -0
- package/internal/parse.d.mts.map +1 -0
- package/internal/parse.d.ts +12 -0
- package/internal/parse.d.ts.map +1 -0
- package/internal/parse.js +40 -0
- package/internal/parse.js.map +1 -0
- package/internal/parse.mjs +37 -0
- package/internal/parse.mjs.map +1 -0
- package/internal/request-options.d.mts +79 -0
- package/internal/request-options.d.mts.map +1 -0
- package/internal/request-options.d.ts +79 -0
- package/internal/request-options.d.ts.map +1 -0
- package/internal/request-options.js +14 -0
- package/internal/request-options.js.map +1 -0
- package/internal/request-options.mjs +10 -0
- package/internal/request-options.mjs.map +1 -0
- package/internal/shim-types.d.mts +17 -0
- package/internal/shim-types.d.mts.map +1 -0
- package/internal/shim-types.d.ts +17 -0
- package/internal/shim-types.d.ts.map +1 -0
- package/internal/shim-types.js +4 -0
- package/internal/shim-types.js.map +1 -0
- package/internal/shim-types.mjs +3 -0
- package/internal/shim-types.mjs.map +1 -0
- package/internal/shims.d.mts +20 -0
- package/internal/shims.d.mts.map +1 -0
- package/internal/shims.d.ts +20 -0
- package/internal/shims.d.ts.map +1 -0
- package/internal/shims.js +92 -0
- package/internal/shims.js.map +1 -0
- package/internal/shims.mjs +85 -0
- package/internal/shims.mjs.map +1 -0
- package/internal/to-file.d.mts +45 -0
- package/internal/to-file.d.mts.map +1 -0
- package/internal/to-file.d.ts +45 -0
- package/internal/to-file.d.ts.map +1 -0
- package/internal/to-file.js +91 -0
- package/internal/to-file.js.map +1 -0
- package/internal/to-file.mjs +88 -0
- package/internal/to-file.mjs.map +1 -0
- package/internal/tslib.js +81 -0
- package/internal/tslib.mjs +17 -0
- package/internal/types.d.mts +69 -0
- package/internal/types.d.mts.map +1 -0
- package/internal/types.d.ts +69 -0
- package/internal/types.d.ts.map +1 -0
- package/internal/types.js +4 -0
- package/internal/types.js.map +1 -0
- package/internal/types.mjs +3 -0
- package/internal/types.mjs.map +1 -0
- package/internal/uploads.d.mts +42 -0
- package/internal/uploads.d.mts.map +1 -0
- package/internal/uploads.d.ts +42 -0
- package/internal/uploads.d.ts.map +1 -0
- package/internal/uploads.js +141 -0
- package/internal/uploads.js.map +1 -0
- package/internal/uploads.mjs +131 -0
- package/internal/uploads.mjs.map +1 -0
- package/internal/utils/base64.d.mts +3 -0
- package/internal/utils/base64.d.mts.map +1 -0
- package/internal/utils/base64.d.ts +3 -0
- package/internal/utils/base64.d.ts.map +1 -0
- package/internal/utils/base64.js +38 -0
- package/internal/utils/base64.js.map +1 -0
- package/internal/utils/base64.mjs +33 -0
- package/internal/utils/base64.mjs.map +1 -0
- package/internal/utils/bytes.d.mts +4 -0
- package/internal/utils/bytes.d.mts.map +1 -0
- package/internal/utils/bytes.d.ts +4 -0
- package/internal/utils/bytes.d.ts.map +1 -0
- package/internal/utils/bytes.js +31 -0
- package/internal/utils/bytes.js.map +1 -0
- package/internal/utils/bytes.mjs +26 -0
- package/internal/utils/bytes.mjs.map +1 -0
- package/internal/utils/env.d.mts +9 -0
- package/internal/utils/env.d.mts.map +1 -0
- package/internal/utils/env.d.ts +9 -0
- package/internal/utils/env.d.ts.map +1 -0
- package/internal/utils/env.js +22 -0
- package/internal/utils/env.js.map +1 -0
- package/internal/utils/env.mjs +18 -0
- package/internal/utils/env.mjs.map +1 -0
- package/internal/utils/log.d.mts +37 -0
- package/internal/utils/log.d.mts.map +1 -0
- package/internal/utils/log.d.ts +37 -0
- package/internal/utils/log.d.ts.map +1 -0
- package/internal/utils/log.js +86 -0
- package/internal/utils/log.js.map +1 -0
- package/internal/utils/log.mjs +80 -0
- package/internal/utils/log.mjs.map +1 -0
- package/internal/utils/path.d.mts +15 -0
- package/internal/utils/path.d.mts.map +1 -0
- package/internal/utils/path.d.ts +15 -0
- package/internal/utils/path.d.ts.map +1 -0
- package/internal/utils/path.js +79 -0
- package/internal/utils/path.js.map +1 -0
- package/internal/utils/path.mjs +74 -0
- package/internal/utils/path.mjs.map +1 -0
- package/internal/utils/query.d.mts +5 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +5 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +23 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +20 -0
- package/internal/utils/query.mjs.map +1 -0
- package/internal/utils/sleep.d.mts +2 -0
- package/internal/utils/sleep.d.mts.map +1 -0
- package/internal/utils/sleep.d.ts +2 -0
- package/internal/utils/sleep.d.ts.map +1 -0
- package/internal/utils/sleep.js +7 -0
- package/internal/utils/sleep.js.map +1 -0
- package/internal/utils/sleep.mjs +3 -0
- package/internal/utils/sleep.mjs.map +1 -0
- package/internal/utils/uuid.d.mts +5 -0
- package/internal/utils/uuid.d.mts.map +1 -0
- package/internal/utils/uuid.d.ts +5 -0
- package/internal/utils/uuid.d.ts.map +1 -0
- package/internal/utils/uuid.js +19 -0
- package/internal/utils/uuid.js.map +1 -0
- package/internal/utils/uuid.mjs +15 -0
- package/internal/utils/uuid.mjs.map +1 -0
- package/internal/utils/values.d.mts +18 -0
- package/internal/utils/values.d.mts.map +1 -0
- package/internal/utils/values.d.ts +18 -0
- package/internal/utils/values.d.ts.map +1 -0
- package/internal/utils/values.js +112 -0
- package/internal/utils/values.js.map +1 -0
- package/internal/utils/values.mjs +94 -0
- package/internal/utils/values.mjs.map +1 -0
- package/internal/utils.d.mts +8 -0
- package/internal/utils.d.mts.map +1 -0
- package/internal/utils.d.ts +8 -0
- package/internal/utils.d.ts.map +1 -0
- package/internal/utils.js +12 -0
- package/internal/utils.js.map +1 -0
- package/internal/utils.mjs +9 -0
- package/internal/utils.mjs.map +1 -0
- package/package.json +143 -0
- package/resource.d.mts +2 -0
- package/resource.d.mts.map +1 -0
- package/resource.d.ts +2 -0
- package/resource.d.ts.map +1 -0
- package/resource.js +6 -0
- package/resource.js.map +1 -0
- package/resource.mjs +2 -0
- package/resource.mjs.map +1 -0
- package/resources/account.d.mts +53 -0
- package/resources/account.d.mts.map +1 -0
- package/resources/account.d.ts +53 -0
- package/resources/account.d.ts.map +1 -0
- package/resources/account.js +30 -0
- package/resources/account.js.map +1 -0
- package/resources/account.mjs +26 -0
- package/resources/account.mjs.map +1 -0
- package/resources/api-keys.d.mts +48 -0
- package/resources/api-keys.d.mts.map +1 -0
- package/resources/api-keys.d.ts +48 -0
- package/resources/api-keys.d.ts.map +1 -0
- package/resources/api-keys.js +31 -0
- package/resources/api-keys.js.map +1 -0
- package/resources/api-keys.mjs +27 -0
- package/resources/api-keys.mjs.map +1 -0
- package/resources/bot/bot.d.mts +10 -0
- package/resources/bot/bot.d.mts.map +1 -0
- package/resources/bot/bot.d.ts +10 -0
- package/resources/bot/bot.d.ts.map +1 -0
- package/resources/bot/bot.js +17 -0
- package/resources/bot/bot.js.map +1 -0
- package/resources/bot/bot.mjs +12 -0
- package/resources/bot/bot.mjs.map +1 -0
- package/resources/bot/index.d.mts +3 -0
- package/resources/bot/index.d.mts.map +1 -0
- package/resources/bot/index.d.ts +3 -0
- package/resources/bot/index.d.ts.map +1 -0
- package/resources/bot/index.js +9 -0
- package/resources/bot/index.js.map +1 -0
- package/resources/bot/index.mjs +4 -0
- package/resources/bot/index.mjs.map +1 -0
- package/resources/bot/platform-links.d.mts +4 -0
- package/resources/bot/platform-links.d.mts.map +1 -0
- package/resources/bot/platform-links.d.ts +4 -0
- package/resources/bot/platform-links.d.ts.map +1 -0
- package/resources/bot/platform-links.js +9 -0
- package/resources/bot/platform-links.js.map +1 -0
- package/resources/bot/platform-links.mjs +5 -0
- package/resources/bot/platform-links.mjs.map +1 -0
- package/resources/bot.d.mts +2 -0
- package/resources/bot.d.mts.map +1 -0
- package/resources/bot.d.ts +2 -0
- package/resources/bot.d.ts.map +1 -0
- package/resources/bot.js +6 -0
- package/resources/bot.js.map +1 -0
- package/resources/bot.mjs +3 -0
- package/resources/bot.mjs.map +1 -0
- package/resources/compose.d.mts +65 -0
- package/resources/compose.d.mts.map +1 -0
- package/resources/compose.d.ts +65 -0
- package/resources/compose.d.ts.map +1 -0
- package/resources/compose.js +18 -0
- package/resources/compose.js.map +1 -0
- package/resources/compose.mjs +14 -0
- package/resources/compose.mjs.map +1 -0
- package/resources/credits.d.mts +35 -0
- package/resources/credits.d.mts.map +1 -0
- package/resources/credits.d.ts +35 -0
- package/resources/credits.d.ts.map +1 -0
- package/resources/credits.js +24 -0
- package/resources/credits.js.map +1 -0
- package/resources/credits.mjs +20 -0
- package/resources/credits.mjs.map +1 -0
- package/resources/drafts.d.mts +60 -0
- package/resources/drafts.d.mts.map +1 -0
- package/resources/drafts.d.ts +60 -0
- package/resources/drafts.d.ts.map +1 -0
- package/resources/drafts.js +41 -0
- package/resources/drafts.js.map +1 -0
- package/resources/drafts.mjs +37 -0
- package/resources/drafts.mjs.map +1 -0
- package/resources/draws.d.mts +103 -0
- package/resources/draws.d.mts.map +1 -0
- package/resources/draws.d.ts +103 -0
- package/resources/draws.d.ts.map +1 -0
- package/resources/draws.js +43 -0
- package/resources/draws.js.map +1 -0
- package/resources/draws.mjs +39 -0
- package/resources/draws.mjs.map +1 -0
- package/resources/events.d.mts +56 -0
- package/resources/events.d.mts.map +1 -0
- package/resources/events.d.ts +56 -0
- package/resources/events.d.ts.map +1 -0
- package/resources/events.js +25 -0
- package/resources/events.js.map +1 -0
- package/resources/events.mjs +21 -0
- package/resources/events.mjs.map +1 -0
- package/resources/extractions.d.mts +128 -0
- package/resources/extractions.d.mts.map +1 -0
- package/resources/extractions.d.ts +128 -0
- package/resources/extractions.d.ts.map +1 -0
- package/resources/extractions.js +49 -0
- package/resources/extractions.js.map +1 -0
- package/resources/extractions.mjs +45 -0
- package/resources/extractions.mjs.map +1 -0
- package/resources/index.d.mts +20 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts +20 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +43 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +21 -0
- package/resources/index.mjs.map +1 -0
- package/resources/integrations.d.mts +115 -0
- package/resources/integrations.d.mts.map +1 -0
- package/resources/integrations.d.ts +115 -0
- package/resources/integrations.d.ts.map +1 -0
- package/resources/integrations.js +55 -0
- package/resources/integrations.js.map +1 -0
- package/resources/integrations.mjs +51 -0
- package/resources/integrations.mjs.map +1 -0
- package/resources/monitors.d.mts +66 -0
- package/resources/monitors.d.mts.map +1 -0
- package/resources/monitors.d.ts +66 -0
- package/resources/monitors.d.ts.map +1 -0
- package/resources/monitors.js +43 -0
- package/resources/monitors.js.map +1 -0
- package/resources/monitors.mjs +39 -0
- package/resources/monitors.mjs.map +1 -0
- package/resources/radar.d.mts +54 -0
- package/resources/radar.d.mts.map +1 -0
- package/resources/radar.d.ts +54 -0
- package/resources/radar.d.ts.map +1 -0
- package/resources/radar.js +18 -0
- package/resources/radar.js.map +1 -0
- package/resources/radar.mjs +14 -0
- package/resources/radar.mjs.map +1 -0
- package/resources/shared.d.mts +17 -0
- package/resources/shared.d.mts.map +1 -0
- package/resources/shared.d.ts +17 -0
- package/resources/shared.d.ts.map +1 -0
- package/resources/shared.js +4 -0
- package/resources/shared.js.map +1 -0
- package/resources/shared.mjs +3 -0
- package/resources/shared.mjs.map +1 -0
- package/resources/styles.d.mts +115 -0
- package/resources/styles.d.mts.map +1 -0
- package/resources/styles.d.ts +115 -0
- package/resources/styles.d.ts.map +1 -0
- package/resources/styles.js +59 -0
- package/resources/styles.js.map +1 -0
- package/resources/styles.mjs +55 -0
- package/resources/styles.mjs.map +1 -0
- package/resources/subscribe.d.mts +21 -0
- package/resources/subscribe.d.mts.map +1 -0
- package/resources/subscribe.d.ts +21 -0
- package/resources/subscribe.d.ts.map +1 -0
- package/resources/subscribe.js +18 -0
- package/resources/subscribe.js.map +1 -0
- package/resources/subscribe.mjs +14 -0
- package/resources/subscribe.mjs.map +1 -0
- package/resources/support/index.d.mts +3 -0
- package/resources/support/index.d.mts.map +1 -0
- package/resources/support/index.d.ts +3 -0
- package/resources/support/index.d.ts.map +1 -0
- package/resources/support/index.js +9 -0
- package/resources/support/index.js.map +1 -0
- package/resources/support/index.mjs +4 -0
- package/resources/support/index.mjs.map +1 -0
- package/resources/support/support.d.mts +10 -0
- package/resources/support/support.d.mts.map +1 -0
- package/resources/support/support.d.ts +10 -0
- package/resources/support/support.d.ts.map +1 -0
- package/resources/support/support.js +17 -0
- package/resources/support/support.js.map +1 -0
- package/resources/support/support.mjs +12 -0
- package/resources/support/support.mjs.map +1 -0
- package/resources/support/tickets.d.mts +80 -0
- package/resources/support/tickets.d.mts.map +1 -0
- package/resources/support/tickets.d.ts +80 -0
- package/resources/support/tickets.d.ts.map +1 -0
- package/resources/support/tickets.js +43 -0
- package/resources/support/tickets.js.map +1 -0
- package/resources/support/tickets.mjs +39 -0
- package/resources/support/tickets.mjs.map +1 -0
- package/resources/support.d.mts +2 -0
- package/resources/support.d.mts.map +1 -0
- package/resources/support.d.ts +2 -0
- package/resources/support.d.ts.map +1 -0
- package/resources/support.js +6 -0
- package/resources/support.js.map +1 -0
- package/resources/support.mjs +3 -0
- package/resources/support.mjs.map +1 -0
- package/resources/trends.d.mts +36 -0
- package/resources/trends.d.mts.map +1 -0
- package/resources/trends.d.ts +36 -0
- package/resources/trends.d.ts.map +1 -0
- package/resources/trends.js +18 -0
- package/resources/trends.js.map +1 -0
- package/resources/trends.mjs +14 -0
- package/resources/trends.mjs.map +1 -0
- package/resources/webhooks.d.mts +87 -0
- package/resources/webhooks.d.mts.map +1 -0
- package/resources/webhooks.d.ts +87 -0
- package/resources/webhooks.d.ts.map +1 -0
- package/resources/webhooks.js +49 -0
- package/resources/webhooks.js.map +1 -0
- package/resources/webhooks.mjs +45 -0
- package/resources/webhooks.mjs.map +1 -0
- package/resources/x/accounts.d.mts +98 -0
- package/resources/x/accounts.d.mts.map +1 -0
- package/resources/x/accounts.d.ts +98 -0
- package/resources/x/accounts.d.ts.map +1 -0
- package/resources/x/accounts.js +43 -0
- package/resources/x/accounts.js.map +1 -0
- package/resources/x/accounts.mjs +39 -0
- package/resources/x/accounts.mjs.map +1 -0
- package/resources/x/bookmarks.d.mts +42 -0
- package/resources/x/bookmarks.d.mts.map +1 -0
- package/resources/x/bookmarks.d.ts +42 -0
- package/resources/x/bookmarks.d.ts.map +1 -0
- package/resources/x/bookmarks.js +24 -0
- package/resources/x/bookmarks.js.map +1 -0
- package/resources/x/bookmarks.mjs +20 -0
- package/resources/x/bookmarks.mjs.map +1 -0
- package/resources/x/communities/communities.d.mts +110 -0
- package/resources/x/communities/communities.d.mts.map +1 -0
- package/resources/x/communities/communities.d.ts +110 -0
- package/resources/x/communities/communities.d.ts.map +1 -0
- package/resources/x/communities/communities.js +71 -0
- package/resources/x/communities/communities.js.map +1 -0
- package/resources/x/communities/communities.mjs +66 -0
- package/resources/x/communities/communities.mjs.map +1 -0
- package/resources/x/communities/index.d.mts +4 -0
- package/resources/x/communities/index.d.mts.map +1 -0
- package/resources/x/communities/index.d.ts +4 -0
- package/resources/x/communities/index.d.ts.map +1 -0
- package/resources/x/communities/index.js +11 -0
- package/resources/x/communities/index.js.map +1 -0
- package/resources/x/communities/index.mjs +5 -0
- package/resources/x/communities/index.mjs.map +1 -0
- package/resources/x/communities/join.d.mts +33 -0
- package/resources/x/communities/join.d.mts.map +1 -0
- package/resources/x/communities/join.d.ts +33 -0
- package/resources/x/communities/join.d.ts.map +1 -0
- package/resources/x/communities/join.js +25 -0
- package/resources/x/communities/join.js.map +1 -0
- package/resources/x/communities/join.mjs +21 -0
- package/resources/x/communities/join.mjs.map +1 -0
- package/resources/x/communities/tweets.d.mts +30 -0
- package/resources/x/communities/tweets.d.mts.map +1 -0
- package/resources/x/communities/tweets.d.ts +30 -0
- package/resources/x/communities/tweets.d.ts.map +1 -0
- package/resources/x/communities/tweets.js +23 -0
- package/resources/x/communities/tweets.js.map +1 -0
- package/resources/x/communities/tweets.mjs +19 -0
- package/resources/x/communities/tweets.mjs.map +1 -0
- package/resources/x/communities.d.mts +2 -0
- package/resources/x/communities.d.mts.map +1 -0
- package/resources/x/communities.d.ts +2 -0
- package/resources/x/communities.d.ts.map +1 -0
- package/resources/x/communities.js +6 -0
- package/resources/x/communities.js.map +1 -0
- package/resources/x/communities.mjs +3 -0
- package/resources/x/communities.mjs.map +1 -0
- package/resources/x/dm.d.mts +54 -0
- package/resources/x/dm.d.mts.map +1 -0
- package/resources/x/dm.d.ts +54 -0
- package/resources/x/dm.d.ts.map +1 -0
- package/resources/x/dm.js +22 -0
- package/resources/x/dm.js.map +1 -0
- package/resources/x/dm.mjs +18 -0
- package/resources/x/dm.mjs.map +1 -0
- package/resources/x/followers.d.mts +32 -0
- package/resources/x/followers.d.mts.map +1 -0
- package/resources/x/followers.d.ts +32 -0
- package/resources/x/followers.d.ts.map +1 -0
- package/resources/x/followers.js +18 -0
- package/resources/x/followers.js.map +1 -0
- package/resources/x/followers.mjs +14 -0
- package/resources/x/followers.mjs.map +1 -0
- package/resources/x/index.d.mts +12 -0
- package/resources/x/index.d.mts.map +1 -0
- package/resources/x/index.d.ts +12 -0
- package/resources/x/index.d.ts.map +1 -0
- package/resources/x/index.js +27 -0
- package/resources/x/index.js.map +1 -0
- package/resources/x/index.mjs +13 -0
- package/resources/x/index.mjs.map +1 -0
- package/resources/x/lists.d.mts +54 -0
- package/resources/x/lists.d.mts.map +1 -0
- package/resources/x/lists.d.ts +54 -0
- package/resources/x/lists.d.ts.map +1 -0
- package/resources/x/lists.js +44 -0
- package/resources/x/lists.js.map +1 -0
- package/resources/x/lists.mjs +40 -0
- package/resources/x/lists.mjs.map +1 -0
- package/resources/x/media.d.mts +53 -0
- package/resources/x/media.d.mts.map +1 -0
- package/resources/x/media.d.ts +53 -0
- package/resources/x/media.d.ts.map +1 -0
- package/resources/x/media.js +25 -0
- package/resources/x/media.js.map +1 -0
- package/resources/x/media.mjs +21 -0
- package/resources/x/media.mjs.map +1 -0
- package/resources/x/profile.d.mts +73 -0
- package/resources/x/profile.d.mts.map +1 -0
- package/resources/x/profile.d.ts +73 -0
- package/resources/x/profile.d.ts.map +1 -0
- package/resources/x/profile.js +31 -0
- package/resources/x/profile.js.map +1 -0
- package/resources/x/profile.mjs +27 -0
- package/resources/x/profile.mjs.map +1 -0
- package/resources/x/tweets/index.d.mts +4 -0
- package/resources/x/tweets/index.d.mts.map +1 -0
- package/resources/x/tweets/index.d.ts +4 -0
- package/resources/x/tweets/index.d.ts.map +1 -0
- package/resources/x/tweets/index.js +11 -0
- package/resources/x/tweets/index.js.map +1 -0
- package/resources/x/tweets/index.mjs +5 -0
- package/resources/x/tweets/index.mjs.map +1 -0
- package/resources/x/tweets/like.d.mts +38 -0
- package/resources/x/tweets/like.d.mts.map +1 -0
- package/resources/x/tweets/like.d.ts +38 -0
- package/resources/x/tweets/like.d.ts.map +1 -0
- package/resources/x/tweets/like.js +25 -0
- package/resources/x/tweets/like.js.map +1 -0
- package/resources/x/tweets/like.mjs +21 -0
- package/resources/x/tweets/like.mjs.map +1 -0
- package/resources/x/tweets/retweet.d.mts +38 -0
- package/resources/x/tweets/retweet.d.mts.map +1 -0
- package/resources/x/tweets/retweet.d.ts +38 -0
- package/resources/x/tweets/retweet.d.ts.map +1 -0
- package/resources/x/tweets/retweet.js +25 -0
- package/resources/x/tweets/retweet.js.map +1 -0
- package/resources/x/tweets/retweet.mjs +21 -0
- package/resources/x/tweets/retweet.mjs.map +1 -0
- package/resources/x/tweets/tweets.d.mts +207 -0
- package/resources/x/tweets/tweets.d.mts.map +1 -0
- package/resources/x/tweets/tweets.d.ts +207 -0
- package/resources/x/tweets/tweets.d.ts.map +1 -0
- package/resources/x/tweets/tweets.js +87 -0
- package/resources/x/tweets/tweets.js.map +1 -0
- package/resources/x/tweets/tweets.mjs +82 -0
- package/resources/x/tweets/tweets.mjs.map +1 -0
- package/resources/x/tweets.d.mts +2 -0
- package/resources/x/tweets.d.mts.map +1 -0
- package/resources/x/tweets.d.ts +2 -0
- package/resources/x/tweets.d.ts.map +1 -0
- package/resources/x/tweets.js +6 -0
- package/resources/x/tweets.js.map +1 -0
- package/resources/x/tweets.mjs +3 -0
- package/resources/x/tweets.mjs.map +1 -0
- package/resources/x/users/follow.d.mts +38 -0
- package/resources/x/users/follow.d.mts.map +1 -0
- package/resources/x/users/follow.d.ts +38 -0
- package/resources/x/users/follow.d.ts.map +1 -0
- package/resources/x/users/follow.js +25 -0
- package/resources/x/users/follow.js.map +1 -0
- package/resources/x/users/follow.mjs +21 -0
- package/resources/x/users/follow.mjs.map +1 -0
- package/resources/x/users/index.d.mts +3 -0
- package/resources/x/users/index.d.mts.map +1 -0
- package/resources/x/users/index.d.ts +3 -0
- package/resources/x/users/index.d.ts.map +1 -0
- package/resources/x/users/index.js +9 -0
- package/resources/x/users/index.js.map +1 -0
- package/resources/x/users/index.mjs +4 -0
- package/resources/x/users/index.mjs.map +1 -0
- package/resources/x/users/users.d.mts +162 -0
- package/resources/x/users/users.d.mts.map +1 -0
- package/resources/x/users/users.d.ts +162 -0
- package/resources/x/users/users.d.ts.map +1 -0
- package/resources/x/users/users.js +112 -0
- package/resources/x/users/users.js.map +1 -0
- package/resources/x/users/users.mjs +107 -0
- package/resources/x/users/users.mjs.map +1 -0
- package/resources/x/users.d.mts +2 -0
- package/resources/x/users.d.mts.map +1 -0
- package/resources/x/users.d.ts +2 -0
- package/resources/x/users.d.ts.map +1 -0
- package/resources/x/users.js +6 -0
- package/resources/x/users.js.map +1 -0
- package/resources/x/users.mjs +3 -0
- package/resources/x/users.mjs.map +1 -0
- package/resources/x/x.d.mts +135 -0
- package/resources/x/x.d.mts.map +1 -0
- package/resources/x/x.d.ts +135 -0
- package/resources/x/x.d.ts.map +1 -0
- package/resources/x/x.js +85 -0
- package/resources/x/x.js.map +1 -0
- package/resources/x/x.mjs +80 -0
- package/resources/x/x.mjs.map +1 -0
- package/resources/x.d.mts +2 -0
- package/resources/x.d.mts.map +1 -0
- package/resources/x.d.ts +2 -0
- package/resources/x.d.ts.map +1 -0
- package/resources/x.js +6 -0
- package/resources/x.js.map +1 -0
- package/resources/x.mjs +3 -0
- package/resources/x.mjs.map +1 -0
- package/resources.d.mts +2 -0
- package/resources.d.mts.map +1 -0
- package/resources.d.ts +2 -0
- package/resources.d.ts.map +1 -0
- package/resources.js +5 -0
- package/resources.js.map +1 -0
- package/resources.mjs +2 -0
- package/resources.mjs.map +1 -0
- package/src/api-promise.ts +2 -0
- package/src/client.ts +1123 -0
- package/src/core/README.md +3 -0
- package/src/core/api-promise.ts +92 -0
- package/src/core/error.ts +130 -0
- package/src/core/resource.ts +11 -0
- package/src/core/uploads.ts +2 -0
- package/src/error.ts +2 -0
- package/src/index.ts +22 -0
- package/src/internal/README.md +3 -0
- package/src/internal/builtin-types.ts +93 -0
- package/src/internal/detect-platform.ts +196 -0
- package/src/internal/errors.ts +33 -0
- package/src/internal/headers.ts +97 -0
- package/src/internal/parse.ts +56 -0
- package/src/internal/request-options.ts +93 -0
- package/src/internal/shim-types.ts +26 -0
- package/src/internal/shims.ts +107 -0
- package/src/internal/to-file.ts +154 -0
- package/src/internal/types.ts +95 -0
- package/src/internal/uploads.ts +187 -0
- package/src/internal/utils/base64.ts +40 -0
- package/src/internal/utils/bytes.ts +32 -0
- package/src/internal/utils/env.ts +18 -0
- package/src/internal/utils/log.ts +127 -0
- package/src/internal/utils/path.ts +88 -0
- package/src/internal/utils/query.ts +23 -0
- package/src/internal/utils/sleep.ts +3 -0
- package/src/internal/utils/uuid.ts +17 -0
- package/src/internal/utils/values.ts +105 -0
- package/src/internal/utils.ts +9 -0
- package/src/lib/.keep +4 -0
- package/src/resource.ts +2 -0
- package/src/resources/account.ts +88 -0
- package/src/resources/api-keys.ts +80 -0
- package/src/resources/bot/bot.ts +15 -0
- package/src/resources/bot/index.ts +4 -0
- package/src/resources/bot/platform-links.ts +5 -0
- package/src/resources/bot.ts +3 -0
- package/src/resources/compose.ts +83 -0
- package/src/resources/credits.ts +56 -0
- package/src/resources/drafts.ts +107 -0
- package/src/resources/draws.ts +192 -0
- package/src/resources/events.ts +89 -0
- package/src/resources/extractions.ts +321 -0
- package/src/resources/index.ts +121 -0
- package/src/resources/integrations.ts +183 -0
- package/src/resources/monitors.ts +109 -0
- package/src/resources/radar.ts +82 -0
- package/src/resources/shared.ts +57 -0
- package/src/resources/styles.ts +184 -0
- package/src/resources/subscribe.ts +29 -0
- package/src/resources/support/index.ts +14 -0
- package/src/resources/support/support.ts +35 -0
- package/src/resources/support/tickets.ts +131 -0
- package/src/resources/support.ts +3 -0
- package/src/resources/trends.ts +53 -0
- package/src/resources/webhooks.ts +147 -0
- package/src/resources/x/accounts.ts +154 -0
- package/src/resources/x/bookmarks.ts +63 -0
- package/src/resources/x/communities/communities.ts +194 -0
- package/src/resources/x/communities/index.ts +16 -0
- package/src/resources/x/communities/join.ts +52 -0
- package/src/resources/x/communities/tweets.ts +43 -0
- package/src/resources/x/communities.ts +3 -0
- package/src/resources/x/dm.ts +88 -0
- package/src/resources/x/followers.ts +46 -0
- package/src/resources/x/index.ts +95 -0
- package/src/resources/x/lists.ts +101 -0
- package/src/resources/x/media.ts +79 -0
- package/src/resources/x/profile.ts +116 -0
- package/src/resources/x/tweets/index.ts +34 -0
- package/src/resources/x/tweets/like.ts +56 -0
- package/src/resources/x/tweets/retweet.ts +64 -0
- package/src/resources/x/tweets/tweets.ts +367 -0
- package/src/resources/x/tweets.ts +3 -0
- package/src/resources/x/users/follow.ts +64 -0
- package/src/resources/x/users/index.ts +23 -0
- package/src/resources/x/users/users.ts +311 -0
- package/src/resources/x/users.ts +3 -0
- package/src/resources/x/x.ts +368 -0
- package/src/resources/x.ts +3 -0
- package/src/resources.ts +1 -0
- package/src/tsconfig.json +11 -0
- package/src/uploads.ts +2 -0
- package/src/version.ts +1 -0
- package/uploads.d.mts +2 -0
- package/uploads.d.mts.map +1 -0
- package/uploads.d.ts +2 -0
- package/uploads.d.ts.map +1 -0
- package/uploads.js +6 -0
- package/uploads.js.map +1 -0
- package/uploads.mjs +2 -0
- package/uploads.mjs.map +1 -0
- package/version.d.mts +2 -0
- package/version.d.mts.map +1 -0
- package/version.d.ts +2 -0
- package/version.d.ts.map +1 -0
- package/version.js +5 -0
- package/version.js.map +1 -0
- package/version.mjs +2 -0
- package/version.mjs.map +1 -0
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as Shared from "../../shared.js";
|
|
3
|
+
import * as FollowAPI from "./follow.js";
|
|
4
|
+
import { Follow, FollowCreateParams, FollowCreateResponse, FollowDeleteAllParams, FollowDeleteAllResponse } from "./follow.js";
|
|
5
|
+
import { APIPromise } from "../../../core/api-promise.js";
|
|
6
|
+
import { RequestOptions } from "../../../internal/request-options.js";
|
|
7
|
+
/**
|
|
8
|
+
* X data lookups (subscription required)
|
|
9
|
+
*/
|
|
10
|
+
export declare class Users extends APIResource {
|
|
11
|
+
follow: FollowAPI.Follow;
|
|
12
|
+
/**
|
|
13
|
+
* Look up X user
|
|
14
|
+
*/
|
|
15
|
+
retrieve(username: string, options?: RequestOptions): APIPromise<UserProfile>;
|
|
16
|
+
/**
|
|
17
|
+
* Get multiple users by IDs
|
|
18
|
+
*/
|
|
19
|
+
retrieveBatch(query: UserRetrieveBatchParams, options?: RequestOptions): APIPromise<void>;
|
|
20
|
+
/**
|
|
21
|
+
* Get user followers
|
|
22
|
+
*/
|
|
23
|
+
retrieveFollowers(id: string, query?: UserRetrieveFollowersParams | null | undefined, options?: RequestOptions): APIPromise<void>;
|
|
24
|
+
/**
|
|
25
|
+
* Get followers you know for a user
|
|
26
|
+
*/
|
|
27
|
+
retrieveFollowersYouKnow(id: string, query?: UserRetrieveFollowersYouKnowParams | null | undefined, options?: RequestOptions): APIPromise<Shared.PaginatedUsers>;
|
|
28
|
+
/**
|
|
29
|
+
* Get users this user follows
|
|
30
|
+
*/
|
|
31
|
+
retrieveFollowing(id: string, query?: UserRetrieveFollowingParams | null | undefined, options?: RequestOptions): APIPromise<void>;
|
|
32
|
+
/**
|
|
33
|
+
* Get tweets liked by a user
|
|
34
|
+
*/
|
|
35
|
+
retrieveLikes(id: string, query?: UserRetrieveLikesParams | null | undefined, options?: RequestOptions): APIPromise<Shared.PaginatedTweets>;
|
|
36
|
+
/**
|
|
37
|
+
* Get media tweets by a user
|
|
38
|
+
*/
|
|
39
|
+
retrieveMedia(id: string, query?: UserRetrieveMediaParams | null | undefined, options?: RequestOptions): APIPromise<Shared.PaginatedTweets>;
|
|
40
|
+
/**
|
|
41
|
+
* Get tweets mentioning a user
|
|
42
|
+
*/
|
|
43
|
+
retrieveMentions(id: string, query?: UserRetrieveMentionsParams | null | undefined, options?: RequestOptions): APIPromise<void>;
|
|
44
|
+
/**
|
|
45
|
+
* Search users by name or username
|
|
46
|
+
*/
|
|
47
|
+
retrieveSearch(query: UserRetrieveSearchParams, options?: RequestOptions): APIPromise<void>;
|
|
48
|
+
/**
|
|
49
|
+
* Get recent tweets by a user
|
|
50
|
+
*/
|
|
51
|
+
retrieveTweets(id: string, query?: UserRetrieveTweetsParams | null | undefined, options?: RequestOptions): APIPromise<Shared.PaginatedTweets>;
|
|
52
|
+
/**
|
|
53
|
+
* Get verified followers
|
|
54
|
+
*/
|
|
55
|
+
retrieveVerifiedFollowers(id: string, query?: UserRetrieveVerifiedFollowersParams | null | undefined, options?: RequestOptions): APIPromise<void>;
|
|
56
|
+
}
|
|
57
|
+
export interface UserProfile {
|
|
58
|
+
id: string;
|
|
59
|
+
name: string;
|
|
60
|
+
username: string;
|
|
61
|
+
createdAt?: string;
|
|
62
|
+
description?: string;
|
|
63
|
+
followers?: number;
|
|
64
|
+
following?: number;
|
|
65
|
+
location?: string;
|
|
66
|
+
profilePicture?: string;
|
|
67
|
+
statusesCount?: number;
|
|
68
|
+
verified?: boolean;
|
|
69
|
+
}
|
|
70
|
+
export interface UserRetrieveBatchParams {
|
|
71
|
+
/**
|
|
72
|
+
* Comma-separated user IDs (max 100)
|
|
73
|
+
*/
|
|
74
|
+
ids: string;
|
|
75
|
+
}
|
|
76
|
+
export interface UserRetrieveFollowersParams {
|
|
77
|
+
/**
|
|
78
|
+
* Pagination cursor
|
|
79
|
+
*/
|
|
80
|
+
cursor?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Items per page (20-200, default 200)
|
|
83
|
+
*/
|
|
84
|
+
pageSize?: number;
|
|
85
|
+
}
|
|
86
|
+
export interface UserRetrieveFollowersYouKnowParams {
|
|
87
|
+
/**
|
|
88
|
+
* Pagination cursor from previous response
|
|
89
|
+
*/
|
|
90
|
+
cursor?: string;
|
|
91
|
+
}
|
|
92
|
+
export interface UserRetrieveFollowingParams {
|
|
93
|
+
/**
|
|
94
|
+
* Pagination cursor
|
|
95
|
+
*/
|
|
96
|
+
cursor?: string;
|
|
97
|
+
/**
|
|
98
|
+
* Items per page (20-200, default 200)
|
|
99
|
+
*/
|
|
100
|
+
pageSize?: number;
|
|
101
|
+
}
|
|
102
|
+
export interface UserRetrieveLikesParams {
|
|
103
|
+
/**
|
|
104
|
+
* Pagination cursor from previous response
|
|
105
|
+
*/
|
|
106
|
+
cursor?: string;
|
|
107
|
+
}
|
|
108
|
+
export interface UserRetrieveMediaParams {
|
|
109
|
+
/**
|
|
110
|
+
* Pagination cursor from previous response
|
|
111
|
+
*/
|
|
112
|
+
cursor?: string;
|
|
113
|
+
}
|
|
114
|
+
export interface UserRetrieveMentionsParams {
|
|
115
|
+
/**
|
|
116
|
+
* Pagination cursor
|
|
117
|
+
*/
|
|
118
|
+
cursor?: string;
|
|
119
|
+
/**
|
|
120
|
+
* Unix timestamp - filter after
|
|
121
|
+
*/
|
|
122
|
+
sinceTime?: string;
|
|
123
|
+
/**
|
|
124
|
+
* Unix timestamp - filter before
|
|
125
|
+
*/
|
|
126
|
+
untilTime?: string;
|
|
127
|
+
}
|
|
128
|
+
export interface UserRetrieveSearchParams {
|
|
129
|
+
/**
|
|
130
|
+
* Search query
|
|
131
|
+
*/
|
|
132
|
+
q: string;
|
|
133
|
+
/**
|
|
134
|
+
* Pagination cursor
|
|
135
|
+
*/
|
|
136
|
+
cursor?: string;
|
|
137
|
+
}
|
|
138
|
+
export interface UserRetrieveTweetsParams {
|
|
139
|
+
/**
|
|
140
|
+
* Pagination cursor from previous response
|
|
141
|
+
*/
|
|
142
|
+
cursor?: string;
|
|
143
|
+
/**
|
|
144
|
+
* Include parent tweet for replies
|
|
145
|
+
*/
|
|
146
|
+
includeParentTweet?: boolean;
|
|
147
|
+
/**
|
|
148
|
+
* Include reply tweets
|
|
149
|
+
*/
|
|
150
|
+
includeReplies?: boolean;
|
|
151
|
+
}
|
|
152
|
+
export interface UserRetrieveVerifiedFollowersParams {
|
|
153
|
+
/**
|
|
154
|
+
* Pagination cursor
|
|
155
|
+
*/
|
|
156
|
+
cursor?: string;
|
|
157
|
+
}
|
|
158
|
+
export declare namespace Users {
|
|
159
|
+
export { type UserProfile as UserProfile, type UserRetrieveBatchParams as UserRetrieveBatchParams, type UserRetrieveFollowersParams as UserRetrieveFollowersParams, type UserRetrieveFollowersYouKnowParams as UserRetrieveFollowersYouKnowParams, type UserRetrieveFollowingParams as UserRetrieveFollowingParams, type UserRetrieveLikesParams as UserRetrieveLikesParams, type UserRetrieveMediaParams as UserRetrieveMediaParams, type UserRetrieveMentionsParams as UserRetrieveMentionsParams, type UserRetrieveSearchParams as UserRetrieveSearchParams, type UserRetrieveTweetsParams as UserRetrieveTweetsParams, type UserRetrieveVerifiedFollowersParams as UserRetrieveVerifiedFollowersParams, };
|
|
160
|
+
export { Follow as Follow, type FollowCreateResponse as FollowCreateResponse, type FollowDeleteAllResponse as FollowDeleteAllResponse, type FollowCreateParams as FollowCreateParams, type FollowDeleteAllParams as FollowDeleteAllParams, };
|
|
161
|
+
}
|
|
162
|
+
//# sourceMappingURL=users.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../src/resources/x/users/users.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,SAAS;OACd,EACL,MAAM,EACN,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EACrB,uBAAuB,EACxB;OACM,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,KAAM,SAAQ,WAAW;IACpC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG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,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Users = void 0;
|
|
5
|
+
const tslib_1 = require("../../../internal/tslib.js");
|
|
6
|
+
const resource_1 = require("../../../core/resource.js");
|
|
7
|
+
const FollowAPI = tslib_1.__importStar(require("./follow.js"));
|
|
8
|
+
const follow_1 = require("./follow.js");
|
|
9
|
+
const headers_1 = require("../../../internal/headers.js");
|
|
10
|
+
const path_1 = require("../../../internal/utils/path.js");
|
|
11
|
+
/**
|
|
12
|
+
* X data lookups (subscription required)
|
|
13
|
+
*/
|
|
14
|
+
class Users extends resource_1.APIResource {
|
|
15
|
+
constructor() {
|
|
16
|
+
super(...arguments);
|
|
17
|
+
this.follow = new FollowAPI.Follow(this._client);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Look up X user
|
|
21
|
+
*/
|
|
22
|
+
retrieve(username, options) {
|
|
23
|
+
return this._client.get((0, path_1.path) `/x/users/${username}`, options);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Get multiple users by IDs
|
|
27
|
+
*/
|
|
28
|
+
retrieveBatch(query, options) {
|
|
29
|
+
return this._client.get('/x/users/batch', {
|
|
30
|
+
query,
|
|
31
|
+
...options,
|
|
32
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Get user followers
|
|
37
|
+
*/
|
|
38
|
+
retrieveFollowers(id, query = {}, options) {
|
|
39
|
+
return this._client.get((0, path_1.path) `/x/users/${id}/followers`, {
|
|
40
|
+
query,
|
|
41
|
+
...options,
|
|
42
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Get followers you know for a user
|
|
47
|
+
*/
|
|
48
|
+
retrieveFollowersYouKnow(id, query = {}, options) {
|
|
49
|
+
return this._client.get((0, path_1.path) `/x/users/${id}/followers-you-know`, { query, ...options });
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Get users this user follows
|
|
53
|
+
*/
|
|
54
|
+
retrieveFollowing(id, query = {}, options) {
|
|
55
|
+
return this._client.get((0, path_1.path) `/x/users/${id}/following`, {
|
|
56
|
+
query,
|
|
57
|
+
...options,
|
|
58
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Get tweets liked by a user
|
|
63
|
+
*/
|
|
64
|
+
retrieveLikes(id, query = {}, options) {
|
|
65
|
+
return this._client.get((0, path_1.path) `/x/users/${id}/likes`, { query, ...options });
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Get media tweets by a user
|
|
69
|
+
*/
|
|
70
|
+
retrieveMedia(id, query = {}, options) {
|
|
71
|
+
return this._client.get((0, path_1.path) `/x/users/${id}/media`, { query, ...options });
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Get tweets mentioning a user
|
|
75
|
+
*/
|
|
76
|
+
retrieveMentions(id, query = {}, options) {
|
|
77
|
+
return this._client.get((0, path_1.path) `/x/users/${id}/mentions`, {
|
|
78
|
+
query,
|
|
79
|
+
...options,
|
|
80
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Search users by name or username
|
|
85
|
+
*/
|
|
86
|
+
retrieveSearch(query, options) {
|
|
87
|
+
return this._client.get('/x/users/search', {
|
|
88
|
+
query,
|
|
89
|
+
...options,
|
|
90
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Get recent tweets by a user
|
|
95
|
+
*/
|
|
96
|
+
retrieveTweets(id, query = {}, options) {
|
|
97
|
+
return this._client.get((0, path_1.path) `/x/users/${id}/tweets`, { query, ...options });
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Get verified followers
|
|
101
|
+
*/
|
|
102
|
+
retrieveVerifiedFollowers(id, query = {}, options) {
|
|
103
|
+
return this._client.get((0, path_1.path) `/x/users/${id}/verified-followers`, {
|
|
104
|
+
query,
|
|
105
|
+
...options,
|
|
106
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.Users = Users;
|
|
111
|
+
Users.Follow = follow_1.Follow;
|
|
112
|
+
//# sourceMappingURL=users.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"users.js","sourceRoot":"","sources":["../../../src/resources/x/users/users.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAErD,+DAAsC;AACtC,wCAMkB;AAElB,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,KAAM,SAAQ,sBAAW;IAAtC;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAsIhE,CAAC;IApIC;;OAEG;IACH,QAAQ,CAAC,QAAgB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,aAAa,CAAC,KAA8B,EAAE,OAAwB;QACpE,OAAO,IAAI,CAAC,OA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EAAA,YAAY,EAAE,qBAAqB,EAAE;YAC/D,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAvID,sBAuIC;AAmID,KAAK,CAAC,MAAM,GAAG,eAAM,CAAC"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import * as FollowAPI from "./follow.mjs";
|
|
4
|
+
import { Follow, } from "./follow.mjs";
|
|
5
|
+
import { buildHeaders } from "../../../internal/headers.mjs";
|
|
6
|
+
import { path } from "../../../internal/utils/path.mjs";
|
|
7
|
+
/**
|
|
8
|
+
* X data lookups (subscription required)
|
|
9
|
+
*/
|
|
10
|
+
export class Users extends APIResource {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
this.follow = new FollowAPI.Follow(this._client);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Look up X user
|
|
17
|
+
*/
|
|
18
|
+
retrieve(username, options) {
|
|
19
|
+
return this._client.get(path `/x/users/${username}`, options);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Get multiple users by IDs
|
|
23
|
+
*/
|
|
24
|
+
retrieveBatch(query, options) {
|
|
25
|
+
return this._client.get('/x/users/batch', {
|
|
26
|
+
query,
|
|
27
|
+
...options,
|
|
28
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Get user followers
|
|
33
|
+
*/
|
|
34
|
+
retrieveFollowers(id, query = {}, options) {
|
|
35
|
+
return this._client.get(path `/x/users/${id}/followers`, {
|
|
36
|
+
query,
|
|
37
|
+
...options,
|
|
38
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Get followers you know for a user
|
|
43
|
+
*/
|
|
44
|
+
retrieveFollowersYouKnow(id, query = {}, options) {
|
|
45
|
+
return this._client.get(path `/x/users/${id}/followers-you-know`, { query, ...options });
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Get users this user follows
|
|
49
|
+
*/
|
|
50
|
+
retrieveFollowing(id, query = {}, options) {
|
|
51
|
+
return this._client.get(path `/x/users/${id}/following`, {
|
|
52
|
+
query,
|
|
53
|
+
...options,
|
|
54
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Get tweets liked by a user
|
|
59
|
+
*/
|
|
60
|
+
retrieveLikes(id, query = {}, options) {
|
|
61
|
+
return this._client.get(path `/x/users/${id}/likes`, { query, ...options });
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Get media tweets by a user
|
|
65
|
+
*/
|
|
66
|
+
retrieveMedia(id, query = {}, options) {
|
|
67
|
+
return this._client.get(path `/x/users/${id}/media`, { query, ...options });
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Get tweets mentioning a user
|
|
71
|
+
*/
|
|
72
|
+
retrieveMentions(id, query = {}, options) {
|
|
73
|
+
return this._client.get(path `/x/users/${id}/mentions`, {
|
|
74
|
+
query,
|
|
75
|
+
...options,
|
|
76
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Search users by name or username
|
|
81
|
+
*/
|
|
82
|
+
retrieveSearch(query, options) {
|
|
83
|
+
return this._client.get('/x/users/search', {
|
|
84
|
+
query,
|
|
85
|
+
...options,
|
|
86
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Get recent tweets by a user
|
|
91
|
+
*/
|
|
92
|
+
retrieveTweets(id, query = {}, options) {
|
|
93
|
+
return this._client.get(path `/x/users/${id}/tweets`, { query, ...options });
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Get verified followers
|
|
97
|
+
*/
|
|
98
|
+
retrieveVerifiedFollowers(id, query = {}, options) {
|
|
99
|
+
return this._client.get(path `/x/users/${id}/verified-followers`, {
|
|
100
|
+
query,
|
|
101
|
+
...options,
|
|
102
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
Users.Follow = Follow;
|
|
107
|
+
//# sourceMappingURL=users.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"users.mjs","sourceRoot":"","sources":["../../../src/resources/x/users/users.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,SAAS;OACd,EACL,MAAM,GAKP;OAEM,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAsIhE,CAAC;IApIC;;OAEG;IACH,QAAQ,CAAC,QAAgB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,aAAa,CAAC,KAA8B,EAAE,OAAwB;QACpE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE;YACxC,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,YA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D,CAAC,CAAC;IACL,CAAC;CACF;AAmID,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"users.d.mts","sourceRoot":"","sources":["../../src/resources/x/users.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/resources/x/users.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const tslib_1 = require("../../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./users/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=users.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"users.js","sourceRoot":"","sources":["../../src/resources/x/users.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAA8B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"users.mjs","sourceRoot":"","sources":["../../src/resources/x/users.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as Shared from "../shared.mjs";
|
|
3
|
+
import * as AccountsAPI from "./accounts.mjs";
|
|
4
|
+
import { AccountCreateParams, AccountCreateResponse, AccountDeleteResponse, AccountListResponse, AccountReauthParams, AccountReauthResponse, Accounts, XAccount, XAccountDetail } from "./accounts.mjs";
|
|
5
|
+
import * as BookmarksAPI from "./bookmarks.mjs";
|
|
6
|
+
import { BookmarkListParams, BookmarkRetrieveFoldersResponse, Bookmarks } from "./bookmarks.mjs";
|
|
7
|
+
import * as DmAPI from "./dm.mjs";
|
|
8
|
+
import { Dm, DmRetrieveHistoryParams, DmRetrieveHistoryResponse, DmSendParams, DmSendResponse } from "./dm.mjs";
|
|
9
|
+
import * as FollowersAPI from "./followers.mjs";
|
|
10
|
+
import { FollowerCheckParams, FollowerCheckResponse, Followers } from "./followers.mjs";
|
|
11
|
+
import * as ListsAPI from "./lists.mjs";
|
|
12
|
+
import { ListRetrieveFollowersParams, ListRetrieveMembersParams, ListRetrieveTweetsParams, Lists } from "./lists.mjs";
|
|
13
|
+
import * as MediaAPI from "./media.mjs";
|
|
14
|
+
import { Media, MediaDownloadParams, MediaDownloadResponse, MediaUploadParams, MediaUploadResponse } from "./media.mjs";
|
|
15
|
+
import * as ProfileAPI from "./profile.mjs";
|
|
16
|
+
import { Profile, ProfileUpdateAvatarParams, ProfileUpdateAvatarResponse, ProfileUpdateBannerParams, ProfileUpdateBannerResponse, ProfileUpdateParams, ProfileUpdateResponse } from "./profile.mjs";
|
|
17
|
+
import * as CommunitiesAPI from "./communities/communities.mjs";
|
|
18
|
+
import { Communities, CommunityActionResult, CommunityCreateParams, CommunityCreateResponse, CommunityDeleteParams, CommunityDeleteResponse, CommunityRetrieveInfoResponse, CommunityRetrieveMembersParams, CommunityRetrieveModeratorsParams, CommunityRetrieveSearchParams } from "./communities/communities.mjs";
|
|
19
|
+
import * as TweetsAPI from "./tweets/tweets.mjs";
|
|
20
|
+
import { SearchTweet, TweetAuthor, TweetCreateParams, TweetCreateResponse, TweetDeleteParams, TweetDeleteResponse, TweetDetail, TweetGetFavoritersParams, TweetGetQuotesParams, TweetGetRepliesParams, TweetGetRetweetersParams, TweetGetThreadParams, TweetListParams, TweetRetrieveResponse, TweetSearchParams, Tweets } from "./tweets/tweets.mjs";
|
|
21
|
+
import * as UsersAPI from "./users/users.mjs";
|
|
22
|
+
import { UserProfile, UserRetrieveBatchParams, UserRetrieveFollowersParams, UserRetrieveFollowersYouKnowParams, UserRetrieveFollowingParams, UserRetrieveLikesParams, UserRetrieveMediaParams, UserRetrieveMentionsParams, UserRetrieveSearchParams, UserRetrieveTweetsParams, UserRetrieveVerifiedFollowersParams, Users } from "./users/users.mjs";
|
|
23
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
24
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
25
|
+
/**
|
|
26
|
+
* X data lookups (subscription required)
|
|
27
|
+
*/
|
|
28
|
+
export declare class X extends APIResource {
|
|
29
|
+
tweets: TweetsAPI.Tweets;
|
|
30
|
+
users: UsersAPI.Users;
|
|
31
|
+
followers: FollowersAPI.Followers;
|
|
32
|
+
dm: DmAPI.Dm;
|
|
33
|
+
media: MediaAPI.Media;
|
|
34
|
+
profile: ProfileAPI.Profile;
|
|
35
|
+
communities: CommunitiesAPI.Communities;
|
|
36
|
+
accounts: AccountsAPI.Accounts;
|
|
37
|
+
bookmarks: BookmarksAPI.Bookmarks;
|
|
38
|
+
lists: ListsAPI.Lists;
|
|
39
|
+
/**
|
|
40
|
+
* Retrieve the full content of an X Article (long-form post) by tweet ID.
|
|
41
|
+
*/
|
|
42
|
+
getArticle(tweetID: string, options?: RequestOptions): APIPromise<XGetArticleResponse>;
|
|
43
|
+
/**
|
|
44
|
+
* Get home timeline
|
|
45
|
+
*/
|
|
46
|
+
getHomeTimeline(query?: XGetHomeTimelineParams | null | undefined, options?: RequestOptions): APIPromise<Shared.PaginatedTweets>;
|
|
47
|
+
/**
|
|
48
|
+
* Get notifications
|
|
49
|
+
*/
|
|
50
|
+
getNotifications(query?: XGetNotificationsParams | null | undefined, options?: RequestOptions): APIPromise<XGetNotificationsResponse>;
|
|
51
|
+
/**
|
|
52
|
+
* Get trending topics
|
|
53
|
+
*/
|
|
54
|
+
getTrends(options?: RequestOptions): APIPromise<void>;
|
|
55
|
+
}
|
|
56
|
+
export interface XGetArticleResponse {
|
|
57
|
+
article: XGetArticleResponse.Article;
|
|
58
|
+
author?: TweetsAPI.TweetAuthor;
|
|
59
|
+
}
|
|
60
|
+
export declare namespace XGetArticleResponse {
|
|
61
|
+
interface Article {
|
|
62
|
+
contents?: Array<Article.Content>;
|
|
63
|
+
coverImageUrl?: string;
|
|
64
|
+
createdAt?: string;
|
|
65
|
+
likeCount?: number;
|
|
66
|
+
previewText?: string;
|
|
67
|
+
quoteCount?: number;
|
|
68
|
+
replyCount?: number;
|
|
69
|
+
title?: string;
|
|
70
|
+
viewCount?: number;
|
|
71
|
+
}
|
|
72
|
+
namespace Article {
|
|
73
|
+
interface Content {
|
|
74
|
+
height?: number;
|
|
75
|
+
text?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Block type: unstyled, header-one, header-two, header-three, unordered-list-item,
|
|
78
|
+
* ordered-list-item, image, gif, divider
|
|
79
|
+
*/
|
|
80
|
+
type?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Media URL for image/gif blocks
|
|
83
|
+
*/
|
|
84
|
+
url?: string;
|
|
85
|
+
width?: number;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
export interface XGetNotificationsResponse {
|
|
90
|
+
has_next_page: boolean;
|
|
91
|
+
next_cursor: string;
|
|
92
|
+
notifications: Array<XGetNotificationsResponse.Notification>;
|
|
93
|
+
}
|
|
94
|
+
export declare namespace XGetNotificationsResponse {
|
|
95
|
+
interface Notification {
|
|
96
|
+
id: string;
|
|
97
|
+
message?: string;
|
|
98
|
+
timestamp?: string;
|
|
99
|
+
type?: string;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
export interface XGetHomeTimelineParams {
|
|
103
|
+
/**
|
|
104
|
+
* Pagination cursor from previous response
|
|
105
|
+
*/
|
|
106
|
+
cursor?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Comma-separated tweet IDs to exclude from results
|
|
109
|
+
*/
|
|
110
|
+
seenTweetIds?: string;
|
|
111
|
+
}
|
|
112
|
+
export interface XGetNotificationsParams {
|
|
113
|
+
/**
|
|
114
|
+
* Pagination cursor from previous response
|
|
115
|
+
*/
|
|
116
|
+
cursor?: string;
|
|
117
|
+
/**
|
|
118
|
+
* Notification type filter
|
|
119
|
+
*/
|
|
120
|
+
type?: 'All' | 'Verified' | 'Mentions';
|
|
121
|
+
}
|
|
122
|
+
export declare namespace X {
|
|
123
|
+
export { type XGetArticleResponse as XGetArticleResponse, type XGetNotificationsResponse as XGetNotificationsResponse, type XGetHomeTimelineParams as XGetHomeTimelineParams, type XGetNotificationsParams as XGetNotificationsParams, };
|
|
124
|
+
export { Tweets as Tweets, type SearchTweet as SearchTweet, type TweetAuthor as TweetAuthor, type TweetDetail as TweetDetail, type TweetCreateResponse as TweetCreateResponse, type TweetRetrieveResponse as TweetRetrieveResponse, type TweetDeleteResponse as TweetDeleteResponse, type TweetCreateParams as TweetCreateParams, type TweetListParams as TweetListParams, type TweetDeleteParams as TweetDeleteParams, type TweetGetFavoritersParams as TweetGetFavoritersParams, type TweetGetQuotesParams as TweetGetQuotesParams, type TweetGetRepliesParams as TweetGetRepliesParams, type TweetGetRetweetersParams as TweetGetRetweetersParams, type TweetGetThreadParams as TweetGetThreadParams, type TweetSearchParams as TweetSearchParams, };
|
|
125
|
+
export { Users as Users, type UserProfile as UserProfile, type UserRetrieveBatchParams as UserRetrieveBatchParams, type UserRetrieveFollowersParams as UserRetrieveFollowersParams, type UserRetrieveFollowersYouKnowParams as UserRetrieveFollowersYouKnowParams, type UserRetrieveFollowingParams as UserRetrieveFollowingParams, type UserRetrieveLikesParams as UserRetrieveLikesParams, type UserRetrieveMediaParams as UserRetrieveMediaParams, type UserRetrieveMentionsParams as UserRetrieveMentionsParams, type UserRetrieveSearchParams as UserRetrieveSearchParams, type UserRetrieveTweetsParams as UserRetrieveTweetsParams, type UserRetrieveVerifiedFollowersParams as UserRetrieveVerifiedFollowersParams, };
|
|
126
|
+
export { Followers as Followers, type FollowerCheckResponse as FollowerCheckResponse, type FollowerCheckParams as FollowerCheckParams, };
|
|
127
|
+
export { Dm as Dm, type DmRetrieveHistoryResponse as DmRetrieveHistoryResponse, type DmSendResponse as DmSendResponse, type DmRetrieveHistoryParams as DmRetrieveHistoryParams, type DmSendParams as DmSendParams, };
|
|
128
|
+
export { Media as Media, type MediaDownloadResponse as MediaDownloadResponse, type MediaUploadResponse as MediaUploadResponse, type MediaDownloadParams as MediaDownloadParams, type MediaUploadParams as MediaUploadParams, };
|
|
129
|
+
export { Profile as Profile, type ProfileUpdateResponse as ProfileUpdateResponse, type ProfileUpdateAvatarResponse as ProfileUpdateAvatarResponse, type ProfileUpdateBannerResponse as ProfileUpdateBannerResponse, type ProfileUpdateParams as ProfileUpdateParams, type ProfileUpdateAvatarParams as ProfileUpdateAvatarParams, type ProfileUpdateBannerParams as ProfileUpdateBannerParams, };
|
|
130
|
+
export { Communities as Communities, type CommunityActionResult as CommunityActionResult, type CommunityCreateResponse as CommunityCreateResponse, type CommunityDeleteResponse as CommunityDeleteResponse, type CommunityRetrieveInfoResponse as CommunityRetrieveInfoResponse, type CommunityCreateParams as CommunityCreateParams, type CommunityDeleteParams as CommunityDeleteParams, type CommunityRetrieveMembersParams as CommunityRetrieveMembersParams, type CommunityRetrieveModeratorsParams as CommunityRetrieveModeratorsParams, type CommunityRetrieveSearchParams as CommunityRetrieveSearchParams, };
|
|
131
|
+
export { Accounts as Accounts, type XAccount as XAccount, type XAccountDetail as XAccountDetail, type AccountCreateResponse as AccountCreateResponse, type AccountListResponse as AccountListResponse, type AccountDeleteResponse as AccountDeleteResponse, type AccountReauthResponse as AccountReauthResponse, type AccountCreateParams as AccountCreateParams, type AccountReauthParams as AccountReauthParams, };
|
|
132
|
+
export { Bookmarks as Bookmarks, type BookmarkRetrieveFoldersResponse as BookmarkRetrieveFoldersResponse, type BookmarkListParams as BookmarkListParams, };
|
|
133
|
+
export { Lists as Lists, type ListRetrieveFollowersParams as ListRetrieveFollowersParams, type ListRetrieveMembersParams as ListRetrieveMembersParams, type ListRetrieveTweetsParams as ListRetrieveTweetsParams, };
|
|
134
|
+
}
|
|
135
|
+
//# sourceMappingURL=x.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x.d.mts","sourceRoot":"","sources":["../../src/resources/x/x.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,WAAW;OAChB,EACL,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,QAAQ,EACR,QAAQ,EACR,cAAc,EACf;OACM,KAAK,YAAY;OACjB,EAAE,kBAAkB,EAAE,+BAA+B,EAAE,SAAS,EAAE;OAClE,KAAK,KAAK;OACV,EAAE,EAAE,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,YAAY,EAAE,cAAc,EAAE;OACxF,KAAK,YAAY;OACjB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,SAAS,EAAE;OACzD,KAAK,QAAQ;OACb,EACL,2BAA2B,EAC3B,yBAAyB,EACzB,wBAAwB,EACxB,KAAK,EACN;OACM,KAAK,QAAQ;OACb,EACL,KAAK,EACL,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,mBAAmB,EACpB;OACM,KAAK,UAAU;OACf,EACL,OAAO,EACP,yBAAyB,EACzB,2BAA2B,EAC3B,yBAAyB,EACzB,2BAA2B,EAC3B,mBAAmB,EACnB,qBAAqB,EACtB;OACM,KAAK,cAAc;OACnB,EACL,WAAW,EACX,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,EACvB,6BAA6B,EAC7B,8BAA8B,EAC9B,iCAAiC,EACjC,6BAA6B,EAC9B;OACM,KAAK,SAAS;OACd,EACL,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,WAAW,EACX,wBAAwB,EACxB,oBAAoB,EACpB,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACpB,eAAe,EACf,qBAAqB,EACrB,iBAAiB,EACjB,MAAM,EACP;OACM,KAAK,QAAQ;OACb,EACL,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