ts-twitch-api 0.2.6 → 0.2.8

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
@@ -1340,7 +1340,7 @@ interface components {
1340
1340
  *
1341
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
1342
  */
1343
- for_source_only?: Record<string, never>;
1343
+ for_source_only?: boolean;
1344
1344
  };
1345
1345
  SendChatMessageResponse: {
1346
1346
  data: {
@@ -1372,15 +1372,25 @@ interface components {
1372
1372
  data: components["schemas"]["UserChatColor"][];
1373
1373
  };
1374
1374
  CreateClipResponse: {
1375
+ /** @description A list containing the created clip. */
1375
1376
  data: {
1377
+ /** @description An ID that uniquely identifies the clip. */
1378
+ id: string;
1376
1379
  /**
1377
1380
  * @description A URL that you can use to edit the clip’s title, identify the part of the clip to publish, and publish the clip. [Learn More](https://help.twitch.tv/s/article/how-to-use-clips)
1378
1381
  *
1379
1382
  * The URL is valid for up to 24 hours or until the clip is published, whichever comes first.
1380
1383
  */
1381
1384
  edit_url: string;
1385
+ }[];
1386
+ };
1387
+ CreateClipFromVODResponse: {
1388
+ /** @description A list containing the created clip. */
1389
+ data: {
1382
1390
  /** @description An ID that uniquely identifies the clip. */
1383
1391
  id: string;
1392
+ /** @description A URL you can use to edit the clip’s title, feature the clip, create a portrait version of the clip, download the clip media, and share the clip directly to third-party platforms. */
1393
+ edit_url: string;
1384
1394
  }[];
1385
1395
  };
1386
1396
  Clip: {
@@ -1442,6 +1452,17 @@ interface components {
1442
1452
  cursor?: string;
1443
1453
  };
1444
1454
  };
1455
+ GetClipsDownloadResponse: {
1456
+ /** @description List of clips and their download URLs. */
1457
+ data: {
1458
+ /** @description An ID that uniquely identifies the clip. */
1459
+ clip_id: string;
1460
+ /** @description The landscape URL to download the clip. This field is `null` if the URL is not available. */
1461
+ landscape_download_url: string;
1462
+ /** @description The portrait URL to download the clip. This field is `null` if the URL is not available. */
1463
+ portrait_download_url: string;
1464
+ }[];
1465
+ };
1445
1466
  GetConduitsResponse: {
1446
1467
  /** @description List of information about the client’s conduits. */
1447
1468
  data: {
@@ -2511,6 +2532,7 @@ interface components {
2511
2532
  total: number;
2512
2533
  };
2513
2534
  };
2535
+ /** @deprecated */
2514
2536
  GetHypeTrainEventsResponse: {
2515
2537
  /** @description The list of Hype Train events. The list is empty if the broadcaster hasn’t run a Hype Train within the last 5 days. */
2516
2538
  data: components["schemas"]["HypeTrainEvent"][];
@@ -3719,27 +3741,28 @@ interface components {
3719
3741
  /** @description The user’s login name. */
3720
3742
  user_login: string;
3721
3743
  /** @description A list of videos that contain markers. The list contains a single video. */
3722
- videos: Record<string, never>[];
3723
- /** @description An ID that identifies this video. */
3724
- video_id: string;
3725
- /** @description The list of markers in this video. The list in ascending order by when the marker was created. */
3726
- markers: {
3727
- /** @description An ID that identifies this marker. */
3728
- id: string;
3729
- /**
3730
- * Format: date-time
3731
- * @description The UTC date and time (in RFC3339 format) of when the user created the marker.
3732
- */
3733
- created_at: string;
3734
- /** @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. */
3735
- description: string;
3736
- /**
3737
- * Format: int32
3738
- * @description The relative offset (in seconds) of the marker from the beginning of the stream.
3739
- */
3740
- position_seconds: number;
3741
- /** @description A URL that opens the video in Twitch Highlighter. */
3742
- url: string;
3744
+ videos: {
3745
+ /** @description An ID that identifies this video. */
3746
+ video_id: string;
3747
+ /** @description The list of markers in this video. The list in ascending order by when the marker was created. */
3748
+ markers: {
3749
+ /** @description An ID that identifies this marker. */
3750
+ id: string;
3751
+ /**
3752
+ * Format: date-time
3753
+ * @description The UTC date and time (in RFC3339 format) of when the user created the marker.
3754
+ */
3755
+ created_at: string;
3756
+ /** @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. */
3757
+ description: string;
3758
+ /**
3759
+ * Format: int32
3760
+ * @description The relative offset (in seconds) of the marker from the beginning of the stream.
3761
+ */
3762
+ position_seconds: number;
3763
+ /** @description A URL that opens the video in Twitch Highlighter. */
3764
+ url: string;
3765
+ }[];
3743
3766
  }[];
3744
3767
  };
3745
3768
  GetStreamMarkersResponse: {
@@ -3970,6 +3993,7 @@ interface components {
3970
3993
  offline_image_url: string;
3971
3994
  /**
3972
3995
  * Format: int32
3996
+ * @deprecated
3973
3997
  * @description The number of times the user's channel has been viewed.
3974
3998
  *
3975
3999
  * **NOTE**: This field has been deprecated (see [Get Users API endpoint – "view\_count" deprecation](https://discuss.dev.twitch.tv/t/get-users-api-endpoint-view-count-deprecation/37777)). Any data in this field is not valid and should not be used.
@@ -3995,6 +4019,19 @@ interface components {
3995
4019
  /** @description A list contains the single user that you updated. */
3996
4020
  data: components["schemas"]["User"][];
3997
4021
  };
4022
+ GetAuthorizationByUserResponse: {
4023
+ /** @description List of users and their authorized scopes. */
4024
+ data: ({
4025
+ /** @description The user’s ID. */
4026
+ user_id: string;
4027
+ /** @description The user’s display name. */
4028
+ user_name: string;
4029
+ /** @description The user’s login name. */
4030
+ user_login: string;
4031
+ /** @description An array of all the scopes the user has granted to the client ID. */
4032
+ scopes: ("analytics:read:extensions" | "analytics:read:games" | "bits:read" | "channel:bot" | "channel:manage:ads" | "channel:read:ads" | "channel:manage:broadcast" | "channel:read:charity" | "channel:manage:clips" | "channel:edit:commercial" | "channel:read:editors" | "channel:manage:extensions" | "channel:read:goals" | "channel:read:guest_star" | "channel:manage:guest_star" | "channel:read:hype_train" | "channel:manage:moderators" | "channel:read:polls" | "channel:manage:polls" | "channel:read:predictions" | "channel:manage:predictions" | "channel:manage:raids" | "channel:read:redemptions" | "channel:manage:redemptions" | "channel:manage:schedule" | "channel:read:stream_key" | "channel:read:subscriptions" | "channel:manage:videos" | "channel:read:vips" | "channel:manage:vips" | "channel:moderate" | "clips:edit" | "editor:manage:clips" | "moderation:read" | "moderator:manage:announcements" | "moderator:manage:automod" | "moderator:read:automod_settings" | "moderator:manage:automod_settings" | "moderator:read:banned_users" | "moderator:manage:banned_users" | "moderator:read:blocked_terms" | "moderator:read:chat_messages" | "moderator:manage:blocked_terms" | "moderator:manage:chat_messages" | "moderator:read:chat_settings" | "moderator:manage:chat_settings" | "moderator:read:chatters" | "moderator:read:followers" | "moderator:read:guest_star" | "moderator:manage:guest_star" | "moderator:read:moderators" | "moderator:read:shield_mode" | "moderator:manage:shield_mode" | "moderator:read:shoutouts" | "moderator:manage:shoutouts" | "moderator:read:suspicious_users" | "moderator:read:unban_requests" | "moderator:manage:unban_requests" | "moderator:read:vips" | "moderator:read:warnings" | "moderator:manage:warnings" | "user:bot" | "user:edit" | "user:edit:broadcast" | "user:read:blocked_users" | "user:manage:blocked_users" | "user:read:broadcast" | "user:read:chat" | "user:manage:chat_color" | "user:read:email" | "user:read:emotes" | "user:read:follows" | "user:read:moderated_channels" | "user:read:subscriptions" | "user:read:whispers" | "user:manage:whispers" | "user:write:chat" | "chat:edit" | "chat:read" | "whispers:read")[];
4033
+ })[];
4034
+ };
3998
4035
  UserBlockList: {
3999
4036
  /** @description An ID that identifies the blocked user. */
4000
4037
  user_id: string;
@@ -6358,7 +6395,7 @@ interface operations {
6358
6395
  * Creates a clip from the broadcaster’s stream.
6359
6396
  * @description Creates a clip from the broadcaster’s stream.
6360
6397
  *
6361
- * This API captures up to 90 seconds of the broadcaster’s stream. The 90 seconds spans the point in the stream from when you called the API. For example, if you call the API at the 4:00 minute mark, the API captures from approximately the 3:35 mark to approximately the 4:05 minute mark. Twitch tries its best to capture 90 seconds of the stream, but the actual length may be less. This may occur if you begin capturing the clip near the beginning or end of the stream.
6398
+ * This API captures up to 90 seconds of the broadcaster’s stream. The 90 seconds spans the point in the stream from when you called the API. For example, if you call the API at the 4:00 minute mark, the API captures from approximately the 2:35 mark to approximately the 4:05 minute mark. Twitch tries its best to capture 90 seconds of the stream, but the actual length may be less. This may occur if you begin capturing the clip near the beginning or end of the stream.
6362
6399
  *
6363
6400
  * By default, Twitch publishes up to the last 30 seconds of the 90 seconds window and provides a default title for the clip. To specify the title and the portion of the 90 seconds window that’s used for the clip, use the URL in the response’s `edit_url` field. You can specify a clip that’s from 5 seconds to 60 seconds in length. The URL is valid for up to 24 hours or until the clip is published, whichever comes first.
6364
6401
  *
@@ -6373,8 +6410,10 @@ interface operations {
6373
6410
  query: {
6374
6411
  /** @description The ID of the broadcaster whose stream you want to create a clip from. */
6375
6412
  broadcaster_id: string;
6376
- /** @description A Boolean value that determines whether the API captures the clip at the moment the viewer requests it or after a delay. If **false** (default), Twitch captures the clip at the moment the viewer requests it (this is the same clip experience as the Twitch UX). If **true**, Twitch adds a delay before capturing the clip (this basically shifts the capture window to the right slightly). */
6377
- has_delay?: boolean;
6413
+ /** @description The title of the clip. */
6414
+ title?: string;
6415
+ /** @description The length of the clip in seconds. Possible values range from 5 to 60 inclusively with a precision of 0.1\. The default is 30. */
6416
+ duration?: Record<string, never>;
6378
6417
  };
6379
6418
  };
6380
6419
  responses: {
@@ -6387,6 +6426,8 @@ interface operations {
6387
6426
  /**
6388
6427
  * @description * The _broadcaster\_id_ query parameter is required.
6389
6428
  * * The ID in the _broadcaster\_id_ query parameter was not found.
6429
+ * * The category is not clippable.
6430
+ * * The title did not pass AutoMod checks.
6390
6431
  */
6391
6432
  400: {
6392
6433
  content: never;
@@ -6403,6 +6444,7 @@ interface operations {
6403
6444
  /**
6404
6445
  * @description * The broadcaster has restricted the ability to capture clips to followers and/or subscribers only.
6405
6446
  * * The specified broadcaster has not enabled clips on their channel.
6447
+ * * The user is banned or timed out from the broadcaster’s channel.
6406
6448
  */
6407
6449
  403: {
6408
6450
  content: never;
@@ -6413,6 +6455,135 @@ interface operations {
6413
6455
  };
6414
6456
  };
6415
6457
  };
6458
+ /**
6459
+ * BETA Creates a clip from the broadcaster’s VOD.
6460
+ * @description BETA Creates a clip from a broadcaster’s VOD on behalf of the broadcaster or an editor of the channel. Since a live stream is actively creating a VOD, this endpoint can also be used to create a clip from earlier in the current stream.
6461
+ *
6462
+ * The duration of a clip can be from 5 seconds to 60 seconds in length, with a default of 30 seconds if not specified.
6463
+ *
6464
+ * `vod_offset` indicates where the clip will end. In other words, the clip will start at (`vod_offset` \- `duration`) and end at `vod_offset`. This means that the value of `vod_offset` must greater than or equal to the value of `duration`.
6465
+ *
6466
+ * The URL in the response’s `edit_url` field allows you to edit the clip’s title, feature the clip, create a portrait version of the clip, download the clip media, and share the clip directly to social platforms.
6467
+ *
6468
+ * __Authorization:__
6469
+ *
6470
+ * 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.
6471
+ */
6472
+ "create-clip-from-vod": {
6473
+ parameters: {
6474
+ query: {
6475
+ /** @description The user ID of the editor for the channel you want to create 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. */
6476
+ editor_id: string;
6477
+ /** @description The user ID for the channel you want to create a clip for. */
6478
+ broadcaster_id: string;
6479
+ /** @description ID of the VOD the user wants to clip. */
6480
+ vod_id: string;
6481
+ /** @description Offset in the VOD to create the clip. See notes above. */
6482
+ vod_offset: number;
6483
+ /** @description The length of the clip, in seconds. Precision is 0.1\. Defaults to 30\. Min: 5 seconds, Max: 60 seconds. */
6484
+ duration?: Record<string, never>;
6485
+ /** @description The title of the clip. */
6486
+ title: string;
6487
+ };
6488
+ };
6489
+ responses: {
6490
+ /** @description Successfully started the clip process. */
6491
+ 202: {
6492
+ content: {
6493
+ "application/json": components["schemas"]["CreateClipFromVODResponse"];
6494
+ };
6495
+ };
6496
+ /**
6497
+ * @description * Validation errors: Invalid source type, missing required fields.
6498
+ * * The broadcaster\_id query parameter is required.
6499
+ * * The ID in the broadcaster\_id query parameter was not found.
6500
+ * * The category is not clippable.
6501
+ * * The title did not pass AutoMod checks.
6502
+ * * Broadcaster is banned.
6503
+ */
6504
+ 400: {
6505
+ content: never;
6506
+ };
6507
+ /**
6508
+ * @description * The Authorization header is required and must specify user access token.
6509
+ * * The user access token must include the **editor:manage:clips** or **channel:manage:clips** scope.
6510
+ * * The OAuth token is not valid.
6511
+ * * The ID in the Client-Id header must match the Client ID in the OAuth token.
6512
+ */
6513
+ 401: {
6514
+ content: never;
6515
+ };
6516
+ /**
6517
+ * @description * The broadcaster has restricted the ability to capture clips to followers and/or subscribers only.
6518
+ * * The specified broadcaster has not enabled clips on their channel.
6519
+ * * The user defined by the _editor\_id_ is not authorized to create Clips.
6520
+ * * The user is banned or timed out from the broadcaster's channel.
6521
+ */
6522
+ 403: {
6523
+ content: never;
6524
+ };
6525
+ /**
6526
+ * @description * The broadcaster in the _broadcaster\_id_ query parameter must be broadcasting live.
6527
+ * * The VOD is not found..
6528
+ * * The _broadcaster\_id_ or the _editor\_id_ does not exist.
6529
+ */
6530
+ 404: {
6531
+ content: never;
6532
+ };
6533
+ };
6534
+ };
6535
+ /**
6536
+ * NEW Provides URLs to download the video file(s) for the specified clips.
6537
+ * @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).
6538
+ *
6539
+ * **Rate Limits**: Limited to 100 requests per minute.
6540
+ *
6541
+ * __Authorization:__
6542
+ *
6543
+ * 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.
6544
+ */
6545
+ "get-clips-download": {
6546
+ parameters: {
6547
+ query: {
6548
+ /** @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. */
6549
+ editor_id: string;
6550
+ /** @description The ID of the broadcaster you want to download clips for. */
6551
+ broadcaster_id: string;
6552
+ /** @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`. */
6553
+ clip_id: string[];
6554
+ };
6555
+ };
6556
+ responses: {
6557
+ /** @description Successfully retrieved the clip download URL(s). */
6558
+ 200: {
6559
+ content: {
6560
+ "application/json": components["schemas"]["GetClipsDownloadResponse"];
6561
+ };
6562
+ };
6563
+ /** @description The ID in the broadcaster\_id, editor\_id, or clip\_id query parameter is not valid. */
6564
+ 400: {
6565
+ content: never;
6566
+ };
6567
+ /**
6568
+ * @description * The OAuth token is not valid.
6569
+ * * The Authorization header is required and must contain a user access token or app access token.
6570
+ * * The access token must include the editor:manage:clips or channel:manage:clips scope
6571
+ * * The access token is not valid
6572
+ * * The client ID specified in the Client-Id header does not match the client ID specified in the access token.
6573
+ */
6574
+ 401: {
6575
+ content: never;
6576
+ };
6577
+ /** @description The user is not an editor for the specified broadcaster. */
6578
+ 403: {
6579
+ content: never;
6580
+ };
6581
+ /** @description Internal Server Error. */
6582
+ 500: {
6583
+ content: never;
6584
+ };
6585
+ };
6586
+ };
6416
6587
  /**
6417
6588
  * NEW Gets the conduits for a client ID.
6418
6589
  * @description NEW Gets the [conduits](https://dev.twitch.tv/docs/eventsub/handling-conduit-events/) for a client ID.
@@ -8427,8 +8598,11 @@ interface operations {
8427
8598
  };
8428
8599
  };
8429
8600
  /**
8601
+ * DEPRECATED Gets information about the broadcaster’s current or most recent Hype Train event.
8602
+ * @deprecated
8603
+ * @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).
8604
+ *
8430
8605
  * Gets information about the broadcaster’s current or most recent Hype Train event.
8431
- * @description Gets information about the broadcaster’s current or most recent Hype Train event.
8432
8606
  *
8433
8607
  * 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)).
8434
8608
  *
@@ -8467,8 +8641,8 @@ interface operations {
8467
8641
  };
8468
8642
  };
8469
8643
  /**
8470
- * BETA Gets the status of a Hype Train for the specified broadcaster.
8471
- * @description BETA Get the status of a Hype Train for the specified broadcaster.
8644
+ * NEW Gets the status of a Hype Train for the specified broadcaster.
8645
+ * @description NEW Get the status of a Hype Train for the specified broadcaster.
8472
8646
  *
8473
8647
  * __Authorization:__
8474
8648
  *
@@ -11422,6 +11596,49 @@ interface operations {
11422
11596
  };
11423
11597
  };
11424
11598
  };
11599
+ /**
11600
+ * NEW Gets the authorization scopes that the specified user has granted the application.
11601
+ * @description NEW Gets the authorization scopes that the specified user(s) have granted the application.
11602
+ *
11603
+ * __Authorization:__
11604
+ *
11605
+ * Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens).
11606
+ */
11607
+ "get-authorization-by-user": {
11608
+ parameters: {
11609
+ query: {
11610
+ /** @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. */
11611
+ user_id: string[];
11612
+ };
11613
+ };
11614
+ responses: {
11615
+ /** @description Successfully retrieved user authorization. */
11616
+ 200: {
11617
+ content: {
11618
+ "application/json": components["schemas"]["GetAuthorizationByUserResponse"];
11619
+ };
11620
+ };
11621
+ /** @description Request is malformed - invalid parameters or missing parameters. */
11622
+ 400: {
11623
+ content: never;
11624
+ };
11625
+ /**
11626
+ * @description * The access token is not valid.
11627
+ * * Authorization header is required and must specify an app access token.
11628
+ */
11629
+ 401: {
11630
+ content: never;
11631
+ };
11632
+ /** @description The client-id in the header must match the client ID in the access token. */
11633
+ 403: {
11634
+ content: never;
11635
+ };
11636
+ /** @description Internal Server Error. */
11637
+ 500: {
11638
+ content: never;
11639
+ };
11640
+ };
11641
+ };
11425
11642
  /**
11426
11643
  * Gets the list of users that the broadcaster has blocked.
11427
11644
  * @description 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)
@@ -12003,6 +12220,8 @@ type GetUserChatColorParams = ParamsSchema<'get-user-chat-color'>;
12003
12220
  type UpdateUserChatColorParams = ParamsSchema<'update-user-chat-color'>;
12004
12221
  type CreateClipParams = ParamsSchema<'create-clip'>;
12005
12222
  type GetClipsParams = ParamsSchema<'get-clips'>;
12223
+ type CreateClipFromVODParams = ParamsSchema<'create-clip-from-vod'>;
12224
+ type GetClipsDownloadParams = ParamsSchema<'get-clips-download'>;
12006
12225
  type DeleteConduitParams = ParamsSchema<'delete-conduit'>;
12007
12226
  type GetConduitShardsParams = ParamsSchema<'get-conduit-shards'>;
12008
12227
  type GetContentClassificationLabelsParams = ParamsSchema<'get-content-classification-labels'>;
@@ -12080,6 +12299,7 @@ type GetChannelTeamsParams = ParamsSchema<'get-channel-teams'>;
12080
12299
  type GetTeamsParams = ParamsSchema<'get-teams'>;
12081
12300
  type GetUsersParams = ParamsSchema<'get-users'>;
12082
12301
  type UpdateUserParams = ParamsSchema<'update-user'>;
12302
+ type GetAuthorizationByUserParams = ParamsSchema<'get-authorization-by-user'>;
12083
12303
  type GetUserBlockListParams = ParamsSchema<'get-user-block-list'>;
12084
12304
  type BlockUserParams = ParamsSchema<'block-user'>;
12085
12305
  type UnblockUserParams = ParamsSchema<'unblock-user'>;
@@ -12149,8 +12369,10 @@ type SendChatMessageResponse = Schema<'SendChatMessageResponse'>;
12149
12369
  type UserChatColor = Schema<'UserChatColor'>;
12150
12370
  type GetUserChatColorResponse = Schema<'GetUserChatColorResponse'>;
12151
12371
  type CreateClipResponse = Schema<'CreateClipResponse'>;
12372
+ type CreateClipFromVODResponse = Schema<'CreateClipFromVODResponse'>;
12152
12373
  type Clip = Schema<'Clip'>;
12153
12374
  type GetClipsResponse = Schema<'GetClipsResponse'>;
12375
+ type GetClipsDownloadResponse = Schema<'GetClipsDownloadResponse'>;
12154
12376
  type GetConduitsResponse = Schema<'GetConduitsResponse'>;
12155
12377
  type CreateConduitsBody = Schema<'CreateConduitsBody'>;
12156
12378
  type CreateConduitsResponse = Schema<'CreateConduitsResponse'>;
@@ -12281,6 +12503,7 @@ type GetTeamsResponse = Schema<'GetTeamsResponse'>;
12281
12503
  type User = Schema<'User'>;
12282
12504
  type GetUsersResponse = Schema<'GetUsersResponse'>;
12283
12505
  type UpdateUserResponse = Schema<'UpdateUserResponse'>;
12506
+ type GetAuthorizationByUserResponse = Schema<'GetAuthorizationByUserResponse'>;
12284
12507
  type UserBlockList = Schema<'UserBlockList'>;
12285
12508
  type GetUserBlockListResponse = Schema<'GetUserBlockListResponse'>;
12286
12509
  type UserExtension = Schema<'UserExtension'>;
@@ -13911,7 +14134,7 @@ declare class TwitchApi {
13911
14134
  /**
13912
14135
  * Creates a clip from the broadcaster’s stream.
13913
14136
  *
13914
- * This API captures up to 90 seconds of the broadcaster’s stream. The 90 seconds spans the point in the stream from when you called the API. For example, if you call the API at the 4:00 minute mark, the API captures from approximately the 3:35 mark to approximately the 4:05 minute mark. Twitch tries its best to capture 90 seconds of the stream, but the actual length may be less. This may occur if you begin capturing the clip near the beginning or end of the stream.
14137
+ * This API captures up to 90 seconds of the broadcaster’s stream. The 90 seconds spans the point in the stream from when you called the API. For example, if you call the API at the 4:00 minute mark, the API captures from approximately the 2:35 mark to approximately the 4:05 minute mark. Twitch tries its best to capture 90 seconds of the stream, but the actual length may be less. This may occur if you begin capturing the clip near the beginning or end of the stream.
13915
14138
  *
13916
14139
  * By default, Twitch publishes up to the last 30 seconds of the 90 seconds window and provides a default title for the clip. To specify the title and the portion of the 90 seconds window that’s used for the clip, use the URL in the response’s `edit_url` field. You can specify a clip that’s from 5 seconds to 60 seconds in length. The URL is valid for up to 24 hours or until the clip is published, whichever comes first.
13917
14140
  *
@@ -13935,6 +14158,8 @@ declare class TwitchApi {
13935
14158
  *
13936
14159
  * * The _broadcaster\_id_ query parameter is required.
13937
14160
  * * The ID in the _broadcaster\_id_ query parameter was not found.
14161
+ * * The category is not clippable.
14162
+ * * The title did not pass AutoMod checks.
13938
14163
  *
13939
14164
  * _401 Unauthorized_
13940
14165
  *
@@ -13947,6 +14172,7 @@ declare class TwitchApi {
13947
14172
  *
13948
14173
  * * The broadcaster has restricted the ability to capture clips to followers and/or subscribers only.
13949
14174
  * * The specified broadcaster has not enabled clips on their channel.
14175
+ * * The user is banned or timed out from the broadcaster’s channel.
13950
14176
  *
13951
14177
  * _404 Not Found_
13952
14178
  *
@@ -13956,8 +14182,8 @@ declare class TwitchApi {
13956
14182
  */
13957
14183
  createClip: (params: CreateClipParams, options?: CallApiOptions["options"]) => ApiResponse<{
13958
14184
  data: {
13959
- edit_url: string;
13960
14185
  id: string;
14186
+ edit_url: string;
13961
14187
  }[];
13962
14188
  }, 202, 400 | 401 | 403 | 404>;
13963
14189
  /**
@@ -14006,6 +14232,114 @@ declare class TwitchApi {
14006
14232
  cursor?: string;
14007
14233
  };
14008
14234
  }, 200, 400 | 401 | 404>;
14235
+ /**
14236
+ * BETA Creates a clip from a broadcaster’s VOD on behalf of the broadcaster or an editor of the channel. Since a live stream is actively creating a VOD, this endpoint can also be used to create a clip from earlier in the current stream.
14237
+ *
14238
+ * The duration of a clip can be from 5 seconds to 60 seconds in length, with a default of 30 seconds if not specified.
14239
+ *
14240
+ * `vod_offset` indicates where the clip will end. In other words, the clip will start at (`vod_offset` \- `duration`) and end at `vod_offset`. This means that the value of `vod_offset` must greater than or equal to the value of `duration`.
14241
+ *
14242
+ * The URL in the response’s `edit_url` field allows you to edit the clip’s title, feature the clip, create a portrait version of the clip, download the clip media, and share the clip directly to social platforms.
14243
+ *
14244
+ * __Authorization:__
14245
+ *
14246
+ * 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.
14247
+ *
14248
+ * __URL:__
14249
+ *
14250
+ * `POST https://api.twitch.tv/helix/videos/clips`
14251
+ *
14252
+ * __Response Codes:__
14253
+ *
14254
+ * _202 Accepted_
14255
+ *
14256
+ * Successfully started the clip process.
14257
+ *
14258
+ * _400 Bad Request_
14259
+ *
14260
+ * * Validation errors: Invalid source type, missing required fields.
14261
+ * * The broadcaster\_id query parameter is required.
14262
+ * * The ID in the broadcaster\_id query parameter was not found.
14263
+ * * The category is not clippable.
14264
+ * * The title did not pass AutoMod checks.
14265
+ * * Broadcaster is banned.
14266
+ *
14267
+ * _401 Unauthorized_
14268
+ *
14269
+ * * The Authorization header is required and must specify user access token.
14270
+ * * The user access token must include the **editor:manage:clips** or **channel:manage:clips** scope.
14271
+ * * The OAuth token is not valid.
14272
+ * * The ID in the Client-Id header must match the Client ID in the OAuth token.
14273
+ *
14274
+ * _403 Forbidden_
14275
+ *
14276
+ * * The broadcaster has restricted the ability to capture clips to followers and/or subscribers only.
14277
+ * * The specified broadcaster has not enabled clips on their channel.
14278
+ * * The user defined by the _editor\_id_ is not authorized to create Clips.
14279
+ * * The user is banned or timed out from the broadcaster's channel.
14280
+ *
14281
+ * _404 Not Found_
14282
+ *
14283
+ * * The broadcaster in the _broadcaster\_id_ query parameter must be broadcasting live.
14284
+ * * The VOD is not found..
14285
+ * * The _broadcaster\_id_ or the _editor\_id_ does not exist.
14286
+ *
14287
+ * @see https://dev.twitch.tv/docs/api/reference#create-clip-from-vod
14288
+ */
14289
+ createClipFromVOD: (params: CreateClipFromVODParams, options?: CallApiOptions["options"]) => ApiResponse<{
14290
+ data: {
14291
+ id: string;
14292
+ edit_url: string;
14293
+ }[];
14294
+ }, 202, 400 | 401 | 403 | 404>;
14295
+ /**
14296
+ * 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).
14297
+ *
14298
+ * **Rate Limits**: Limited to 100 requests per minute.
14299
+ *
14300
+ * __Authorization:__
14301
+ *
14302
+ * 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.
14303
+ *
14304
+ * __URL:__
14305
+ *
14306
+ * `GET https://api.twitch.tv/helix/clips/downloads`
14307
+ *
14308
+ * __Response Codes:__
14309
+ *
14310
+ * _200 OK_
14311
+ *
14312
+ * Successfully retrieved the clip download URL(s).
14313
+ *
14314
+ * _400 Bad Request_
14315
+ *
14316
+ * The ID in the broadcaster\_id, editor\_id, or clip\_id query parameter is not valid.
14317
+ *
14318
+ * _401 Unauthorized_
14319
+ *
14320
+ * * The OAuth token is not valid.
14321
+ * * The Authorization header is required and must contain a user access token or app access token.
14322
+ * * The access token must include the editor:manage:clips or channel:manage:clips scope
14323
+ * * The access token is not valid
14324
+ * * The client ID specified in the Client-Id header does not match the client ID specified in the access token.
14325
+ *
14326
+ * _403 Forbidden_
14327
+ *
14328
+ * The user is not an editor for the specified broadcaster.
14329
+ *
14330
+ * _500 Internal Server Error_
14331
+ *
14332
+ * Internal Server Error.
14333
+ *
14334
+ * @see https://dev.twitch.tv/docs/api/reference#get-clips-download
14335
+ */
14336
+ getClipsDownload: (params: GetClipsDownloadParams, options?: CallApiOptions["options"]) => ApiResponse<{
14337
+ data: {
14338
+ clip_id: string;
14339
+ landscape_download_url: string;
14340
+ portrait_download_url: string;
14341
+ }[];
14342
+ }, 200, 400 | 401 | 403 | 500>;
14009
14343
  };
14010
14344
  conduits: {
14011
14345
  /**
@@ -15488,6 +15822,8 @@ declare class TwitchApi {
15488
15822
  };
15489
15823
  hypeTrain: {
15490
15824
  /**
15825
+ * 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).
15826
+ *
15491
15827
  * Gets information about the broadcaster’s current or most recent Hype Train event.
15492
15828
  *
15493
15829
  * 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)).
@@ -15523,7 +15859,7 @@ declare class TwitchApi {
15523
15859
  };
15524
15860
  }, 200, 401>;
15525
15861
  /**
15526
- * BETA Get the status of a Hype Train for the specified broadcaster.
15862
+ * NEW Get the status of a Hype Train for the specified broadcaster.
15527
15863
  *
15528
15864
  * __Authorization:__
15529
15865
  *
@@ -17943,6 +18279,50 @@ declare class TwitchApi {
17943
18279
  updateUser: (params?: UpdateUserParams | null | undefined, options?: CallApiOptions["options"]) => ApiResponse<{
17944
18280
  data: components["schemas"]["User"][];
17945
18281
  }, 200, 400 | 401 | 429>;
18282
+ /**
18283
+ * NEW Gets the authorization scopes that the specified user(s) have granted the application.
18284
+ *
18285
+ * __Authorization:__
18286
+ *
18287
+ * Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens).
18288
+ *
18289
+ * __URL:__
18290
+ *
18291
+ * `GET https://api.twitch.tv/helix/authorization/users`
18292
+ *
18293
+ * __Response Codes:__
18294
+ *
18295
+ * _200 OK_
18296
+ *
18297
+ * Successfully retrieved user authorization.
18298
+ *
18299
+ * _400 Bad Request_
18300
+ *
18301
+ * Request is malformed - invalid parameters or missing parameters.
18302
+ *
18303
+ * _401 Unauthorized_
18304
+ *
18305
+ * * The access token is not valid.
18306
+ * * Authorization header is required and must specify an app access token.
18307
+ *
18308
+ * _403 Forbidden_
18309
+ *
18310
+ * The client-id in the header must match the client ID in the access token.
18311
+ *
18312
+ * _500 Internal Server Error_
18313
+ *
18314
+ * Internal Server Error.
18315
+ *
18316
+ * @see https://dev.twitch.tv/docs/api/reference#get-authorization-by-user
18317
+ */
18318
+ getAuthorizationByUser: (params: GetAuthorizationByUserParams, options?: CallApiOptions["options"]) => ApiResponse<{
18319
+ data: ({
18320
+ user_id: string;
18321
+ user_name: string;
18322
+ user_login: string;
18323
+ scopes: ("analytics:read:extensions" | "analytics:read:games" | "bits:read" | "channel:bot" | "channel:manage:ads" | "channel:read:ads" | "channel:manage:broadcast" | "channel:read:charity" | "channel:manage:clips" | "channel:edit:commercial" | "channel:read:editors" | "channel:manage:extensions" | "channel:read:goals" | "channel:read:guest_star" | "channel:manage:guest_star" | "channel:read:hype_train" | "channel:manage:moderators" | "channel:read:polls" | "channel:manage:polls" | "channel:read:predictions" | "channel:manage:predictions" | "channel:manage:raids" | "channel:read:redemptions" | "channel:manage:redemptions" | "channel:manage:schedule" | "channel:read:stream_key" | "channel:read:subscriptions" | "channel:manage:videos" | "channel:read:vips" | "channel:manage:vips" | "channel:moderate" | "clips:edit" | "editor:manage:clips" | "moderation:read" | "moderator:manage:announcements" | "moderator:manage:automod" | "moderator:read:automod_settings" | "moderator:manage:automod_settings" | "moderator:read:banned_users" | "moderator:manage:banned_users" | "moderator:read:blocked_terms" | "moderator:read:chat_messages" | "moderator:manage:blocked_terms" | "moderator:manage:chat_messages" | "moderator:read:chat_settings" | "moderator:manage:chat_settings" | "moderator:read:chatters" | "moderator:read:followers" | "moderator:read:guest_star" | "moderator:manage:guest_star" | "moderator:read:moderators" | "moderator:read:shield_mode" | "moderator:manage:shield_mode" | "moderator:read:shoutouts" | "moderator:manage:shoutouts" | "moderator:read:suspicious_users" | "moderator:read:unban_requests" | "moderator:manage:unban_requests" | "moderator:read:vips" | "moderator:read:warnings" | "moderator:manage:warnings" | "user:bot" | "user:edit" | "user:edit:broadcast" | "user:read:blocked_users" | "user:manage:blocked_users" | "user:read:broadcast" | "user:read:chat" | "user:manage:chat_color" | "user:read:email" | "user:read:emotes" | "user:read:follows" | "user:read:moderated_channels" | "user:read:subscriptions" | "user:read:whispers" | "user:manage:whispers" | "user:write:chat" | "chat:edit" | "chat:read" | "whispers:read")[];
18324
+ })[];
18325
+ }, 200, 400 | 401 | 403 | 500>;
17946
18326
  /**
17947
18327
  * 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)
17948
18328
  *
@@ -18316,4 +18696,4 @@ declare class TwitchApi {
18316
18696
  };
18317
18697
  }
18318
18698
 
18319
- 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 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 };
18699
+ 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 CreateClipFromVODParams, type CreateClipFromVODResponse, 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 };