ts-twitch-api 0.2.1 → 0.2.3

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/dist/index.d.cts CHANGED
@@ -1085,6 +1085,64 @@ interface components {
1085
1085
  /** @description The list of chat settings. The list contains a single object with all the settings. */
1086
1086
  data: components["schemas"]["ChatSettings"][];
1087
1087
  };
1088
+ GetUserEmotesResponse: {
1089
+ data: ({
1090
+ /** @description An ID that uniquely identifies this emote. */
1091
+ id: string;
1092
+ /** @description The User ID of broadcaster whose channel is receiving the unban request. */
1093
+ name: string;
1094
+ /**
1095
+ * @description The type of emote. The possible values are:
1096
+ *
1097
+ * * **bitstier** — A Bits tier emote.
1098
+ * * **follower** — A follower emote.
1099
+ * * **subscriptions** — A subscriber emote.
1100
+ * @enum {string}
1101
+ */
1102
+ emote_type: "bitstier" | "follower" | "subscriptions";
1103
+ /** @description An ID that identifies the emote set that the emote belongs to. */
1104
+ emote_set_id: string;
1105
+ /** @description The ID of the broadcaster who owns the emote. */
1106
+ owner_id: string;
1107
+ /**
1108
+ * @description The formats that the emote is available in. For example, if the emote is available only as a static PNG, the array contains only static. But if the emote is available as a static PNG and an animated GIF, the array contains static and animated.
1109
+ *
1110
+ * * **animated** — An animated GIF is available for this emote.
1111
+ * * **static** — A static PNG file is available for this emote.
1112
+ */
1113
+ format: string[];
1114
+ /**
1115
+ * @description The sizes that the emote is available in. For example, if the emote is available in small and medium sizes, the array contains 1.0 and 2.0\.
1116
+ *
1117
+ * * **1.0** — A small version (28px x 28px) is available.
1118
+ * * **2.0** — A medium version (56px x 56px) is available.
1119
+ * * **3.0** — A large version (112px x 112px) is available.
1120
+ */
1121
+ scale: string[];
1122
+ /**
1123
+ * @description The background themes that the emote is available in.
1124
+ *
1125
+ * * **dark**
1126
+ * * **light**
1127
+ */
1128
+ theme_mode: string[];
1129
+ })[];
1130
+ /**
1131
+ * @description A templated URL. Uses the values from the _id_, _format_, _scale_, and _theme\_mode_ fields to replace the like-named placeholder strings in the templated URL to create a CDN (content delivery network) URL that you use to fetch the emote.
1132
+ *
1133
+ * For information about what the template looks like and how to use it to fetch emotes, see [Emote CDN URL](https://dev.twitch.tv/docs/irc/emotes#cdn-template) format.
1134
+ */
1135
+ template: string;
1136
+ /**
1137
+ * @description Contains the information used to page through the list of results. The object is empty if there are no more pages left to page through.
1138
+ *
1139
+ * For more information about pagination support, see [Twitch API Guide - Pagination](https://dev.twitch.tv/docs/api/guide#pagination).
1140
+ */
1141
+ pagination?: {
1142
+ /** @description The cursor used to get the next page of results. Use the cursor to set the request’s after query parameter. */
1143
+ cursor?: string;
1144
+ };
1145
+ };
1088
1146
  UpdateChatSettingsBody: {
1089
1147
  /**
1090
1148
  * @description A Boolean value that determines whether chat messages must contain only emotes.
@@ -1960,7 +2018,7 @@ interface components {
1960
2018
  * @description The type of subscription to create. For a list of subscriptions that you can create, see [Subscription Types](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#subscription-types). Set this field to the value in the **Name** column of the Subscription Types table.
1961
2019
  * @enum {string}
1962
2020
  */
1963
- type: "channel.update" | "channel.follow" | "channel.ad_break.begin" | "channel.chat.clear" | "channel.chat.clear_user_messages" | "channel.chat.message" | "channel.chat.message_delete" | "channel.chat.notification" | "channel.chat_settings.update" | "channel.subscribe" | "channel.subscription.end" | "channel.subscription.gift" | "channel.subscription.message" | "channel.cheer" | "channel.raid" | "channel.ban" | "channel.unban" | "channel.moderator.add" | "channel.moderator.remove" | "channel.guest_star_session.begin" | "channel.guest_star_session.end" | "channel.guest_star_guest.update" | "channel.guest_star_settings.update" | "channel.channel_points_custom_reward.add" | "channel.channel_points_custom_reward.update" | "channel.channel_points_custom_reward.remove" | "channel.channel_points_custom_reward_redemption.add" | "channel.channel_points_custom_reward_redemption.update" | "channel.poll.begin" | "channel.poll.progress" | "channel.poll.end" | "channel.prediction.begin" | "channel.prediction.progress" | "channel.prediction.lock" | "channel.prediction.end" | "channel.charity_campaign.donate" | "channel.charity_campaign.start" | "channel.charity_campaign.progress" | "channel.charity_campaign.stop" | "conduit.shard.disabled" | "drop.entitlement.grant" | "extension.bits_transaction.create" | "channel.goal.begin" | "channel.goal.progress" | "channel.goal.end" | "channel.hype_train.begin" | "channel.hype_train.progress" | "channel.hype_train.end" | "channel.shield_mode.begin" | "channel.shield_mode.end" | "channel.shoutout.create" | "channel.shoutout.receive" | "stream.online" | "stream.offline" | "user.authorization.grant" | "user.authorization.revoke" | "user.update";
2021
+ type: "automod.message.hold" | "automod.message.update" | "automod.settings.update" | "automod.terms.update" | "channel.update" | "channel.follow" | "channel.ad_break.begin" | "channel.chat.clear" | "channel.chat.clear_user_messages" | "channel.chat.message" | "channel.chat.message_delete" | "channel.chat.notification" | "channel.chat_settings.update" | "channel.chat.user_message_hold" | "channel.chat.user_message_update" | "channel.subscribe" | "channel.subscription.end" | "channel.subscription.gift" | "channel.subscription.message" | "channel.cheer" | "channel.raid" | "channel.ban" | "channel.unban" | "channel.unban_request.create" | "channel.unban_request.resolve" | "channel.moderator.add" | "channel.moderator.remove" | "channel.guest_star_session.begin" | "channel.guest_star_session.end" | "channel.guest_star_guest.update" | "channel.guest_star_settings.update" | "channel.channel_points_custom_reward.add" | "channel.channel_points_custom_reward.update" | "channel.channel_points_custom_reward.remove" | "channel.channel_points_custom_reward_redemption.add" | "channel.channel_points_custom_reward_redemption.update" | "channel.poll.begin" | "channel.poll.progress" | "channel.poll.end" | "channel.prediction.begin" | "channel.prediction.progress" | "channel.prediction.lock" | "channel.prediction.end" | "channel.charity_campaign.donate" | "channel.charity_campaign.start" | "channel.charity_campaign.progress" | "channel.charity_campaign.stop" | "conduit.shard.disabled" | "drop.entitlement.grant" | "extension.bits_transaction.create" | "channel.goal.begin" | "channel.goal.progress" | "channel.goal.end" | "channel.hype_train.begin" | "channel.hype_train.progress" | "channel.hype_train.end" | "channel.shield_mode.begin" | "channel.shield_mode.end" | "channel.shoutout.create" | "channel.shoutout.receive" | "stream.online" | "stream.offline" | "user.authorization.grant" | "user.authorization.revoke" | "user.update";
1964
2022
  /** @description The version number that identifies the definition of the subscription type that you want the response to use. */
1965
2023
  version: string;
1966
2024
  /** @description A JSON object that contains the parameter values that are specific to the specified subscription type. For the object’s required and optional fields, see the subscription type’s documentation. */
@@ -2019,7 +2077,7 @@ interface components {
2019
2077
  * @description The subscription's type. See [Subscription Types](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#subscription-types).
2020
2078
  * @enum {string}
2021
2079
  */
2022
- type: "channel.update" | "channel.follow" | "channel.ad_break.begin" | "channel.chat.clear" | "channel.chat.clear_user_messages" | "channel.chat.message" | "channel.chat.message_delete" | "channel.chat.notification" | "channel.chat_settings.update" | "channel.subscribe" | "channel.subscription.end" | "channel.subscription.gift" | "channel.subscription.message" | "channel.cheer" | "channel.raid" | "channel.ban" | "channel.unban" | "channel.moderator.add" | "channel.moderator.remove" | "channel.guest_star_session.begin" | "channel.guest_star_session.end" | "channel.guest_star_guest.update" | "channel.guest_star_settings.update" | "channel.channel_points_custom_reward.add" | "channel.channel_points_custom_reward.update" | "channel.channel_points_custom_reward.remove" | "channel.channel_points_custom_reward_redemption.add" | "channel.channel_points_custom_reward_redemption.update" | "channel.poll.begin" | "channel.poll.progress" | "channel.poll.end" | "channel.prediction.begin" | "channel.prediction.progress" | "channel.prediction.lock" | "channel.prediction.end" | "channel.charity_campaign.donate" | "channel.charity_campaign.start" | "channel.charity_campaign.progress" | "channel.charity_campaign.stop" | "conduit.shard.disabled" | "drop.entitlement.grant" | "extension.bits_transaction.create" | "channel.goal.begin" | "channel.goal.progress" | "channel.goal.end" | "channel.hype_train.begin" | "channel.hype_train.progress" | "channel.hype_train.end" | "channel.shield_mode.begin" | "channel.shield_mode.end" | "channel.shoutout.create" | "channel.shoutout.receive" | "stream.online" | "stream.offline" | "user.authorization.grant" | "user.authorization.revoke" | "user.update";
2080
+ type: "automod.message.hold" | "automod.message.update" | "automod.settings.update" | "automod.terms.update" | "channel.update" | "channel.follow" | "channel.ad_break.begin" | "channel.chat.clear" | "channel.chat.clear_user_messages" | "channel.chat.message" | "channel.chat.message_delete" | "channel.chat.notification" | "channel.chat_settings.update" | "channel.chat.user_message_hold" | "channel.chat.user_message_update" | "channel.subscribe" | "channel.subscription.end" | "channel.subscription.gift" | "channel.subscription.message" | "channel.cheer" | "channel.raid" | "channel.ban" | "channel.unban" | "channel.unban_request.create" | "channel.unban_request.resolve" | "channel.moderator.add" | "channel.moderator.remove" | "channel.guest_star_session.begin" | "channel.guest_star_session.end" | "channel.guest_star_guest.update" | "channel.guest_star_settings.update" | "channel.channel_points_custom_reward.add" | "channel.channel_points_custom_reward.update" | "channel.channel_points_custom_reward.remove" | "channel.channel_points_custom_reward_redemption.add" | "channel.channel_points_custom_reward_redemption.update" | "channel.poll.begin" | "channel.poll.progress" | "channel.poll.end" | "channel.prediction.begin" | "channel.prediction.progress" | "channel.prediction.lock" | "channel.prediction.end" | "channel.charity_campaign.donate" | "channel.charity_campaign.start" | "channel.charity_campaign.progress" | "channel.charity_campaign.stop" | "conduit.shard.disabled" | "drop.entitlement.grant" | "extension.bits_transaction.create" | "channel.goal.begin" | "channel.goal.progress" | "channel.goal.end" | "channel.hype_train.begin" | "channel.hype_train.progress" | "channel.hype_train.end" | "channel.shield_mode.begin" | "channel.shield_mode.end" | "channel.shoutout.create" | "channel.shoutout.receive" | "stream.online" | "stream.offline" | "user.authorization.grant" | "user.authorization.revoke" | "user.update";
2023
2081
  /** @description The version number that identifies this definition of the subscription's data. */
2024
2082
  version: string;
2025
2083
  /** @description The subscription's parameter values. This is a string-encoded JSON object whose contents are determined by the subscription type. */
@@ -2220,11 +2278,7 @@ interface components {
2220
2278
  /** @description Flag determining if Guest Star should regenerate the auth token associated with the channel’s browser sources. Providing a true value for this will immediately invalidate all browser sources previously configured in your streaming software. */
2221
2279
  regenerate_browser_sources?: boolean;
2222
2280
  };
2223
- GuestStarSession: {
2224
- /** @description ID uniquely representing the Guest Star session. */
2225
- id: string;
2226
- /** @description List of guests currently interacting with the Guest Star session. */
2227
- guests: Record<string, never>;
2281
+ Guest: {
2228
2282
  /**
2229
2283
  * @description ID representing this guest’s slot assignment.
2230
2284
  *
@@ -2271,6 +2325,12 @@ interface components {
2271
2325
  is_available: boolean;
2272
2326
  };
2273
2327
  };
2328
+ GuestStarSession: {
2329
+ /** @description ID uniquely representing the Guest Star session. */
2330
+ id: string;
2331
+ /** @description List of guests currently interacting with the Guest Star session. */
2332
+ guests: components["schemas"]["Guest"][];
2333
+ };
2274
2334
  GetGuestStarSessionResponse: {
2275
2335
  /** @description Summary of the session details */
2276
2336
  data: components["schemas"]["GuestStarSession"][];
@@ -2622,6 +2682,105 @@ interface components {
2622
2682
  end_time: string | null;
2623
2683
  })[];
2624
2684
  };
2685
+ GetUnbanRequestsResponse: {
2686
+ /** @description A list that contains information about the channel's unban requests. */
2687
+ data: {
2688
+ /** @description Unban request ID. */
2689
+ id: string;
2690
+ /** @description User ID of broadcaster whose channel is receiving the unban request. */
2691
+ broadcaster_id: string;
2692
+ /** @description The broadcaster's display name. */
2693
+ broadcaster_name: string;
2694
+ /** @description The broadcaster's login name. */
2695
+ broadcaster_login: string;
2696
+ /** @description User ID of moderator who approved/denied the request. */
2697
+ moderator_id: string;
2698
+ /** @description The moderator's login name. */
2699
+ moderator_login: string;
2700
+ /** @description The moderator's display name. */
2701
+ moderator_name: string;
2702
+ /** @description User ID of the requestor who is asking for an unban. */
2703
+ user_id: string;
2704
+ /** @description The user's login name. */
2705
+ user_login: string;
2706
+ /** @description The user's display name. */
2707
+ user_name: string;
2708
+ /** @description Text of the request from the requesting user. */
2709
+ text: string;
2710
+ /**
2711
+ * @description Status of the request. One of:
2712
+ *
2713
+ * * pending
2714
+ * * approved
2715
+ * * denied
2716
+ * * acknowledged
2717
+ * * canceled
2718
+ */
2719
+ status: string;
2720
+ /**
2721
+ * Format: date-time
2722
+ * @description Timestamp of when the unban request was created.
2723
+ */
2724
+ created_at: string;
2725
+ /**
2726
+ * Format: date-time
2727
+ * @description Timestamp of when moderator/broadcaster approved or denied the request.
2728
+ */
2729
+ resolved_at: string;
2730
+ /** @description Text input by the resolver (moderator) of the unban. request */
2731
+ resolution_text: string;
2732
+ }[];
2733
+ /** @description Contains information used to page through a list of results. The object is empty if there are no more pages left to page through. */
2734
+ pagination?: {
2735
+ /** @description The cursor used to get the next page of results. Use the cursor to set the request’s after query parameter. */
2736
+ cursor?: string;
2737
+ };
2738
+ };
2739
+ ResolveUnbanRequestsResponse: {
2740
+ data: {
2741
+ /** @description Unban request ID. */
2742
+ id: string;
2743
+ /** @description User ID of broadcaster whose channel is receiving the unban request. */
2744
+ broadcaster_id: string;
2745
+ /** @description The broadcaster's display name. */
2746
+ broadcaster_name: string;
2747
+ /** @description The broadcaster's login name. */
2748
+ broadcaster_login: string;
2749
+ /** @description User ID of moderator who approved/denied the request. */
2750
+ moderator_id: string;
2751
+ /** @description The moderator's login name. */
2752
+ moderator_login: string;
2753
+ /** @description The moderator's display name. */
2754
+ moderator_name: string;
2755
+ /** @description User ID of the requestor who is asking for an unban. */
2756
+ user_id: string;
2757
+ /** @description The user's login name. */
2758
+ user_login: string;
2759
+ /** @description The user's display name */
2760
+ user_name: string;
2761
+ /** @description Text of the request from the requesting user. */
2762
+ text: string;
2763
+ /**
2764
+ * @description Status of the request. One of:
2765
+ *
2766
+ * * approved
2767
+ * * denied
2768
+ */
2769
+ status: string;
2770
+ /**
2771
+ * Format: date-time
2772
+ * @description Timestamp of when the unban request was created.
2773
+ */
2774
+ created_at: string;
2775
+ /**
2776
+ * Format: date-time
2777
+ * @description Timestamp of when moderator/broadcaster approved or denied the request.
2778
+ */
2779
+ resolved_at: string;
2780
+ /** @description Text input by the resolver (moderator) of the unban request. */
2781
+ resolution_text: string;
2782
+ }[];
2783
+ };
2625
2784
  BlockedTerm: {
2626
2785
  /** @description The broadcaster that owns the list of blocked terms. */
2627
2786
  broadcaster_id: string;
@@ -2840,11 +2999,11 @@ interface components {
2840
2999
  ended_at: string | null;
2841
3000
  };
2842
3001
  GetPollsResponse: {
2843
- /** @description A list of polls. The polls are returned in descending order of start time unless you specify IDs in the request, in which case they’re returned in the same order as you passed them in the request. The list is empty if the broadcaster hasn’t created polls. */
3002
+ /** @description A list of polls. The polls are returned in descending order of start time unless you specify IDs in the request, in which case they're returned in the same order as you passed them in the request. The list is empty if the broadcaster hasn't created polls. */
2844
3003
  data: components["schemas"]["Poll"][];
2845
3004
  /** @description Contains the information used to page through the list of results. The object is empty if there are no more pages left to page through. [Read More](https://dev.twitch.tv/docs/api/guide#pagination) */
2846
3005
  pagination?: {
2847
- /** @description The cursor used to get the next page of results. Use the cursor to set the request’s _after_ query parameter. */
3006
+ /** @description The cursor used to get the next page of results. Use the cursor to set the request's _after_ query parameter. */
2848
3007
  cursor?: string;
2849
3008
  };
2850
3009
  };
@@ -3596,7 +3755,7 @@ interface components {
3596
3755
  /**
3597
3756
  * @description The type of broadcaster. Possible values are:
3598
3757
  *
3599
- * * affiliate — An [affiliate broadcaster](https://help.twitch.tv/s/article/joining-the-affiliate-program target=)
3758
+ * * affiliate — An [affiliate broadcaster](https://help.twitch.tv/s/article/joining-the-affiliate-program)
3600
3759
  * * partner — A [partner broadcaster](https://help.twitch.tv/s/article/partner-program-overview)
3601
3760
  * * "" — A normal broadcaster
3602
3761
  * @enum {string}
@@ -5503,6 +5662,52 @@ interface operations {
5503
5662
  };
5504
5663
  };
5505
5664
  };
5665
+ /**
5666
+ * BETA Retrieves emotes available to the user across all channels.
5667
+ * @description BETA Retrieves emotes available to the user across all channels.
5668
+ *
5669
+ * __Authorization:__
5670
+ *
5671
+ * * Requires a user access token that includes the **user:read:emotes** scope.
5672
+ * * Query parameter `user_id` must match the `user_id` in the user access token.
5673
+ */
5674
+ "get-user-emotes": {
5675
+ parameters: {
5676
+ query: {
5677
+ /** @description The ID of the user. This ID must match the user ID in the user access token. */
5678
+ user_id: string;
5679
+ /** @description Returns all emotes available to the user within the chat owned by the specified broadcaster. This includes the Global and Subscriber Emotes the user has access to, as well as channel-only specific emotes such as Follower Emotes. */
5680
+ broadcaster_id?: string;
5681
+ /** @description The cursor used to get the next page of results. The Pagination object in the response contains the cursor’s value. */
5682
+ after?: string;
5683
+ };
5684
+ };
5685
+ responses: {
5686
+ /** @description Successfully retrieved the emotes. */
5687
+ 200: {
5688
+ content: {
5689
+ "application/json": components["schemas"]["GetUserEmotesResponse"];
5690
+ };
5691
+ };
5692
+ /**
5693
+ * @description * The _user\_id_ query parameter is required.
5694
+ * * The ID in the _user\_id_ query parameter is not valid.
5695
+ */
5696
+ 400: {
5697
+ content: never;
5698
+ };
5699
+ /**
5700
+ * @description * The ID in _user\_id_ must match the user ID in the user access token.
5701
+ * * The Authorization header is required and must contain a user access token.
5702
+ * * The user access token must include the **user:read:emotes** scope.
5703
+ * * The access token is not valid.
5704
+ * * The client ID specified in the Client-Id header does not match the client ID specified in the access token.
5705
+ */
5706
+ 401: {
5707
+ content: never;
5708
+ };
5709
+ };
5710
+ };
5506
5711
  /**
5507
5712
  * Sends an announcement to the broadcaster’s chat room.
5508
5713
  * @description Sends an announcement to the broadcaster’s chat room.
@@ -6214,6 +6419,8 @@ interface operations {
6214
6419
  * Gets an organization’s list of entitlements that have been granted to a game, a user, or both.
6215
6420
  * @description Gets an organization’s list of entitlements that have been granted to a game, a user, or both.
6216
6421
  *
6422
+ * **NOTE:** Entitlements returned in the response body data are not guaranteed to be sorted by any field returned by the API. To retrieve **CLAIMED** or **FULFILLED** entitlements, use the `fulfillment_status` query parameter to filter results. To retrieve entitlements for a specific game, use the `game_id` query parameter to filter results.
6423
+ *
6217
6424
  * The following table identifies the request parameters that you may specify based on the type of access token used.
6218
6425
  *
6219
6426
  * | Access token type | Parameter | Description |
@@ -6962,7 +7169,7 @@ interface operations {
6962
7169
  *
6963
7170
  * __Authorization:__
6964
7171
  *
6965
- * If you use [webhooks to receive events](https://dev.twitch.tv/docs/eventsub/handling-webhook-events), the request must specify an app access token. The request will fail if you use a user access token.
7172
+ * If you use [Webhooks](https://dev.twitch.tv/docs/eventsub/handling-webhook-events) or [Conduits](https://dev.twitch.tv/docs/eventsub/handling-conduit-events) to receive events, the request must specify an app access token. The request will fail if you use a user access token.
6966
7173
  *
6967
7174
  * If you use [WebSockets to receive events](https://dev.twitch.tv/docs/eventsub/handling-websocket-events), the request must specify a user access token. The request will fail if you use an app access token. The token may include any scopes.
6968
7175
  *
@@ -6995,7 +7202,7 @@ interface operations {
6995
7202
  */
6996
7203
  status?: "enabled" | "webhook_callback_verification_pending" | "webhook_callback_verification_failed" | "notification_failures_exceeded" | "authorization_revoked" | "moderator_removed" | "user_removed" | "version_removed" | "beta_maintenance" | "websocket_disconnected" | "websocket_failed_ping_pong" | "websocket_received_inbound_traffic" | "websocket_connection_unused" | "websocket_internal_error" | "websocket_network_timeout" | "websocket_network_error";
6997
7204
  /** @description Filter subscriptions by subscription type. For a list of subscription types, see [Subscription Types](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#subscription-types). */
6998
- type?: "channel.update" | "channel.follow" | "channel.ad_break.begin" | "channel.chat.clear" | "channel.chat.clear_user_messages" | "channel.chat.message" | "channel.chat.message_delete" | "channel.chat.notification" | "channel.chat_settings.update" | "channel.subscribe" | "channel.subscription.end" | "channel.subscription.gift" | "channel.subscription.message" | "channel.cheer" | "channel.raid" | "channel.ban" | "channel.unban" | "channel.moderator.add" | "channel.moderator.remove" | "channel.guest_star_session.begin" | "channel.guest_star_session.end" | "channel.guest_star_guest.update" | "channel.guest_star_settings.update" | "channel.channel_points_custom_reward.add" | "channel.channel_points_custom_reward.update" | "channel.channel_points_custom_reward.remove" | "channel.channel_points_custom_reward_redemption.add" | "channel.channel_points_custom_reward_redemption.update" | "channel.poll.begin" | "channel.poll.progress" | "channel.poll.end" | "channel.prediction.begin" | "channel.prediction.progress" | "channel.prediction.lock" | "channel.prediction.end" | "channel.charity_campaign.donate" | "channel.charity_campaign.start" | "channel.charity_campaign.progress" | "channel.charity_campaign.stop" | "conduit.shard.disabled" | "drop.entitlement.grant" | "extension.bits_transaction.create" | "channel.goal.begin" | "channel.goal.progress" | "channel.goal.end" | "channel.hype_train.begin" | "channel.hype_train.progress" | "channel.hype_train.end" | "channel.shield_mode.begin" | "channel.shield_mode.end" | "channel.shoutout.create" | "channel.shoutout.receive" | "stream.online" | "stream.offline" | "user.authorization.grant" | "user.authorization.revoke" | "user.update";
7205
+ type?: "automod.message.hold" | "automod.message.update" | "automod.settings.update" | "automod.terms.update" | "channel.update" | "channel.follow" | "channel.ad_break.begin" | "channel.chat.clear" | "channel.chat.clear_user_messages" | "channel.chat.message" | "channel.chat.message_delete" | "channel.chat.notification" | "channel.chat_settings.update" | "channel.chat.user_message_hold" | "channel.chat.user_message_update" | "channel.subscribe" | "channel.subscription.end" | "channel.subscription.gift" | "channel.subscription.message" | "channel.cheer" | "channel.raid" | "channel.ban" | "channel.unban" | "channel.unban_request.create" | "channel.unban_request.resolve" | "channel.moderator.add" | "channel.moderator.remove" | "channel.guest_star_session.begin" | "channel.guest_star_session.end" | "channel.guest_star_guest.update" | "channel.guest_star_settings.update" | "channel.channel_points_custom_reward.add" | "channel.channel_points_custom_reward.update" | "channel.channel_points_custom_reward.remove" | "channel.channel_points_custom_reward_redemption.add" | "channel.channel_points_custom_reward_redemption.update" | "channel.poll.begin" | "channel.poll.progress" | "channel.poll.end" | "channel.prediction.begin" | "channel.prediction.progress" | "channel.prediction.lock" | "channel.prediction.end" | "channel.charity_campaign.donate" | "channel.charity_campaign.start" | "channel.charity_campaign.progress" | "channel.charity_campaign.stop" | "conduit.shard.disabled" | "drop.entitlement.grant" | "extension.bits_transaction.create" | "channel.goal.begin" | "channel.goal.progress" | "channel.goal.end" | "channel.hype_train.begin" | "channel.hype_train.progress" | "channel.hype_train.end" | "channel.shield_mode.begin" | "channel.shield_mode.end" | "channel.shoutout.create" | "channel.shoutout.receive" | "stream.online" | "stream.offline" | "user.authorization.grant" | "user.authorization.revoke" | "user.update";
6999
7206
  /** @description Filter subscriptions by user ID. The response contains subscriptions where this ID matches a user ID that you specified in the **Condition** object when you [created the subscription](https://dev.twitch.tv/docs/api/reference#create-eventsub-subscription). */
7000
7207
  user_id?: string;
7001
7208
  /** @description The cursor used to get the next page of results. The `pagination` object in the response contains the cursor's value. */
@@ -8398,7 +8605,7 @@ interface operations {
8398
8605
  * Removes a ban or timeout from a user.
8399
8606
  *
8400
8607
  * ```bash
8401
- * curl -X DELETE 'https://api.twitch.tv/helix/moderation/bans?broadcaster_id=1234&moderator_id=5678&user_id=9876' \
8608
+ * curl -X DELETE 'https://api.twitch.tv/helix/moderation/bans?broadcaster_id=1234&moderator_id=5678&user_id=5432' \
8402
8609
  * -H 'Authorization: Bearer 4a4x78f5wqvkybms7mxfist3jmzul' \
8403
8610
  * -H 'Client-Id: t214nt8z1rdtbj69hyarjvh5mi6fh'
8404
8611
  * ```
@@ -8441,6 +8648,133 @@ interface operations {
8441
8648
  };
8442
8649
  };
8443
8650
  };
8651
+ /**
8652
+ * BETA Gets a list of unban requests for a broadcaster’s channel.
8653
+ * @description BETA Gets a list of unban requests for a broadcaster’s channel.
8654
+ *
8655
+ * __Authorization:__
8656
+ *
8657
+ * * Requires a user access token that includes the **moderator:read:unban\_requests** or **moderator:manage:unban\_requests** scope.
8658
+ * * Query parameter `moderator_id` must match the `user_id` in the [user access token](https://dev.twitch.tv/docs/authentication/#user-access-tokens).
8659
+ */
8660
+ "get-unban-requests": {
8661
+ parameters: {
8662
+ query: {
8663
+ /** @description The ID of the broadcaster whose channel is receiving unban requests. */
8664
+ broadcaster_id: string;
8665
+ /** @description The ID of the broadcaster or a user that has permission to moderate the broadcaster’s unban requests. This ID must match the user ID in the user access token. */
8666
+ moderator_id: string;
8667
+ /**
8668
+ * @description Filter by a status.
8669
+ *
8670
+ * * pending
8671
+ * * approved
8672
+ * * denied
8673
+ * * acknowledged
8674
+ * * canceled
8675
+ */
8676
+ status: string;
8677
+ /** @description The ID used to filter what unban requests are returned. */
8678
+ user_id?: string;
8679
+ /** @description Cursor used to get next page of results. Pagination object in response contains cursor value. */
8680
+ after?: string;
8681
+ /** @description The maximum number of items to return per page in response */
8682
+ first?: number;
8683
+ };
8684
+ };
8685
+ responses: {
8686
+ /** @description Successfully retrieved the list of unban requests. */
8687
+ 200: {
8688
+ content: {
8689
+ "application/json": components["schemas"]["GetUnbanRequestsResponse"];
8690
+ };
8691
+ };
8692
+ /**
8693
+ * @description * The _broadcaster\_id_ query parameter is required.
8694
+ * * The ID in the _broadcaster\_id_ query parameter is not valid.
8695
+ * * The _moderator\_id_ query parameter is required.
8696
+ * * The ID in the _moderator\_id_ query parameter is not valid.
8697
+ * * The pagination cursor is not valid.
8698
+ */
8699
+ 400: {
8700
+ content: never;
8701
+ };
8702
+ /**
8703
+ * @description * The ID in _moderator\_id_ must match the user ID in the user access token.
8704
+ * * The Authorization header is required and must contain a user access token.
8705
+ * * The user access token must include the **moderator:read:unban\_requests** or **moderator:manage:unban\_requests** scope.
8706
+ * * The access token is not valid.
8707
+ * * The client ID specified in the Client-Id header does not match the client ID specified in the access token.
8708
+ */
8709
+ 401: {
8710
+ content: never;
8711
+ };
8712
+ };
8713
+ };
8714
+ /**
8715
+ * BETA Resolves an unban request by approving or denying it.
8716
+ * @description BETA Resolves an unban request by approving or denying it.
8717
+ *
8718
+ * __Authorization:__
8719
+ *
8720
+ * * Requires a user access token that includes the **moderator:manage:unban\_requests** scope.
8721
+ * * Query parameter `moderator_id` must match the `user_id` in the [user access token](https://dev.twitch.tv/docs/authentication/#user-access-tokens).
8722
+ */
8723
+ "resolve-unban-requests": {
8724
+ parameters: {
8725
+ query: {
8726
+ /** @description The ID of the broadcaster whose channel is approving or denying the unban request. */
8727
+ broadcaster_id: string;
8728
+ /** @description The ID of the broadcaster or a user that has permission to moderate the broadcaster’s unban requests. This ID must match the user ID in the user access token. */
8729
+ moderator_id: string;
8730
+ /** @description The UUID of the unban request. */
8731
+ unban_request_id: string;
8732
+ /**
8733
+ * @description Resolution status.
8734
+ *
8735
+ * * approved
8736
+ * * denied
8737
+ */
8738
+ status: string;
8739
+ /** @description Message supplied by the unban request resolver */
8740
+ resolution_text?: string;
8741
+ };
8742
+ };
8743
+ responses: {
8744
+ /** @description Successfully resolved the unban request. */
8745
+ 200: {
8746
+ content: {
8747
+ "application/json": components["schemas"]["ResolveUnbanRequestsResponse"];
8748
+ };
8749
+ };
8750
+ /**
8751
+ * @description * The _broadcaster\_id_ query parameter is required.
8752
+ * * The ID in the _broadcaster\_id_ query parameter is not valid.
8753
+ * * The _moderator\_id_ query parameter is required.
8754
+ * * The ID in the _moderator\_id_ query parameter is not valid.
8755
+ * * The pagination cursor is not valid.
8756
+ * * The broadcaster is not receiving unban requests
8757
+ * * Invalid requested update
8758
+ */
8759
+ 400: {
8760
+ content: never;
8761
+ };
8762
+ /**
8763
+ * @description * The ID in _moderator\_id_ must match the user ID in the user access token.
8764
+ * * The Authorization header is required and must contain a user access token.
8765
+ * * The user access token must include the **moderator:manage:unban\_requests** scope.
8766
+ * * The access token is not valid.
8767
+ * * The client ID specified in the Client-Id header does not match the client ID specified in the access token.
8768
+ */
8769
+ 401: {
8770
+ content: never;
8771
+ };
8772
+ /** @description The unban request ID was not found. */
8773
+ 404: {
8774
+ content: never;
8775
+ };
8776
+ };
8777
+ };
8444
8778
  /**
8445
8779
  * Gets the broadcaster’s list of non-private, blocked words or phrases.
8446
8780
  * @description Gets the broadcaster’s list of non-private, blocked words or phrases. These are the terms that the broadcaster or moderator added manually or that were denied by AutoMod.
@@ -9253,7 +9587,7 @@ interface operations {
9253
9587
  };
9254
9588
  };
9255
9589
  responses: {
9256
- /** @description Successfully retrieved the broadcaster’s polls. */
9590
+ /** @description Successfully retrieved the broadcaster's polls. */
9257
9591
  200: {
9258
9592
  content: {
9259
9593
  "application/json": components["schemas"]["GetPollsResponse"];
@@ -11276,6 +11610,7 @@ type GetEmoteSetsParams = ParamsSchema<'get-emote-sets'>;
11276
11610
  type GetChannelChatBadgesParams = ParamsSchema<'get-channel-chat-badges'>;
11277
11611
  type GetChatSettingsParams = ParamsSchema<'get-chat-settings'>;
11278
11612
  type UpdateChatSettingsParams = ParamsSchema<'update-chat-settings'>;
11613
+ type GetUserEmotesParams = ParamsSchema<'get-user-emotes'>;
11279
11614
  type SendChatAnnouncementParams = ParamsSchema<'send-chat-announcement'>;
11280
11615
  type SendShoutoutParams = ParamsSchema<'send-a-shoutout'>;
11281
11616
  type GetUserChatColorParams = ParamsSchema<'get-user-chat-color'>;
@@ -11318,6 +11653,8 @@ type UpdateAutoModSettingsParams = ParamsSchema<'update-automod-settings'>;
11318
11653
  type GetBannedUsersParams = ParamsSchema<'get-banned-users'>;
11319
11654
  type BanUserParams = ParamsSchema<'ban-user'>;
11320
11655
  type UnbanUserParams = ParamsSchema<'unban-user'>;
11656
+ type GetUnbanRequestsParams = ParamsSchema<'get-unban-requests'>;
11657
+ type ResolveUnbanRequestsParams = ParamsSchema<'resolve-unban-requests'>;
11321
11658
  type GetBlockedTermsParams = ParamsSchema<'get-blocked-terms'>;
11322
11659
  type AddBlockedTermParams = ParamsSchema<'add-blocked-term'>;
11323
11660
  type RemoveBlockedTermParams = ParamsSchema<'remove-blocked-term'>;
@@ -11413,6 +11750,7 @@ type GetChannelChatBadgesResponse = Schema<'GetChannelChatBadgesResponse'>;
11413
11750
  type GetGlobalChatBadgesResponse = Schema<'GetGlobalChatBadgesResponse'>;
11414
11751
  type ChatSettings = Schema<'ChatSettings'>;
11415
11752
  type GetChatSettingsResponse = Schema<'GetChatSettingsResponse'>;
11753
+ type GetUserEmotesResponse = Schema<'GetUserEmotesResponse'>;
11416
11754
  type UpdateChatSettingsBody = Schema<'UpdateChatSettingsBody'>;
11417
11755
  type ChatSettingsUpdated = Schema<'ChatSettingsUpdated'>;
11418
11756
  type UpdateChatSettingsResponse = Schema<'UpdateChatSettingsResponse'>;
@@ -11469,6 +11807,7 @@ type CreatorGoal = Schema<'CreatorGoal'>;
11469
11807
  type GetCreatorGoalsResponse = Schema<'GetCreatorGoalsResponse'>;
11470
11808
  type GetChannelGuestStarSettingsResponse = Schema<'GetChannelGuestStarSettingsResponse'>;
11471
11809
  type UpdateChannelGuestStarSettingsBody = Schema<'UpdateChannelGuestStarSettingsBody'>;
11810
+ type Guest = Schema<'Guest'>;
11472
11811
  type GuestStarSession = Schema<'GuestStarSession'>;
11473
11812
  type GetGuestStarSessionResponse = Schema<'GetGuestStarSessionResponse'>;
11474
11813
  type CreateGuestStarSessionResponse = Schema<'CreateGuestStarSessionResponse'>;
@@ -11489,6 +11828,8 @@ type BannedUser = Schema<'BannedUser'>;
11489
11828
  type GetBannedUsersResponse = Schema<'GetBannedUsersResponse'>;
11490
11829
  type BanUserBody = Schema<'BanUserBody'>;
11491
11830
  type BanUserResponse = Schema<'BanUserResponse'>;
11831
+ type GetUnbanRequestsResponse = Schema<'GetUnbanRequestsResponse'>;
11832
+ type ResolveUnbanRequestsResponse = Schema<'ResolveUnbanRequestsResponse'>;
11492
11833
  type BlockedTerm = Schema<'BlockedTerm'>;
11493
11834
  type GetBlockedTermsResponse = Schema<'GetBlockedTermsResponse'>;
11494
11835
  type AddBlockedTermBody = Schema<'AddBlockedTermBody'>;
@@ -11923,7 +12264,61 @@ declare class TwitchApi {
11923
12264
  date_range: {
11924
12265
  started_at: string;
11925
12266
  ended_at: string;
11926
- };
12267
+ }; /**
12268
+ * Gets an organization’s list of entitlements that have been granted to a game, a user, or both.
12269
+ *
12270
+ * **NOTE:** Entitlements returned in the response body data are not guaranteed to be sorted by any field returned by the API. To retrieve **CLAIMED** or **FULFILLED** entitlements, use the `fulfillment_status` query parameter to filter results. To retrieve entitlements for a specific game, use the `game_id` query parameter to filter results.
12271
+ *
12272
+ * The following table identifies the request parameters that you may specify based on the type of access token used.
12273
+ *
12274
+ * | Access token type | Parameter | Description |
12275
+ * | - | - | - |
12276
+ * | App | None | If you don’t specify request parameters, the request returns all entitlements that your organization owns. |
12277
+ * | App | user_id | The request returns all entitlements for any game that the organization granted to the specified user. |
12278
+ * | App | user_id, game_id | The request returns all entitlements that the specified game granted to the specified user. |
12279
+ * | App | game_id | The request returns all entitlements that the specified game granted to all entitled users. |
12280
+ * | User | None | If you don’t specify request parameters, the request returns all entitlements for any game that the organization granted to the user identified in the access token. |
12281
+ * | User | user_id | Invalid. |
12282
+ * | User | user_id, game_id | Invalid. |
12283
+ * | User | game_id | The request returns all entitlements that the specified game granted to the user identified in the access token. |
12284
+ *
12285
+ *
12286
+ * __Authorization:__
12287
+ *
12288
+ * Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). The client ID in the access token must own the game.
12289
+ *
12290
+ * __URL:__
12291
+ *
12292
+ * `GET https://api.twitch.tv/helix/entitlements/drops`
12293
+ *
12294
+ * __Response Codes:__
12295
+ *
12296
+ * _200 OK_
12297
+ *
12298
+ * Successfully retrieved the entitlements.
12299
+ *
12300
+ * _400 Bad Request_
12301
+ *
12302
+ * * The value in the _fulfillment\_status_ query parameter is not valid.
12303
+ * * The ID in the _user\_id_ query parameter must match the user ID in the user access token.
12304
+ * * The client in the access token is not associated with a known organization.
12305
+ * * The owner of the client in the access token is not a member of the organization.
12306
+ *
12307
+ * _401 Unauthorized_
12308
+ *
12309
+ * * The ID in the Client-Id header must match the Client ID in the access token.
12310
+ * * The Authorization header is required and must specify an app access token or user access token.
12311
+ * * The access token is not valid.
12312
+ *
12313
+ * _403 Forbidden_
12314
+ *
12315
+ * * The organization associated with the client in the access token must own the game specified in the _game\_id_ query parameter.
12316
+ * * The organization associated with the client in the access token must own the entitlements specified in the _id_ query parameter.
12317
+ *
12318
+ * _500 Internal Server Error_
12319
+ *
12320
+ * @see https://dev.twitch.tv/docs/api/reference#get-drops-entitlements
12321
+ */
11927
12322
  total: number;
11928
12323
  };
11929
12324
  } | {
@@ -12066,7 +12461,43 @@ declare class TwitchApi {
12066
12461
  user_id: string;
12067
12462
  user_login: string;
12068
12463
  user_name: string;
12069
- product_type: "BITS_IN_EXTENSION";
12464
+ product_type: "BITS_IN_EXTENSION"; /**
12465
+ * Gets the specified configuration segment from the specified extension.
12466
+ *
12467
+ * **Rate Limits**: You may retrieve each segment a maximum of 20 times per minute.
12468
+ *
12469
+ * __Authorization:__
12470
+ *
12471
+ * Requires a signed JSON Web Token (JWT) created by an Extension Backend Service (EBS). For signing requirements, see [Signing the JWT](https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt). The signed JWT must include the `role`, `user_id`, and `exp` fields (see [JWT Schema](https://dev.twitch.tv/docs/extensions/reference/#jwt-schema)). The `role` field must be set to _external_.
12472
+ *
12473
+ * __URL:__
12474
+ *
12475
+ * `GET https://api.twitch.tv/helix/extensions/configurations`
12476
+ *
12477
+ * __Response Codes:__
12478
+ *
12479
+ * _200 OK_
12480
+ *
12481
+ * Successfully retrieved the configurations.
12482
+ *
12483
+ * _400 Bad Request_
12484
+ *
12485
+ * * The _extension\_id_ query parameter is required.
12486
+ * * The value in the _segment_ query parameter is not valid.
12487
+ * * The _broadcaster\_id_ query parameter is required if the _segment_ query parameter is set to broadcaster or developer.
12488
+ *
12489
+ * _401 Unauthorized_
12490
+ *
12491
+ * * The Authorization header is required and must specify a JWT token.
12492
+ * * The JWT token is not valid.
12493
+ * * The Client-Id header is required.
12494
+ *
12495
+ * _429 Too Many Requests_
12496
+ *
12497
+ * * The app exceeded the number of requests that it may make per minute. See Rate Limits above.
12498
+ *
12499
+ * @see https://dev.twitch.tv/docs/api/reference#get-extension-configuration-segment
12500
+ */
12070
12501
  product_data: {
12071
12502
  sku: string;
12072
12503
  domain: string;
@@ -12778,13 +13209,48 @@ declare class TwitchApi {
12778
13209
  broadcaster_login: string;
12779
13210
  broadcaster_name: string;
12780
13211
  id: string;
12781
- user_id: string;
12782
- user_name: string;
12783
- user_login: string;
12784
- reward: {
12785
- id: string;
12786
- title: string;
12787
- prompt: string;
13212
+ user_id: string; /**
13213
+ * Adds or updates a Bits product that the extension created. If the SKU doesn’t exist, the product is added. You may update all fields except the `sku` field.
13214
+ *
13215
+ * __Authorization:__
13216
+ *
13217
+ * Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). The client ID in the app access token must match the extension’s client ID.
13218
+ *
13219
+ * __URL:__
13220
+ *
13221
+ * `PUT https://api.twitch.tv/helix/bits/extensions`
13222
+ *
13223
+ * __Response Codes:__
13224
+ *
13225
+ * _200 OK_
13226
+ *
13227
+ * Successfully created the product.
13228
+ *
13229
+ * _400 Bad Request_
13230
+ *
13231
+ * * The `sku` field is required.
13232
+ * * The value in the `sku` field is not valid. The SKU may contain only alphanumeric characters, dashes (-), underscores (\_), and periods (.).
13233
+ * * The `cost` object's `amount` field is required.
13234
+ * * The value in the `cost` object's `amount` field is not valid.
13235
+ * * The `cost` object's `type` field is required.
13236
+ * * The value in the `cost` object's `type` field is not valid.
13237
+ * * The `display_name` field is required.
13238
+ * * The ID in the Client-Id header must belong to the extension.
13239
+ *
13240
+ * _401 Unauthorized_
13241
+ *
13242
+ * * The Authorization header is required and must specify an app access token; you may not specify a user access token.
13243
+ * * The OAuth token is not valid.
13244
+ * * The ID in the Client-Id header must match the Client ID in the OAuth token.
13245
+ *
13246
+ * @see https://dev.twitch.tv/docs/api/reference#update-extension-bits-product
13247
+ */
13248
+ user_name: string;
13249
+ user_login: string;
13250
+ reward: {
13251
+ id: string;
13252
+ title: string;
13253
+ prompt: string;
12788
13254
  cost: number;
12789
13255
  };
12790
13256
  user_input: string;
@@ -12851,7 +13317,42 @@ declare class TwitchApi {
12851
13317
  broadcaster_login: string;
12852
13318
  broadcaster_name: string;
12853
13319
  id: string;
12854
- user_id: string;
13320
+ user_id: string; /**
13321
+ * Adds or updates a Bits product that the extension created. If the SKU doesn’t exist, the product is added. You may update all fields except the `sku` field.
13322
+ *
13323
+ * __Authorization:__
13324
+ *
13325
+ * Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). The client ID in the app access token must match the extension’s client ID.
13326
+ *
13327
+ * __URL:__
13328
+ *
13329
+ * `PUT https://api.twitch.tv/helix/bits/extensions`
13330
+ *
13331
+ * __Response Codes:__
13332
+ *
13333
+ * _200 OK_
13334
+ *
13335
+ * Successfully created the product.
13336
+ *
13337
+ * _400 Bad Request_
13338
+ *
13339
+ * * The `sku` field is required.
13340
+ * * The value in the `sku` field is not valid. The SKU may contain only alphanumeric characters, dashes (-), underscores (\_), and periods (.).
13341
+ * * The `cost` object's `amount` field is required.
13342
+ * * The value in the `cost` object's `amount` field is not valid.
13343
+ * * The `cost` object's `type` field is required.
13344
+ * * The value in the `cost` object's `type` field is not valid.
13345
+ * * The `display_name` field is required.
13346
+ * * The ID in the Client-Id header must belong to the extension.
13347
+ *
13348
+ * _401 Unauthorized_
13349
+ *
13350
+ * * The Authorization header is required and must specify an app access token; you may not specify a user access token.
13351
+ * * The OAuth token is not valid.
13352
+ * * The ID in the Client-Id header must match the Client ID in the OAuth token.
13353
+ *
13354
+ * @see https://dev.twitch.tv/docs/api/reference#update-extension-bits-product
13355
+ */
12855
13356
  user_name: string;
12856
13357
  user_login: string;
12857
13358
  reward: {
@@ -13465,6 +13966,63 @@ declare class TwitchApi {
13465
13966
  }[];
13466
13967
  };
13467
13968
  }>;
13969
+ /**
13970
+ * BETA Retrieves emotes available to the user across all channels.
13971
+ *
13972
+ * __Authorization:__
13973
+ *
13974
+ * * Requires a user access token that includes the **user:read:emotes** scope.
13975
+ * * Query parameter `user_id` must match the `user_id` in the user access token.
13976
+ *
13977
+ * __URL:__
13978
+ *
13979
+ * `GET https://api.twitch.tv/helix/chat/emotes/user`
13980
+ *
13981
+ * __Response Codes:__
13982
+ *
13983
+ * _200 OK_
13984
+ *
13985
+ * Successfully retrieved the emotes.
13986
+ *
13987
+ * _400 Bad Request_
13988
+ *
13989
+ * * The _user\_id_ query parameter is required.
13990
+ * * The ID in the _user\_id_ query parameter is not valid.
13991
+ *
13992
+ * _401 Unauthorized_
13993
+ *
13994
+ * * The ID in _user\_id_ must match the user ID in the user access token.
13995
+ * * The Authorization header is required and must contain a user access token.
13996
+ * * The user access token must include the **user:read:emotes** scope.
13997
+ * * The access token is not valid.
13998
+ * * The client ID specified in the Client-Id header does not match the client ID specified in the access token.
13999
+ *
14000
+ * @see https://dev.twitch.tv/docs/api/reference#get-user-emotes
14001
+ */
14002
+ getUserEmotes: (params: GetUserEmotesParams, options?: CallApiOptions['options']) => Promise<{
14003
+ ok: false;
14004
+ status: 400 | 401;
14005
+ data: unknown;
14006
+ } | {
14007
+ ok: true;
14008
+ status: 200;
14009
+ data: {
14010
+ data: {
14011
+ id: string;
14012
+ name: string;
14013
+ emote_type: "bitstier" | "follower" | "subscriptions";
14014
+ emote_set_id: string;
14015
+ owner_id: string;
14016
+ format: string[];
14017
+ scale: string[];
14018
+ theme_mode: string[];
14019
+ }[];
14020
+ template: string;
14021
+ pagination?: {
14022
+ cursor?: string;
14023
+ };
14024
+ };
14025
+ }>;
13468
14026
  /**
13469
14027
  * Sends an announcement to the broadcaster’s chat room.
13470
14028
  *
@@ -14185,6 +14743,8 @@ declare class TwitchApi {
14185
14743
  /**
14186
14744
  * Gets an organization’s list of entitlements that have been granted to a game, a user, or both.
14187
14745
  *
14746
+ * **NOTE:** Entitlements returned in the response body data are not guaranteed to be sorted by any field returned by the API. To retrieve **CLAIMED** or **FULFILLED** entitlements, use the `fulfillment_status` query parameter to filter results. To retrieve entitlements for a specific game, use the `game_id` query parameter to filter results.
14747
+ *
14188
14748
  * The following table identifies the request parameters that you may specify based on the type of access token used.
14189
14749
  *
14190
14750
  * | Access token type | Parameter | Description |
@@ -14814,6 +15374,46 @@ declare class TwitchApi {
14814
15374
  can_link_external_content: boolean;
14815
15375
  };
14816
15376
  };
15377
+ /**
15378
+ * Activates or deactivates the broadcaster’s Shield Mode.
15379
+ *
15380
+ * Twitch’s Shield Mode feature is like a panic button that broadcasters can push to protect themselves from chat abuse coming from one or more accounts. When activated, Shield Mode applies the overrides that the broadcaster configured in the Twitch UX. If the broadcaster hasn’t configured Shield Mode, it applies default overrides.
15381
+ *
15382
+ * __Authorization:__
15383
+ *
15384
+ * Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:shield\_mode** scope.
15385
+ *
15386
+ * __URL:__
15387
+ *
15388
+ * `PUT https://api.twitch.tv/helix/moderation/shield_mode`
15389
+ *
15390
+ * __Response Codes:__
15391
+ *
15392
+ * _200 OK_
15393
+ *
15394
+ * Successfully updated the broadcaster’s Shield Mode status.
15395
+ *
15396
+ * _400 Bad Request_
15397
+ *
15398
+ * * The _broadcaster\_id_ query parameter is required.
15399
+ * * The ID in the _broadcaster\_id_ query parameter is not valid.
15400
+ * * The `is_active` field is required.
15401
+ * * The value in the `is_active` field is not valid.
15402
+ *
15403
+ * _401 Unauthorized_
15404
+ *
15405
+ * * The ID in _moderator\_id_ must match the user ID in the user access token.
15406
+ * * The Authorization header is required and must contain a user access token.
15407
+ * * The user access token must include the **moderator:manage:shield\_mode** scope.
15408
+ * * The access token is not valid.
15409
+ * * The client ID specified in the Client-Id header does not match the client ID specified in the access token.
15410
+ *
15411
+ * _403 Forbidden_
15412
+ *
15413
+ * * The user in _moderator\_id_ is not one of the broadcaster's moderators.
15414
+ *
15415
+ * @see https://dev.twitch.tv/docs/api/reference#update-shield-mode-status
15416
+ */
14817
15417
  allowlisted_config_urls: string[];
14818
15418
  allowlisted_panel_urls: string[];
14819
15419
  }[];
@@ -14912,6 +15512,46 @@ declare class TwitchApi {
14912
15512
  can_link_external_content: boolean;
14913
15513
  };
14914
15514
  };
15515
+ /**
15516
+ * Activates or deactivates the broadcaster’s Shield Mode.
15517
+ *
15518
+ * Twitch’s Shield Mode feature is like a panic button that broadcasters can push to protect themselves from chat abuse coming from one or more accounts. When activated, Shield Mode applies the overrides that the broadcaster configured in the Twitch UX. If the broadcaster hasn’t configured Shield Mode, it applies default overrides.
15519
+ *
15520
+ * __Authorization:__
15521
+ *
15522
+ * Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:shield\_mode** scope.
15523
+ *
15524
+ * __URL:__
15525
+ *
15526
+ * `PUT https://api.twitch.tv/helix/moderation/shield_mode`
15527
+ *
15528
+ * __Response Codes:__
15529
+ *
15530
+ * _200 OK_
15531
+ *
15532
+ * Successfully updated the broadcaster’s Shield Mode status.
15533
+ *
15534
+ * _400 Bad Request_
15535
+ *
15536
+ * * The _broadcaster\_id_ query parameter is required.
15537
+ * * The ID in the _broadcaster\_id_ query parameter is not valid.
15538
+ * * The `is_active` field is required.
15539
+ * * The value in the `is_active` field is not valid.
15540
+ *
15541
+ * _401 Unauthorized_
15542
+ *
15543
+ * * The ID in _moderator\_id_ must match the user ID in the user access token.
15544
+ * * The Authorization header is required and must contain a user access token.
15545
+ * * The user access token must include the **moderator:manage:shield\_mode** scope.
15546
+ * * The access token is not valid.
15547
+ * * The client ID specified in the Client-Id header does not match the client ID specified in the access token.
15548
+ *
15549
+ * _403 Forbidden_
15550
+ *
15551
+ * * The user in _moderator\_id_ is not one of the broadcaster's moderators.
15552
+ *
15553
+ * @see https://dev.twitch.tv/docs/api/reference#update-shield-mode-status
15554
+ */
14915
15555
  allowlisted_config_urls: string[];
14916
15556
  allowlisted_panel_urls: string[];
14917
15557
  }[];
@@ -15089,7 +15729,7 @@ declare class TwitchApi {
15089
15729
  data: {
15090
15730
  id: string;
15091
15731
  status: "enabled" | "webhook_callback_verification_pending" | "webhook_callback_verification_failed" | "notification_failures_exceeded" | "websocket_disconnected" | "websocket_failed_ping_pong" | "websocket_received_inbound_traffic" | "websocket_internal_error" | "websocket_network_timeout" | "websocket_network_error" | "authorization_revoked" | "moderator_removed" | "user_removed" | "version_removed" | "beta_maintenance" | "websocket_connection_unused";
15092
- type: "channel.update" | "channel.follow" | "channel.ad_break.begin" | "channel.chat.clear" | "channel.chat.clear_user_messages" | "channel.chat.message" | "channel.chat.message_delete" | "channel.chat.notification" | "channel.chat_settings.update" | "channel.subscribe" | "channel.subscription.end" | "channel.subscription.gift" | "channel.subscription.message" | "channel.cheer" | "channel.raid" | "channel.ban" | "channel.unban" | "channel.moderator.add" | "channel.moderator.remove" | "channel.guest_star_session.begin" | "channel.guest_star_session.end" | "channel.guest_star_guest.update" | "channel.guest_star_settings.update" | "channel.channel_points_custom_reward.add" | "channel.channel_points_custom_reward.update" | "channel.channel_points_custom_reward.remove" | "channel.channel_points_custom_reward_redemption.add" | "channel.channel_points_custom_reward_redemption.update" | "channel.poll.begin" | "channel.poll.progress" | "channel.poll.end" | "channel.prediction.begin" | "channel.prediction.progress" | "channel.prediction.lock" | "channel.prediction.end" | "channel.charity_campaign.donate" | "channel.charity_campaign.start" | "channel.charity_campaign.progress" | "channel.charity_campaign.stop" | "conduit.shard.disabled" | "drop.entitlement.grant" | "extension.bits_transaction.create" | "channel.goal.begin" | "channel.goal.progress" | "channel.goal.end" | "channel.hype_train.begin" | "channel.hype_train.progress" | "channel.hype_train.end" | "channel.shield_mode.begin" | "channel.shield_mode.end" | "channel.shoutout.create" | "channel.shoutout.receive" | "stream.online" | "stream.offline" | "user.authorization.grant" | "user.authorization.revoke" | "user.update";
15732
+ type: "automod.message.hold" | "automod.message.update" | "automod.settings.update" | "automod.terms.update" | "channel.update" | "channel.follow" | "channel.ad_break.begin" | "channel.chat.clear" | "channel.chat.clear_user_messages" | "channel.chat.message" | "channel.chat.message_delete" | "channel.chat.notification" | "channel.chat_settings.update" | "channel.chat.user_message_hold" | "channel.chat.user_message_update" | "channel.subscribe" | "channel.subscription.end" | "channel.subscription.gift" | "channel.subscription.message" | "channel.cheer" | "channel.raid" | "channel.ban" | "channel.unban" | "channel.unban_request.create" | "channel.unban_request.resolve" | "channel.moderator.add" | "channel.moderator.remove" | "channel.guest_star_session.begin" | "channel.guest_star_session.end" | "channel.guest_star_guest.update" | "channel.guest_star_settings.update" | "channel.channel_points_custom_reward.add" | "channel.channel_points_custom_reward.update" | "channel.channel_points_custom_reward.remove" | "channel.channel_points_custom_reward_redemption.add" | "channel.channel_points_custom_reward_redemption.update" | "channel.poll.begin" | "channel.poll.progress" | "channel.poll.end" | "channel.prediction.begin" | "channel.prediction.progress" | "channel.prediction.lock" | "channel.prediction.end" | "channel.charity_campaign.donate" | "channel.charity_campaign.start" | "channel.charity_campaign.progress" | "channel.charity_campaign.stop" | "conduit.shard.disabled" | "drop.entitlement.grant" | "extension.bits_transaction.create" | "channel.goal.begin" | "channel.goal.progress" | "channel.goal.end" | "channel.hype_train.begin" | "channel.hype_train.progress" | "channel.hype_train.end" | "channel.shield_mode.begin" | "channel.shield_mode.end" | "channel.shoutout.create" | "channel.shoutout.receive" | "stream.online" | "stream.offline" | "user.authorization.grant" | "user.authorization.revoke" | "user.update";
15093
15733
  version: string;
15094
15734
  condition: Record<string, never>;
15095
15735
  created_at: string;
@@ -15160,7 +15800,7 @@ declare class TwitchApi {
15160
15800
  *
15161
15801
  * __Authorization:__
15162
15802
  *
15163
- * If you use [webhooks to receive events](https://dev.twitch.tv/docs/eventsub/handling-webhook-events), the request must specify an app access token. The request will fail if you use a user access token.
15803
+ * If you use [Webhooks](https://dev.twitch.tv/docs/eventsub/handling-webhook-events) or [Conduits](https://dev.twitch.tv/docs/eventsub/handling-conduit-events) to receive events, the request must specify an app access token. The request will fail if you use a user access token.
15164
15804
  *
15165
15805
  * If you use [WebSockets to receive events](https://dev.twitch.tv/docs/eventsub/handling-websocket-events), the request must specify a user access token. The request will fail if you use an app access token. The token may include any scopes.
15166
15806
  *
@@ -15204,7 +15844,7 @@ declare class TwitchApi {
15204
15844
  data: {
15205
15845
  id: string;
15206
15846
  status: "enabled" | "webhook_callback_verification_pending" | "webhook_callback_verification_failed" | "notification_failures_exceeded" | "websocket_disconnected" | "websocket_failed_ping_pong" | "websocket_received_inbound_traffic" | "websocket_internal_error" | "websocket_network_timeout" | "websocket_network_error" | "authorization_revoked" | "moderator_removed" | "user_removed" | "version_removed" | "beta_maintenance" | "websocket_connection_unused";
15207
- type: "channel.update" | "channel.follow" | "channel.ad_break.begin" | "channel.chat.clear" | "channel.chat.clear_user_messages" | "channel.chat.message" | "channel.chat.message_delete" | "channel.chat.notification" | "channel.chat_settings.update" | "channel.subscribe" | "channel.subscription.end" | "channel.subscription.gift" | "channel.subscription.message" | "channel.cheer" | "channel.raid" | "channel.ban" | "channel.unban" | "channel.moderator.add" | "channel.moderator.remove" | "channel.guest_star_session.begin" | "channel.guest_star_session.end" | "channel.guest_star_guest.update" | "channel.guest_star_settings.update" | "channel.channel_points_custom_reward.add" | "channel.channel_points_custom_reward.update" | "channel.channel_points_custom_reward.remove" | "channel.channel_points_custom_reward_redemption.add" | "channel.channel_points_custom_reward_redemption.update" | "channel.poll.begin" | "channel.poll.progress" | "channel.poll.end" | "channel.prediction.begin" | "channel.prediction.progress" | "channel.prediction.lock" | "channel.prediction.end" | "channel.charity_campaign.donate" | "channel.charity_campaign.start" | "channel.charity_campaign.progress" | "channel.charity_campaign.stop" | "conduit.shard.disabled" | "drop.entitlement.grant" | "extension.bits_transaction.create" | "channel.goal.begin" | "channel.goal.progress" | "channel.goal.end" | "channel.hype_train.begin" | "channel.hype_train.progress" | "channel.hype_train.end" | "channel.shield_mode.begin" | "channel.shield_mode.end" | "channel.shoutout.create" | "channel.shoutout.receive" | "stream.online" | "stream.offline" | "user.authorization.grant" | "user.authorization.revoke" | "user.update";
15847
+ type: "automod.message.hold" | "automod.message.update" | "automod.settings.update" | "automod.terms.update" | "channel.update" | "channel.follow" | "channel.ad_break.begin" | "channel.chat.clear" | "channel.chat.clear_user_messages" | "channel.chat.message" | "channel.chat.message_delete" | "channel.chat.notification" | "channel.chat_settings.update" | "channel.chat.user_message_hold" | "channel.chat.user_message_update" | "channel.subscribe" | "channel.subscription.end" | "channel.subscription.gift" | "channel.subscription.message" | "channel.cheer" | "channel.raid" | "channel.ban" | "channel.unban" | "channel.unban_request.create" | "channel.unban_request.resolve" | "channel.moderator.add" | "channel.moderator.remove" | "channel.guest_star_session.begin" | "channel.guest_star_session.end" | "channel.guest_star_guest.update" | "channel.guest_star_settings.update" | "channel.channel_points_custom_reward.add" | "channel.channel_points_custom_reward.update" | "channel.channel_points_custom_reward.remove" | "channel.channel_points_custom_reward_redemption.add" | "channel.channel_points_custom_reward_redemption.update" | "channel.poll.begin" | "channel.poll.progress" | "channel.poll.end" | "channel.prediction.begin" | "channel.prediction.progress" | "channel.prediction.lock" | "channel.prediction.end" | "channel.charity_campaign.donate" | "channel.charity_campaign.start" | "channel.charity_campaign.progress" | "channel.charity_campaign.stop" | "conduit.shard.disabled" | "drop.entitlement.grant" | "extension.bits_transaction.create" | "channel.goal.begin" | "channel.goal.progress" | "channel.goal.end" | "channel.hype_train.begin" | "channel.hype_train.progress" | "channel.hype_train.end" | "channel.shield_mode.begin" | "channel.shield_mode.end" | "channel.shoutout.create" | "channel.shoutout.receive" | "stream.online" | "stream.offline" | "user.authorization.grant" | "user.authorization.revoke" | "user.update";
15208
15848
  version: string;
15209
15849
  condition: Record<string, never>;
15210
15850
  created_at: string;
@@ -15496,24 +16136,25 @@ declare class TwitchApi {
15496
16136
  data: {
15497
16137
  data: {
15498
16138
  id: string;
15499
- guests: Record<string, never>;
15500
- slot_id: string;
15501
- is_live: boolean;
15502
- user_id: string;
15503
- user_display_name: string;
15504
- user_login: string;
15505
- volume: number;
15506
- assigned_at: string;
15507
- audio_settings: {
15508
- is_host_enabled: boolean;
15509
- is_guest_enabled: boolean;
15510
- is_available: boolean;
15511
- };
15512
- video_settings: {
15513
- is_host_enabled: boolean;
15514
- is_guest_enabled: boolean;
15515
- is_available: boolean;
15516
- };
16139
+ guests: {
16140
+ slot_id: string;
16141
+ is_live: boolean;
16142
+ user_id: string;
16143
+ user_display_name: string;
16144
+ user_login: string;
16145
+ volume: number;
16146
+ assigned_at: string;
16147
+ audio_settings: {
16148
+ is_host_enabled: boolean;
16149
+ is_guest_enabled: boolean;
16150
+ is_available: boolean;
16151
+ };
16152
+ video_settings: {
16153
+ is_host_enabled: boolean;
16154
+ is_guest_enabled: boolean;
16155
+ is_available: boolean;
16156
+ };
16157
+ }[];
15517
16158
  }[];
15518
16159
  };
15519
16160
  }>;
@@ -15558,24 +16199,25 @@ declare class TwitchApi {
15558
16199
  data: {
15559
16200
  data: {
15560
16201
  id: string;
15561
- guests: Record<string, never>;
15562
- slot_id: string;
15563
- is_live: boolean;
15564
- user_id: string;
15565
- user_display_name: string;
15566
- user_login: string;
15567
- volume: number;
15568
- assigned_at: string;
15569
- audio_settings: {
15570
- is_host_enabled: boolean;
15571
- is_guest_enabled: boolean;
15572
- is_available: boolean;
15573
- };
15574
- video_settings: {
15575
- is_host_enabled: boolean;
15576
- is_guest_enabled: boolean;
15577
- is_available: boolean;
15578
- };
16202
+ guests: {
16203
+ slot_id: string;
16204
+ is_live: boolean;
16205
+ user_id: string;
16206
+ user_display_name: string;
16207
+ user_login: string;
16208
+ volume: number;
16209
+ assigned_at: string;
16210
+ audio_settings: {
16211
+ is_host_enabled: boolean;
16212
+ is_guest_enabled: boolean;
16213
+ is_available: boolean;
16214
+ };
16215
+ video_settings: {
16216
+ is_host_enabled: boolean;
16217
+ is_guest_enabled: boolean;
16218
+ is_available: boolean;
16219
+ };
16220
+ }[];
15579
16221
  }[];
15580
16222
  };
15581
16223
  }>;
@@ -16417,6 +17059,141 @@ declare class TwitchApi {
16417
17059
  status: 400 | 401 | 403 | 409 | 429;
16418
17060
  data: unknown;
16419
17061
  }>;
17062
+ /**
17063
+ * BETA Gets a list of unban requests for a broadcaster’s channel.
17064
+ *
17065
+ * __Authorization:__
17066
+ *
17067
+ * * Requires a user access token that includes the **moderator:read:unban\_requests** or **moderator:manage:unban\_requests** scope.
17068
+ * * Query parameter `moderator_id` must match the `user_id` in the [user access token](https://dev.twitch.tv/docs/authentication/#user-access-tokens).
17069
+ *
17070
+ * __URL:__
17071
+ *
17072
+ * `GET https://api.twitch.tv/helix/moderation/unban_requests`
17073
+ *
17074
+ * __Response Codes:__
17075
+ *
17076
+ * _200 OK_
17077
+ *
17078
+ * Successfully retrieved the list of unban requests.
17079
+ *
17080
+ * _400 Bad Request_
17081
+ *
17082
+ * * The _broadcaster\_id_ query parameter is required.
17083
+ * * The ID in the _broadcaster\_id_ query parameter is not valid.
17084
+ * * The _moderator\_id_ query parameter is required.
17085
+ * * The ID in the _moderator\_id_ query parameter is not valid.
17086
+ * * The pagination cursor is not valid.
17087
+ *
17088
+ * _401 Unauthorized_
17089
+ *
17090
+ * * The ID in _moderator\_id_ must match the user ID in the user access token.
17091
+ * * The Authorization header is required and must contain a user access token.
17092
+ * * The user access token must include the **moderator:read:unban\_requests** or **moderator:manage:unban\_requests** scope.
17093
+ * * The access token is not valid.
17094
+ * * The client ID specified in the Client-Id header does not match the client ID specified in the access token.
17095
+ *
17096
+ * @see https://dev.twitch.tv/docs/api/reference#get-unban-requests
17097
+ */
17098
+ getUnbanRequests: (params: GetUnbanRequestsParams, options?: CallApiOptions['options']) => Promise<{
17099
+ ok: false;
17100
+ status: 400 | 401;
17101
+ data: unknown;
17102
+ } | {
17103
+ ok: true;
17104
+ status: 200;
17105
+ data: {
17106
+ data: {
17107
+ id: string;
17108
+ broadcaster_id: string;
17109
+ broadcaster_name: string;
17110
+ broadcaster_login: string;
17111
+ moderator_id: string;
17112
+ moderator_login: string;
17113
+ moderator_name: string;
17114
+ user_id: string;
17115
+ user_login: string;
17116
+ user_name: string;
17117
+ text: string;
17118
+ status: string;
17119
+ created_at: string;
17120
+ resolved_at: string;
17121
+ resolution_text: string;
17122
+ }[];
17123
+ pagination?: {
17124
+ cursor?: string;
17125
+ };
17126
+ };
17127
+ }>;
17128
+ /**
17129
+ * BETA Resolves an unban request by approving or denying it.
17130
+ *
17131
+ * __Authorization:__
17132
+ *
17133
+ * * Requires a user access token that includes the **moderator:manage:unban\_requests** scope.
17134
+ * * Query parameter `moderator_id` must match the `user_id` in the [user access token](https://dev.twitch.tv/docs/authentication/#user-access-tokens).
17135
+ *
17136
+ * __URL:__
17137
+ *
17138
+ * `PATCH https://api.twitch.tv/helix/moderation/unban_requests`
17139
+ *
17140
+ * __Response Codes:__
17141
+ *
17142
+ * _200 OK_
17143
+ *
17144
+ * Successfully resolved the unban request.
17145
+ *
17146
+ * _400 Bad Request_
17147
+ *
17148
+ * * The _broadcaster\_id_ query parameter is required.
17149
+ * * The ID in the _broadcaster\_id_ query parameter is not valid.
17150
+ * * The _moderator\_id_ query parameter is required.
17151
+ * * The ID in the _moderator\_id_ query parameter is not valid.
17152
+ * * The pagination cursor is not valid.
17153
+ * * The broadcaster is not receiving unban requests
17154
+ * * Invalid requested update
17155
+ *
17156
+ * _401 Unauthorized_
17157
+ *
17158
+ * * The ID in _moderator\_id_ must match the user ID in the user access token.
17159
+ * * The Authorization header is required and must contain a user access token.
17160
+ * * The user access token must include the **moderator:manage:unban\_requests** scope.
17161
+ * * The access token is not valid.
17162
+ * * The client ID specified in the Client-Id header does not match the client ID specified in the access token.
17163
+ *
17164
+ * _404 Not Found_
17165
+ *
17166
+ * The unban request ID was not found.
17167
+ *
17168
+ * @see https://dev.twitch.tv/docs/api/reference#resolve-unban-requests
17169
+ */
17170
+ resolveUnbanRequests: (params: ResolveUnbanRequestsParams, options?: CallApiOptions['options']) => Promise<{
17171
+ ok: false;
17172
+ status: 400 | 401 | 404;
17173
+ data: unknown;
17174
+ } | {
17175
+ ok: true;
17176
+ status: 200;
17177
+ data: {
17178
+ data: {
17179
+ id: string;
17180
+ broadcaster_id: string;
17181
+ broadcaster_name: string;
17182
+ broadcaster_login: string;
17183
+ moderator_id: string;
17184
+ moderator_login: string;
17185
+ moderator_name: string;
17186
+ user_id: string;
17187
+ user_login: string;
17188
+ user_name: string;
17189
+ text: string;
17190
+ status: string;
17191
+ created_at: string;
17192
+ resolved_at: string;
17193
+ resolution_text: string;
17194
+ }[];
17195
+ };
17196
+ }>;
16420
17197
  /**
16421
17198
  * Gets the broadcaster’s list of non-private, blocked words or phrases. These are the terms that the broadcaster or moderator added manually or that were denied by AutoMod.
16422
17199
  *
@@ -17135,7 +17912,7 @@ declare class TwitchApi {
17135
17912
  *
17136
17913
  * _200 OK_
17137
17914
  *
17138
- * Successfully retrieved the broadcaster’s polls.
17915
+ * Successfully retrieved the broadcaster's polls.
17139
17916
  *
17140
17917
  * _400 Bad Request_
17141
17918
  *
@@ -17379,7 +18156,42 @@ declare class TwitchApi {
17379
18156
  broadcaster_id: string;
17380
18157
  broadcaster_name: string;
17381
18158
  broadcaster_login: string;
17382
- title: string;
18159
+ title: string; /**
18160
+ * Updates an installed extension’s information. You can update the extension’s activation state, ID, and version number. The user ID in the access token identifies the broadcaster whose extensions you’re updating.
18161
+ *
18162
+ * NOTE: If you try to activate an extension under multiple extension types, the last write wins (and there is no guarantee of write order).
18163
+ *
18164
+ * __Authorization:__
18165
+ *
18166
+ * Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:edit:broadcast** scope.
18167
+ *
18168
+ * __URL:__
18169
+ *
18170
+ * `PUT https://api.twitch.tv/helix/users/extensions`
18171
+ *
18172
+ * __Response Codes:__
18173
+ *
18174
+ * _200 OK_
18175
+ *
18176
+ * Successfully updated the active extensions.
18177
+ *
18178
+ * _400 Bad Request_
18179
+ *
18180
+ * * The JSON payload is malformed.
18181
+ *
18182
+ * _401 Unauthorized_
18183
+ *
18184
+ * * The Authorization header is required and must contain a user access token.
18185
+ * * The user access token must include the **user:edit:broadcast** scope.
18186
+ * * The access token is not valid.
18187
+ * * The ID specified in the Client-Id header does not match the client ID specified in the access token.
18188
+ *
18189
+ * _404 Not Found_
18190
+ *
18191
+ * * An extension with the specified `id` and `version` values was not found.
18192
+ *
18193
+ * @see https://dev.twitch.tv/docs/api/reference#update-user-extensions
18194
+ */
17383
18195
  winning_outcome_id: string | null;
17384
18196
  outcomes: {
17385
18197
  id: string;
@@ -17463,7 +18275,42 @@ declare class TwitchApi {
17463
18275
  broadcaster_id: string;
17464
18276
  broadcaster_name: string;
17465
18277
  broadcaster_login: string;
17466
- title: string;
18278
+ title: string; /**
18279
+ * Updates an installed extension’s information. You can update the extension’s activation state, ID, and version number. The user ID in the access token identifies the broadcaster whose extensions you’re updating.
18280
+ *
18281
+ * NOTE: If you try to activate an extension under multiple extension types, the last write wins (and there is no guarantee of write order).
18282
+ *
18283
+ * __Authorization:__
18284
+ *
18285
+ * Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:edit:broadcast** scope.
18286
+ *
18287
+ * __URL:__
18288
+ *
18289
+ * `PUT https://api.twitch.tv/helix/users/extensions`
18290
+ *
18291
+ * __Response Codes:__
18292
+ *
18293
+ * _200 OK_
18294
+ *
18295
+ * Successfully updated the active extensions.
18296
+ *
18297
+ * _400 Bad Request_
18298
+ *
18299
+ * * The JSON payload is malformed.
18300
+ *
18301
+ * _401 Unauthorized_
18302
+ *
18303
+ * * The Authorization header is required and must contain a user access token.
18304
+ * * The user access token must include the **user:edit:broadcast** scope.
18305
+ * * The access token is not valid.
18306
+ * * The ID specified in the Client-Id header does not match the client ID specified in the access token.
18307
+ *
18308
+ * _404 Not Found_
18309
+ *
18310
+ * * An extension with the specified `id` and `version` values was not found.
18311
+ *
18312
+ * @see https://dev.twitch.tv/docs/api/reference#update-user-extensions
18313
+ */
17467
18314
  winning_outcome_id: string | null;
17468
18315
  outcomes: {
17469
18316
  id: string;
@@ -17542,7 +18389,42 @@ declare class TwitchApi {
17542
18389
  broadcaster_id: string;
17543
18390
  broadcaster_name: string;
17544
18391
  broadcaster_login: string;
17545
- title: string;
18392
+ title: string; /**
18393
+ * Updates an installed extension’s information. You can update the extension’s activation state, ID, and version number. The user ID in the access token identifies the broadcaster whose extensions you’re updating.
18394
+ *
18395
+ * NOTE: If you try to activate an extension under multiple extension types, the last write wins (and there is no guarantee of write order).
18396
+ *
18397
+ * __Authorization:__
18398
+ *
18399
+ * Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:edit:broadcast** scope.
18400
+ *
18401
+ * __URL:__
18402
+ *
18403
+ * `PUT https://api.twitch.tv/helix/users/extensions`
18404
+ *
18405
+ * __Response Codes:__
18406
+ *
18407
+ * _200 OK_
18408
+ *
18409
+ * Successfully updated the active extensions.
18410
+ *
18411
+ * _400 Bad Request_
18412
+ *
18413
+ * * The JSON payload is malformed.
18414
+ *
18415
+ * _401 Unauthorized_
18416
+ *
18417
+ * * The Authorization header is required and must contain a user access token.
18418
+ * * The user access token must include the **user:edit:broadcast** scope.
18419
+ * * The access token is not valid.
18420
+ * * The ID specified in the Client-Id header does not match the client ID specified in the access token.
18421
+ *
18422
+ * _404 Not Found_
18423
+ *
18424
+ * * An extension with the specified `id` and `version` values was not found.
18425
+ *
18426
+ * @see https://dev.twitch.tv/docs/api/reference#update-user-extensions
18427
+ */
17546
18428
  winning_outcome_id: string | null;
17547
18429
  outcomes: {
17548
18430
  id: string;
@@ -19423,4 +20305,4 @@ declare class TwitchApi {
19423
20305
  };
19424
20306
  }
19425
20307
 
19426
- export { type AddBlockedTermBody, type AddBlockedTermParams, type AddBlockedTermResponse, type AddChannelModeratorParams, type AddChannelVIPParams, type ApiResponse, type AssignGuestStarSlotParams, type AutoModSettings, type AutoModStatus, type BanUserBody, type BanUserParams, type BanUserResponse, type BannedUser, type BitsLeaderboard, type BlockUserParams, type BlockedTerm, type BroadcasterSubscription, type CancelRaidParams, type Category, type Channel, type ChannelEditor, type ChannelEmote, type ChannelInformation, type ChannelStreamScheduleSegment, type ChannelTeam, type CharityCampaign, type CharityCampaignDonation, type ChatBadge, type ChatSettings, type ChatSettingsUpdated, type Chatter, type CheckAutoModStatusBody, type CheckAutoModStatusParams, type CheckAutoModStatusResponse, type CheckUserSubscriptionParams, type CheckUserSubscriptionResponse, type Cheermote, type CheermoteImageFormat, type CheermoteImageTheme, type CheermoteImages, type Clip, type ContentClassificationLabel, type CreateChannelStreamScheduleSegmentBody, type CreateChannelStreamScheduleSegmentParams, type CreateChannelStreamScheduleSegmentResponse, type CreateClipParams, type CreateClipResponse, type CreateConduitsBody, type CreateConduitsResponse, type CreateCustomRewardsBody, type CreateCustomRewardsParams, type CreateCustomRewardsResponse, type CreateEventSubSubscriptionBody, type CreateEventSubSubscriptionResponse, type CreateExtensionSecretParams, type CreateExtensionSecretResponse, type CreateGuestStarSessionParams, type CreateGuestStarSessionResponse, type CreatePollBody, type CreatePollResponse, type CreatePredictionBody, type CreatePredictionResponse, type CreateStreamMarkerBody, type CreateStreamMarkerResponse, type CreatorGoal, type CustomReward, type CustomRewardRedemption, type DeleteChannelStreamScheduleSegmentParams, type DeleteChatMessagesParams, type DeleteConduitParams, type DeleteCustomRewardParams, type DeleteEventSubSubscriptionParams, type DeleteGuestStarInviteParams, type DeleteGuestStarSlotParams, type DeleteVideosParams, type DeleteVideosResponse, type DropsEntitlement, type DropsEntitlementUpdated, type Emote, type EndGuestStarSessionParams, type EndGuestStarSessionResponse, type EndPollBody, type EndPollResponse, type EndPredictionBody, type EndPredictionResponse, type EventSubSubscription, type Extension, type ExtensionAnalytics, type ExtensionBitsProduct, type ExtensionConfigurationSegment, type ExtensionIconUrls, type ExtensionLiveChannel, type ExtensionSecret, type ExtensionTransaction, type Game, type GameAnalytics, type GetAdScheduleParams, type GetAdScheduleResponse, type GetAllStreamTagsParams, type GetAllStreamTagsResponse, type GetAutoModSettingsParams, type GetAutoModSettingsResponse, type GetBannedUsersParams, type GetBannedUsersResponse, type GetBitsLeaderboardParams, type GetBitsLeaderboardResponse, type GetBlockedTermsParams, type GetBlockedTermsResponse, type GetBroadcasterSubscriptionsParams, type GetBroadcasterSubscriptionsResponse, type GetChannelChatBadgesParams, type GetChannelChatBadgesResponse, type GetChannelEditorsParams, type GetChannelEditorsResponse, type GetChannelEmotesParams, type GetChannelEmotesResponse, type GetChannelFollowersParams, type GetChannelFollowersResponse, type GetChannelGuestStarSettingsParams, type GetChannelGuestStarSettingsResponse, type GetChannelICalendarParams, type GetChannelInformationParams, type GetChannelInformationResponse, type GetChannelStreamScheduleParams, type GetChannelStreamScheduleResponse, type GetChannelTeamsParams, type GetChannelTeamsResponse, type GetCharityCampaignDonationsParams, type GetCharityCampaignDonationsResponse, type GetCharityCampaignParams, type GetCharityCampaignResponse, type GetChatSettingsParams, type GetChatSettingsResponse, type GetChattersParams, type GetChattersResponse, type GetCheermotesParams, type GetCheermotesResponse, type GetClipsParams, type GetClipsResponse, type GetConduitShardsParams, type GetConduitShardsResponse, type GetConduitsResponse, type GetContentClassificationLabelsParams, type GetContentClassificationLabelsResponse, type GetCreatorGoalsParams, type GetCreatorGoalsResponse, type GetCustomRewardParams, type GetCustomRewardRedemptionParams, type GetCustomRewardRedemptionResponse, type GetCustomRewardResponse, type GetDropsEntitlementsParams, type GetDropsEntitlementsResponse, type GetEmoteSetsParams, type GetEmoteSetsResponse, type GetEventSubSubscriptionsParams, type GetEventSubSubscriptionsResponse, type GetExtensionAnalyticsParams, type GetExtensionAnalyticsResponse, type GetExtensionBitsProductsParams, type GetExtensionBitsProductsResponse, type GetExtensionConfigurationSegmentParams, type GetExtensionConfigurationSegmentResponse, type GetExtensionLiveChannelsParams, type GetExtensionLiveChannelsResponse, type GetExtensionSecretsResponse, type GetExtensionTransactionsParams, type GetExtensionTransactionsResponse, type GetExtensionsParams, type GetExtensionsResponse, type GetFollowedChannelsParams, type GetFollowedChannelsResponse, type GetFollowedStreamsParams, type GetFollowedStreamsResponse, type GetGameAnalyticsParams, type GetGameAnalyticsResponse, type GetGamesParams, type GetGamesResponse, type GetGlobalChatBadgesResponse, type GetGlobalEmotesResponse, type GetGuestStarInvitesParams, type GetGuestStarInvitesResponse, type GetGuestStarSessionParams, type GetGuestStarSessionResponse, type GetHypeTrainEventsParams, type GetHypeTrainEventsResponse, type GetModeratedChannelsParams, type GetModeratedChannelsResponse, type GetModeratorsParams, type GetModeratorsResponse, type GetPollsParams, type GetPollsResponse, type GetPredictionsParams, type GetPredictionsResponse, type GetReleasedExtensionsParams, type GetReleasedExtensionsResponse, type GetShieldModeStatusParams, type GetShieldModeStatusResponse, type GetStreamKeyParams, type GetStreamKeyResponse, type GetStreamMarkersParams, type GetStreamMarkersResponse, type GetStreamTagsParams, type GetStreamTagsResponse, type GetStreamsParams, type GetStreamsResponse, type GetTeamsParams, type GetTeamsResponse, type GetTopGamesParams, type GetTopGamesResponse, type GetUserActiveExtensionsParams, type GetUserActiveExtensionsResponse, type GetUserBlockListParams, type GetUserBlockListResponse, type GetUserChatColorParams, type GetUserChatColorResponse, type GetUserExtensionsResponse, type GetUsersParams, type GetUsersResponse, type GetVIPsParams, type GetVIPsResponse, type GetVideosParams, type GetVideosResponse, type GlobalEmote, type GuestStarInvite, type GuestStarSession, type HypeTrainEvent, type ManageHeldAutoModMessagesBody, type ModifyChannelInformationBody, type ModifyChannelInformationParams, type Poll, type Prediction, type PredictionOutcome, type RemoveBlockedTermParams, type RemoveChannelModeratorParams, type RemoveChannelVIPParams, type SearchCategoriesParams, type SearchCategoriesResponse, type SearchChannelsParams, type SearchChannelsResponse, type SendChatAnnouncementBody, type SendChatAnnouncementParams, type SendChatMessageBody, type SendChatMessageResponse, type SendExtensionChatMessageBody, type SendExtensionChatMessageParams, type SendExtensionPubSubMessageBody, type SendGuestStarInviteParams, type SendShoutoutParams, type SendWhisperBody, type SendWhisperParams, type SetExtensionConfigurationSegmentBody, type SetExtensionRequiredConfigurationBody, type SetExtensionRequiredConfigurationParams, type SnoozeNextAdParams, type SnoozeNextAdResponse, type StartCommercialBody, type StartCommercialResponse, type StartRaidParams, type StartRaidResponse, type Stream, type StreamMarkerCreated, type StreamMarkers, type StreamTag, type Team, TwitchApi, type TwitchApiOptions, type UnbanUserParams, type UnblockUserParams, type UpdateAutoModSettingsBody, type UpdateAutoModSettingsParams, type UpdateAutoModSettingsResponse, type UpdateChannelGuestStarSettingsBody, type UpdateChannelGuestStarSettingsParams, type UpdateChannelStreamScheduleParams, type UpdateChannelStreamScheduleSegmentBody, type UpdateChannelStreamScheduleSegmentParams, type UpdateChannelStreamScheduleSegmentResponse, type UpdateChatSettingsBody, type UpdateChatSettingsParams, type UpdateChatSettingsResponse, type UpdateConduitShardsBody, type UpdateConduitShardsResponse, type UpdateConduitsBody, type UpdateConduitsResponse, type UpdateCustomRewardBody, type UpdateCustomRewardParams, type UpdateCustomRewardResponse, type UpdateDropsEntitlementsBody, type UpdateDropsEntitlementsResponse, type UpdateExtensionBitsProductBody, type UpdateExtensionBitsProductResponse, type UpdateGuestStarSlotParams, type UpdateGuestStarSlotSettingsParams, type UpdateRedemptionStatusBody, type UpdateRedemptionStatusParams, type UpdateRedemptionStatusResponse, type UpdateShieldModeStatusBody, type UpdateShieldModeStatusParams, type UpdateShieldModeStatusResponse, type UpdateUserChatColorParams, type UpdateUserExtensionsBody, type UpdateUserExtensionsResponse, type UpdateUserParams, type UpdateUserResponse, type User, type UserBlockList, type UserChatColor, type UserExtension, type UserExtensionComponent, type UserExtensionComponentUpdate, type UserExtensionOverlay, type UserExtensionOverlayUpdate, type UserExtensionPanel, type UserExtensionPanelUpdate, type UserModerator, type UserSubscription, type UserVip, type Video };
20308
+ export { type AddBlockedTermBody, type AddBlockedTermParams, type AddBlockedTermResponse, type AddChannelModeratorParams, type AddChannelVIPParams, type ApiResponse, type AssignGuestStarSlotParams, type AutoModSettings, type AutoModStatus, type BanUserBody, type BanUserParams, type BanUserResponse, type BannedUser, type BitsLeaderboard, type BlockUserParams, type BlockedTerm, type BroadcasterSubscription, type CancelRaidParams, type Category, type Channel, type ChannelEditor, type ChannelEmote, type ChannelInformation, type ChannelStreamScheduleSegment, type ChannelTeam, type CharityCampaign, type CharityCampaignDonation, type ChatBadge, type ChatSettings, type ChatSettingsUpdated, type Chatter, type CheckAutoModStatusBody, type CheckAutoModStatusParams, type CheckAutoModStatusResponse, type CheckUserSubscriptionParams, type CheckUserSubscriptionResponse, type Cheermote, type CheermoteImageFormat, type CheermoteImageTheme, type CheermoteImages, type Clip, type ContentClassificationLabel, type CreateChannelStreamScheduleSegmentBody, type CreateChannelStreamScheduleSegmentParams, type CreateChannelStreamScheduleSegmentResponse, type CreateClipParams, type CreateClipResponse, type CreateConduitsBody, type CreateConduitsResponse, type CreateCustomRewardsBody, type CreateCustomRewardsParams, type CreateCustomRewardsResponse, type CreateEventSubSubscriptionBody, type CreateEventSubSubscriptionResponse, type CreateExtensionSecretParams, type CreateExtensionSecretResponse, type CreateGuestStarSessionParams, type CreateGuestStarSessionResponse, type CreatePollBody, type CreatePollResponse, type CreatePredictionBody, type CreatePredictionResponse, type CreateStreamMarkerBody, type CreateStreamMarkerResponse, type CreatorGoal, type CustomReward, type CustomRewardRedemption, type DeleteChannelStreamScheduleSegmentParams, type DeleteChatMessagesParams, type DeleteConduitParams, type DeleteCustomRewardParams, type DeleteEventSubSubscriptionParams, type DeleteGuestStarInviteParams, type DeleteGuestStarSlotParams, type DeleteVideosParams, type DeleteVideosResponse, type DropsEntitlement, type DropsEntitlementUpdated, type Emote, type EndGuestStarSessionParams, type EndGuestStarSessionResponse, type EndPollBody, type EndPollResponse, type EndPredictionBody, type EndPredictionResponse, type EventSubSubscription, type Extension, type ExtensionAnalytics, type ExtensionBitsProduct, type ExtensionConfigurationSegment, type ExtensionIconUrls, type ExtensionLiveChannel, type ExtensionSecret, type ExtensionTransaction, type Game, type GameAnalytics, type GetAdScheduleParams, type GetAdScheduleResponse, type GetAllStreamTagsParams, type GetAllStreamTagsResponse, type GetAutoModSettingsParams, type GetAutoModSettingsResponse, type GetBannedUsersParams, type GetBannedUsersResponse, type GetBitsLeaderboardParams, type GetBitsLeaderboardResponse, type GetBlockedTermsParams, type GetBlockedTermsResponse, type GetBroadcasterSubscriptionsParams, type GetBroadcasterSubscriptionsResponse, type GetChannelChatBadgesParams, type GetChannelChatBadgesResponse, type GetChannelEditorsParams, type GetChannelEditorsResponse, type GetChannelEmotesParams, type GetChannelEmotesResponse, type GetChannelFollowersParams, type GetChannelFollowersResponse, type GetChannelGuestStarSettingsParams, type GetChannelGuestStarSettingsResponse, type GetChannelICalendarParams, type GetChannelInformationParams, type GetChannelInformationResponse, type GetChannelStreamScheduleParams, type GetChannelStreamScheduleResponse, type GetChannelTeamsParams, type GetChannelTeamsResponse, type GetCharityCampaignDonationsParams, type GetCharityCampaignDonationsResponse, type GetCharityCampaignParams, type GetCharityCampaignResponse, type GetChatSettingsParams, type GetChatSettingsResponse, type GetChattersParams, type GetChattersResponse, type GetCheermotesParams, type GetCheermotesResponse, type GetClipsParams, type GetClipsResponse, type GetConduitShardsParams, type GetConduitShardsResponse, type GetConduitsResponse, type GetContentClassificationLabelsParams, type GetContentClassificationLabelsResponse, type GetCreatorGoalsParams, type GetCreatorGoalsResponse, type GetCustomRewardParams, type GetCustomRewardRedemptionParams, type GetCustomRewardRedemptionResponse, type GetCustomRewardResponse, type GetDropsEntitlementsParams, type GetDropsEntitlementsResponse, type GetEmoteSetsParams, type GetEmoteSetsResponse, type GetEventSubSubscriptionsParams, type GetEventSubSubscriptionsResponse, type GetExtensionAnalyticsParams, type GetExtensionAnalyticsResponse, type GetExtensionBitsProductsParams, type GetExtensionBitsProductsResponse, type GetExtensionConfigurationSegmentParams, type GetExtensionConfigurationSegmentResponse, type GetExtensionLiveChannelsParams, type GetExtensionLiveChannelsResponse, type GetExtensionSecretsResponse, type GetExtensionTransactionsParams, type GetExtensionTransactionsResponse, type GetExtensionsParams, type GetExtensionsResponse, type GetFollowedChannelsParams, type GetFollowedChannelsResponse, type GetFollowedStreamsParams, type GetFollowedStreamsResponse, type GetGameAnalyticsParams, type GetGameAnalyticsResponse, type GetGamesParams, type GetGamesResponse, type GetGlobalChatBadgesResponse, type GetGlobalEmotesResponse, type GetGuestStarInvitesParams, type GetGuestStarInvitesResponse, type GetGuestStarSessionParams, type GetGuestStarSessionResponse, type GetHypeTrainEventsParams, type GetHypeTrainEventsResponse, type GetModeratedChannelsParams, type GetModeratedChannelsResponse, type GetModeratorsParams, type GetModeratorsResponse, type GetPollsParams, type GetPollsResponse, type GetPredictionsParams, type GetPredictionsResponse, type GetReleasedExtensionsParams, type GetReleasedExtensionsResponse, type GetShieldModeStatusParams, type GetShieldModeStatusResponse, type GetStreamKeyParams, type GetStreamKeyResponse, type GetStreamMarkersParams, type GetStreamMarkersResponse, type GetStreamTagsParams, type GetStreamTagsResponse, type GetStreamsParams, type GetStreamsResponse, type GetTeamsParams, type GetTeamsResponse, type GetTopGamesParams, type GetTopGamesResponse, type GetUnbanRequestsParams, type GetUnbanRequestsResponse, type GetUserActiveExtensionsParams, type GetUserActiveExtensionsResponse, type GetUserBlockListParams, type GetUserBlockListResponse, type GetUserChatColorParams, type GetUserChatColorResponse, type GetUserEmotesParams, type GetUserEmotesResponse, type GetUserExtensionsResponse, type GetUsersParams, type GetUsersResponse, type GetVIPsParams, type GetVIPsResponse, type GetVideosParams, type GetVideosResponse, type GlobalEmote, type Guest, type GuestStarInvite, type GuestStarSession, type HypeTrainEvent, type ManageHeldAutoModMessagesBody, type ModifyChannelInformationBody, type ModifyChannelInformationParams, type Poll, type Prediction, type PredictionOutcome, type RemoveBlockedTermParams, type RemoveChannelModeratorParams, type RemoveChannelVIPParams, type ResolveUnbanRequestsParams, type ResolveUnbanRequestsResponse, type SearchCategoriesParams, type SearchCategoriesResponse, type SearchChannelsParams, type SearchChannelsResponse, type SendChatAnnouncementBody, type SendChatAnnouncementParams, type SendChatMessageBody, type SendChatMessageResponse, type SendExtensionChatMessageBody, type SendExtensionChatMessageParams, type SendExtensionPubSubMessageBody, type SendGuestStarInviteParams, type SendShoutoutParams, type SendWhisperBody, type SendWhisperParams, type SetExtensionConfigurationSegmentBody, type SetExtensionRequiredConfigurationBody, type SetExtensionRequiredConfigurationParams, type SnoozeNextAdParams, type SnoozeNextAdResponse, type StartCommercialBody, type StartCommercialResponse, type StartRaidParams, type StartRaidResponse, type Stream, type StreamMarkerCreated, type StreamMarkers, type StreamTag, type Team, TwitchApi, type TwitchApiOptions, type UnbanUserParams, type UnblockUserParams, type UpdateAutoModSettingsBody, type UpdateAutoModSettingsParams, type UpdateAutoModSettingsResponse, type UpdateChannelGuestStarSettingsBody, type UpdateChannelGuestStarSettingsParams, type UpdateChannelStreamScheduleParams, type UpdateChannelStreamScheduleSegmentBody, type UpdateChannelStreamScheduleSegmentParams, type UpdateChannelStreamScheduleSegmentResponse, type UpdateChatSettingsBody, type UpdateChatSettingsParams, type UpdateChatSettingsResponse, type UpdateConduitShardsBody, type UpdateConduitShardsResponse, type UpdateConduitsBody, type UpdateConduitsResponse, type UpdateCustomRewardBody, type UpdateCustomRewardParams, type UpdateCustomRewardResponse, type UpdateDropsEntitlementsBody, type UpdateDropsEntitlementsResponse, type UpdateExtensionBitsProductBody, type UpdateExtensionBitsProductResponse, type UpdateGuestStarSlotParams, type UpdateGuestStarSlotSettingsParams, type UpdateRedemptionStatusBody, type UpdateRedemptionStatusParams, type UpdateRedemptionStatusResponse, type UpdateShieldModeStatusBody, type UpdateShieldModeStatusParams, type UpdateShieldModeStatusResponse, type UpdateUserChatColorParams, type UpdateUserExtensionsBody, type UpdateUserExtensionsResponse, type UpdateUserParams, type UpdateUserResponse, type User, type UserBlockList, type UserChatColor, type UserExtension, type UserExtensionComponent, type UserExtensionComponentUpdate, type UserExtensionOverlay, type UserExtensionOverlayUpdate, type UserExtensionPanel, type UserExtensionPanelUpdate, type UserModerator, type UserSubscription, type UserVip, type Video };