ts-twitch-api 0.2.5 → 0.2.7

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.ts CHANGED
@@ -1319,9 +1319,10 @@ interface components {
1319
1319
  * * primary (default)
1320
1320
  *
1321
1321
  * If `color` is set to _primary_ or is not set, the channel’s accent color is used to highlight the announcement (see **Profile Accent Color** under [profile settings](https://www.twitch.tv/settings/profile), **Channel and Videos**, and **Brand**).
1322
+ * @default primary
1322
1323
  * @enum {string}
1323
1324
  */
1324
- color?: "blue" | "green" | "orange" | "purple" | "primary (default)";
1325
+ color?: "blue" | "green" | "orange" | "purple" | "primary";
1325
1326
  };
1326
1327
  SendChatMessageBody: {
1327
1328
  /** @description The ID of the broadcaster whose chat room the message will be sent to. */
@@ -1332,6 +1333,14 @@ interface components {
1332
1333
  message: string;
1333
1334
  /** @description The ID of the chat message being replied to. */
1334
1335
  reply_parent_message_id?: string;
1336
+ /**
1337
+ * @description **NOTE:** This parameter can only be set when utilizing an App Access Token. It cannot be specified when a User Access Token is used, and will instead result in an HTTP 400 error.
1338
+ *
1339
+ * Determines if the chat message is sent only to the source channel (defined by _broadcaster\_id_) during a shared chat session. This has no effect if the message is sent during a shared chat session.
1340
+ *
1341
+ * If this parameter is not set, the default value when using an App Access Token is `false`. On May 19, 2025 the default value for this parameter will be updated to `true`, and chat messages sent using an App Access Token will only be shared with the source channel by default. If you prefer to send a chat message to both channels in a shared chat session, make sure this parameter is explicitly set to `false` in your API request before May 19.
1342
+ */
1343
+ for_source_only?: boolean;
1335
1344
  };
1336
1345
  SendChatMessageResponse: {
1337
1346
  data: {
@@ -1433,6 +1442,17 @@ interface components {
1433
1442
  cursor?: string;
1434
1443
  };
1435
1444
  };
1445
+ GetClipsDownloadResponse: {
1446
+ /** @description List of clips and their download URLs. */
1447
+ data: {
1448
+ /** @description An ID that uniquely identifies the clip. */
1449
+ clip_id: string;
1450
+ /** @description The landscape URL to download the clip. This field is `null` if the URL is not available. */
1451
+ landscape_download_url: string;
1452
+ /** @description The portrait URL to download the clip. This field is `null` if the URL is not available. */
1453
+ portrait_download_url: string;
1454
+ }[];
1455
+ };
1436
1456
  GetConduitsResponse: {
1437
1457
  /** @description List of information about the client’s conduits. */
1438
1458
  data: {
@@ -2511,6 +2531,124 @@ interface components {
2511
2531
  cursor?: string;
2512
2532
  };
2513
2533
  };
2534
+ GetHypeTrainStatusResponse: {
2535
+ /** @description A list that contains information related to the channel’s Hype Train. */
2536
+ data: ({
2537
+ /** @description An object describing the current Hype Train. Null if a Hype Train is not active. */
2538
+ current: {
2539
+ /** @description The Hype Train ID. */
2540
+ id: string;
2541
+ /** @description The broadcaster ID. */
2542
+ broadcaster_user_id: string;
2543
+ /** @description The broadcaster login. */
2544
+ broadcaster_user_login: string;
2545
+ /** @description The broadcaster display name. */
2546
+ broadcaster_user_name: string;
2547
+ /**
2548
+ * Format: int32
2549
+ * @description The current level of the Hype Train.
2550
+ */
2551
+ level: number;
2552
+ /**
2553
+ * Format: int32
2554
+ * @description Total points contributed to the Hype Train.
2555
+ */
2556
+ total: number;
2557
+ /**
2558
+ * Format: int32
2559
+ * @description The number of points contributed to the Hype Train at the current level.
2560
+ */
2561
+ progress: number;
2562
+ /**
2563
+ * Format: int32
2564
+ * @description The number of points required to reach the next level.
2565
+ */
2566
+ goal: number;
2567
+ /** @description The contributors with the most points contributed. */
2568
+ top_contributions: ({
2569
+ /** @description The ID of the user that made the contribution. */
2570
+ user_id: string;
2571
+ /** @description The user’s login name. */
2572
+ user_login: string;
2573
+ /** @description The user’s display name. */
2574
+ user_name: string;
2575
+ /**
2576
+ * @description The type of the Hype Train. Possible values are:
2577
+ *
2578
+ * * **treasure**
2579
+ * * **golden\_kappa**
2580
+ * * **regular**
2581
+ *
2582
+ * [Learn More](https://help.twitch.tv/s/article/hype-train-guide#special)
2583
+ * @enum {string}
2584
+ */
2585
+ type: "treasure" | "golden_kappa" | "regular";
2586
+ /**
2587
+ * Format: int32
2588
+ * @description The total number of points contributed for the type.
2589
+ */
2590
+ total: number;
2591
+ /** @description A list containing the broadcasters participating in the shared Hype Train. Null if the Hype Train is not shared. */
2592
+ shared_train_participants: {
2593
+ /** @description The broadcaster ID. */
2594
+ broadcaster_user_id: string;
2595
+ /** @description The broadcaster login. */
2596
+ broadcaster_user_login: string;
2597
+ /** @description The broadcaster display name. */
2598
+ broadcaster_user_name: string;
2599
+ }[];
2600
+ /**
2601
+ * Format: date-time
2602
+ * @description The time when the Hype Train started.
2603
+ */
2604
+ started_at: string;
2605
+ /**
2606
+ * Format: date-time
2607
+ * @description The time when the Hype Train expires. The expiration is extended when the Hype Train reaches a new level.
2608
+ */
2609
+ expires_at: string;
2610
+ /** @description Indicates if the Hype Train is shared. When true, shared\_train\_participants will contain the list of broadcasters the train is shared with. */
2611
+ is_shared_train: boolean;
2612
+ })[];
2613
+ };
2614
+ })[];
2615
+ /** @description An object with information about the channel’s Hype Train records. Null if a Hype Train has not occurred. */
2616
+ all_time_high: {
2617
+ /**
2618
+ * Format: int32
2619
+ * @description The level of the record Hype Train.
2620
+ */
2621
+ level: number;
2622
+ /**
2623
+ * Format: int32
2624
+ * @description Total points contributed to the record Hype Train.
2625
+ */
2626
+ total: number;
2627
+ /**
2628
+ * Format: date-time
2629
+ * @description The time when the record was achieved.
2630
+ */
2631
+ achieved_at: string;
2632
+ };
2633
+ /** @description An object with information about the channel’s shared Hype Train records. Null if a Hype Train has not occurred. */
2634
+ shared_all_time_high: {
2635
+ /**
2636
+ * Format: int32
2637
+ * @description The level of the record Hype Train.
2638
+ */
2639
+ level: number;
2640
+ /**
2641
+ * Format: int32
2642
+ * @description Total points contributed to the record Hype Train.
2643
+ */
2644
+ total: number;
2645
+ /**
2646
+ * Format: date-time
2647
+ * @description The time when the record was achieved.
2648
+ */
2649
+ achieved_at: string;
2650
+ };
2651
+ };
2514
2652
  CheckAutoModStatusBody: {
2515
2653
  /** @description The list of messages to check. The list must contain at least one message and may contain up to a maximum of 100 messages. */
2516
2654
  data: {
@@ -3592,27 +3730,28 @@ interface components {
3592
3730
  /** @description The user’s login name. */
3593
3731
  user_login: string;
3594
3732
  /** @description A list of videos that contain markers. The list contains a single video. */
3595
- videos: Record<string, never>[];
3596
- /** @description An ID that identifies this video. */
3597
- video_id: string;
3598
- /** @description The list of markers in this video. The list in ascending order by when the marker was created. */
3599
- markers: {
3600
- /** @description An ID that identifies this marker. */
3601
- id: string;
3602
- /**
3603
- * Format: date-time
3604
- * @description The UTC date and time (in RFC3339 format) of when the user created the marker.
3605
- */
3606
- created_at: string;
3607
- /** @description The description that the user gave the marker to help them remember why they marked the location. Is an empty string if the user didn’t provide one. */
3608
- description: string;
3609
- /**
3610
- * Format: int32
3611
- * @description The relative offset (in seconds) of the marker from the beginning of the stream.
3612
- */
3613
- position_seconds: number;
3614
- /** @description A URL that opens the video in Twitch Highlighter. */
3615
- url: string;
3733
+ videos: {
3734
+ /** @description An ID that identifies this video. */
3735
+ video_id: string;
3736
+ /** @description The list of markers in this video. The list in ascending order by when the marker was created. */
3737
+ markers: {
3738
+ /** @description An ID that identifies this marker. */
3739
+ id: string;
3740
+ /**
3741
+ * Format: date-time
3742
+ * @description The UTC date and time (in RFC3339 format) of when the user created the marker.
3743
+ */
3744
+ created_at: string;
3745
+ /** @description The description that the user gave the marker to help them remember why they marked the location. Is an empty string if the user didn’t provide one. */
3746
+ description: string;
3747
+ /**
3748
+ * Format: int32
3749
+ * @description The relative offset (in seconds) of the marker from the beginning of the stream.
3750
+ */
3751
+ position_seconds: number;
3752
+ /** @description A URL that opens the video in Twitch Highlighter. */
3753
+ url: string;
3754
+ }[];
3616
3755
  }[];
3617
3756
  };
3618
3757
  GetStreamMarkersResponse: {
@@ -3868,6 +4007,19 @@ interface components {
3868
4007
  /** @description A list contains the single user that you updated. */
3869
4008
  data: components["schemas"]["User"][];
3870
4009
  };
4010
+ GetAuthorizationByUserResponse: {
4011
+ /** @description List of users and their authorized scopes. */
4012
+ data: {
4013
+ /** @description The user’s ID. */
4014
+ user_id: string;
4015
+ /** @description The user’s display name. */
4016
+ user_name: string;
4017
+ /** @description The user’s login name. */
4018
+ user_login: string;
4019
+ /** @description An array of all the scopes the user has granted to the client ID. */
4020
+ scopes: string[];
4021
+ }[];
4022
+ };
3871
4023
  UserBlockList: {
3872
4024
  /** @description An ID that identifies the blocked user. */
3873
4025
  user_id: string;
@@ -5983,6 +6135,11 @@ interface operations {
5983
6135
  * NEW Sends a message to the broadcaster’s chat room.
5984
6136
  * @description NEW Sends a message to the broadcaster’s chat room.
5985
6137
  *
6138
+ * **NOTE:** When sending messages to a Shared Chat session, behaviors differ depending on your authentication token type:
6139
+ *
6140
+ * * When using an _App Access Token_, messages will only be sent to the source channel (defined by the `broadcaster_id` parameter) by default starting on May 19, 2025\. Messages can be sent to all channels by using the `for_source_only` parameter and setting it to `false`.
6141
+ * * When using a _User Access Token_, messages will be sent to all channels in the shared chat session, including the source channel. This behavior cannot be changed with this token type.
6142
+ *
5986
6143
  * __Authorization:__
5987
6144
  *
5988
6145
  * 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) that includes the `user:write:chat` scope. If app access token used, then additionally requires `user:bot` scope from chatting user, and either `channel:bot` scope from broadcaster or moderator status.
@@ -6007,6 +6164,7 @@ interface operations {
6007
6164
  * * The ID in the _sender\_id_ query parameter is not valid.
6008
6165
  * * The _text_ query parameter is required.
6009
6166
  * * The ID in the _reply\_parent\_message\_id_ query parameter is not valid.
6167
+ * * Cannot set \*for\_source\_only\* if User Access Token is used.
6010
6168
  */
6011
6169
  400: {
6012
6170
  content: never;
@@ -6280,6 +6438,58 @@ interface operations {
6280
6438
  };
6281
6439
  };
6282
6440
  };
6441
+ /**
6442
+ * NEW Provides URLs to download the video file(s) for the specified clips.
6443
+ * @description NEW Provides URLs to download the video file(s) for the specified clips. For information about clips, see [How to use clips](https://help.twitch.tv/s/article/how-to-use-clips).
6444
+ *
6445
+ * **Rate Limits**: Limited to 100 requests per minute.
6446
+ *
6447
+ * __Authorization:__
6448
+ *
6449
+ * 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) that includes the `editor:manage:clips` or `channel:manage:clips` scope.
6450
+ */
6451
+ "get-clips-download": {
6452
+ parameters: {
6453
+ query: {
6454
+ /** @description The User ID of the editor for the channel you want to download a clip for. If using the broadcaster’s auth token, this is the same as `broadcaster_id`. This must match the `user_id` in the user access token. */
6455
+ editor_id: string;
6456
+ /** @description The ID of the broadcaster you want to download clips for. */
6457
+ broadcaster_id: string;
6458
+ /** @description The ID that identifies the clip you want to download. Include this parameter for each clip you want to download, up to a maximum of 10 clips. For example, `clip_id=SleepyGiftedPeppermintNerfRedBlaster-KbkBXYt3lOk3jy8-&clip_id=WimpyAltruisticKleeKeyboardCat-EiY5yMrEwZ4i4gwC`. */
6459
+ clip_id: string[];
6460
+ };
6461
+ };
6462
+ responses: {
6463
+ /** @description Successfully retrieved the clip download URL(s). */
6464
+ 200: {
6465
+ content: {
6466
+ "application/json": components["schemas"]["GetClipsDownloadResponse"];
6467
+ };
6468
+ };
6469
+ /** @description The ID in the broadcaster\_id, editor\_id, or clip\_id query parameter is not valid. */
6470
+ 400: {
6471
+ content: never;
6472
+ };
6473
+ /**
6474
+ * @description * The OAuth token is not valid.
6475
+ * * The Authorization header is required and must contain a user access token or app access token.
6476
+ * * The access token must include the editor:manage:clips or channel:manage:clips scope
6477
+ * * The access token is not valid
6478
+ * * The client ID specified in the Client-Id header does not match the client ID specified in the access token.
6479
+ */
6480
+ 401: {
6481
+ content: never;
6482
+ };
6483
+ /** @description The user is not an editor for the specified broadcaster. */
6484
+ 403: {
6485
+ content: never;
6486
+ };
6487
+ /** @description Internal Server Error. */
6488
+ 500: {
6489
+ content: never;
6490
+ };
6491
+ };
6492
+ };
6283
6493
  /**
6284
6494
  * NEW Gets the conduits for a client ID.
6285
6495
  * @description NEW Gets the [conduits](https://dev.twitch.tv/docs/eventsub/handling-conduit-events/) for a client ID.
@@ -6568,7 +6778,7 @@ interface operations {
6568
6778
  *
6569
6779
  * __Authorization:__
6570
6780
  *
6571
- * 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.
6781
+ * 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 associated with the access token must be owned by a user who is a member of the [organization](https://dev.twitch.tv/docs/docs/companies/) that holds ownership of the game.
6572
6782
  */
6573
6783
  "get-drops-entitlements": {
6574
6784
  parameters: {
@@ -6642,7 +6852,7 @@ interface operations {
6642
6852
  *
6643
6853
  * __Authorization:__
6644
6854
  *
6645
- * 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.
6855
+ * 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 associated with the access token must be owned by a user who is a member of the [organization](https://dev.twitch.tv/docs/docs/companies/) that holds ownership of the game.
6646
6856
  */
6647
6857
  "update-drops-entitlements": {
6648
6858
  requestBody?: {
@@ -7306,7 +7516,7 @@ interface operations {
7306
7516
  *
7307
7517
  * __Request Query Parameters:__
7308
7518
  *
7309
- * Use the _status_, _type_, and _user\_id_ query parameters to filter the list of subscriptions that are returned. The filters are mutually exclusive; the request fails if you specify more than one filter.
7519
+ * Use the _status_, _type_, _user\_id_, and _subscription\_id_ query parameters to filter the list of subscriptions that are returned. The filters are mutually exclusive; the request fails if you specify more than one filter.
7310
7520
  */
7311
7521
  "get-eventsub-subscriptions": {
7312
7522
  parameters: {
@@ -7338,6 +7548,8 @@ interface operations {
7338
7548
  type?: "automod.message.hold" | "automod.message.update" | "automod.settings.update" | "automod.terms.update" | "channel.bits.use" | "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.shared_chat.begin" | "channel.shared_chat.update" | "channel.shared_chat.end" | "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.moderate" | "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_automatic_reward_redemption.add" | "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.suspicious_user.message" | "channel.suspicious_user.update" | "channel.vip.add" | "channel.vip.remove" | "channel.warning.acknowledge" | "channel.warning.send" | "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" | "user.whisper.message";
7339
7549
  /** @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). */
7340
7550
  user_id?: string;
7551
+ /** @description Returns an array with the subscription matching the ID (as long as it is owned by the client making the request), or an empty array if there is no matching subscription. */
7552
+ subscription_id?: string;
7341
7553
  /** @description The cursor used to get the next page of results. The `pagination` object in the response contains the cursor's value. */
7342
7554
  after?: string;
7343
7555
  };
@@ -8292,8 +8504,11 @@ interface operations {
8292
8504
  };
8293
8505
  };
8294
8506
  /**
8507
+ * DEPRECATED Gets information about the broadcaster’s current or most recent Hype Train event.
8508
+ * @deprecated
8509
+ * @description DEPRECATED Scheduled for removal on December 4, 2025\. Use “Get Hype Train Status” instead. See [announcement](https://discuss.dev.twitch.com/t/legacy-get-hype-train-events-api-and-eventsub-hype-train-v1-subscription-types-deprecation-and-withdrawal-timeline/64299).
8510
+ *
8295
8511
  * Gets information about the broadcaster’s current or most recent Hype Train event.
8296
- * @description Gets information about the broadcaster’s current or most recent Hype Train event.
8297
8512
  *
8298
8513
  * Instead of polling for events, consider [subscribing](https://dev.twitch.tv/docs/eventsub/manage-subscriptions) to Hype Train events ([Begin](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelhype%5Ftrainbegin), [Progress](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelhype%5Ftrainprogress), [End](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelhype%5Ftrainend)).
8299
8514
  *
@@ -8331,6 +8546,47 @@ interface operations {
8331
8546
  };
8332
8547
  };
8333
8548
  };
8549
+ /**
8550
+ * NEW Gets the status of a Hype Train for the specified broadcaster.
8551
+ * @description NEW Get the status of a Hype Train for the specified broadcaster.
8552
+ *
8553
+ * __Authorization:__
8554
+ *
8555
+ * * Requires an [user access token](https://dev.twitch.tv/docs/authentication/#user-access-tokens).
8556
+ * * Requires OAuth Scope: `channel:read:hype_train`.
8557
+ * * Requires that `broadcaster_id` and `user_id` match in the User-Access token.
8558
+ */
8559
+ "get-hype-train-status": {
8560
+ parameters: {
8561
+ query: {
8562
+ /** @description The User ID of the channel broadcaster. */
8563
+ broadcaster_id: string;
8564
+ };
8565
+ };
8566
+ responses: {
8567
+ /** @description Successfully retrieved the status object. */
8568
+ 200: {
8569
+ content: {
8570
+ "application/json": components["schemas"]["GetHypeTrainStatusResponse"];
8571
+ };
8572
+ };
8573
+ /** @description The ID in the `broadcaster_id` query parameter is not valid. */
8574
+ 400: {
8575
+ content: never;
8576
+ };
8577
+ /**
8578
+ * @description * The OAuth token is not valid.
8579
+ * * The Authorization header is required and must contain a user access token.
8580
+ */
8581
+ 401: {
8582
+ content: never;
8583
+ };
8584
+ /** @description Internal Server Error. */
8585
+ 500: {
8586
+ content: never;
8587
+ };
8588
+ };
8589
+ };
8334
8590
  /**
8335
8591
  * Checks whether AutoMod would flag the specified message for review.
8336
8592
  * @description Checks whether AutoMod would flag the specified message for review.
@@ -11240,6 +11496,53 @@ interface operations {
11240
11496
  401: {
11241
11497
  content: never;
11242
11498
  };
11499
+ /** @description The app exceeded the number of requests that it may make. */
11500
+ 429: {
11501
+ content: never;
11502
+ };
11503
+ };
11504
+ };
11505
+ /**
11506
+ * NEW Gets the authorization scopes that the specified user has granted the application.
11507
+ * @description NEW Gets the authorization scopes that the specified user(s) have granted the application.
11508
+ *
11509
+ * __Authorization:__
11510
+ *
11511
+ * Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens).
11512
+ */
11513
+ "get-authorization-by-user": {
11514
+ parameters: {
11515
+ query: {
11516
+ /** @description The ID of the user(s) you want to check authorization for. To specify more than one user, include the user\_id parameter for each user to get. For example, `user_id=1234&user_id=5678`. The maximum number of IDs you may specify is 10. */
11517
+ user_id: string[];
11518
+ };
11519
+ };
11520
+ responses: {
11521
+ /** @description Successfully retrieved user authorization. */
11522
+ 200: {
11523
+ content: {
11524
+ "application/json": components["schemas"]["GetAuthorizationByUserResponse"];
11525
+ };
11526
+ };
11527
+ /** @description Request is malformed - invalid parameters or missing parameters. */
11528
+ 400: {
11529
+ content: never;
11530
+ };
11531
+ /**
11532
+ * @description * The access token is not valid.
11533
+ * * Authorization header is required and must specify an app access token.
11534
+ */
11535
+ 401: {
11536
+ content: never;
11537
+ };
11538
+ /** @description The client-id in the header must match the client ID in the access token. */
11539
+ 403: {
11540
+ content: never;
11541
+ };
11542
+ /** @description Internal Server Error. */
11543
+ 500: {
11544
+ content: never;
11545
+ };
11243
11546
  };
11244
11547
  };
11245
11548
  /**
@@ -11823,6 +12126,7 @@ type GetUserChatColorParams = ParamsSchema<'get-user-chat-color'>;
11823
12126
  type UpdateUserChatColorParams = ParamsSchema<'update-user-chat-color'>;
11824
12127
  type CreateClipParams = ParamsSchema<'create-clip'>;
11825
12128
  type GetClipsParams = ParamsSchema<'get-clips'>;
12129
+ type GetClipsDownloadParams = ParamsSchema<'get-clips-download'>;
11826
12130
  type DeleteConduitParams = ParamsSchema<'delete-conduit'>;
11827
12131
  type GetConduitShardsParams = ParamsSchema<'get-conduit-shards'>;
11828
12132
  type GetContentClassificationLabelsParams = ParamsSchema<'get-content-classification-labels'>;
@@ -11853,6 +12157,7 @@ type UpdateGuestStarSlotParams = ParamsSchema<'update-guest-star-slot'>;
11853
12157
  type DeleteGuestStarSlotParams = ParamsSchema<'delete-guest-star-slot'>;
11854
12158
  type UpdateGuestStarSlotSettingsParams = ParamsSchema<'update-guest-star-slot-settings'>;
11855
12159
  type GetHypeTrainEventsParams = ParamsSchema<'get-hype-train-events'>;
12160
+ type GetHypeTrainStatusParams = ParamsSchema<'get-hype-train-status'>;
11856
12161
  type CheckAutoModStatusParams = ParamsSchema<'check-automod-status'>;
11857
12162
  type GetAutoModSettingsParams = ParamsSchema<'get-automod-settings'>;
11858
12163
  type UpdateAutoModSettingsParams = ParamsSchema<'update-automod-settings'>;
@@ -11899,6 +12204,7 @@ type GetChannelTeamsParams = ParamsSchema<'get-channel-teams'>;
11899
12204
  type GetTeamsParams = ParamsSchema<'get-teams'>;
11900
12205
  type GetUsersParams = ParamsSchema<'get-users'>;
11901
12206
  type UpdateUserParams = ParamsSchema<'update-user'>;
12207
+ type GetAuthorizationByUserParams = ParamsSchema<'get-authorization-by-user'>;
11902
12208
  type GetUserBlockListParams = ParamsSchema<'get-user-block-list'>;
11903
12209
  type BlockUserParams = ParamsSchema<'block-user'>;
11904
12210
  type UnblockUserParams = ParamsSchema<'unblock-user'>;
@@ -11970,6 +12276,7 @@ type GetUserChatColorResponse = Schema<'GetUserChatColorResponse'>;
11970
12276
  type CreateClipResponse = Schema<'CreateClipResponse'>;
11971
12277
  type Clip = Schema<'Clip'>;
11972
12278
  type GetClipsResponse = Schema<'GetClipsResponse'>;
12279
+ type GetClipsDownloadResponse = Schema<'GetClipsDownloadResponse'>;
11973
12280
  type GetConduitsResponse = Schema<'GetConduitsResponse'>;
11974
12281
  type CreateConduitsBody = Schema<'CreateConduitsBody'>;
11975
12282
  type CreateConduitsResponse = Schema<'CreateConduitsResponse'>;
@@ -12024,6 +12331,7 @@ type GuestStarInvite = Schema<'GuestStarInvite'>;
12024
12331
  type GetGuestStarInvitesResponse = Schema<'GetGuestStarInvitesResponse'>;
12025
12332
  type HypeTrainEvent = Schema<'HypeTrainEvent'>;
12026
12333
  type GetHypeTrainEventsResponse = Schema<'GetHypeTrainEventsResponse'>;
12334
+ type GetHypeTrainStatusResponse = Schema<'GetHypeTrainStatusResponse'>;
12027
12335
  type CheckAutoModStatusBody = Schema<'CheckAutoModStatusBody'>;
12028
12336
  type AutoModStatus = Schema<'AutoModStatus'>;
12029
12337
  type CheckAutoModStatusResponse = Schema<'CheckAutoModStatusResponse'>;
@@ -12099,6 +12407,7 @@ type GetTeamsResponse = Schema<'GetTeamsResponse'>;
12099
12407
  type User = Schema<'User'>;
12100
12408
  type GetUsersResponse = Schema<'GetUsersResponse'>;
12101
12409
  type UpdateUserResponse = Schema<'UpdateUserResponse'>;
12410
+ type GetAuthorizationByUserResponse = Schema<'GetAuthorizationByUserResponse'>;
12102
12411
  type UserBlockList = Schema<'UserBlockList'>;
12103
12412
  type GetUserBlockListResponse = Schema<'GetUserBlockListResponse'>;
12104
12413
  type UserExtension = Schema<'UserExtension'>;
@@ -13600,6 +13909,11 @@ declare class TwitchApi {
13600
13909
  /**
13601
13910
  * NEW Sends a message to the broadcaster’s chat room.
13602
13911
  *
13912
+ * **NOTE:** When sending messages to a Shared Chat session, behaviors differ depending on your authentication token type:
13913
+ *
13914
+ * * When using an _App Access Token_, messages will only be sent to the source channel (defined by the `broadcaster_id` parameter) by default starting on May 19, 2025\. Messages can be sent to all channels by using the `for_source_only` parameter and setting it to `false`.
13915
+ * * When using a _User Access Token_, messages will be sent to all channels in the shared chat session, including the source channel. This behavior cannot be changed with this token type.
13916
+ *
13603
13917
  * __Authorization:__
13604
13918
  *
13605
13919
  * 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) that includes the `user:write:chat` scope. If app access token used, then additionally requires `user:bot` scope from chatting user, and either `channel:bot` scope from broadcaster or moderator status.
@@ -13622,6 +13936,7 @@ declare class TwitchApi {
13622
13936
  * * The ID in the _sender\_id_ query parameter is not valid.
13623
13937
  * * The _text_ query parameter is required.
13624
13938
  * * The ID in the _reply\_parent\_message\_id_ query parameter is not valid.
13939
+ * * Cannot set \*for\_source\_only\* if User Access Token is used.
13625
13940
  *
13626
13941
  * _401 Unauthorized_
13627
13942
  *
@@ -13818,6 +14133,54 @@ declare class TwitchApi {
13818
14133
  cursor?: string;
13819
14134
  };
13820
14135
  }, 200, 400 | 401 | 404>;
14136
+ /**
14137
+ * NEW Provides URLs to download the video file(s) for the specified clips. For information about clips, see [How to use clips](https://help.twitch.tv/s/article/how-to-use-clips).
14138
+ *
14139
+ * **Rate Limits**: Limited to 100 requests per minute.
14140
+ *
14141
+ * __Authorization:__
14142
+ *
14143
+ * 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) that includes the `editor:manage:clips` or `channel:manage:clips` scope.
14144
+ *
14145
+ * __URL:__
14146
+ *
14147
+ * `GET https://api.twitch.tv/helix/clips/downloads`
14148
+ *
14149
+ * __Response Codes:__
14150
+ *
14151
+ * _200 OK_
14152
+ *
14153
+ * Successfully retrieved the clip download URL(s).
14154
+ *
14155
+ * _400 Bad Request_
14156
+ *
14157
+ * The ID in the broadcaster\_id, editor\_id, or clip\_id query parameter is not valid.
14158
+ *
14159
+ * _401 Unauthorized_
14160
+ *
14161
+ * * The OAuth token is not valid.
14162
+ * * The Authorization header is required and must contain a user access token or app access token.
14163
+ * * The access token must include the editor:manage:clips or channel:manage:clips scope
14164
+ * * The access token is not valid
14165
+ * * The client ID specified in the Client-Id header does not match the client ID specified in the access token.
14166
+ *
14167
+ * _403 Forbidden_
14168
+ *
14169
+ * The user is not an editor for the specified broadcaster.
14170
+ *
14171
+ * _500 Internal Server Error_
14172
+ *
14173
+ * Internal Server Error.
14174
+ *
14175
+ * @see https://dev.twitch.tv/docs/api/reference#get-clips-download
14176
+ */
14177
+ getClipsDownload: (params: GetClipsDownloadParams, options?: CallApiOptions["options"]) => ApiResponse<{
14178
+ data: {
14179
+ clip_id: string;
14180
+ landscape_download_url: string;
14181
+ portrait_download_url: string;
14182
+ }[];
14183
+ }, 200, 400 | 401 | 403 | 500>;
13821
14184
  };
13822
14185
  conduits: {
13823
14186
  /**
@@ -14111,7 +14474,7 @@ declare class TwitchApi {
14111
14474
  *
14112
14475
  * __Authorization:__
14113
14476
  *
14114
- * 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.
14477
+ * 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 associated with the access token must be owned by a user who is a member of the [organization](https://dev.twitch.tv/docs/docs/companies/) that holds ownership of the game.
14115
14478
  *
14116
14479
  * __URL:__
14117
14480
  *
@@ -14164,7 +14527,7 @@ declare class TwitchApi {
14164
14527
  *
14165
14528
  * __Authorization:__
14166
14529
  *
14167
- * 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.
14530
+ * 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 associated with the access token must be owned by a user who is a member of the [organization](https://dev.twitch.tv/docs/docs/companies/) that holds ownership of the game.
14168
14531
  *
14169
14532
  * __URL:__
14170
14533
  *
@@ -14769,7 +15132,7 @@ declare class TwitchApi {
14769
15132
  *
14770
15133
  * __Request Query Parameters:__
14771
15134
  *
14772
- * Use the _status_, _type_, and _user\_id_ query parameters to filter the list of subscriptions that are returned. The filters are mutually exclusive; the request fails if you specify more than one filter.
15135
+ * Use the _status_, _type_, _user\_id_, and _subscription\_id_ query parameters to filter the list of subscriptions that are returned. The filters are mutually exclusive; the request fails if you specify more than one filter.
14773
15136
  *
14774
15137
  * __URL:__
14775
15138
  *
@@ -15300,6 +15663,8 @@ declare class TwitchApi {
15300
15663
  };
15301
15664
  hypeTrain: {
15302
15665
  /**
15666
+ * DEPRECATED Scheduled for removal on December 4, 2025\. Use “Get Hype Train Status” instead. See [announcement](https://discuss.dev.twitch.com/t/legacy-get-hype-train-events-api-and-eventsub-hype-train-v1-subscription-types-deprecation-and-withdrawal-timeline/64299).
15667
+ *
15303
15668
  * Gets information about the broadcaster’s current or most recent Hype Train event.
15304
15669
  *
15305
15670
  * Instead of polling for events, consider [subscribing](https://dev.twitch.tv/docs/eventsub/manage-subscriptions) to Hype Train events ([Begin](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelhype%5Ftrainbegin), [Progress](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelhype%5Ftrainprogress), [End](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelhype%5Ftrainend)).
@@ -15334,6 +15699,79 @@ declare class TwitchApi {
15334
15699
  cursor?: string;
15335
15700
  };
15336
15701
  }, 200, 401>;
15702
+ /**
15703
+ * NEW Get the status of a Hype Train for the specified broadcaster.
15704
+ *
15705
+ * __Authorization:__
15706
+ *
15707
+ * * Requires an [user access token](https://dev.twitch.tv/docs/authentication/#user-access-tokens).
15708
+ * * Requires OAuth Scope: `channel:read:hype_train`.
15709
+ * * Requires that `broadcaster_id` and `user_id` match in the User-Access token.
15710
+ *
15711
+ * __URL:__
15712
+ *
15713
+ * `GET https://api.twitch.tv/helix/hypetrain/status`
15714
+ *
15715
+ * __Response Codes:__
15716
+ *
15717
+ * _200 OK_
15718
+ *
15719
+ * Successfully retrieved the status object.
15720
+ *
15721
+ * _400 Bad Request_
15722
+ *
15723
+ * The ID in the `broadcaster_id` query parameter is not valid.
15724
+ *
15725
+ * _401 Unauthorized_
15726
+ *
15727
+ * * The OAuth token is not valid.
15728
+ * * The Authorization header is required and must contain a user access token.
15729
+ *
15730
+ * _500 Internal Server Error_
15731
+ *
15732
+ * Internal Server Error.
15733
+ *
15734
+ * @see https://dev.twitch.tv/docs/api/reference#get-hype-train-status
15735
+ */
15736
+ getHypeTrainStatus: (params: GetHypeTrainStatusParams, options?: CallApiOptions["options"]) => ApiResponse<{
15737
+ data: ({
15738
+ current: {
15739
+ id: string;
15740
+ broadcaster_user_id: string;
15741
+ broadcaster_user_login: string;
15742
+ broadcaster_user_name: string;
15743
+ level: number;
15744
+ total: number;
15745
+ progress: number;
15746
+ goal: number;
15747
+ top_contributions: ({
15748
+ user_id: string;
15749
+ user_login: string;
15750
+ user_name: string;
15751
+ type: "treasure" | "golden_kappa" | "regular";
15752
+ total: number;
15753
+ shared_train_participants: {
15754
+ broadcaster_user_id: string;
15755
+ broadcaster_user_login: string;
15756
+ broadcaster_user_name: string;
15757
+ }[];
15758
+ started_at: string;
15759
+ expires_at: string;
15760
+ is_shared_train: boolean;
15761
+ })[];
15762
+ };
15763
+ })[];
15764
+ all_time_high: {
15765
+ level: number;
15766
+ total: number;
15767
+ achieved_at: string;
15768
+ };
15769
+ shared_all_time_high: {
15770
+ level: number;
15771
+ total: number;
15772
+ achieved_at: string;
15773
+ };
15774
+ }, 200, 400 | 401 | 500>;
15337
15775
  };
15338
15776
  moderation: {
15339
15777
  /**
@@ -17673,11 +18111,59 @@ declare class TwitchApi {
17673
18111
  * * The access token is not valid.
17674
18112
  * * The ID specified in the Client-Id header does not match the client ID specified in the access token.
17675
18113
  *
18114
+ * _429 Too Many Requests_
18115
+ *
18116
+ * The app exceeded the number of requests that it may make.
18117
+ *
17676
18118
  * @see https://dev.twitch.tv/docs/api/reference#update-user
17677
18119
  */
17678
18120
  updateUser: (params?: UpdateUserParams | null | undefined, options?: CallApiOptions["options"]) => ApiResponse<{
17679
18121
  data: components["schemas"]["User"][];
17680
- }, 200, 400 | 401>;
18122
+ }, 200, 400 | 401 | 429>;
18123
+ /**
18124
+ * NEW Gets the authorization scopes that the specified user(s) have granted the application.
18125
+ *
18126
+ * __Authorization:__
18127
+ *
18128
+ * Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens).
18129
+ *
18130
+ * __URL:__
18131
+ *
18132
+ * `GET https://api.twitch.tv/helix/authorization/users`
18133
+ *
18134
+ * __Response Codes:__
18135
+ *
18136
+ * _200 OK_
18137
+ *
18138
+ * Successfully retrieved user authorization.
18139
+ *
18140
+ * _400 Bad Request_
18141
+ *
18142
+ * Request is malformed - invalid parameters or missing parameters.
18143
+ *
18144
+ * _401 Unauthorized_
18145
+ *
18146
+ * * The access token is not valid.
18147
+ * * Authorization header is required and must specify an app access token.
18148
+ *
18149
+ * _403 Forbidden_
18150
+ *
18151
+ * The client-id in the header must match the client ID in the access token.
18152
+ *
18153
+ * _500 Internal Server Error_
18154
+ *
18155
+ * Internal Server Error.
18156
+ *
18157
+ * @see https://dev.twitch.tv/docs/api/reference#get-authorization-by-user
18158
+ */
18159
+ getAuthorizationByUser: (params: GetAuthorizationByUserParams, options?: CallApiOptions["options"]) => ApiResponse<{
18160
+ data: {
18161
+ user_id: string;
18162
+ user_name: string;
18163
+ user_login: string;
18164
+ scopes: string[];
18165
+ }[];
18166
+ }, 200, 400 | 401 | 403 | 500>;
17681
18167
  /**
17682
18168
  * Gets the list of users that the broadcaster has blocked. [Read More](https://help.twitch.tv/s/article/how-to-manage-harassment-in-chat?language=en%5FUS#BlockWhispersandMessagesfromStrangers)
17683
18169
  *
@@ -18051,4 +18537,4 @@ declare class TwitchApi {
18051
18537
  };
18052
18538
  }
18053
18539
 
18054
- 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 GetSharedChatSessionParams, type GetSharedChatSessionResponse, 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, type WarnChatUserBody, type WarnChatUserParams, type WarnChatUserResponse };
18540
+ 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 GetAuthorizationByUserParams, type GetAuthorizationByUserResponse, 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 GetClipsDownloadParams, type GetClipsDownloadResponse, 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 GetHypeTrainStatusParams, type GetHypeTrainStatusResponse, type GetModeratedChannelsParams, type GetModeratedChannelsResponse, type GetModeratorsParams, type GetModeratorsResponse, type GetPollsParams, type GetPollsResponse, type GetPredictionsParams, type GetPredictionsResponse, type GetReleasedExtensionsParams, type GetReleasedExtensionsResponse, type GetSharedChatSessionParams, type GetSharedChatSessionResponse, 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, type WarnChatUserBody, type WarnChatUserParams, type WarnChatUserResponse };