@crowbartools/firebot-types 5.67.0-alpha2 → 5.67.0-alpha20
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/LICENSE +674 -674
- package/README.md +26 -14
- package/backend/app-management/app-close-listener-manager.d.ts +11 -0
- package/backend/app-management/data-tasks.d.ts +1 -0
- package/backend/app-management/electron/app-helpers.d.ts +1 -0
- package/backend/app-management/electron/electron-events.d.ts +7 -0
- package/backend/app-management/electron/events/ipc-events.d.ts +1 -0
- package/backend/app-management/electron/events/open-file.d.ts +2 -0
- package/backend/app-management/electron/events/open-url.d.ts +2 -0
- package/backend/app-management/electron/events/second-instance.d.ts +2 -0
- package/backend/app-management/electron/events/when-ready.d.ts +1 -0
- package/backend/app-management/electron/events/will-quit.d.ts +2 -0
- package/backend/app-management/electron/events/windows-all-closed.d.ts +1 -0
- package/backend/app-management/electron/screen-helpers.d.ts +3 -0
- package/backend/app-management/electron/tray-creation.d.ts +2 -0
- package/backend/app-management/electron/windows/effect-queue-monitor-window.d.ts +3 -0
- package/backend/app-management/file-open-helpers.d.ts +3 -0
- package/backend/app-management/profile-tasks.d.ts +2 -0
- package/backend/app-management/squirrel-events.d.ts +1 -0
- package/backend/auth/auth-manager.d.ts +24 -0
- package/backend/auth/firebot-device-auth-provider.d.ts +18 -0
- package/backend/backup-manager.d.ts +32 -0
- package/backend/bonjour-manager.d.ts +11 -0
- package/backend/channel-rewards/channel-reward-manager.d.ts +30 -0
- package/backend/chat/active-user-handler.d.ts +55 -0
- package/backend/chat/chat-helpers.d.ts +21 -0
- package/backend/chat/commands/builtin/command-list.d.ts +9 -0
- package/backend/chat/commands/builtin/command-management.d.ts +5 -0
- package/backend/chat/commands/builtin/custom-role-management.d.ts +5 -0
- package/backend/chat/commands/builtin/follow-age.d.ts +7 -0
- package/backend/chat/commands/builtin/marker.d.ts +9 -0
- package/backend/chat/commands/builtin/quotes.d.ts +10 -0
- package/backend/chat/commands/builtin/spam-raid-protection.d.ts +16 -0
- package/backend/chat/commands/builtin/steam/steam-access.d.ts +16 -0
- package/backend/chat/commands/builtin/steam/steam.d.ts +8 -0
- package/backend/chat/commands/builtin/uptime.d.ts +7 -0
- package/backend/chat/commands/chat-command-handler.d.ts +17 -0
- package/backend/chat/commands/command-cooldown-manager.d.ts +32 -0
- package/backend/chat/commands/command-manager.d.ts +156 -0
- package/backend/chat/commands/command-runner.d.ts +14 -0
- package/backend/chat/commands/system-command-loader.d.ts +4 -0
- package/backend/chat/frontend-chat-helpers.d.ts +14 -0
- package/backend/chat/moderation/chat-moderation-manager.d.ts +44 -0
- package/backend/chat/moderation/raid-message-checker.d.ts +20 -0
- package/backend/chat/moderation/url-permit-command.d.ts +11 -0
- package/backend/chat/third-party/7tv.d.ts +29 -0
- package/backend/chat/third-party/bttv.d.ts +19 -0
- package/backend/chat/third-party/ffz.d.ts +19 -0
- package/backend/chat/third-party/third-party-emote-provider.d.ts +15 -0
- package/backend/chat/twitch-chat.d.ts +34 -0
- package/backend/cloud-sync/index.d.ts +9 -0
- package/backend/cloud-sync/sync-handlers/command-list.d.ts +3 -0
- package/backend/cloud-sync/sync-handlers/quotes-list.d.ts +3 -0
- package/backend/common/account-access.d.ts +47 -0
- package/backend/common/argv-parser.d.ts +3 -0
- package/backend/common/custom-variable-manager.d.ts +46 -0
- package/backend/common/data-access.d.ts +23 -0
- package/backend/common/debug-info.d.ts +1 -0
- package/backend/common/effect-abort-helpers.d.ts +10 -0
- package/backend/common/effect-run-mode-handler.d.ts +2 -0
- package/backend/common/frontend-communicator.d.ts +15 -0
- package/backend/common/handlers/dice-processor.d.ts +10 -0
- package/backend/common/handlers/js-sandbox/sandbox-eval.d.ts +2 -0
- package/backend/common/handlers/reddit-processor.d.ts +2 -0
- package/backend/common/handlers/sound-handler.d.ts +14 -0
- package/backend/common/handlers/twitch-clip-url-resolver.d.ts +5 -0
- package/backend/common/icon-manager.d.ts +8 -0
- package/backend/common/profile-manager.d.ts +22 -0
- package/backend/common/screenshot-helpers.d.ts +24 -0
- package/backend/common/settings-manager.d.ts +148 -0
- package/backend/control-deck/control-deck-manager.d.ts +13 -0
- package/backend/counters/counter-manager.d.ts +29 -0
- package/backend/crowbar-relay/crowbar-relay-websocket.d.ts +16 -0
- package/backend/currency/currency-access.d.ts +25 -0
- package/backend/currency/currency-command-manager.d.ts +29 -0
- package/backend/currency/currency-manager.d.ts +33 -0
- package/backend/database/json-db-manager.d.ts +44 -0
- package/backend/effects/builtin/active-user-lists.d.ts +6 -0
- package/backend/effects/builtin/activity-feed-alert.d.ts +6 -0
- package/backend/effects/builtin/add-quote.d.ts +7 -0
- package/backend/effects/builtin/chat-feed-alert.d.ts +6 -0
- package/backend/effects/builtin/chat-feed-custom-highlight.d.ts +9 -0
- package/backend/effects/builtin/chat-feed-message-hide.d.ts +5 -0
- package/backend/effects/builtin/chat.d.ts +9 -0
- package/backend/effects/builtin/clear-chat.d.ts +3 -0
- package/backend/effects/builtin/clear-effects.d.ts +11 -0
- package/backend/effects/builtin/comment.d.ts +5 -0
- package/backend/effects/builtin/conditional-effects/switch-statement.d.ts +18 -0
- package/backend/effects/builtin/copy-to-clipboard.d.ts +5 -0
- package/backend/effects/builtin/custom-variable.d.ts +9 -0
- package/backend/effects/builtin/delay.d.ts +5 -0
- package/backend/effects/builtin/delete-chat-message.d.ts +3 -0
- package/backend/effects/builtin/deprecated/random-effect.d.ts +9 -0
- package/backend/effects/builtin/deprecated/sequential-effect.d.ts +7 -0
- package/backend/effects/builtin/dice.d.ts +4 -0
- package/backend/effects/builtin/eval-js.d.ts +6 -0
- package/backend/effects/builtin/file-writer.d.ts +12 -0
- package/backend/effects/builtin/http-request.d.ts +23 -0
- package/backend/effects/builtin/log-message.d.ts +6 -0
- package/backend/effects/builtin/mark-all-activity-acknowledged.d.ts +3 -0
- package/backend/effects/builtin/moderator-ban.d.ts +7 -0
- package/backend/effects/builtin/moderator-mod.d.ts +6 -0
- package/backend/effects/builtin/moderator-purge.d.ts +5 -0
- package/backend/effects/builtin/moderator-timeout.d.ts +7 -0
- package/backend/effects/builtin/overlay-alert.d.ts +54 -0
- package/backend/effects/builtin/overlay-widgets/send-message-to-custom-widget.d.ts +7 -0
- package/backend/effects/builtin/overlay-widgets/set-custom-widget-state.d.ts +7 -0
- package/backend/effects/builtin/overlay-widgets/update-dynamic-countdown.d.ts +9 -0
- package/backend/effects/builtin/overlay-widgets/update-overlay-widget-settings.d.ts +11 -0
- package/backend/effects/builtin/overlay-widgets/update-progress-bar.d.ts +7 -0
- package/backend/effects/builtin/pause-resume-effect-queue.d.ts +7 -0
- package/backend/effects/builtin/play-sound.d.ts +21 -0
- package/backend/effects/builtin/random-reddit-image.d.ts +8 -0
- package/backend/effects/builtin/remove-user-metadata.d.ts +6 -0
- package/backend/effects/builtin/reset-timer.d.ts +5 -0
- package/backend/effects/builtin/retrigger-last-activity.d.ts +3 -0
- package/backend/effects/builtin/run-command.d.ts +13 -0
- package/backend/effects/builtin/run-program.d.ts +9 -0
- package/backend/effects/builtin/send-custom-websocket-event.d.ts +6 -0
- package/backend/effects/builtin/set-active-control-deck.d.ts +6 -0
- package/backend/effects/builtin/set-default-control-deck.d.ts +5 -0
- package/backend/effects/builtin/set-output.d.ts +9 -0
- package/backend/effects/builtin/set-user-metadata.d.ts +8 -0
- package/backend/effects/builtin/show-text.d.ts +45 -0
- package/backend/effects/builtin/show-toast.d.ts +8 -0
- package/backend/effects/builtin/stop-effect-execution.d.ts +9 -0
- package/backend/effects/builtin/sync-profile-data.d.ts +5 -0
- package/backend/effects/builtin/take-screenshot.d.ts +25 -0
- package/backend/effects/builtin/text-to-speech.d.ts +7 -0
- package/backend/effects/builtin/toggle-command.d.ts +8 -0
- package/backend/effects/builtin/toggle-connection.d.ts +11 -0
- package/backend/effects/builtin/toggle-event-set.d.ts +6 -0
- package/backend/effects/builtin/toggle-event.d.ts +7 -0
- package/backend/effects/builtin/toggle-overlay-widgets.d.ts +6 -0
- package/backend/effects/builtin/toggle-scheduled-task.d.ts +8 -0
- package/backend/effects/builtin/toggle-timer.d.ts +8 -0
- package/backend/effects/builtin/trigger-manual-effect-queue.d.ts +5 -0
- package/backend/effects/builtin/update-channel-reward.d.ts +25 -0
- package/backend/effects/builtin/update-counter.d.ts +7 -0
- package/backend/effects/builtin/update-role.d.ts +12 -0
- package/backend/effects/builtin/update-viewer-rank.d.ts +8 -0
- package/backend/effects/effect-helpers.d.ts +5 -0
- package/backend/effects/effect-manager.d.ts +70 -0
- package/backend/effects/preset-lists/preset-effect-list-manager.d.ts +8 -0
- package/backend/effects/queues/effect-queue-config-manager.d.ts +17 -0
- package/backend/effects/queues/effect-queue-runner.d.ts +27 -0
- package/backend/effects/queues/effect-queue.d.ts +27 -0
- package/backend/events/activity-feed-manager.d.ts +18 -0
- package/backend/events/builtin/firebot-event-source.d.ts +2 -0
- package/backend/events/builtin-event-source-loader.d.ts +1 -0
- package/backend/events/event-manager.d.ts +26 -0
- package/backend/events/events-access.d.ts +27 -0
- package/backend/events/filters/builtin/firebot/countdown-dynamic.d.ts +2 -0
- package/backend/events/filters/builtin/firebot/currency.d.ts +2 -0
- package/backend/events/filters/builtin/firebot/custom-variable-name.d.ts +2 -0
- package/backend/events/filters/builtin/firebot/custom-widget-message-name.d.ts +2 -0
- package/backend/events/filters/builtin/firebot/custom-widget.d.ts +2 -0
- package/backend/events/filters/builtin/firebot/effect-queue.d.ts +2 -0
- package/backend/events/filters/builtin/firebot/index.d.ts +2 -0
- package/backend/events/filters/builtin/firebot/metadata-key.d.ts +2 -0
- package/backend/events/filters/builtin/firebot/metadata-value.d.ts +2 -0
- package/backend/events/filters/builtin/firebot/new-currency-amount.d.ts +2 -0
- package/backend/events/filters/builtin/firebot/new-rank.d.ts +2 -0
- package/backend/events/filters/builtin/firebot/new-view-time.d.ts +2 -0
- package/backend/events/filters/builtin/firebot/previous-currency-amount.d.ts +2 -0
- package/backend/events/filters/builtin/firebot/previous-rank.d.ts +2 -0
- package/backend/events/filters/builtin/firebot/previous-view-time.d.ts +2 -0
- package/backend/events/filters/builtin/firebot/rank-ladder.d.ts +2 -0
- package/backend/events/filters/builtin/firebot/rank-transition-type.d.ts +2 -0
- package/backend/events/filters/builtin/firebot/triggered-command.d.ts +3 -0
- package/backend/events/filters/builtin/firebot/viewer-ranks.d.ts +3 -0
- package/backend/events/filters/builtin/firebot/viewer-roles.d.ts +3 -0
- package/backend/events/filters/builtin/firebot/webhook.d.ts +2 -0
- package/backend/events/filters/builtin/index.d.ts +2 -0
- package/backend/events/filters/builtin/third-party/donation-amount.d.ts +2 -0
- package/backend/events/filters/builtin/third-party/donation-from.d.ts +2 -0
- package/backend/events/filters/builtin/third-party/index.d.ts +2 -0
- package/backend/events/filters/builtin/twitch/bits-badge-tier.d.ts +2 -0
- package/backend/events/filters/builtin/twitch/channel-live.d.ts +3 -0
- package/backend/events/filters/builtin/twitch/chat-mode-duration.d.ts +2 -0
- package/backend/events/filters/builtin/twitch/chat-mode-setting.d.ts +2 -0
- package/backend/events/filters/builtin/twitch/chat-mode.d.ts +3 -0
- package/backend/events/filters/builtin/twitch/cheer-bits-amount.d.ts +2 -0
- package/backend/events/filters/builtin/twitch/gift-count.d.ts +2 -0
- package/backend/events/filters/builtin/twitch/gift-duration.d.ts +2 -0
- package/backend/events/filters/builtin/twitch/golden-kappa-train.d.ts +2 -0
- package/backend/events/filters/builtin/twitch/index.d.ts +2 -0
- package/backend/events/filters/builtin/twitch/is-anonymous.d.ts +2 -0
- package/backend/events/filters/builtin/twitch/lifetime-gift-count.d.ts +2 -0
- package/backend/events/filters/builtin/twitch/message.d.ts +2 -0
- package/backend/events/filters/builtin/twitch/power-up.d.ts +2 -0
- package/backend/events/filters/builtin/twitch/raid-viewer-count.d.ts +2 -0
- package/backend/events/filters/builtin/twitch/reward-name.d.ts +2 -0
- package/backend/events/filters/builtin/twitch/reward.d.ts +2 -0
- package/backend/events/filters/builtin/twitch/shared-chat.d.ts +2 -0
- package/backend/events/filters/builtin/twitch/shared-train.d.ts +2 -0
- package/backend/events/filters/builtin/twitch/stream-category.d.ts +2 -0
- package/backend/events/filters/builtin/twitch/sub-kind.d.ts +3 -0
- package/backend/events/filters/builtin/twitch/sub-months.d.ts +2 -0
- package/backend/events/filters/builtin/twitch/sub-type.d.ts +2 -0
- package/backend/events/filters/builtin/twitch/treasure-train.d.ts +2 -0
- package/backend/events/filters/builtin/twitch/username.d.ts +2 -0
- package/backend/events/filters/builtin/twitch/watch-streak-count.d.ts +2 -0
- package/backend/events/filters/builtin-filter-loader.d.ts +1 -0
- package/backend/events/filters/filter-factory.d.ts +17 -0
- package/backend/events/filters/filter-manager.d.ts +18 -0
- package/backend/font-manager.d.ts +28 -0
- package/backend/games/builtin/bid/bid-command.d.ts +9 -0
- package/backend/games/builtin/bid/bid.d.ts +3 -0
- package/backend/games/builtin/heist/heist-command.d.ts +3 -0
- package/backend/games/builtin/heist/heist-runner.d.ts +23 -0
- package/backend/games/builtin/heist/heist.d.ts +3 -0
- package/backend/games/builtin/slots/slot-machine.d.ts +5 -0
- package/backend/games/builtin/slots/slots.d.ts +3 -0
- package/backend/games/builtin/slots/spin-command.d.ts +9 -0
- package/backend/games/builtin/trivia/trivia-command.d.ts +9 -0
- package/backend/games/builtin/trivia/trivia-helper.d.ts +10 -0
- package/backend/games/builtin/trivia/trivia.d.ts +3 -0
- package/backend/games/builtin-game-loader.d.ts +5 -0
- package/backend/games/game-manager.d.ts +33 -0
- package/backend/hotkeys/hotkey-manager.d.ts +17 -0
- package/backend/import/import-manager.d.ts +16 -0
- package/backend/import/third-party/firebot-importer.d.ts +2 -0
- package/backend/import/third-party/mix-it-up-importer.d.ts +2 -0
- package/backend/import/third-party/streamlabs-chatbot-importer.d.ts +9 -0
- package/backend/integrations/builtin/extralife/extralife-poll.d.ts +32 -0
- package/backend/integrations/builtin/extralife/variables/extralife-donations.d.ts +3 -0
- package/backend/integrations/builtin/extralife/variables/extralife-incentives.d.ts +3 -0
- package/backend/integrations/builtin/extralife/variables/extralife-info.d.ts +3 -0
- package/backend/integrations/builtin/extralife/variables/extralife-milestones.d.ts +3 -0
- package/backend/integrations/builtin/obs/communicator.d.ts +2 -0
- package/backend/integrations/builtin/obs/constants.d.ts +32 -0
- package/backend/integrations/builtin/obs/effects/change-scene-collection.d.ts +4 -0
- package/backend/integrations/builtin/obs/effects/change-scene-effect-type.d.ts +4 -0
- package/backend/integrations/builtin/obs/effects/create-recording-chapter.d.ts +4 -0
- package/backend/integrations/builtin/obs/effects/save-replay-buffer.d.ts +2 -0
- package/backend/integrations/builtin/obs/effects/send-raw-obs-websocket-request.d.ts +5 -0
- package/backend/integrations/builtin/obs/effects/set-obs-browser-source-url.d.ts +5 -0
- package/backend/integrations/builtin/obs/effects/set-obs-color-source-color.d.ts +6 -0
- package/backend/integrations/builtin/obs/effects/set-obs-image-source-file.d.ts +5 -0
- package/backend/integrations/builtin/obs/effects/set-obs-media-source-file.d.ts +5 -0
- package/backend/integrations/builtin/obs/effects/set-obs-source-text.d.ts +7 -0
- package/backend/integrations/builtin/obs/effects/start-stream.d.ts +2 -0
- package/backend/integrations/builtin/obs/effects/start-virtual-cam.d.ts +2 -0
- package/backend/integrations/builtin/obs/effects/stop-stream.d.ts +2 -0
- package/backend/integrations/builtin/obs/effects/stop-virtual-cam.d.ts +2 -0
- package/backend/integrations/builtin/obs/effects/take-obs-source-screenshot.d.ts +26 -0
- package/backend/integrations/builtin/obs/effects/toggle-obs-source-filter.d.ts +11 -0
- package/backend/integrations/builtin/obs/effects/toggle-obs-source-muted.d.ts +10 -0
- package/backend/integrations/builtin/obs/effects/toggle-obs-source-visibility.d.ts +13 -0
- package/backend/integrations/builtin/obs/effects/transform-obs-source.d.ts +15 -0
- package/backend/integrations/builtin/obs/events/obs-event-source.d.ts +2 -0
- package/backend/integrations/builtin/obs/filters/group-name-filter.d.ts +3 -0
- package/backend/integrations/builtin/obs/filters/scene-name-filter.d.ts +3 -0
- package/backend/integrations/builtin/obs/obs-integration.d.ts +14 -0
- package/backend/integrations/builtin/obs/obs-remote.d.ts +114 -0
- package/backend/integrations/builtin/obs/variables/group-item-id.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/group-name.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/input-active.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/input-audio-balance.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/input-audio-monitor-type.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/input-audio-sync-offset.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/input-audio-tracks.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/input-kind.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/input-muted.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/input-name.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/input-settings.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/input-showing.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/input-uuid.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/input-volume-db.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/input-volume-multiplier.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/is-connected.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/is-recording.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/is-streaming.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/obs-color-value.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/old-input-name.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/profile-name.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/replay-buffer-path.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/scene-collection-name.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/scene-item-enabled.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/scene-item-id.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/scene-item-name.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/scene-name-variable.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/transition-duration.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/transition-name.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/vendor-event-data.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/vendor-event-type.d.ts +2 -0
- package/backend/integrations/builtin/obs/variables/vendor-name.d.ts +2 -0
- package/backend/integrations/builtin/philips-hue/effects/control-light.d.ts +4 -0
- package/backend/integrations/builtin/streamloots/filters/card-name.d.ts +2 -0
- package/backend/integrations/builtin/streamloots/filters/card-rarity.d.ts +2 -0
- package/backend/integrations/builtin/streamloots/filters/chest-gift.d.ts +3 -0
- package/backend/integrations/builtin/streamloots/filters/chest-quantity.d.ts +2 -0
- package/backend/logger-cache.d.ts +15 -0
- package/backend/logwrapper.d.ts +3 -0
- package/backend/notifications/notification-manager.d.ts +23 -0
- package/backend/overlay-widgets/builtin-types/chat/chat-advanced.d.ts +25 -0
- package/backend/overlay-widgets/builtin-types/chat/chat.d.ts +42 -0
- package/backend/overlay-widgets/builtin-types/countdown/countdown-dynamic.d.ts +17 -0
- package/backend/overlay-widgets/builtin-types/countdown/countdown-manager.d.ts +10 -0
- package/backend/overlay-widgets/builtin-types/countdown-to-date/countdown-to-date.d.ts +12 -0
- package/backend/overlay-widgets/builtin-types/counter-display/counter-display.d.ts +3 -0
- package/backend/overlay-widgets/builtin-types/current-date-time/current-date-time.d.ts +11 -0
- package/backend/overlay-widgets/builtin-types/custom/custom-advanced.d.ts +7 -0
- package/backend/overlay-widgets/builtin-types/custom/custom.d.ts +10 -0
- package/backend/overlay-widgets/builtin-types/image/image.d.ts +9 -0
- package/backend/overlay-widgets/builtin-types/index.d.ts +48 -0
- package/backend/overlay-widgets/builtin-types/progressbar/progressbar.d.ts +25 -0
- package/backend/overlay-widgets/builtin-types/text/text.d.ts +11 -0
- package/backend/overlay-widgets/builtin-widget-type-loader.d.ts +1 -0
- package/backend/overlay-widgets/overlay-widget-config-manager.d.ts +19 -0
- package/backend/overlay-widgets/overlay-widgets-manager.d.ts +36 -0
- package/backend/plugin-log-names.d.ts +3 -0
- package/backend/plugins/executors/legacy-effect-script-executor.d.ts +15 -0
- package/backend/plugins/executors/legacy-startup-script-executor.d.ts +15 -0
- package/backend/plugins/executors/plugin-executor.d.ts +18 -0
- package/backend/plugins/executors/plugin-executor.interface.d.ts +45 -0
- package/backend/plugins/plugin-api/context.d.ts +44 -0
- package/backend/plugins/plugin-api/index.d.ts +8 -0
- package/backend/plugins/plugin-api/internal/define-namespace.d.ts +3 -0
- package/backend/plugins/plugin-api/internal/dispose-bag.d.ts +13 -0
- package/backend/plugins/plugin-api/internal/name-normalizer.d.ts +5 -0
- package/backend/plugins/plugin-api/internal/plugin-data-dir.d.ts +1 -0
- package/backend/plugins/plugin-api/namespaces/effects.d.ts +2 -0
- package/backend/plugins/plugin-api/namespaces/event-filter-factory.d.ts +2 -0
- package/backend/plugins/plugin-api/namespaces/events.d.ts +2 -0
- package/backend/plugins/plugin-api/namespaces/frontend-communicator.d.ts +2 -0
- package/backend/plugins/plugin-api/namespaces/http-server.d.ts +2 -0
- package/backend/plugins/plugin-api/namespaces/logger.d.ts +2 -0
- package/backend/plugins/plugin-api/namespaces/notifications.d.ts +2 -0
- package/backend/plugins/plugin-api/namespaces/parameters.d.ts +2 -0
- package/backend/plugins/plugin-api/namespaces/plugins.d.ts +2 -0
- package/backend/plugins/plugin-api/namespaces/settings.d.ts +2 -0
- package/backend/plugins/plugin-api/namespaces/storage.d.ts +6 -0
- package/backend/plugins/plugin-api/namespaces/twitch.d.ts +2 -0
- package/backend/plugins/plugin-api/namespaces/variable-factory.d.ts +2 -0
- package/backend/plugins/plugin-api/namespaces/webhooks.d.ts +2 -0
- package/backend/plugins/plugin-config-manager.d.ts +12 -0
- package/backend/plugins/plugin-manager.d.ts +98 -0
- package/backend/plugins/plugin-manifest-utils.d.ts +8 -0
- package/backend/power-ups/power-ups-manager.d.ts +17 -0
- package/backend/pronouns/pronoun-manager.d.ts +16 -0
- package/backend/quick-actions/builtin/give-currency.d.ts +3 -0
- package/backend/quick-actions/builtin/open-reward-request-queue.d.ts +3 -0
- package/backend/quick-actions/builtin/stream-info.d.ts +3 -0
- package/backend/quick-actions/builtin/stream-preview.d.ts +3 -0
- package/backend/quick-actions/quick-action-manager.d.ts +16 -0
- package/backend/quotes/quote-manager.d.ts +41 -0
- package/backend/ranks/rank-command-manager.d.ts +20 -0
- package/backend/ranks/rank-ladder-helper.d.ts +23 -0
- package/backend/ranks/rank-manager.d.ts +12 -0
- package/backend/reconnecting-websocket/events.d.ts +40 -0
- package/backend/reconnecting-websocket/index.d.ts +139 -0
- package/backend/resource-token-manager.d.ts +13 -0
- package/backend/restrictions/builtin/active-chat-users.d.ts +3 -0
- package/backend/restrictions/builtin/channel-currency.d.ts +9 -0
- package/backend/restrictions/builtin/channel-game.d.ts +6 -0
- package/backend/restrictions/builtin/chat-messages.d.ts +5 -0
- package/backend/restrictions/builtin/custom-variable.d.ts +6 -0
- package/backend/restrictions/builtin/follow-check.d.ts +8 -0
- package/backend/restrictions/builtin/index.d.ts +2 -0
- package/backend/restrictions/builtin/limit-per-stream.d.ts +7 -0
- package/backend/restrictions/builtin/only-when-live.d.ts +3 -0
- package/backend/restrictions/builtin/permissions.d.ts +13 -0
- package/backend/restrictions/builtin/time-range.d.ts +8 -0
- package/backend/restrictions/builtin/view-time.d.ts +5 -0
- package/backend/restrictions/builtin/viewer-count.d.ts +7 -0
- package/backend/restrictions/builtin-restrictions-loader.d.ts +1 -0
- package/backend/restrictions/restriction-manager.d.ts +22 -0
- package/backend/roles/chat-roles-manager.d.ts +10 -0
- package/backend/roles/custom-roles-manager.d.ts +35 -0
- package/backend/roles/firebot-roles-manager.d.ts +7 -0
- package/backend/roles/role-helpers.d.ts +28 -0
- package/backend/roles/team-roles-manager.d.ts +10 -0
- package/backend/roles/twitch-roles-manager.d.ts +31 -0
- package/backend/secrets-manager.d.ts +17 -0
- package/backend/setups/setup-manager.d.ts +20 -0
- package/backend/sort-tags/sort-tag-manager.d.ts +17 -0
- package/backend/streaming-platforms/twitch/ad-manager.d.ts +18 -0
- package/backend/streaming-platforms/twitch/api/eventsub/custom-subscriptions/power-up-redemption-add-subscription.d.ts +30 -0
- package/backend/streaming-platforms/twitch/api/eventsub/eventsub-chat-helpers.d.ts +69 -0
- package/backend/streaming-platforms/twitch/api/eventsub/eventsub-client.d.ts +11 -0
- package/backend/streaming-platforms/twitch/api/eventsub/eventsub-helpers.d.ts +7 -0
- package/backend/streaming-platforms/twitch/api/index.d.ts +85 -0
- package/backend/streaming-platforms/twitch/api/resource/api-resource-base.d.ts +16 -0
- package/backend/streaming-platforms/twitch/api/resource/auth.d.ts +6 -0
- package/backend/streaming-platforms/twitch/api/resource/bits.d.ts +9 -0
- package/backend/streaming-platforms/twitch/api/resource/categories.d.ts +19 -0
- package/backend/streaming-platforms/twitch/api/resource/channel-rewards.d.ts +74 -0
- package/backend/streaming-platforms/twitch/api/resource/channels.d.ts +64 -0
- package/backend/streaming-platforms/twitch/api/resource/charity.d.ts +7 -0
- package/backend/streaming-platforms/twitch/api/resource/chat.d.ts +116 -0
- package/backend/streaming-platforms/twitch/api/resource/clips.d.ts +55 -0
- package/backend/streaming-platforms/twitch/api/resource/goals.d.ts +12 -0
- package/backend/streaming-platforms/twitch/api/resource/hypetrain.d.ts +10 -0
- package/backend/streaming-platforms/twitch/api/resource/moderation.d.ts +96 -0
- package/backend/streaming-platforms/twitch/api/resource/polls.d.ts +28 -0
- package/backend/streaming-platforms/twitch/api/resource/power-ups.d.ts +21 -0
- package/backend/streaming-platforms/twitch/api/resource/predictions.d.ts +39 -0
- package/backend/streaming-platforms/twitch/api/resource/streams.d.ts +12 -0
- package/backend/streaming-platforms/twitch/api/resource/subscriptions.d.ts +24 -0
- package/backend/streaming-platforms/twitch/api/resource/teams.d.ts +11 -0
- package/backend/streaming-platforms/twitch/api/resource/users.d.ts +20 -0
- package/backend/streaming-platforms/twitch/api/resource/videos.d.ts +12 -0
- package/backend/streaming-platforms/twitch/api/resource/whispers.d.ts +17 -0
- package/backend/streaming-platforms/twitch/api/user-context-api-client.d.ts +12 -0
- package/backend/streaming-platforms/twitch/auth/twitch-auth.d.ts +14 -0
- package/backend/streaming-platforms/twitch/auth/twitch-device-auth-provider.d.ts +97 -0
- package/backend/streaming-platforms/twitch/chat/shared-chat-cache.d.ts +13 -0
- package/backend/streaming-platforms/twitch/chat/slash-commands/channel-handlers.d.ts +4 -0
- package/backend/streaming-platforms/twitch/chat/slash-commands/chat-handlers.d.ts +19 -0
- package/backend/streaming-platforms/twitch/chat/slash-commands/moderation-handlers.d.ts +8 -0
- package/backend/streaming-platforms/twitch/chat/slash-commands/twitch-command-helpers.d.ts +4 -0
- package/backend/streaming-platforms/twitch/chat/twitch-slash-command-handler.d.ts +9 -0
- package/backend/streaming-platforms/twitch/chatter-poll.d.ts +12 -0
- package/backend/streaming-platforms/twitch/effects/ad-break.d.ts +5 -0
- package/backend/streaming-platforms/twitch/effects/announcement.d.ts +7 -0
- package/backend/streaming-platforms/twitch/effects/approve-reject-channel-reward-redemption.d.ts +9 -0
- package/backend/streaming-platforms/twitch/effects/block-unblock.d.ts +6 -0
- package/backend/streaming-platforms/twitch/effects/cancel-prediction.d.ts +3 -0
- package/backend/streaming-platforms/twitch/effects/create-poll.d.ts +9 -0
- package/backend/streaming-platforms/twitch/effects/create-prediction.d.ts +7 -0
- package/backend/streaming-platforms/twitch/effects/create-stream-marker.d.ts +5 -0
- package/backend/streaming-platforms/twitch/effects/end-poll.d.ts +5 -0
- package/backend/streaming-platforms/twitch/effects/lock-prediction.d.ts +3 -0
- package/backend/streaming-platforms/twitch/effects/raid.d.ts +6 -0
- package/backend/streaming-platforms/twitch/effects/resolve-prediction.d.ts +5 -0
- package/backend/streaming-platforms/twitch/effects/set-chat-mode.d.ts +16 -0
- package/backend/streaming-platforms/twitch/effects/shield-mode.d.ts +5 -0
- package/backend/streaming-platforms/twitch/effects/shoutout.d.ts +5 -0
- package/backend/streaming-platforms/twitch/effects/snooze-ad-break.d.ts +3 -0
- package/backend/streaming-platforms/twitch/effects/stream-game.d.ts +8 -0
- package/backend/streaming-platforms/twitch/effects/stream-title.d.ts +5 -0
- package/backend/streaming-platforms/twitch/effects/update-vip-role.d.ts +6 -0
- package/backend/streaming-platforms/twitch/events/ad.d.ts +2 -0
- package/backend/streaming-platforms/twitch/events/announcement.d.ts +1 -0
- package/backend/streaming-platforms/twitch/events/bits.d.ts +7 -0
- package/backend/streaming-platforms/twitch/events/charity.d.ts +4 -0
- package/backend/streaming-platforms/twitch/events/chat-message.d.ts +5 -0
- package/backend/streaming-platforms/twitch/events/chat-mode-changed.d.ts +1 -0
- package/backend/streaming-platforms/twitch/events/chat.d.ts +4 -0
- package/backend/streaming-platforms/twitch/events/follow.d.ts +1 -0
- package/backend/streaming-platforms/twitch/events/gift-sub.d.ts +3 -0
- package/backend/streaming-platforms/twitch/events/goal.d.ts +4 -0
- package/backend/streaming-platforms/twitch/events/hype-train.d.ts +4 -0
- package/backend/streaming-platforms/twitch/events/index.d.ts +50 -0
- package/backend/streaming-platforms/twitch/events/poll.d.ts +4 -0
- package/backend/streaming-platforms/twitch/events/prediction.d.ts +5 -0
- package/backend/streaming-platforms/twitch/events/raid.d.ts +4 -0
- package/backend/streaming-platforms/twitch/events/reward-redemption.d.ts +7 -0
- package/backend/streaming-platforms/twitch/events/shoutout.d.ts +2 -0
- package/backend/streaming-platforms/twitch/events/stream.d.ts +4 -0
- package/backend/streaming-platforms/twitch/events/sub.d.ts +2 -0
- package/backend/streaming-platforms/twitch/events/viewer-arrived.d.ts +2 -0
- package/backend/streaming-platforms/twitch/events/viewer-banned.d.ts +2 -0
- package/backend/streaming-platforms/twitch/events/viewer-timeout.d.ts +1 -0
- package/backend/streaming-platforms/twitch/events/watch-streak.d.ts +1 -0
- package/backend/streaming-platforms/twitch/events/whisper.d.ts +1 -0
- package/backend/streaming-platforms/twitch/stream-info-manager.d.ts +23 -0
- package/backend/streaming-platforms/twitch/variables/account-creation-date.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/ads/ad-break-duration.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/ads/index.d.ts +2 -0
- package/backend/streaming-platforms/twitch/variables/ads/is-ad-break-running.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/ads/is-ad-break-scheduled.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/ads/seconds-until-next-ad-break.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/bits/bits-badge-tier.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/bits/bits-badge-unlocked-message.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/bits/bits-cheered.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/bits/bits-leaderboard-raw.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/bits/bits-leaderboard.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/bits/bits-top-cheerers-raw.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/bits/bits-top-cheerers.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/bits/cheer-bits.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/bits/cheer-message.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/bits/cheer-total-bits.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/bits/gigantified-emote-name.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/bits/gigantified-emote-url.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/bits/index.d.ts +2 -0
- package/backend/streaming-platforms/twitch/variables/channel-goal/channel-goal-current-amount.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/channel-goal/channel-goal-description.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/channel-goal/channel-goal-target-amount.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/channel-goal/channel-goal-type.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/channel-goal/index.d.ts +2 -0
- package/backend/streaming-platforms/twitch/variables/charity/charity-campaign-goal.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/charity/charity-campaign-total.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/charity/charity-description.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/charity/charity-logo.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/charity/charity-name.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/charity/charity-website.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/charity/index.d.ts +2 -0
- package/backend/streaming-platforms/twitch/variables/chat/index.d.ts +2 -0
- package/backend/streaming-platforms/twitch/variables/chat/message/chat-message-animated-emote-urls.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/message/chat-message-emote-names.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/message/chat-message-emote-urls.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/message/chat-message-html.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/message/chat-message-id.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/message/chat-message-text-only.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/message/chat-message.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/message/chat-user-color.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/message/index.d.ts +2 -0
- package/backend/streaming-platforms/twitch/variables/chat/message/is-whisper.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/message/whisper-message.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/message/whisper-recipient.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/mode/chat-mode-duration.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/mode/chat-mode-state.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/mode/chat-mode.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/mode/index.d.ts +2 -0
- package/backend/streaming-platforms/twitch/variables/chat/moderation/index.d.ts +2 -0
- package/backend/streaming-platforms/twitch/variables/chat/moderation/mod-reason.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/moderation/moderator.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/moderation/timeout-duration.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/shared-chat/index.d.ts +2 -0
- package/backend/streaming-platforms/twitch/variables/chat/shared-chat/is-shared-chat-enabled.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/shared-chat/is-shared-chat-message.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/shared-chat/shared-chat-participants.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/shared-chat/shared-chat-source-avatar-url.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/shared-chat/shared-chat-source-display-name.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/shared-chat/shared-chat-source-user-id.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/shared-chat/shared-chat-source-user.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/shared-chat/shared-chat-source-username.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/watch-streak/channel-points-awarded.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/watch-streak/index.d.ts +2 -0
- package/backend/streaming-platforms/twitch/variables/chat/watch-streak/streak-count.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/chat/watch-streak/streak-message.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/cheermote/cheermote-amounts.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/cheermote/cheermote-animated-urls.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/cheermote/cheermote-colors.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/cheermote/cheermote-names.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/cheermote/cheermote-urls.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/cheermote/index.d.ts +2 -0
- package/backend/streaming-platforms/twitch/variables/clips/index.d.ts +2 -0
- package/backend/streaming-platforms/twitch/variables/clips/latest-clip-url.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/clips/random-clip-url.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/follow-age.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/follow-count.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/hype-train/golden-kappa-train.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/hype-train/hype-train-level.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/hype-train/hype-train-percent.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/hype-train/hype-train-previous-level.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/hype-train/index.d.ts +2 -0
- package/backend/streaming-platforms/twitch/variables/hype-train/shared-train.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/hype-train/treasure-train.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/index.d.ts +2 -0
- package/backend/streaming-platforms/twitch/variables/latest-follower.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/polls/index.d.ts +2 -0
- package/backend/streaming-platforms/twitch/variables/polls/poll-choices.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/polls/poll-title.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/polls/poll-winning-choice-name.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/polls/poll-winning-choice-votes.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/power-ups/index.d.ts +2 -0
- package/backend/streaming-platforms/twitch/variables/power-ups/power-up-cost.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/power-ups/power-up-description.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/power-ups/power-up-id.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/power-ups/power-up-image-url.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/power-ups/power-up-message.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/power-ups/power-up-name.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/power-ups/power-up-redemption-id.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/prediction-winning-outcome-name.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/raid/index.d.ts +2 -0
- package/backend/streaming-platforms/twitch/variables/raid/raid-target-user-display-name.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/raid/raid-target-user-id.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/raid/raid-target-username.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/raid/raid-viewer-count.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/reward/index.d.ts +2 -0
- package/backend/streaming-platforms/twitch/variables/reward/reward-cost.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/reward/reward-description.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/reward/reward-id.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/reward/reward-image-url.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/reward/reward-message.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/reward/reward-name.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/reward/reward-redemption-id.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/reward/unlocked-emote-name.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/reward/unlocked-emote-url.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/stream/category-image-url.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/stream/category.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/stream/current-viewer-count.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/stream/index.d.ts +2 -0
- package/backend/streaming-platforms/twitch/variables/stream/is-channel-live.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/stream/stream-title.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/subs/gift-count.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/subs/gift-duration.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/subs/gift-giver-user.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/subs/gift-receiver-user.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/subs/gift-receivers-raw.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/subs/gift-receivers.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/subs/gift-sub-months.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/subs/gift-sub-type.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/subs/index.d.ts +2 -0
- package/backend/streaming-platforms/twitch/variables/subs/is-anonymous.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/subs/lifetime-gift-count.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/subs/sub-count.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/subs/sub-message.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/subs/sub-months.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/subs/sub-points.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/subs/sub-streak.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/subs/sub-type.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/subs/sub-users.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/twitch-channel-url.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/twitch-vod-url.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/viewer-count.d.ts +3 -0
- package/backend/streaming-platforms/twitch/variables/vip.d.ts +3 -0
- package/backend/timers/scheduled-task-manager.d.ts +22 -0
- package/backend/timers/timer-manager.d.ts +20 -0
- package/backend/ui-extensions/ui-extension-manager.d.ts +11 -0
- package/backend/utils/arrays.d.ts +46 -0
- package/backend/utils/async.d.ts +5 -0
- package/backend/utils/binary.d.ts +6 -0
- package/backend/utils/capitalize.d.ts +5 -0
- package/backend/utils/commafy.d.ts +6 -0
- package/backend/utils/date-time.d.ts +27 -0
- package/backend/utils/empty-folder.d.ts +5 -0
- package/backend/utils/escape-reg-exp.d.ts +5 -0
- package/backend/utils/get-random-int.d.ts +6 -0
- package/backend/utils/index.d.ts +16 -0
- package/backend/utils/is-valid-uuid.d.ts +6 -0
- package/backend/utils/mask-pii.d.ts +13 -0
- package/backend/utils/objects.d.ts +37 -0
- package/backend/utils/pick.d.ts +5 -0
- package/backend/utils/stringify.d.ts +5 -0
- package/backend/utils/trigger-data.d.ts +8 -0
- package/backend/utils/url.d.ts +6 -0
- package/backend/variables/builtin/accounts/bot.d.ts +3 -0
- package/backend/variables/builtin/accounts/index.d.ts +2 -0
- package/backend/variables/builtin/accounts/streamer.d.ts +3 -0
- package/backend/variables/builtin/array/array-add.d.ts +3 -0
- package/backend/variables/builtin/array/array-element.d.ts +3 -0
- package/backend/variables/builtin/array/array-filter.d.ts +3 -0
- package/backend/variables/builtin/array/array-find-index.d.ts +3 -0
- package/backend/variables/builtin/array/array-find-with-null.d.ts +3 -0
- package/backend/variables/builtin/array/array-find.d.ts +3 -0
- package/backend/variables/builtin/array/array-from.d.ts +3 -0
- package/backend/variables/builtin/array/array-fuzzy-search.d.ts +3 -0
- package/backend/variables/builtin/array/array-join.d.ts +3 -0
- package/backend/variables/builtin/array/array-length.d.ts +3 -0
- package/backend/variables/builtin/array/array-random-item.d.ts +3 -0
- package/backend/variables/builtin/array/array-remove.d.ts +3 -0
- package/backend/variables/builtin/array/array-reverse.d.ts +3 -0
- package/backend/variables/builtin/array/array-shuffle.d.ts +3 -0
- package/backend/variables/builtin/array/array-slice.d.ts +3 -0
- package/backend/variables/builtin/array/index.d.ts +2 -0
- package/backend/variables/builtin/array/raw-array-add.d.ts +3 -0
- package/backend/variables/builtin/array/raw-array-element.d.ts +3 -0
- package/backend/variables/builtin/array/raw-array-filter.d.ts +3 -0
- package/backend/variables/builtin/array/raw-array-find-index.d.ts +3 -0
- package/backend/variables/builtin/array/raw-array-find.d.ts +3 -0
- package/backend/variables/builtin/array/raw-array-from.d.ts +3 -0
- package/backend/variables/builtin/array/raw-array-join.d.ts +3 -0
- package/backend/variables/builtin/array/raw-array-length.d.ts +3 -0
- package/backend/variables/builtin/array/raw-array-remove.d.ts +3 -0
- package/backend/variables/builtin/array/raw-array-reverse.d.ts +3 -0
- package/backend/variables/builtin/array/raw-array-shuffle.d.ts +3 -0
- package/backend/variables/builtin/counter/counter-change.d.ts +3 -0
- package/backend/variables/builtin/counter/counter-maximum.d.ts +3 -0
- package/backend/variables/builtin/counter/counter-minimum.d.ts +3 -0
- package/backend/variables/builtin/counter/counter-name.d.ts +3 -0
- package/backend/variables/builtin/counter/counter-new-value.d.ts +3 -0
- package/backend/variables/builtin/counter/counter-previous-value.d.ts +3 -0
- package/backend/variables/builtin/counter/counter.d.ts +3 -0
- package/backend/variables/builtin/counter/index.d.ts +2 -0
- package/backend/variables/builtin/currency/currency-name.d.ts +2 -0
- package/backend/variables/builtin/currency/currency-rank.d.ts +3 -0
- package/backend/variables/builtin/currency/currency.d.ts +3 -0
- package/backend/variables/builtin/currency/index.d.ts +2 -0
- package/backend/variables/builtin/currency/new-currency-amount.d.ts +2 -0
- package/backend/variables/builtin/currency/previous-currency-amount.d.ts +2 -0
- package/backend/variables/builtin/currency/top-currency-raw.d.ts +3 -0
- package/backend/variables/builtin/currency/top-currency-user.d.ts +3 -0
- package/backend/variables/builtin/currency/top-currency.d.ts +3 -0
- package/backend/variables/builtin/custom-vars/custom-variable-created-data.d.ts +3 -0
- package/backend/variables/builtin/custom-vars/custom-variable-created-name.d.ts +3 -0
- package/backend/variables/builtin/custom-vars/custom-variable-expired-data.d.ts +3 -0
- package/backend/variables/builtin/custom-vars/custom-variable-expired-name.d.ts +3 -0
- package/backend/variables/builtin/custom-vars/custom-variable-keys-raw.d.ts +3 -0
- package/backend/variables/builtin/custom-vars/custom-variable-keys.d.ts +3 -0
- package/backend/variables/builtin/custom-vars/custom-variable-raw.d.ts +3 -0
- package/backend/variables/builtin/custom-vars/custom-variable.d.ts +3 -0
- package/backend/variables/builtin/custom-vars/index.d.ts +2 -0
- package/backend/variables/builtin/donation/donation-amount-formatted.d.ts +3 -0
- package/backend/variables/builtin/donation/donation-amount.d.ts +3 -0
- package/backend/variables/builtin/donation/donation-from.d.ts +3 -0
- package/backend/variables/builtin/donation/donation-message.d.ts +3 -0
- package/backend/variables/builtin/donation/index.d.ts +2 -0
- package/backend/variables/builtin/index.d.ts +2 -0
- package/backend/variables/builtin/macro/index.d.ts +2 -0
- package/backend/variables/builtin/macro/macro-arg.d.ts +3 -0
- package/backend/variables/builtin/macro/macro.d.ts +3 -0
- package/backend/variables/builtin/metadata/arg-array-raw.d.ts +3 -0
- package/backend/variables/builtin/metadata/arg-array.d.ts +3 -0
- package/backend/variables/builtin/metadata/arg-count.d.ts +3 -0
- package/backend/variables/builtin/metadata/arg.d.ts +3 -0
- package/backend/variables/builtin/metadata/command-trigger.d.ts +3 -0
- package/backend/variables/builtin/metadata/control-deck-input.d.ts +3 -0
- package/backend/variables/builtin/metadata/count.d.ts +3 -0
- package/backend/variables/builtin/metadata/effect-output.d.ts +3 -0
- package/backend/variables/builtin/metadata/effect-queue-id.d.ts +3 -0
- package/backend/variables/builtin/metadata/effect-queue-length.d.ts +3 -0
- package/backend/variables/builtin/metadata/effect-queue-name.d.ts +3 -0
- package/backend/variables/builtin/metadata/effect-queue-status.d.ts +3 -0
- package/backend/variables/builtin/metadata/event-data.d.ts +3 -0
- package/backend/variables/builtin/metadata/index.d.ts +2 -0
- package/backend/variables/builtin/metadata/overlay-instance.d.ts +3 -0
- package/backend/variables/builtin/metadata/preset-list-arg.d.ts +3 -0
- package/backend/variables/builtin/metadata/scan-whole-message.d.ts +3 -0
- package/backend/variables/builtin/metadata/target.d.ts +6 -0
- package/backend/variables/builtin/metadata/top-metadata-raw.d.ts +3 -0
- package/backend/variables/builtin/metadata/top-metadata-user.d.ts +3 -0
- package/backend/variables/builtin/metadata/top-metadata.d.ts +3 -0
- package/backend/variables/builtin/metadata/user.d.ts +3 -0
- package/backend/variables/builtin/metadata/username.d.ts +3 -0
- package/backend/variables/builtin/metadata/webhook-header.d.ts +3 -0
- package/backend/variables/builtin/metadata/webhook-headers.d.ts +2 -0
- package/backend/variables/builtin/metadata/webhook-id.d.ts +2 -0
- package/backend/variables/builtin/metadata/webhook-name.d.ts +2 -0
- package/backend/variables/builtin/metadata/webhook-payload.d.ts +2 -0
- package/backend/variables/builtin/metadata/webhook-raw-payload.d.ts +2 -0
- package/backend/variables/builtin/misc/active-chat-user-count.d.ts +3 -0
- package/backend/variables/builtin/misc/chat-user-count.d.ts +3 -0
- package/backend/variables/builtin/misc/color.d.ts +3 -0
- package/backend/variables/builtin/misc/date.d.ts +3 -0
- package/backend/variables/builtin/misc/discord-timestamp.d.ts +3 -0
- package/backend/variables/builtin/misc/index.d.ts +2 -0
- package/backend/variables/builtin/misc/profile-page-bytebin-token.d.ts +3 -0
- package/backend/variables/builtin/misc/quote-as-object.d.ts +3 -0
- package/backend/variables/builtin/misc/quote-as-raw-object.d.ts +3 -0
- package/backend/variables/builtin/misc/quote.d.ts +3 -0
- package/backend/variables/builtin/misc/random-advice.d.ts +3 -0
- package/backend/variables/builtin/misc/random-dad-joke.d.ts +3 -0
- package/backend/variables/builtin/misc/random-reddit-image.d.ts +3 -0
- package/backend/variables/builtin/misc/roll-dice.d.ts +3 -0
- package/backend/variables/builtin/misc/time.d.ts +3 -0
- package/backend/variables/builtin/misc/top-view-time-raw.d.ts +3 -0
- package/backend/variables/builtin/misc/top-view-time.d.ts +3 -0
- package/backend/variables/builtin/misc/unix-timestamp.d.ts +3 -0
- package/backend/variables/builtin/misc/uptime.d.ts +3 -0
- package/backend/variables/builtin/number/ensure-number.d.ts +3 -0
- package/backend/variables/builtin/number/index.d.ts +2 -0
- package/backend/variables/builtin/number/math.d.ts +3 -0
- package/backend/variables/builtin/number/number-ceil.d.ts +3 -0
- package/backend/variables/builtin/number/number-commafy.d.ts +3 -0
- package/backend/variables/builtin/number/number-floor.d.ts +3 -0
- package/backend/variables/builtin/number/number-max.d.ts +3 -0
- package/backend/variables/builtin/number/number-min.d.ts +3 -0
- package/backend/variables/builtin/number/number-pad.d.ts +3 -0
- package/backend/variables/builtin/number/number-random.d.ts +3 -0
- package/backend/variables/builtin/number/number-round.d.ts +3 -0
- package/backend/variables/builtin/number/ordinal-indicator.d.ts +3 -0
- package/backend/variables/builtin/object/index.d.ts +2 -0
- package/backend/variables/builtin/object/object-keys.d.ts +3 -0
- package/backend/variables/builtin/object/object-set-property-raw.d.ts +3 -0
- package/backend/variables/builtin/object/object-set-property.d.ts +3 -0
- package/backend/variables/builtin/object/object-walk-path-raw.d.ts +3 -0
- package/backend/variables/builtin/object/object-walk-path.d.ts +3 -0
- package/backend/variables/builtin/operand/false.d.ts +3 -0
- package/backend/variables/builtin/operand/index.d.ts +2 -0
- package/backend/variables/builtin/operand/null.d.ts +3 -0
- package/backend/variables/builtin/operand/true.d.ts +3 -0
- package/backend/variables/builtin/overlay-widgets/custom-widget-id.d.ts +2 -0
- package/backend/variables/builtin/overlay-widgets/custom-widget-message-data.d.ts +2 -0
- package/backend/variables/builtin/overlay-widgets/custom-widget-message-name.d.ts +2 -0
- package/backend/variables/builtin/overlay-widgets/custom-widget-name.d.ts +2 -0
- package/backend/variables/builtin/overlay-widgets/dynamic-countdown-id.d.ts +2 -0
- package/backend/variables/builtin/overlay-widgets/dynamic-countdown-name.d.ts +2 -0
- package/backend/variables/builtin/overlay-widgets/index.d.ts +2 -0
- package/backend/variables/builtin/overlay-widgets/overlay-widget-state.d.ts +3 -0
- package/backend/variables/builtin/spoofed/all.d.ts +3 -0
- package/backend/variables/builtin/spoofed/and.d.ts +3 -0
- package/backend/variables/builtin/spoofed/any.d.ts +3 -0
- package/backend/variables/builtin/spoofed/custom-variable-shorthand.d.ts +3 -0
- package/backend/variables/builtin/spoofed/effect-output-shorthand.d.ts +3 -0
- package/backend/variables/builtin/spoofed/if.d.ts +3 -0
- package/backend/variables/builtin/spoofed/index.d.ts +2 -0
- package/backend/variables/builtin/spoofed/nall.d.ts +3 -0
- package/backend/variables/builtin/spoofed/nand.d.ts +3 -0
- package/backend/variables/builtin/spoofed/nany.d.ts +3 -0
- package/backend/variables/builtin/spoofed/nor.d.ts +3 -0
- package/backend/variables/builtin/spoofed/not.d.ts +3 -0
- package/backend/variables/builtin/spoofed/or.d.ts +3 -0
- package/backend/variables/builtin/spoofed/preset-list-args-shorthand.d.ts +3 -0
- package/backend/variables/builtin/text/atob.d.ts +3 -0
- package/backend/variables/builtin/text/base64-decode.d.ts +3 -0
- package/backend/variables/builtin/text/base64-encode.d.ts +3 -0
- package/backend/variables/builtin/text/btoa.d.ts +3 -0
- package/backend/variables/builtin/text/index.d.ts +2 -0
- package/backend/variables/builtin/text/regex-exec.d.ts +3 -0
- package/backend/variables/builtin/text/regex-matches-raw.d.ts +3 -0
- package/backend/variables/builtin/text/regex-matches.d.ts +3 -0
- package/backend/variables/builtin/text/regex-test.d.ts +3 -0
- package/backend/variables/builtin/text/sprintf.d.ts +3 -0
- package/backend/variables/builtin/text/text-capitalize.d.ts +3 -0
- package/backend/variables/builtin/text/text-concat.d.ts +3 -0
- package/backend/variables/builtin/text/text-contains.d.ts +3 -0
- package/backend/variables/builtin/text/text-decode-from-html.d.ts +3 -0
- package/backend/variables/builtin/text/text-decode-from-url.d.ts +3 -0
- package/backend/variables/builtin/text/text-encode-for-html.d.ts +3 -0
- package/backend/variables/builtin/text/text-encode-for-url.d.ts +3 -0
- package/backend/variables/builtin/text/text-length.d.ts +3 -0
- package/backend/variables/builtin/text/text-lowercase.d.ts +3 -0
- package/backend/variables/builtin/text/text-pad-end.d.ts +3 -0
- package/backend/variables/builtin/text/text-pad-start.d.ts +3 -0
- package/backend/variables/builtin/text/text-replace.d.ts +3 -0
- package/backend/variables/builtin/text/text-scramble.d.ts +3 -0
- package/backend/variables/builtin/text/text-split-raw.d.ts +3 -0
- package/backend/variables/builtin/text/text-split.d.ts +3 -0
- package/backend/variables/builtin/text/text-substring.d.ts +3 -0
- package/backend/variables/builtin/text/text-trim-end.d.ts +3 -0
- package/backend/variables/builtin/text/text-trim-start.d.ts +3 -0
- package/backend/variables/builtin/text/text-trim.d.ts +3 -0
- package/backend/variables/builtin/text/text-uppercase.d.ts +3 -0
- package/backend/variables/builtin/text/text-word.d.ts +3 -0
- package/backend/variables/builtin/user/chat-messages.d.ts +3 -0
- package/backend/variables/builtin/user/index.d.ts +2 -0
- package/backend/variables/builtin/user/is-user-in-chat.d.ts +3 -0
- package/backend/variables/builtin/user/join-date.d.ts +3 -0
- package/backend/variables/builtin/user/last-seen.d.ts +3 -0
- package/backend/variables/builtin/user/metadata-key.d.ts +2 -0
- package/backend/variables/builtin/user/metadata-value.d.ts +2 -0
- package/backend/variables/builtin/user/pronouns.d.ts +3 -0
- package/backend/variables/builtin/user/random-active-viewer.d.ts +3 -0
- package/backend/variables/builtin/user/random-viewer.d.ts +3 -0
- package/backend/variables/builtin/user/ranks/index.d.ts +2 -0
- package/backend/variables/builtin/user/ranks/is-demotion.d.ts +2 -0
- package/backend/variables/builtin/user/ranks/is-promotion.d.ts +2 -0
- package/backend/variables/builtin/user/ranks/new-rank.d.ts +2 -0
- package/backend/variables/builtin/user/ranks/previous-rank.d.ts +2 -0
- package/backend/variables/builtin/user/ranks/rank-ladder-mode.d.ts +3 -0
- package/backend/variables/builtin/user/ranks/rank-ladder.d.ts +2 -0
- package/backend/variables/builtin/user/ranks/rank-value-description.d.ts +3 -0
- package/backend/variables/builtin/user/ranks/rank-value.d.ts +3 -0
- package/backend/variables/builtin/user/ranks/viewer-has-rank.d.ts +3 -0
- package/backend/variables/builtin/user/ranks/viewer-names-in-rank.d.ts +3 -0
- package/backend/variables/builtin/user/ranks/viewer-next-rank.d.ts +3 -0
- package/backend/variables/builtin/user/ranks/viewer-rank.d.ts +3 -0
- package/backend/variables/builtin/user/ranks/viewers-in-rank-array.d.ts +3 -0
- package/backend/variables/builtin/user/roles/custom-role-user-count.d.ts +3 -0
- package/backend/variables/builtin/user/roles/custom-role-users-raw.d.ts +3 -0
- package/backend/variables/builtin/user/roles/custom-role-users.d.ts +3 -0
- package/backend/variables/builtin/user/roles/has-role.d.ts +3 -0
- package/backend/variables/builtin/user/roles/has-roles.d.ts +3 -0
- package/backend/variables/builtin/user/roles/index.d.ts +2 -0
- package/backend/variables/builtin/user/roles/random-custom-role-user-raw.d.ts +3 -0
- package/backend/variables/builtin/user/roles/random-custom-role-user.d.ts +3 -0
- package/backend/variables/builtin/user/roles/user-roles-raw.d.ts +3 -0
- package/backend/variables/builtin/user/roles/user-roles.d.ts +3 -0
- package/backend/variables/builtin/user/user-avatar-url.d.ts +3 -0
- package/backend/variables/builtin/user/user-badge-urls.d.ts +3 -0
- package/backend/variables/builtin/user/user-bio.d.ts +3 -0
- package/backend/variables/builtin/user/user-display-name.d.ts +3 -0
- package/backend/variables/builtin/user/user-exists.d.ts +3 -0
- package/backend/variables/builtin/user/user-id-name.d.ts +3 -0
- package/backend/variables/builtin/user/user-id.d.ts +3 -0
- package/backend/variables/builtin/user/user-is-banned.d.ts +3 -0
- package/backend/variables/builtin/user/user-is-timed-out.d.ts +3 -0
- package/backend/variables/builtin/user/user-metadata-raw.d.ts +3 -0
- package/backend/variables/builtin/user/user-metadata.d.ts +3 -0
- package/backend/variables/builtin/user/username-array-raw.d.ts +3 -0
- package/backend/variables/builtin/user/username-array.d.ts +3 -0
- package/backend/variables/builtin/user/view-time.d.ts +3 -0
- package/backend/variables/builtin/utility/allow-html.d.ts +3 -0
- package/backend/variables/builtin/utility/api-read-raw.d.ts +3 -0
- package/backend/variables/builtin/utility/api-read.d.ts +3 -0
- package/backend/variables/builtin/utility/audio-duration.d.ts +3 -0
- package/backend/variables/builtin/utility/convert-from-json.d.ts +3 -0
- package/backend/variables/builtin/utility/convert-to-json.d.ts +3 -0
- package/backend/variables/builtin/utility/eval-js.d.ts +3 -0
- package/backend/variables/builtin/utility/eval-vars.d.ts +3 -0
- package/backend/variables/builtin/utility/file-exists.d.ts +3 -0
- package/backend/variables/builtin/utility/file-line-count.d.ts +3 -0
- package/backend/variables/builtin/utility/file-name.d.ts +3 -0
- package/backend/variables/builtin/utility/file-read.d.ts +3 -0
- package/backend/variables/builtin/utility/files-in-directory.d.ts +3 -0
- package/backend/variables/builtin/utility/format-duration.d.ts +3 -0
- package/backend/variables/builtin/utility/index.d.ts +2 -0
- package/backend/variables/builtin/utility/loop-count.d.ts +3 -0
- package/backend/variables/builtin/utility/loop-item.d.ts +3 -0
- package/backend/variables/builtin/utility/overlay-resources-path.d.ts +3 -0
- package/backend/variables/builtin/utility/quick-store.d.ts +3 -0
- package/backend/variables/builtin/utility/random-uuid.d.ts +3 -0
- package/backend/variables/builtin/utility/run-effect.d.ts +3 -0
- package/backend/variables/builtin/utility/video-duration.d.ts +3 -0
- package/backend/variables/macro-manager.d.ts +10 -0
- package/backend/variables/replace-variable-manager.d.ts +45 -0
- package/backend/variables/variable-factory.d.ts +2 -0
- package/backend/variables/variable-loader.d.ts +1 -0
- package/backend/viewers/viewer-database.d.ts +87 -0
- package/backend/viewers/viewer-export-manager.d.ts +17 -0
- package/backend/viewers/viewer-metadata-manager.d.ts +18 -0
- package/backend/viewers/viewer-online-status-manager.d.ts +26 -0
- package/backend/webhooks/webhook-config-manager.d.ts +26 -0
- package/index.d.ts +3 -3
- package/package.json +10 -3
- package/server/http-server-manager.d.ts +70 -0
- package/server/websocket-client.d.ts +5 -0
- package/server/websocket-events-handler.d.ts +1 -0
- package/server/websocket-server-manager.d.ts +22 -0
- package/types/accounts.d.ts +1 -2
- package/types/auth.d.ts +1 -10
- package/types/channel-rewards.d.ts +1 -5
- package/types/chat.d.ts +9 -31
- package/types/commands.d.ts +11 -31
- package/types/control-deck.d.ts +146 -0
- package/types/counters.d.ts +1 -2
- package/types/currency.d.ts +1 -3
- package/types/discord.d.ts +2 -3
- package/types/effects.d.ts +19 -42
- package/types/events.d.ts +14 -37
- package/types/expressionish.d.ts +2 -22
- package/types/games.d.ts +1 -4
- package/types/hotkeys.d.ts +1 -3
- package/types/http-server.d.ts +19 -0
- package/types/icons.d.ts +1 -1
- package/types/import.d.ts +7 -34
- package/types/index.d.ts +6 -1
- package/types/integrations.d.ts +41 -65
- package/types/moderation.d.ts +1 -8
- package/types/modules/event-manager.d.ts +2 -10
- package/types/modules/frontend-communicator.d.ts +5 -21
- package/types/modules/index.d.ts +1 -1
- package/types/notifications.d.ts +28 -0
- package/types/overlay-widgets.d.ts +11 -34
- package/types/parameters.d.ts +26 -182
- package/types/plugin-api.d.ts +188 -0
- package/types/plugins.d.ts +113 -116
- package/types/power-ups.d.ts +0 -2
- package/types/pronouns.d.ts +1 -2
- package/types/quick-actions.d.ts +1 -3
- package/types/quotes.d.ts +1 -3
- package/types/ranks.d.ts +1 -2
- package/types/restrictions.d.ts +7 -24
- package/types/roles.d.ts +1 -3
- package/types/settings.d.ts +5 -4
- package/types/setups.d.ts +2 -4
- package/types/sort-tags.d.ts +1 -1
- package/types/timers.d.ts +1 -5
- package/types/triggers.d.ts +12 -23
- package/types/ui/angular.d.ts +5 -26
- package/types/ui/effect-helper-service.d.ts +1 -2
- package/types/ui/effect-queues-service.d.ts +8 -4
- package/types/ui/firebot-root-scope.d.ts +0 -1
- package/types/ui/index.d.ts +1 -1
- package/types/ui/modal-factory.d.ts +5 -13
- package/types/ui/modal-service.d.ts +3 -2
- package/types/ui/ng-toast.d.ts +5 -1
- package/types/ui/object-copy-helper.d.ts +1 -1
- package/types/ui/platform-service.d.ts +1 -1
- package/types/ui/preset-effect-lists-service.d.ts +1 -6
- package/types/ui/settings-service.d.ts +0 -1
- package/types/ui-extensions.d.ts +96 -0
- package/types/util-types.d.ts +7 -33
- package/types/variable-macros.d.ts +1 -1
- package/types/variables.d.ts +24 -19
- package/types/viewers.d.ts +1 -3
- package/types/webhooks.d.ts +16 -1
- package/types/websocket.d.ts +9 -47
- package/types/script-api.d.ts +0 -95
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { HelixChatAnnouncementColor, HelixChatChatter, HelixUserEmote } from "@twurple/api";
|
|
2
|
+
import type { SharedChatParticipant } from "../../../../../types";
|
|
3
|
+
import { ApiResourceBase } from "./api-resource-base";
|
|
4
|
+
import type { TwitchApi } from "../";
|
|
5
|
+
interface ResultWithError<TResult, TError> {
|
|
6
|
+
success: boolean;
|
|
7
|
+
result?: TResult;
|
|
8
|
+
error?: TError;
|
|
9
|
+
}
|
|
10
|
+
export declare class TwitchChatApi extends ApiResourceBase {
|
|
11
|
+
private _slashCommandHandler;
|
|
12
|
+
constructor(apiBase: typeof TwitchApi);
|
|
13
|
+
/**
|
|
14
|
+
* Gets the list of all chatters in the channel.
|
|
15
|
+
*/
|
|
16
|
+
getAllChatters(): Promise<HelixChatChatter[]>;
|
|
17
|
+
/**
|
|
18
|
+
* Sends a chat message to the streamer's chat.
|
|
19
|
+
*
|
|
20
|
+
* @param message Chat message to send.
|
|
21
|
+
* @param replyToMessageId The ID of the message this should be replying to. Leave as null for non replies.
|
|
22
|
+
* @param sendAsBot If the chat message should be sent as the bot or not.
|
|
23
|
+
* If this is set to `false` or the bot account is not logged in, the chat message will be sent as the streamer.
|
|
24
|
+
* @returns `true` if sending the chat message was successful or `false` if it failed
|
|
25
|
+
*/
|
|
26
|
+
sendChatMessage(message: string, replyToMessageId?: string, sendAsBot?: boolean): Promise<boolean>;
|
|
27
|
+
/**
|
|
28
|
+
* Sends an announcement to the streamer's chat.
|
|
29
|
+
*
|
|
30
|
+
* @param message The announcement to send
|
|
31
|
+
* @param color The color of the announcement. Options include `primary`, `blue`, `green`, `orange`, and `purple`.
|
|
32
|
+
* Defaults to `primary`, the streamer's brand color.
|
|
33
|
+
* @param sendAsBot If the announcement should be sent as the bot or not.
|
|
34
|
+
* If this is set to `false`, the announcement will be sent as the streamer.
|
|
35
|
+
* @returns `true` if the announcement was successful or `false` if it failed
|
|
36
|
+
*/
|
|
37
|
+
sendAnnouncement(message: string, color?: HelixChatAnnouncementColor, sendAsBot?: boolean): Promise<boolean>;
|
|
38
|
+
/**
|
|
39
|
+
* Sends a Twitch shoutout to another channel
|
|
40
|
+
*
|
|
41
|
+
* @param targetUserId The Twitch user ID whose channel to shoutout
|
|
42
|
+
* @returns true when successful, error message string when unsuccessful
|
|
43
|
+
*/
|
|
44
|
+
sendShoutout(targetUserId: string): Promise<ResultWithError<undefined, string>>;
|
|
45
|
+
/**
|
|
46
|
+
* Deletes a chat message from the streamer's chat.
|
|
47
|
+
*
|
|
48
|
+
* @param messageId The ID of the message to delete
|
|
49
|
+
* @returns `true` if the message was deleted or `false` if it failed
|
|
50
|
+
*/
|
|
51
|
+
deleteChatMessage(messageId: string): Promise<boolean>;
|
|
52
|
+
/**
|
|
53
|
+
* Clears the streamer's chat.
|
|
54
|
+
*
|
|
55
|
+
* @returns `true` if chat was cleared or `false` if it failed
|
|
56
|
+
*/
|
|
57
|
+
clearChat(): Promise<boolean>;
|
|
58
|
+
/**
|
|
59
|
+
* Turns emote-only mode on or off in the streamer's chat.
|
|
60
|
+
*
|
|
61
|
+
* @param enable `true` will enable emote-only mode. `false` will disable emote-only mode. Defaults to `true`.
|
|
62
|
+
* @returns `true` if the update succeeded or `false` if it failed
|
|
63
|
+
*/
|
|
64
|
+
setEmoteOnlyMode(enable?: boolean): Promise<boolean>;
|
|
65
|
+
/**
|
|
66
|
+
* Turns follower-only mode on or off in the streamer's chat.
|
|
67
|
+
*
|
|
68
|
+
* @param enable `true` will enable follower-only mode. `false` will disable follower-only mode. Defaults to `true`.
|
|
69
|
+
* @param duration Duration in minutes that a user must be following the channel before they're allowed to chat. Default is `0`.
|
|
70
|
+
* @returns `true` if the update succeeded or `false` if it failed
|
|
71
|
+
*/
|
|
72
|
+
setFollowerOnlyMode(enable?: boolean, duration?: number): Promise<boolean>;
|
|
73
|
+
/**
|
|
74
|
+
* Turns subscriber-only mode on or off in the streamer's chat.
|
|
75
|
+
*
|
|
76
|
+
* @param enable `true` will enable subscriber-only mode. `false` will disable subscriber-only mode. Defaults to `true`.
|
|
77
|
+
* @returns `true` if the update succeeded or `false` if it failed
|
|
78
|
+
*/
|
|
79
|
+
setSubscriberOnlyMode(enable?: boolean): Promise<boolean>;
|
|
80
|
+
/**
|
|
81
|
+
* Turns slow mode on or off in the streamer's chat.
|
|
82
|
+
*
|
|
83
|
+
* @param enable `true` will enable slow mode. `false` will disable slow mode. Defaults to `true`.
|
|
84
|
+
* @param duration Duration in seconds that a user must wait between sending messages. Default is `5`.
|
|
85
|
+
* @returns `true` if the update succeeded or `false` if it failed
|
|
86
|
+
*/
|
|
87
|
+
setSlowMode(enable?: boolean, duration?: number): Promise<boolean>;
|
|
88
|
+
/**
|
|
89
|
+
* Turns unique mode on or off in the streamer's chat.
|
|
90
|
+
*
|
|
91
|
+
* @param enable `true` will enable unique mode. `false` will disable unique mode. Defaults to `true`.
|
|
92
|
+
* @returns `true` if the update succeeded or `false` if it failed
|
|
93
|
+
*/
|
|
94
|
+
setUniqueMode(enable?: boolean): Promise<boolean>;
|
|
95
|
+
/**
|
|
96
|
+
* Gets the chat color for a user.
|
|
97
|
+
*
|
|
98
|
+
* @param targetUserId numerical ID of the user as sting.
|
|
99
|
+
* @returns the color as hex code, null if the user did not set a color, or undefined if the user is unknown.
|
|
100
|
+
*/
|
|
101
|
+
getColorForUser(targetUserId: string): Promise<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Gets all emotes that can be used on Twitch by the specified Firebot account.
|
|
104
|
+
*
|
|
105
|
+
* @param account Either `streamer` or `bot`
|
|
106
|
+
* @returns An array of {@link HelixUserEmote} containing all the emotes the user can use on Twitch, or null if the request failed
|
|
107
|
+
*/
|
|
108
|
+
getAllUserEmotes(account?: "streamer" | "bot"): Promise<HelixUserEmote[]>;
|
|
109
|
+
/**
|
|
110
|
+
* Gets the participants in the current shared chat session.
|
|
111
|
+
*
|
|
112
|
+
* @returns An array of {@link SharedChatParticipant} containing all the participants in the shared chat session, or null if there is no active session
|
|
113
|
+
*/
|
|
114
|
+
getSharedChatParticipants(): Promise<SharedChatParticipant[]>;
|
|
115
|
+
}
|
|
116
|
+
export {};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { HelixClip, UserIdResolvable } from "@twurple/api";
|
|
2
|
+
import { ApiResourceBase } from "./api-resource-base";
|
|
3
|
+
import type { TwitchApi } from "../";
|
|
4
|
+
export declare class TwitchClipsApi extends ApiResourceBase {
|
|
5
|
+
constructor(apiBase: typeof TwitchApi);
|
|
6
|
+
/**
|
|
7
|
+
* Creates a clip in the streamer's channel
|
|
8
|
+
* @returns A {@linkcode HelixClip} representing the newly created clip
|
|
9
|
+
*/
|
|
10
|
+
createClip(duration?: number, title?: string): Promise<HelixClip>;
|
|
11
|
+
/**
|
|
12
|
+
* Gets a Twitch clip from the specified clip URL
|
|
13
|
+
* @param url URL of the clip
|
|
14
|
+
* @returns A {@link HelixClip} from the given URL, or `null` if it doesn't exist
|
|
15
|
+
*/
|
|
16
|
+
getClipFromClipUrl(url: string): Promise<HelixClip>;
|
|
17
|
+
/**
|
|
18
|
+
* Gets a random clip for the given user ID
|
|
19
|
+
* @param userId Twitch user ID
|
|
20
|
+
* @param limit How many clips to retrieve for random pool. Default is `100`.
|
|
21
|
+
* @param isFeatured `true` for only featured clips, `false` for only non-featured, or `undefined` for all
|
|
22
|
+
* @param startDate The earliest {@link Date} to find clips for, or `undefined` for no lower limit
|
|
23
|
+
* @param endDate The latest {@link Date} to find clips for, or `undefined` for no upper limit
|
|
24
|
+
* @returns A random {@link HelixClip} from the user's channel, or `null` if the user doesn't exist or their channel has no clips
|
|
25
|
+
*/
|
|
26
|
+
getRandomClipForUserById(userId: UserIdResolvable, limit?: number, isFeatured?: boolean, startDate?: Date, endDate?: Date): Promise<HelixClip>;
|
|
27
|
+
/**
|
|
28
|
+
* Gets a random clip for the given username
|
|
29
|
+
* @param userId Twitch username
|
|
30
|
+
* @param limit How many clips to retrieve for random pool. Default is `100`.
|
|
31
|
+
* @param isFeatured `true` for only featured clips, `false` for only non-featured, or `undefined` for all
|
|
32
|
+
* @param startDate The earliest {@link Date} to find clips for, or `undefined` for no lower limit
|
|
33
|
+
* @param endDate The latest {@link Date} to find clips for, or `undefined` for no upper limit
|
|
34
|
+
* @returns A random {@link HelixClip} from the user's channel, or `null` if the user doesn't exist or their channel has no clips
|
|
35
|
+
*/
|
|
36
|
+
getRandomClipForUserByName(username: string, limit?: number, isFeatured?: boolean, startDate?: Date, endDate?: Date): Promise<HelixClip>;
|
|
37
|
+
/**
|
|
38
|
+
* Get the latest clip for the given user ID.
|
|
39
|
+
*
|
|
40
|
+
* NOTE: Due to how the Twitch API works, this can take several seconds and the clip may not be the very latest.
|
|
41
|
+
* @param userId Twitch user ID
|
|
42
|
+
* @param isFeatured `true` for only featured clips, `false` for only non-featured, or `undefined` for all
|
|
43
|
+
* @returns The most recently created {@link HelixClip} from the user's channel, or `null` if the user doesn't exist or their channel has no clips
|
|
44
|
+
*/
|
|
45
|
+
getLatestClipForUserById(userId: UserIdResolvable, isFeatured?: boolean): Promise<HelixClip>;
|
|
46
|
+
/**
|
|
47
|
+
* Get the latest clip for the given username.
|
|
48
|
+
*
|
|
49
|
+
* NOTE: Due to how the Twitch API works, this can take several seconds and the clip may not be the very latest.
|
|
50
|
+
* @param username Twitch username
|
|
51
|
+
* @param isFeatured `true` for only featured clips, `false` for only non-featured, or `undefined` for all
|
|
52
|
+
* @returns The most recently created {@link HelixClip} from the user's channel, or `null` if the user doesn't exist or their channel has no clips
|
|
53
|
+
*/
|
|
54
|
+
getLatestClipForUserByName(username: string, isFeatured?: boolean): Promise<HelixClip>;
|
|
55
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HelixGoal } from "@twurple/api";
|
|
2
|
+
import { ApiResourceBase } from './api-resource-base';
|
|
3
|
+
import type { TwitchApi } from "../";
|
|
4
|
+
export declare class TwitchGoalsApi extends ApiResourceBase {
|
|
5
|
+
constructor(apiBase: typeof TwitchApi);
|
|
6
|
+
/**
|
|
7
|
+
* Retrieves the current Twitch channel goals
|
|
8
|
+
*
|
|
9
|
+
* @returns A HelixPoll object with the most recent Twitch poll data
|
|
10
|
+
*/
|
|
11
|
+
getCurrentChannelGoals(): Promise<HelixGoal[]>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HelixHypeTrain } from "@twurple/api";
|
|
2
|
+
import { ApiResourceBase } from './api-resource-base';
|
|
3
|
+
import type { TwitchApi } from "../";
|
|
4
|
+
export declare class TwitchHypeTrainApi extends ApiResourceBase {
|
|
5
|
+
constructor(apiBase: typeof TwitchApi);
|
|
6
|
+
/**
|
|
7
|
+
* Retrieves current Twitch channel hype train for the streamer
|
|
8
|
+
*/
|
|
9
|
+
getCurrentHypeTrain(): Promise<HelixHypeTrain>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { type HelixBan, type HelixModerator, type UserIdResolvable } from "@twurple/api";
|
|
2
|
+
import type { BasicViewer } from '../../../../../types/viewers';
|
|
3
|
+
import { ApiResourceBase } from './api-resource-base';
|
|
4
|
+
import type { TwitchApi } from "../";
|
|
5
|
+
type ModerationEvents = {
|
|
6
|
+
"vip:added": (user: BasicViewer) => void;
|
|
7
|
+
"vip:removed": (userId: string) => void;
|
|
8
|
+
"moderator:added": (user: BasicViewer) => void;
|
|
9
|
+
"moderator:removed": (userId: string) => void;
|
|
10
|
+
};
|
|
11
|
+
export declare class TwitchModerationApi extends ApiResourceBase<ModerationEvents> {
|
|
12
|
+
constructor(apiBase: typeof TwitchApi);
|
|
13
|
+
/**
|
|
14
|
+
* Determines if a user is timed out in the streamer's channel
|
|
15
|
+
*
|
|
16
|
+
* @param userId The user ID to check if they're timed out
|
|
17
|
+
* @returns `true` if the user is timed out, or `false` if they're either banned indefinitely or not timed out
|
|
18
|
+
*/
|
|
19
|
+
isUserTimedOut(userId: UserIdResolvable): Promise<boolean>;
|
|
20
|
+
/**
|
|
21
|
+
* Times out a user in the streamer's channel for a specified duration.
|
|
22
|
+
*
|
|
23
|
+
* @param userId The Twitch user ID of the user to timeout
|
|
24
|
+
* @param duration The duration in seconds to timeout the user
|
|
25
|
+
* @param reason The reason for the timeout
|
|
26
|
+
* @returns `true` if the timeout was successful or `false` if it failed
|
|
27
|
+
*/
|
|
28
|
+
timeoutUser(userId: UserIdResolvable, duration: number, reason?: string): Promise<boolean>;
|
|
29
|
+
/**
|
|
30
|
+
* Gets all banned users from a streamer's channel.
|
|
31
|
+
*
|
|
32
|
+
* @returns {HelixBan[]}
|
|
33
|
+
*/
|
|
34
|
+
getBannedUsers(): Promise<HelixBan[]>;
|
|
35
|
+
/**
|
|
36
|
+
* Determines if a user is banned (not timed out) in the streamer's channel
|
|
37
|
+
*
|
|
38
|
+
* @param userId The user ID to check if they're banned
|
|
39
|
+
* @returns `true` if the user is banned, or `false` if they're either not banned or only timed out
|
|
40
|
+
*/
|
|
41
|
+
isUserBanned(userId: UserIdResolvable): Promise<boolean>;
|
|
42
|
+
/**
|
|
43
|
+
* Bans a user from the streamer's channel.
|
|
44
|
+
*
|
|
45
|
+
* @param userId The Twitch user ID of the user to ban
|
|
46
|
+
* @param reason The reason for the ban
|
|
47
|
+
* @returns `true` if the ban was successful or `false` if it failed
|
|
48
|
+
*/
|
|
49
|
+
banUser(userId: UserIdResolvable, reason?: string): Promise<boolean>;
|
|
50
|
+
/**
|
|
51
|
+
* Unbans/removes the timeout for a user in the streamer's channel.
|
|
52
|
+
*
|
|
53
|
+
* @param userId The Twitch user ID of the user to unban/remove from timeout
|
|
54
|
+
* @returns `true` if the unban/removal from timeout was successful or `false` if it failed
|
|
55
|
+
*/
|
|
56
|
+
unbanUser(userId: UserIdResolvable): Promise<boolean>;
|
|
57
|
+
/**
|
|
58
|
+
* Gets all the moderators in the streamer's channel.
|
|
59
|
+
*/
|
|
60
|
+
getModerators(): Promise<HelixModerator[]>;
|
|
61
|
+
/**
|
|
62
|
+
* Adds a moderator to the streamer's channel.
|
|
63
|
+
*
|
|
64
|
+
* @param userId The Twitch user ID of the user to add as a mod
|
|
65
|
+
* @returns `true` if the user was added as a mod successfully or `false` if it failed
|
|
66
|
+
*/
|
|
67
|
+
addChannelModerator(userId: UserIdResolvable): Promise<boolean>;
|
|
68
|
+
/**
|
|
69
|
+
* Removes a moderator from the streamer's channel.
|
|
70
|
+
*
|
|
71
|
+
* @param userId The Twitch user ID of the user to remove as a mod
|
|
72
|
+
* @returns `true` if the user was removed as a mod successfully or `false` if it failed
|
|
73
|
+
*/
|
|
74
|
+
removeChannelModerator(userId: UserIdResolvable): Promise<boolean>;
|
|
75
|
+
/**
|
|
76
|
+
* Adds a VIP to the streamer's channel.
|
|
77
|
+
*
|
|
78
|
+
* @param userId The Twitch user ID of the user to add as a VUP
|
|
79
|
+
* @returns `true` if the user was added as a VUP successfully or `false` if it failed
|
|
80
|
+
*/
|
|
81
|
+
addChannelVip(userId: UserIdResolvable): Promise<boolean>;
|
|
82
|
+
/**
|
|
83
|
+
* Removes a VIP from the streamer's channel.
|
|
84
|
+
*
|
|
85
|
+
* @param userId The Twitch user ID of the user to remove as a VIP
|
|
86
|
+
* @returns `true` if the user was removed as a VIP successfully or `false` if it failed
|
|
87
|
+
*/
|
|
88
|
+
removeChannelVip(userId: UserIdResolvable): Promise<boolean>;
|
|
89
|
+
/**
|
|
90
|
+
* Processes a message held by AutoMod.
|
|
91
|
+
* @param messageId ID of the held message
|
|
92
|
+
* @param allow `true` to allow the message, or `false` to deny it
|
|
93
|
+
*/
|
|
94
|
+
processHeldAutoModMessage(messageId: string, allow: boolean): Promise<void>;
|
|
95
|
+
}
|
|
96
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { HelixPoll } from "@twurple/api";
|
|
2
|
+
import { ApiResourceBase } from './api-resource-base';
|
|
3
|
+
import type { TwitchApi } from "../";
|
|
4
|
+
export declare class TwitchPollsApi extends ApiResourceBase {
|
|
5
|
+
constructor(apiBase: typeof TwitchApi);
|
|
6
|
+
/**
|
|
7
|
+
* Creates a Twitch poll
|
|
8
|
+
*
|
|
9
|
+
* @param title Title of the poll
|
|
10
|
+
* @param choices List of choices for the poll. Minimum of 2, maximum of 5.
|
|
11
|
+
* @param duration Duration in seconds to show poll. Minimum of 15, maximum of 1800 (30 minutes).
|
|
12
|
+
* @param channelPointsPerVote Number of channel points per additional vote. If null, channel point voting will be disabled.
|
|
13
|
+
*/
|
|
14
|
+
createPoll(title: string, choices: string[], duration: number, channelPointsPerVote?: number): Promise<void>;
|
|
15
|
+
/**
|
|
16
|
+
* End a Twitch poll.
|
|
17
|
+
*
|
|
18
|
+
* @param pollId The poll ID.
|
|
19
|
+
* @param showResult Whether to show the result, or archive and hide the result.
|
|
20
|
+
*/
|
|
21
|
+
endPoll(pollId: string, showResult?: boolean): Promise<void>;
|
|
22
|
+
/**
|
|
23
|
+
* Retrieve the most recent Twitch poll
|
|
24
|
+
*
|
|
25
|
+
* @returns A HelixPoll object with the most recent Twitch poll data
|
|
26
|
+
*/
|
|
27
|
+
getMostRecentPoll(): Promise<HelixPoll>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { TwitchApi } from "..";
|
|
2
|
+
import type { CustomReward } from "./channel-rewards";
|
|
3
|
+
import { ApiResourceBase } from "./api-resource-base";
|
|
4
|
+
export type CustomPowerUp = Omit<CustomReward, "cost" | "shouldRedemptionsSkipRequestQueue"> & {
|
|
5
|
+
bits: number;
|
|
6
|
+
};
|
|
7
|
+
export declare class TwitchPowerUpsApi extends ApiResourceBase {
|
|
8
|
+
constructor(apiBase: typeof TwitchApi);
|
|
9
|
+
/**
|
|
10
|
+
* Get an array of custom power-ups for the streamer's channel.
|
|
11
|
+
*/
|
|
12
|
+
getCustomPowerUps(): Promise<CustomPowerUp[]>;
|
|
13
|
+
/**
|
|
14
|
+
* Get a specific custom power-up by its ID.
|
|
15
|
+
* @param powerUpId The ID of the custom power-up to retrieve.
|
|
16
|
+
* @returns The custom power-up with the specified ID, or null if not found.
|
|
17
|
+
*/
|
|
18
|
+
getCustomPowerUpById(powerUpId: string): Promise<CustomPowerUp | null>;
|
|
19
|
+
private fetchCustomPowerUps;
|
|
20
|
+
private mapApiCustomPowerUp;
|
|
21
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { HelixPrediction } from "@twurple/api";
|
|
2
|
+
import { ApiResourceBase } from './api-resource-base';
|
|
3
|
+
import type { TwitchApi } from "../";
|
|
4
|
+
export declare class TwitchPredictionsApi extends ApiResourceBase {
|
|
5
|
+
constructor(apiBase: typeof TwitchApi);
|
|
6
|
+
/**
|
|
7
|
+
* Creates a Twitch prediction
|
|
8
|
+
*
|
|
9
|
+
* @param title Title of the prediction
|
|
10
|
+
* @param outcomes List of outcomes for the prediction. Minimum of 2, maximum of 10.
|
|
11
|
+
* @param duration Duration in seconds to allow predictions. Minimum of 30, maximum of 1800 (30 minutes).
|
|
12
|
+
*/
|
|
13
|
+
createPrediction(title: string, outcomes: string[], duration: number): Promise<void>;
|
|
14
|
+
/**
|
|
15
|
+
* Locks a Twitch prediction so no more predictions can be made
|
|
16
|
+
*
|
|
17
|
+
* @param predictionId The prediction ID.
|
|
18
|
+
*/
|
|
19
|
+
lockPrediciton(predictionId: string): Promise<void>;
|
|
20
|
+
/**
|
|
21
|
+
* Cancels a Twitch prediction and refunds all wagered channel points
|
|
22
|
+
*
|
|
23
|
+
* @param predictionId The prediction ID.
|
|
24
|
+
*/
|
|
25
|
+
cancelPrediction(predictionId: string): Promise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Resolve a Twitch prediction.
|
|
28
|
+
*
|
|
29
|
+
* @param predictionId The prediction ID.
|
|
30
|
+
* @param outcomeId The winning outcome ID.
|
|
31
|
+
*/
|
|
32
|
+
resolvePrediction(predictionId: string, outcomeId: string): Promise<void>;
|
|
33
|
+
/**
|
|
34
|
+
* Retrieve the most recent Twitch prediction
|
|
35
|
+
*
|
|
36
|
+
* @returns A HelixPrediction object with the most recent Twitch prediction data
|
|
37
|
+
*/
|
|
38
|
+
getMostRecentPrediction(): Promise<HelixPrediction>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HelixStream, HelixStreamMarker } from "@twurple/api";
|
|
2
|
+
import { ApiResourceBase } from './api-resource-base';
|
|
3
|
+
import type { TwitchApi } from "../";
|
|
4
|
+
export declare class TwitchStreamsApi extends ApiResourceBase {
|
|
5
|
+
constructor(apiBase: typeof TwitchApi);
|
|
6
|
+
createStreamMarker(description?: string): Promise<HelixStreamMarker>;
|
|
7
|
+
/**
|
|
8
|
+
* Get the streamers current stream. Null if offline.
|
|
9
|
+
*/
|
|
10
|
+
getStreamersCurrentStream(): Promise<HelixStream | null>;
|
|
11
|
+
getStreamUptime(): Promise<string>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ApiResourceBase } from './api-resource-base';
|
|
2
|
+
import type { TwitchApi } from "../";
|
|
3
|
+
import { HelixSubscription } from '@twurple/api/lib';
|
|
4
|
+
export declare class TwitchSubscriptionsApi extends ApiResourceBase {
|
|
5
|
+
constructor(apiBase: typeof TwitchApi);
|
|
6
|
+
/**
|
|
7
|
+
* Retrieves the subscription info for all users who are currently subscribed to the streamer
|
|
8
|
+
*
|
|
9
|
+
* @returns {HelixSubscription[]}
|
|
10
|
+
*/
|
|
11
|
+
getSubscriptions(): Promise<HelixSubscription[]>;
|
|
12
|
+
/**
|
|
13
|
+
* Retrieves the number of subscribers the streamer has
|
|
14
|
+
*
|
|
15
|
+
* @returns Number of subscribers the streamer has
|
|
16
|
+
*/
|
|
17
|
+
getSubscriberCount(): Promise<number>;
|
|
18
|
+
/**
|
|
19
|
+
* Retrieves the number of sub points the streamer has
|
|
20
|
+
*
|
|
21
|
+
* @returns Number of sub points the streamer has
|
|
22
|
+
*/
|
|
23
|
+
getSubPointCount(): Promise<number>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HelixTeam } from "@twurple/api";
|
|
2
|
+
import { ApiResourceBase } from "./api-resource-base";
|
|
3
|
+
import type { TwitchApi } from "../";
|
|
4
|
+
export declare class TwitchTeamsApi extends ApiResourceBase {
|
|
5
|
+
constructor(apiBase: typeof TwitchApi);
|
|
6
|
+
getTeams(broadcasterId: string): Promise<HelixTeam[]>;
|
|
7
|
+
getMatchingTeams(userId: string): Promise<HelixTeam[]>;
|
|
8
|
+
getMatchingTeamsByName(username: string): Promise<HelixTeam[]>;
|
|
9
|
+
getMatchingTeamsById(userId: string): Promise<HelixTeam[]>;
|
|
10
|
+
getStreamerTeams(): Promise<HelixTeam[]>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { HelixChannelFollower, HelixUser, UserIdResolvable } from "@twurple/api";
|
|
2
|
+
import { ApiResourceBase } from "./api-resource-base";
|
|
3
|
+
import type { TwitchApi } from "../";
|
|
4
|
+
export declare class TwitchUsersApi extends ApiResourceBase {
|
|
5
|
+
constructor(apiBase: typeof TwitchApi);
|
|
6
|
+
getUserById(userId: string): Promise<HelixUser>;
|
|
7
|
+
getUsersByIds(userIds: string[]): Promise<HelixUser[]>;
|
|
8
|
+
getUserByName(username: string): Promise<HelixUser>;
|
|
9
|
+
getUsersByNames(usernames: string[]): Promise<HelixUser[]>;
|
|
10
|
+
getFollowDateForUser(username: string): Promise<Date>;
|
|
11
|
+
/**
|
|
12
|
+
* @param username
|
|
13
|
+
* @param channelName
|
|
14
|
+
* @returns {Promise<HelixChannelFollower | boolean>} true when username === channelName, false when not following
|
|
15
|
+
*/
|
|
16
|
+
getUserChannelFollow(username: string, channelName: string): Promise<HelixChannelFollower | boolean>;
|
|
17
|
+
doesUserFollowChannel(username: string, channelName: string): Promise<boolean>;
|
|
18
|
+
blockUser(userId: UserIdResolvable, reason?: 'spam' | 'harassment' | 'other'): Promise<boolean>;
|
|
19
|
+
unblockUser(userId: UserIdResolvable): Promise<boolean>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HelixVideo } from "@twurple/api";
|
|
2
|
+
import { ApiResourceBase } from "./api-resource-base";
|
|
3
|
+
import type { TwitchApi } from "../";
|
|
4
|
+
export declare class TwitchVideosApi extends ApiResourceBase {
|
|
5
|
+
constructor(apiBase: typeof TwitchApi);
|
|
6
|
+
/**
|
|
7
|
+
* Gets the VOD object for the specified stream
|
|
8
|
+
* @param streamId ID of the stream
|
|
9
|
+
* @returns A {@linkcode HelixVideo} object representing the VOD
|
|
10
|
+
*/
|
|
11
|
+
getVodByStreamId(streamId: string): Promise<HelixVideo>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { UserIdResolvable } from "@twurple/api";
|
|
2
|
+
import { ApiResourceBase } from "./api-resource-base";
|
|
3
|
+
import type { TwitchApi } from "../";
|
|
4
|
+
export declare class TwitchWhispersApi extends ApiResourceBase {
|
|
5
|
+
constructor(apiBase: typeof TwitchApi);
|
|
6
|
+
/**
|
|
7
|
+
* Sends a whisper to another user.
|
|
8
|
+
*
|
|
9
|
+
* @param recipientUserId The Twitch user ID of the recipient user
|
|
10
|
+
* @param message The message to send
|
|
11
|
+
* @param sendAsBot If the whisper should be sent as the bot or not.
|
|
12
|
+
* If this is set to `false`, the whisper will be sent as the streamer.
|
|
13
|
+
* @returns `true` if the request was successful or `false` if the request failed.
|
|
14
|
+
* NOTE: Twitch may return a success even for whispers that are not sent for being suspected of spam.
|
|
15
|
+
*/
|
|
16
|
+
sendWhisper(recipientUserId: UserIdResolvable, message: string, sendAsBot?: boolean): Promise<boolean>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ApiClient, ApiConfig } from "@twurple/api";
|
|
2
|
+
/**
|
|
3
|
+
* A Twurple API client that always acts in the context of the specified user.
|
|
4
|
+
*
|
|
5
|
+
* Functionally equivalent to Twurple's internal `UserContextApiClient` class
|
|
6
|
+
* used in the callback for `ApiClient.asUser`
|
|
7
|
+
*/
|
|
8
|
+
export declare class UserContextApiClient extends ApiClient {
|
|
9
|
+
private readonly _userId;
|
|
10
|
+
constructor(config: ApiConfig, _userId: string);
|
|
11
|
+
_getUserIdFromRequestContext(): string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { AuthProviderDefinition } from "../../../../types/auth";
|
|
2
|
+
declare class TwitchAuthProviders {
|
|
3
|
+
private readonly _host;
|
|
4
|
+
private readonly _authorizePath;
|
|
5
|
+
private readonly _tokenPath;
|
|
6
|
+
readonly streamerAccountProviderId = "twitch:streamer-account";
|
|
7
|
+
readonly botAccountProviderId = "twitch:bot-account";
|
|
8
|
+
readonly twitchClientId: string;
|
|
9
|
+
readonly streamerAccountProvider: AuthProviderDefinition;
|
|
10
|
+
botAccountProvider: AuthProviderDefinition;
|
|
11
|
+
registerTwitchAuthProviders(): void;
|
|
12
|
+
}
|
|
13
|
+
declare const twitchAuthProviders: TwitchAuthProviders;
|
|
14
|
+
export { twitchAuthProviders as TwitchAuthProviders };
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file exists because there's currently no Twurple AuthProvider that supports Device Code Flow.
|
|
3
|
+
* Once one exists, this can go away. In the meantime, it stays in order to refresh tokens automagically.
|
|
4
|
+
*/
|
|
5
|
+
import { EventEmitter } from "@d-fischer/typed-event-emitter";
|
|
6
|
+
import { type AuthProvider, AccessToken, AccessTokenMaybeWithUserId, AccessTokenWithUserId } from "@twurple/auth";
|
|
7
|
+
import { type UserIdResolvable, CustomError } from "@twurple/common";
|
|
8
|
+
/**
|
|
9
|
+
* Thrown whenever you try to execute an action in the context of a user
|
|
10
|
+
* who is already known to have an invalid token saved in its {@link AuthProvider}.
|
|
11
|
+
*/
|
|
12
|
+
export declare class CachedRefreshFailureError extends CustomError {
|
|
13
|
+
readonly userId: string;
|
|
14
|
+
constructor(userId: string);
|
|
15
|
+
}
|
|
16
|
+
interface DeviceAuthProviderConfig {
|
|
17
|
+
userId: UserIdResolvable;
|
|
18
|
+
clientId: string;
|
|
19
|
+
accessToken: AccessToken;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* An auth provider that returns a refreshable token for a given user obtained via Device Code Flow.
|
|
23
|
+
*/
|
|
24
|
+
export declare class DeviceAuthProvider extends EventEmitter implements AuthProvider {
|
|
25
|
+
private _userId;
|
|
26
|
+
private readonly _clientId;
|
|
27
|
+
private _accessToken;
|
|
28
|
+
private _tokenFetcher;
|
|
29
|
+
private _refreshPromise;
|
|
30
|
+
private readonly _cachedRefreshFailures;
|
|
31
|
+
/**
|
|
32
|
+
* Fires when a user token is refreshed.
|
|
33
|
+
*
|
|
34
|
+
* @param userId The ID of the user whose token was successfully refreshed.
|
|
35
|
+
* @param token The refreshed token data.
|
|
36
|
+
*/
|
|
37
|
+
readonly onRefresh: import("@d-fischer/typed-event-emitter").EventBinder<[userId: string, token: AccessToken]>;
|
|
38
|
+
/**
|
|
39
|
+
* Fires when a user token fails to refresh.
|
|
40
|
+
*
|
|
41
|
+
* @param userId The ID of the user whose token wasn't successfully refreshed.
|
|
42
|
+
*/
|
|
43
|
+
readonly onRefreshFailure: import("@d-fischer/typed-event-emitter").EventBinder<[userId: string, isENotFoundError: boolean]>;
|
|
44
|
+
/**
|
|
45
|
+
* Creates a new auth provider with Device Code Flow credentials.
|
|
46
|
+
*
|
|
47
|
+
* @param deviceAuthConfig The config values for the Device Code Flow auth provider
|
|
48
|
+
*/
|
|
49
|
+
constructor(deviceAuthConfig: DeviceAuthProviderConfig);
|
|
50
|
+
/**
|
|
51
|
+
* Requests that the provider fetches a new token from Twitch.
|
|
52
|
+
*
|
|
53
|
+
* @param user Ignored.
|
|
54
|
+
*/
|
|
55
|
+
refreshAccessTokenForUser(user: UserIdResolvable): Promise<AccessTokenWithUserId>;
|
|
56
|
+
/**
|
|
57
|
+
* Requests that the provider fetches a new token from Twitch.
|
|
58
|
+
*
|
|
59
|
+
* @param intent Ignored.
|
|
60
|
+
*/
|
|
61
|
+
refreshAccessTokenForIntent(intent: string): Promise<AccessTokenWithUserId>;
|
|
62
|
+
/**
|
|
63
|
+
* The client ID.
|
|
64
|
+
*/
|
|
65
|
+
get clientId(): string;
|
|
66
|
+
/**
|
|
67
|
+
* The scopes that are currently available using the access token.
|
|
68
|
+
*/
|
|
69
|
+
getCurrentScopesForUser(user: UserIdResolvable): string[];
|
|
70
|
+
/**
|
|
71
|
+
* Gets the access token.
|
|
72
|
+
*
|
|
73
|
+
* If the current access token does not have the requested scopes, this method throws.
|
|
74
|
+
* This makes supplying an access token with the correct scopes from the beginning necessary.
|
|
75
|
+
*
|
|
76
|
+
* @param user Ignored.
|
|
77
|
+
* @param scopeSets The requested scopes.
|
|
78
|
+
*/
|
|
79
|
+
getAccessTokenForUser(user: UserIdResolvable, ...scopeSets: Array<string[] | undefined>): Promise<AccessTokenWithUserId>;
|
|
80
|
+
/**
|
|
81
|
+
* Gets the access token.
|
|
82
|
+
*
|
|
83
|
+
* If the current access token does not have the requested scopes, this method throws.
|
|
84
|
+
* This makes supplying an access token with the correct scopes from the beginning necessary.
|
|
85
|
+
*
|
|
86
|
+
* @param intent Ignored.
|
|
87
|
+
* @param scopeSets The requested scopes.
|
|
88
|
+
*/
|
|
89
|
+
getAccessTokenForIntent(intent: string, ...scopeSets: Array<string[] | undefined>): Promise<AccessTokenWithUserId>;
|
|
90
|
+
/**
|
|
91
|
+
* Gets the access token.
|
|
92
|
+
*/
|
|
93
|
+
getAnyAccessToken(): Promise<AccessTokenMaybeWithUserId>;
|
|
94
|
+
private _fetchUserToken;
|
|
95
|
+
private _refreshUserTokenWithCallback;
|
|
96
|
+
}
|
|
97
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { SharedChatParticipant } from "../../../../types";
|
|
2
|
+
declare class SharedChatCache {
|
|
3
|
+
private _isActive;
|
|
4
|
+
private _participants;
|
|
5
|
+
get isActive(): boolean;
|
|
6
|
+
enableSharedChat(): void;
|
|
7
|
+
disableSharedChat(): void;
|
|
8
|
+
get participants(): Record<string, SharedChatParticipant>;
|
|
9
|
+
set participants(participants: Array<SharedChatParticipant>);
|
|
10
|
+
loadSessionFromTwitch(): Promise<void>;
|
|
11
|
+
}
|
|
12
|
+
declare const cache: SharedChatCache;
|
|
13
|
+
export { cache as SharedChatCache };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { TwitchSlashCommand } from "../twitch-slash-commands";
|
|
2
|
+
export declare const whisperHandler: TwitchSlashCommand<[string, string]>;
|
|
3
|
+
export declare const announceHandler: TwitchSlashCommand<[string]>;
|
|
4
|
+
export declare const announceblueHandler: TwitchSlashCommand<[string]>;
|
|
5
|
+
export declare const announcegreenHandler: TwitchSlashCommand<[string]>;
|
|
6
|
+
export declare const announceorangeHandler: TwitchSlashCommand<[string]>;
|
|
7
|
+
export declare const announcepurpleHandler: TwitchSlashCommand<[string]>;
|
|
8
|
+
export declare const shoutoutHandler: TwitchSlashCommand<[string]>;
|
|
9
|
+
export declare const clearHandler: TwitchSlashCommand<[]>;
|
|
10
|
+
export declare const emoteonlyHandler: TwitchSlashCommand<[]>;
|
|
11
|
+
export declare const emoteonlyoffHandler: TwitchSlashCommand<[]>;
|
|
12
|
+
export declare const followersHandler: TwitchSlashCommand<[number]>;
|
|
13
|
+
export declare const followersoffHandler: TwitchSlashCommand<[]>;
|
|
14
|
+
export declare const subscribersHandler: TwitchSlashCommand<[]>;
|
|
15
|
+
export declare const subscribersoffHandler: TwitchSlashCommand<[]>;
|
|
16
|
+
export declare const slowHandler: TwitchSlashCommand<[number]>;
|
|
17
|
+
export declare const slowoffHandler: TwitchSlashCommand<[]>;
|
|
18
|
+
export declare const uniquechatHandler: TwitchSlashCommand<[]>;
|
|
19
|
+
export declare const uniquechatoffHandler: TwitchSlashCommand<[]>;
|