ts-twitch-api 0.2.8 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +91 -5
- package/dist/index.d.cts +347 -40
- package/dist/index.d.ts +347 -40
- package/dist/index.js +91 -5
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1336,7 +1336,7 @@ interface components {
|
|
|
1336
1336
|
/**
|
|
1337
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
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.
|
|
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 not sent during a shared chat session.
|
|
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
|
*/
|
|
@@ -3136,6 +3136,61 @@ interface components {
|
|
|
3136
3136
|
reason: string;
|
|
3137
3137
|
}[];
|
|
3138
3138
|
};
|
|
3139
|
+
AddSuspiciousStatusToChatUserBody: {
|
|
3140
|
+
/** @description The ID of the user being given the suspicious status. */
|
|
3141
|
+
user_id: string;
|
|
3142
|
+
/**
|
|
3143
|
+
* @description The type of suspicious status. Possible values are: ACTIVE\_MONITORING, RESTRICTED
|
|
3144
|
+
* @enum {string}
|
|
3145
|
+
*/
|
|
3146
|
+
status: "ACTIVE_MONITORING" | "RESTRICTED";
|
|
3147
|
+
};
|
|
3148
|
+
AddSuspiciousStatusToChatUserResponse: {
|
|
3149
|
+
/** @description An array with one object containing information about the suspicious user action. */
|
|
3150
|
+
data: ({
|
|
3151
|
+
/** @description The ID of the user being given the suspicious status. */
|
|
3152
|
+
user_id: string;
|
|
3153
|
+
/** @description The user ID of the broadcaster indicating in which channel the status is being applied. */
|
|
3154
|
+
broadcaster_id: string;
|
|
3155
|
+
/** @description The user ID of the moderator who applied the last status. */
|
|
3156
|
+
moderator_id: string;
|
|
3157
|
+
/**
|
|
3158
|
+
* Format: date-time
|
|
3159
|
+
* @description The timestamp of the last time this user’s status was updated.
|
|
3160
|
+
*/
|
|
3161
|
+
updated_at: string;
|
|
3162
|
+
/**
|
|
3163
|
+
* @description The type of suspicious status. Possible values are: ACTIVE\_MONITORING, RESTRICTED
|
|
3164
|
+
* @enum {string}
|
|
3165
|
+
*/
|
|
3166
|
+
status: "ACTIVE_MONITORING" | "RESTRICTED";
|
|
3167
|
+
/** @description An array of strings representing the type(s) of suspicious user this is. Possible values are: MANUALLY\_ADDED, DETECTED\_BAN\_EVADER, DETECTED\_SUS\_CHATTER, BANNED\_IN\_SHARED\_CHANNEL */
|
|
3168
|
+
types: ("MANUALLY_ADDED" | "DETECTED_BAN_EVADER" | "DETECTED_SUS_CHATTER" | "BANNED_IN_SHARED_CHANNEL")[];
|
|
3169
|
+
})[];
|
|
3170
|
+
};
|
|
3171
|
+
RemoveSuspiciousStatusFromChatUserResponse: {
|
|
3172
|
+
/** @description An array with one object containing information about the suspicious user action. */
|
|
3173
|
+
data: ({
|
|
3174
|
+
/** @description The ID of the user having the suspicious status removed. */
|
|
3175
|
+
user_id: string;
|
|
3176
|
+
/** @description The user ID of the broadcaster indicating in which channel the status is being removed. */
|
|
3177
|
+
broadcaster_id: string;
|
|
3178
|
+
/** @description The user ID of the moderator who modified the last status. */
|
|
3179
|
+
moderator_id: string;
|
|
3180
|
+
/**
|
|
3181
|
+
* Format: date-time
|
|
3182
|
+
* @description The timestamp of the last time this user’s status was updated.
|
|
3183
|
+
*/
|
|
3184
|
+
updated_at: string;
|
|
3185
|
+
/**
|
|
3186
|
+
* @description The type of suspicious status. Possible values are: NO\_TREATMENT
|
|
3187
|
+
* @enum {string}
|
|
3188
|
+
*/
|
|
3189
|
+
status: "NO_TREATMENT";
|
|
3190
|
+
/** @description An array of strings representing the type(s) of suspicious user this is. Possible values are: MANUALLY\_ADDED, DETECTED\_BAN\_EVADER, DETECTED\_SUS\_CHATTER, BANNED\_IN\_SHARED\_CHANNEL */
|
|
3191
|
+
types: ("MANUALLY_ADDED" | "DETECTED_BAN_EVADER" | "DETECTED_SUS_CHATTER" | "BANNED_IN_SHARED_CHANNEL")[];
|
|
3192
|
+
})[];
|
|
3193
|
+
};
|
|
3139
3194
|
Poll: {
|
|
3140
3195
|
/** @description An ID that identifies the poll. */
|
|
3141
3196
|
id: string;
|
|
@@ -3410,7 +3465,7 @@ interface components {
|
|
|
3410
3465
|
/** @description A list that contains the single prediction that you updated. */
|
|
3411
3466
|
data: components["schemas"]["Prediction"][];
|
|
3412
3467
|
};
|
|
3413
|
-
|
|
3468
|
+
StartARaidResponse: {
|
|
3414
3469
|
/** @description A list that contains a single object with information about the pending raid. */
|
|
3415
3470
|
data: {
|
|
3416
3471
|
/**
|
|
@@ -3418,7 +3473,11 @@ interface components {
|
|
|
3418
3473
|
* @description The UTC date and time, in RFC3339 format, of when the raid was requested.
|
|
3419
3474
|
*/
|
|
3420
3475
|
created_at: string;
|
|
3421
|
-
/**
|
|
3476
|
+
/**
|
|
3477
|
+
* @description **IMPORTANT** This field is deprecated and returns only `false`.
|
|
3478
|
+
*
|
|
3479
|
+
* A Boolean value that indicates whether the channel being raided contains mature content.
|
|
3480
|
+
*/
|
|
3422
3481
|
is_mature: boolean;
|
|
3423
3482
|
}[];
|
|
3424
3483
|
};
|
|
@@ -3686,7 +3745,11 @@ interface components {
|
|
|
3686
3745
|
tag_ids: string[];
|
|
3687
3746
|
/** @description The tags applied to the stream. */
|
|
3688
3747
|
tags: string[];
|
|
3689
|
-
/**
|
|
3748
|
+
/**
|
|
3749
|
+
* @description **IMPORTANT** This field is deprecated and returns only `false`.
|
|
3750
|
+
*
|
|
3751
|
+
* A Boolean value that indicates whether the stream is meant for mature audiences.
|
|
3752
|
+
*/
|
|
3690
3753
|
is_mature: boolean;
|
|
3691
3754
|
};
|
|
3692
3755
|
GetStreamsResponse: {
|
|
@@ -4029,7 +4092,7 @@ interface components {
|
|
|
4029
4092
|
/** @description The user’s login name. */
|
|
4030
4093
|
user_login: string;
|
|
4031
4094
|
/** @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")[];
|
|
4095
|
+
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:manage: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
4096
|
})[];
|
|
4034
4097
|
};
|
|
4035
4098
|
UserBlockList: {
|
|
@@ -6413,7 +6476,7 @@ interface operations {
|
|
|
6413
6476
|
/** @description The title of the clip. */
|
|
6414
6477
|
title?: string;
|
|
6415
6478
|
/** @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?:
|
|
6479
|
+
duration?: number;
|
|
6417
6480
|
};
|
|
6418
6481
|
};
|
|
6419
6482
|
responses: {
|
|
@@ -6481,7 +6544,7 @@ interface operations {
|
|
|
6481
6544
|
/** @description Offset in the VOD to create the clip. See notes above. */
|
|
6482
6545
|
vod_offset: number;
|
|
6483
6546
|
/** @description The length of the clip, in seconds. Precision is 0.1\. Defaults to 30\. Min: 5 seconds, Max: 60 seconds. */
|
|
6484
|
-
duration?:
|
|
6547
|
+
duration?: number;
|
|
6485
6548
|
/** @description The title of the clip. */
|
|
6486
6549
|
title: string;
|
|
6487
6550
|
};
|
|
@@ -8139,23 +8202,10 @@ interface operations {
|
|
|
8139
8202
|
};
|
|
8140
8203
|
};
|
|
8141
8204
|
responses: {
|
|
8142
|
-
|
|
8143
|
-
|
|
8144
|
-
|
|
8145
|
-
|
|
8146
|
-
*
|
|
8147
|
-
* _Request:_
|
|
8148
|
-
*
|
|
8149
|
-
* End Guest Star session
|
|
8150
|
-
*
|
|
8151
|
-
* ```bash
|
|
8152
|
-
* curl -x DELETE `https://api.twitch.tv/helix/guest_star/session?broadcaster_id=9321049&session_id=2KFRQbFtpmfyD3IevNRnCzOPRJI` \
|
|
8153
|
-
* -H 'Authorization: Bearer cfabdegwdoklmawdzdo98xt2fo512y' \
|
|
8154
|
-
* -H 'Client-Id: uo6dggojyb8d6soh92zknwmi5ej1q2'
|
|
8155
|
-
* ```
|
|
8156
|
-
*/
|
|
8157
|
-
204: {
|
|
8158
|
-
content: never;
|
|
8205
|
+
200: {
|
|
8206
|
+
content: {
|
|
8207
|
+
"application/json": components["schemas"]["EndGuestStarSessionResponse"];
|
|
8208
|
+
};
|
|
8159
8209
|
};
|
|
8160
8210
|
/**
|
|
8161
8211
|
* @description * Missing or invalid _broadcaster\_id_
|
|
@@ -10043,8 +10093,8 @@ interface operations {
|
|
|
10043
10093
|
};
|
|
10044
10094
|
};
|
|
10045
10095
|
/**
|
|
10046
|
-
*
|
|
10047
|
-
* @description
|
|
10096
|
+
* Warns a user in the specified broadcaster’s chat room, preventing them from chat interaction until the warning is acknowledged.
|
|
10097
|
+
* @description Warns a user in the specified broadcaster’s chat room, preventing them from chat interaction until the warning is acknowledged. New warnings can be issued to a user when they already have a warning in the channel (new warning will replace old warning).
|
|
10048
10098
|
*
|
|
10049
10099
|
* __Authorization:__
|
|
10050
10100
|
*
|
|
@@ -10110,6 +10160,108 @@ interface operations {
|
|
|
10110
10160
|
};
|
|
10111
10161
|
};
|
|
10112
10162
|
};
|
|
10163
|
+
/**
|
|
10164
|
+
* BETA Adds a suspicious user status to a chatter on the broadcaster’s channel.
|
|
10165
|
+
* @description BETA Adds a suspicious user status to a chatter on the broadcaster’s channel.
|
|
10166
|
+
*
|
|
10167
|
+
* __Authorization:__
|
|
10168
|
+
*
|
|
10169
|
+
* 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 **moderator:manage:suspicious\_users** scope.
|
|
10170
|
+
*/
|
|
10171
|
+
"add-suspicious-status-to-chat-user": {
|
|
10172
|
+
parameters: {
|
|
10173
|
+
query: {
|
|
10174
|
+
/** @description The user ID of the broadcaster, indicating the channel where the status is being applied. */
|
|
10175
|
+
broadcaster_id: string;
|
|
10176
|
+
/** @description The user ID of the moderator who is applying the status. */
|
|
10177
|
+
moderator_id: string;
|
|
10178
|
+
};
|
|
10179
|
+
};
|
|
10180
|
+
requestBody?: {
|
|
10181
|
+
content: {
|
|
10182
|
+
"application/json": components["schemas"]["AddSuspiciousStatusToChatUserBody"];
|
|
10183
|
+
};
|
|
10184
|
+
};
|
|
10185
|
+
responses: {
|
|
10186
|
+
/** @description Successfully applied a suspicious user status. */
|
|
10187
|
+
200: {
|
|
10188
|
+
content: {
|
|
10189
|
+
"application/json": components["schemas"]["AddSuspiciousStatusToChatUserResponse"];
|
|
10190
|
+
};
|
|
10191
|
+
};
|
|
10192
|
+
/**
|
|
10193
|
+
* @description * Validation errors: Missing required fields.
|
|
10194
|
+
* * The ID in the broadcaster\_id query parameter was not found.
|
|
10195
|
+
* * The status specified was invalid. Must either be ACTIVE\_MONITORING or RESTRICTED
|
|
10196
|
+
* * The status update is not allowed for this user.
|
|
10197
|
+
*/
|
|
10198
|
+
400: {
|
|
10199
|
+
content: never;
|
|
10200
|
+
};
|
|
10201
|
+
/**
|
|
10202
|
+
* @description * The Authorization header is required and must specify user access token.
|
|
10203
|
+
* * The user access token must include the **moderator:manage:suspicious\_users** scope.
|
|
10204
|
+
* * The OAuth token is not valid.
|
|
10205
|
+
* * The ID in the Client-Id header must match the Client ID in the OAuth token.
|
|
10206
|
+
*/
|
|
10207
|
+
401: {
|
|
10208
|
+
content: never;
|
|
10209
|
+
};
|
|
10210
|
+
/** @description * The user in the moderator\_id query parameter is not one of the broadcaster's moderators. */
|
|
10211
|
+
403: {
|
|
10212
|
+
content: never;
|
|
10213
|
+
};
|
|
10214
|
+
};
|
|
10215
|
+
};
|
|
10216
|
+
/**
|
|
10217
|
+
* BETA Remove a suspicious user status from a chatter on broadcaster’s channel.
|
|
10218
|
+
* @description BETA Remove a suspicious user status from a chatter on broadcaster’s channel.
|
|
10219
|
+
*
|
|
10220
|
+
* __Authorization:__
|
|
10221
|
+
*
|
|
10222
|
+
* 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 **moderator:manage:suspicious\_users** scope.
|
|
10223
|
+
*/
|
|
10224
|
+
"remove-suspicious-status-from-chat-user": {
|
|
10225
|
+
parameters: {
|
|
10226
|
+
query: {
|
|
10227
|
+
/** @description The user ID of the broadcaster, indicating the channel where the status is being removed. */
|
|
10228
|
+
broadcaster_id: string;
|
|
10229
|
+
/** @description The user ID of the moderator who is removing the status. */
|
|
10230
|
+
moderator_id: string;
|
|
10231
|
+
/** @description The ID of the user having the suspicious status removed. */
|
|
10232
|
+
user_id: string;
|
|
10233
|
+
};
|
|
10234
|
+
};
|
|
10235
|
+
responses: {
|
|
10236
|
+
/** @description Successfully removed a suspicious user status. */
|
|
10237
|
+
200: {
|
|
10238
|
+
content: {
|
|
10239
|
+
"application/json": components["schemas"]["RemoveSuspiciousStatusFromChatUserResponse"];
|
|
10240
|
+
};
|
|
10241
|
+
};
|
|
10242
|
+
/**
|
|
10243
|
+
* @description * Validation errors: Missing required fields.
|
|
10244
|
+
* * The ID in the broadcaster\_id query parameter was not found.
|
|
10245
|
+
* * The status update is not allowed for this user.
|
|
10246
|
+
*/
|
|
10247
|
+
400: {
|
|
10248
|
+
content: never;
|
|
10249
|
+
};
|
|
10250
|
+
/**
|
|
10251
|
+
* @description * The Authorization header is required and must specify user access token.
|
|
10252
|
+
* * The user access token must include the **moderator:manage:suspicious\_users** scope.
|
|
10253
|
+
* * The OAuth token is not valid.
|
|
10254
|
+
* * The ID in the Client-Id header must match the Client ID in the OAuth token.
|
|
10255
|
+
*/
|
|
10256
|
+
401: {
|
|
10257
|
+
content: never;
|
|
10258
|
+
};
|
|
10259
|
+
/** @description * The user in the moderator\_id query parameter is not one of the broadcaster's moderators. */
|
|
10260
|
+
403: {
|
|
10261
|
+
content: never;
|
|
10262
|
+
};
|
|
10263
|
+
};
|
|
10264
|
+
};
|
|
10113
10265
|
/**
|
|
10114
10266
|
* Gets a list of polls that the broadcaster created.
|
|
10115
10267
|
* @description Gets a list of polls that the broadcaster created.
|
|
@@ -10437,7 +10589,7 @@ interface operations {
|
|
|
10437
10589
|
/** @description Successfully requested to start a raid. To determine whether the raid successfully occurred (that is, the broadcaster clicked **Raid Now** or the countdown expired), you must subscribe to the [Channel Raid](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelraid) event. */
|
|
10438
10590
|
200: {
|
|
10439
10591
|
content: {
|
|
10440
|
-
"application/json": components["schemas"]["
|
|
10592
|
+
"application/json": components["schemas"]["StartARaidResponse"];
|
|
10441
10593
|
};
|
|
10442
10594
|
};
|
|
10443
10595
|
/**
|
|
@@ -12215,7 +12367,7 @@ type UpdateChatSettingsParams = ParamsSchema<'update-chat-settings'>;
|
|
|
12215
12367
|
type GetSharedChatSessionParams = ParamsSchema<'get-shared-chat-session'>;
|
|
12216
12368
|
type GetUserEmotesParams = ParamsSchema<'get-user-emotes'>;
|
|
12217
12369
|
type SendChatAnnouncementParams = ParamsSchema<'send-chat-announcement'>;
|
|
12218
|
-
type
|
|
12370
|
+
type SendAShoutoutParams = ParamsSchema<'send-a-shoutout'>;
|
|
12219
12371
|
type GetUserChatColorParams = ParamsSchema<'get-user-chat-color'>;
|
|
12220
12372
|
type UpdateUserChatColorParams = ParamsSchema<'update-user-chat-color'>;
|
|
12221
12373
|
type CreateClipParams = ParamsSchema<'create-clip'>;
|
|
@@ -12275,10 +12427,12 @@ type RemoveChannelVIPParams = ParamsSchema<'remove-channel-vip'>;
|
|
|
12275
12427
|
type UpdateShieldModeStatusParams = ParamsSchema<'update-shield-mode-status'>;
|
|
12276
12428
|
type GetShieldModeStatusParams = ParamsSchema<'get-shield-mode-status'>;
|
|
12277
12429
|
type WarnChatUserParams = ParamsSchema<'warn-chat-user'>;
|
|
12430
|
+
type AddSuspiciousStatusToChatUserParams = ParamsSchema<'add-suspicious-status-to-chat-user'>;
|
|
12431
|
+
type RemoveSuspiciousStatusFromChatUserParams = ParamsSchema<'remove-suspicious-status-from-chat-user'>;
|
|
12278
12432
|
type GetPollsParams = ParamsSchema<'get-polls'>;
|
|
12279
12433
|
type GetPredictionsParams = ParamsSchema<'get-predictions'>;
|
|
12280
|
-
type
|
|
12281
|
-
type
|
|
12434
|
+
type StartARaidParams = ParamsSchema<'start-a-raid'>;
|
|
12435
|
+
type CancelARaidParams = ParamsSchema<'cancel-a-raid'>;
|
|
12282
12436
|
type GetChannelStreamScheduleParams = ParamsSchema<'get-channel-stream-schedule'>;
|
|
12283
12437
|
type GetChannelICalendarParams = ParamsSchema<'get-channel-icalendar'>;
|
|
12284
12438
|
type UpdateChannelStreamScheduleParams = ParamsSchema<'update-channel-stream-schedule'>;
|
|
@@ -12456,6 +12610,9 @@ type UpdateShieldModeStatusResponse = Schema<'UpdateShieldModeStatusResponse'>;
|
|
|
12456
12610
|
type GetShieldModeStatusResponse = Schema<'GetShieldModeStatusResponse'>;
|
|
12457
12611
|
type WarnChatUserBody = Schema<'WarnChatUserBody'>;
|
|
12458
12612
|
type WarnChatUserResponse = Schema<'WarnChatUserResponse'>;
|
|
12613
|
+
type AddSuspiciousStatusToChatUserBody = Schema<'AddSuspiciousStatusToChatUserBody'>;
|
|
12614
|
+
type AddSuspiciousStatusToChatUserResponse = Schema<'AddSuspiciousStatusToChatUserResponse'>;
|
|
12615
|
+
type RemoveSuspiciousStatusFromChatUserResponse = Schema<'RemoveSuspiciousStatusFromChatUserResponse'>;
|
|
12459
12616
|
type Poll = Schema<'Poll'>;
|
|
12460
12617
|
type GetPollsResponse = Schema<'GetPollsResponse'>;
|
|
12461
12618
|
type CreatePollBody = Schema<'CreatePollBody'>;
|
|
@@ -12469,7 +12626,7 @@ type CreatePredictionBody = Schema<'CreatePredictionBody'>;
|
|
|
12469
12626
|
type CreatePredictionResponse = Schema<'CreatePredictionResponse'>;
|
|
12470
12627
|
type EndPredictionBody = Schema<'EndPredictionBody'>;
|
|
12471
12628
|
type EndPredictionResponse = Schema<'EndPredictionResponse'>;
|
|
12472
|
-
type
|
|
12629
|
+
type StartARaidResponse = Schema<'StartARaidResponse'>;
|
|
12473
12630
|
type ChannelStreamScheduleSegment = Schema<'ChannelStreamScheduleSegment'>;
|
|
12474
12631
|
type GetChannelStreamScheduleResponse = Schema<'GetChannelStreamScheduleResponse'>;
|
|
12475
12632
|
type CreateChannelStreamScheduleSegmentBody = Schema<'CreateChannelStreamScheduleSegmentBody'>;
|
|
@@ -14001,7 +14158,7 @@ declare class TwitchApi {
|
|
|
14001
14158
|
*
|
|
14002
14159
|
* @see https://dev.twitch.tv/docs/api/reference#send-a-shoutout
|
|
14003
14160
|
*/
|
|
14004
|
-
|
|
14161
|
+
sendAShoutout: (params: SendAShoutoutParams, options?: CallApiOptions["options"]) => ApiResponse<void, 204, 400 | 401 | 403 | 429>;
|
|
14005
14162
|
/**
|
|
14006
14163
|
* NEW Sends a message to the broadcaster’s chat room.
|
|
14007
14164
|
*
|
|
@@ -15579,7 +15736,7 @@ declare class TwitchApi {
|
|
|
15579
15736
|
*
|
|
15580
15737
|
* __Response Codes:__
|
|
15581
15738
|
*
|
|
15582
|
-
*
|
|
15739
|
+
* _200 OK_
|
|
15583
15740
|
*
|
|
15584
15741
|
* _400 Bad Request_
|
|
15585
15742
|
*
|
|
@@ -15593,7 +15750,9 @@ declare class TwitchApi {
|
|
|
15593
15750
|
*
|
|
15594
15751
|
* @see https://dev.twitch.tv/docs/api/reference#end-guest-star-session
|
|
15595
15752
|
*/
|
|
15596
|
-
endGuestStarSession: (params: EndGuestStarSessionParams, options?: CallApiOptions["options"]) => ApiResponse<
|
|
15753
|
+
endGuestStarSession: (params: EndGuestStarSessionParams, options?: CallApiOptions["options"]) => ApiResponse<{
|
|
15754
|
+
data: components["schemas"]["GuestStarSession"][];
|
|
15755
|
+
}, 200, 400 | 403>;
|
|
15597
15756
|
/**
|
|
15598
15757
|
* BETA Provides the caller with a list of pending invites to a Guest Star session, including the invitee’s ready status while joining the waiting room.
|
|
15599
15758
|
*
|
|
@@ -16971,7 +17130,7 @@ declare class TwitchApi {
|
|
|
16971
17130
|
}[];
|
|
16972
17131
|
}, 200, 400 | 401 | 403>;
|
|
16973
17132
|
/**
|
|
16974
|
-
*
|
|
17133
|
+
* Warns a user in the specified broadcaster’s chat room, preventing them from chat interaction until the warning is acknowledged. New warnings can be issued to a user when they already have a warning in the channel (new warning will replace old warning).
|
|
16975
17134
|
*
|
|
16976
17135
|
* __Authorization:__
|
|
16977
17136
|
*
|
|
@@ -17030,6 +17189,99 @@ declare class TwitchApi {
|
|
|
17030
17189
|
reason: string;
|
|
17031
17190
|
}[];
|
|
17032
17191
|
}, 200, 400 | 401 | 403 | 409 | 429 | 500>;
|
|
17192
|
+
/**
|
|
17193
|
+
* BETA Adds a suspicious user status to a chatter on the broadcaster’s channel.
|
|
17194
|
+
*
|
|
17195
|
+
* __Authorization:__
|
|
17196
|
+
*
|
|
17197
|
+
* 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 **moderator:manage:suspicious\_users** scope.
|
|
17198
|
+
*
|
|
17199
|
+
* __URL:__
|
|
17200
|
+
*
|
|
17201
|
+
* `POST https://api.twitch.tv/helix/moderation/suspicious_users`
|
|
17202
|
+
*
|
|
17203
|
+
* __Response Codes:__
|
|
17204
|
+
*
|
|
17205
|
+
* _200 OK_
|
|
17206
|
+
*
|
|
17207
|
+
* Successfully applied a suspicious user status.
|
|
17208
|
+
*
|
|
17209
|
+
* _400 Bad Request_
|
|
17210
|
+
*
|
|
17211
|
+
* * Validation errors: Missing required fields.
|
|
17212
|
+
* * The ID in the broadcaster\_id query parameter was not found.
|
|
17213
|
+
* * The status specified was invalid. Must either be ACTIVE\_MONITORING or RESTRICTED
|
|
17214
|
+
* * The status update is not allowed for this user.
|
|
17215
|
+
*
|
|
17216
|
+
* _401 Unauthorized_
|
|
17217
|
+
*
|
|
17218
|
+
* * The Authorization header is required and must specify user access token.
|
|
17219
|
+
* * The user access token must include the **moderator:manage:suspicious\_users** scope.
|
|
17220
|
+
* * The OAuth token is not valid.
|
|
17221
|
+
* * The ID in the Client-Id header must match the Client ID in the OAuth token.
|
|
17222
|
+
*
|
|
17223
|
+
* _403 Forbidden_
|
|
17224
|
+
*
|
|
17225
|
+
* * The user in the moderator\_id query parameter is not one of the broadcaster's moderators.
|
|
17226
|
+
*
|
|
17227
|
+
* @see https://dev.twitch.tv/docs/api/reference#add-suspicious-status-to-chat-user
|
|
17228
|
+
*/
|
|
17229
|
+
addSuspiciousStatusToChatUser: (params: AddSuspiciousStatusToChatUserParams, body: AddSuspiciousStatusToChatUserBody, options?: CallApiOptions["options"]) => ApiResponse<{
|
|
17230
|
+
data: ({
|
|
17231
|
+
user_id: string;
|
|
17232
|
+
broadcaster_id: string;
|
|
17233
|
+
moderator_id: string;
|
|
17234
|
+
updated_at: string;
|
|
17235
|
+
status: "ACTIVE_MONITORING" | "RESTRICTED";
|
|
17236
|
+
types: ("MANUALLY_ADDED" | "DETECTED_BAN_EVADER" | "DETECTED_SUS_CHATTER" | "BANNED_IN_SHARED_CHANNEL")[];
|
|
17237
|
+
})[];
|
|
17238
|
+
}, 200, 400 | 401 | 403>;
|
|
17239
|
+
/**
|
|
17240
|
+
* BETA Remove a suspicious user status from a chatter on broadcaster’s channel.
|
|
17241
|
+
*
|
|
17242
|
+
* __Authorization:__
|
|
17243
|
+
*
|
|
17244
|
+
* 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 **moderator:manage:suspicious\_users** scope.
|
|
17245
|
+
*
|
|
17246
|
+
* __URL:__
|
|
17247
|
+
*
|
|
17248
|
+
* `DELETE https://api.twitch.tv/helix/moderation/suspicious_users`
|
|
17249
|
+
*
|
|
17250
|
+
* __Response Codes:__
|
|
17251
|
+
*
|
|
17252
|
+
* _200 OK_
|
|
17253
|
+
*
|
|
17254
|
+
* Successfully removed a suspicious user status.
|
|
17255
|
+
*
|
|
17256
|
+
* _400 Bad Request_
|
|
17257
|
+
*
|
|
17258
|
+
* * Validation errors: Missing required fields.
|
|
17259
|
+
* * The ID in the broadcaster\_id query parameter was not found.
|
|
17260
|
+
* * The status update is not allowed for this user.
|
|
17261
|
+
*
|
|
17262
|
+
* _401 Unauthorized_
|
|
17263
|
+
*
|
|
17264
|
+
* * The Authorization header is required and must specify user access token.
|
|
17265
|
+
* * The user access token must include the **moderator:manage:suspicious\_users** scope.
|
|
17266
|
+
* * The OAuth token is not valid.
|
|
17267
|
+
* * The ID in the Client-Id header must match the Client ID in the OAuth token.
|
|
17268
|
+
*
|
|
17269
|
+
* _403 Forbidden_
|
|
17270
|
+
*
|
|
17271
|
+
* * The user in the moderator\_id query parameter is not one of the broadcaster's moderators.
|
|
17272
|
+
*
|
|
17273
|
+
* @see https://dev.twitch.tv/docs/api/reference#remove-suspicious-status-from-chat-user
|
|
17274
|
+
*/
|
|
17275
|
+
removeSuspiciousStatusFromChatUser: (params: RemoveSuspiciousStatusFromChatUserParams, options?: CallApiOptions["options"]) => ApiResponse<{
|
|
17276
|
+
data: ({
|
|
17277
|
+
user_id: string;
|
|
17278
|
+
broadcaster_id: string;
|
|
17279
|
+
moderator_id: string;
|
|
17280
|
+
updated_at: string;
|
|
17281
|
+
status: "NO_TREATMENT";
|
|
17282
|
+
types: ("MANUALLY_ADDED" | "DETECTED_BAN_EVADER" | "DETECTED_SUS_CHATTER" | "BANNED_IN_SHARED_CHANNEL")[];
|
|
17283
|
+
})[];
|
|
17284
|
+
}, 200, 400 | 401 | 403>;
|
|
17033
17285
|
};
|
|
17034
17286
|
polls: {
|
|
17035
17287
|
/**
|
|
@@ -17196,7 +17448,62 @@ declare class TwitchApi {
|
|
|
17196
17448
|
getPredictions: (params: GetPredictionsParams, options?: CallApiOptions["options"]) => ApiResponse<{
|
|
17197
17449
|
data: components["schemas"]["Prediction"][];
|
|
17198
17450
|
pagination?: {
|
|
17199
|
-
cursor
|
|
17451
|
+
cursor? /**
|
|
17452
|
+
* Sends a whisper message to the specified user.
|
|
17453
|
+
*
|
|
17454
|
+
* NOTE: The user sending the whisper must have a verified phone number (see the **Phone Number** setting in your [Security and Privacy](https://www.twitch.tv/settings/security) settings).
|
|
17455
|
+
*
|
|
17456
|
+
* NOTE: The API may silently drop whispers that it suspects of violating Twitch policies. (The API does not indicate that it dropped the whisper; it returns a 204 status code as if it succeeded.)
|
|
17457
|
+
*
|
|
17458
|
+
* **Rate Limits**: You may whisper to a maximum of 40 unique recipients per day. Within the per day limit, you may whisper a maximum of 3 whispers per second and a maximum of 100 whispers per minute.
|
|
17459
|
+
*
|
|
17460
|
+
* __Authorization:__
|
|
17461
|
+
*
|
|
17462
|
+
* Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:manage:whispers** scope.
|
|
17463
|
+
*
|
|
17464
|
+
* __URL:__
|
|
17465
|
+
*
|
|
17466
|
+
* `POST https://api.twitch.tv/helix/whispers`
|
|
17467
|
+
*
|
|
17468
|
+
* __Response Codes:__
|
|
17469
|
+
*
|
|
17470
|
+
* _204 No Content_
|
|
17471
|
+
*
|
|
17472
|
+
* Successfully sent the whisper message or the message was silently dropped.
|
|
17473
|
+
*
|
|
17474
|
+
* _400 Bad Request_
|
|
17475
|
+
*
|
|
17476
|
+
* * The ID in the _from\_user\_id_ and _to\_user\_id_ query parameters must be different.
|
|
17477
|
+
* * The `message` field must not contain an empty string.
|
|
17478
|
+
* * The user that you're sending the whisper to doesn't allow whisper messages (see the **Block Whispers from Strangers** setting in your [Security and Privacy](https://www.twitch.tv/settings/security) settings).
|
|
17479
|
+
* * Whisper messages may not be sent to suspended users.
|
|
17480
|
+
* * The ID in the _from\_user\_id_ query parameter is not valid.
|
|
17481
|
+
* * The ID in the _to\_user\_id_ query parameter is not valid.
|
|
17482
|
+
*
|
|
17483
|
+
* _401 Unauthorized_
|
|
17484
|
+
*
|
|
17485
|
+
* * The user in the _from\_user\_id_ query parameter must have a verified phone number.
|
|
17486
|
+
* * The Authorization header is required and must contain a user access token.
|
|
17487
|
+
* * The user access token must include the **user:manage:whispers** scope.
|
|
17488
|
+
* * The access token is not valid.
|
|
17489
|
+
* * This ID in _from\_user\_id_ must match the user ID in the user access token.
|
|
17490
|
+
* * The client ID specified in the Client-Id header does not match the client ID specified in the access token.
|
|
17491
|
+
*
|
|
17492
|
+
* _403 Forbidden_
|
|
17493
|
+
*
|
|
17494
|
+
* * Suspended users may not send whisper messages.
|
|
17495
|
+
* * The account that's sending the message doesn't allow sending whispers.
|
|
17496
|
+
*
|
|
17497
|
+
* _404 Not Found_
|
|
17498
|
+
*
|
|
17499
|
+
* * The ID in _to\_user\_id_ was not found.
|
|
17500
|
+
*
|
|
17501
|
+
* _429 Too Many Requests_
|
|
17502
|
+
*
|
|
17503
|
+
* * The sending user exceeded the number of whisper requests that they may make. See Rate Limits for this endpoint above.
|
|
17504
|
+
*
|
|
17505
|
+
* @see https://dev.twitch.tv/docs/api/reference#send-whisper
|
|
17506
|
+
*/: string;
|
|
17200
17507
|
};
|
|
17201
17508
|
}, 200, 400 | 401>;
|
|
17202
17509
|
/**
|
|
@@ -17349,7 +17656,7 @@ declare class TwitchApi {
|
|
|
17349
17656
|
*
|
|
17350
17657
|
* @see https://dev.twitch.tv/docs/api/reference#start-a-raid
|
|
17351
17658
|
*/
|
|
17352
|
-
|
|
17659
|
+
startARaid: (params?: StartARaidParams | null | undefined, options?: CallApiOptions["options"]) => ApiResponse<{
|
|
17353
17660
|
data: {
|
|
17354
17661
|
created_at: string;
|
|
17355
17662
|
is_mature: boolean;
|
|
@@ -17398,7 +17705,7 @@ declare class TwitchApi {
|
|
|
17398
17705
|
*
|
|
17399
17706
|
* @see https://dev.twitch.tv/docs/api/reference#cancel-a-raid
|
|
17400
17707
|
*/
|
|
17401
|
-
|
|
17708
|
+
cancelARaid: (params: CancelARaidParams, options?: CallApiOptions["options"]) => ApiResponse<void, 204, 400 | 401 | 404 | 429>;
|
|
17402
17709
|
};
|
|
17403
17710
|
schedule: {
|
|
17404
17711
|
/**
|
|
@@ -18320,7 +18627,7 @@ declare class TwitchApi {
|
|
|
18320
18627
|
user_id: string;
|
|
18321
18628
|
user_name: string;
|
|
18322
18629
|
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")[];
|
|
18630
|
+
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:manage: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
18631
|
})[];
|
|
18325
18632
|
}, 200, 400 | 401 | 403 | 500>;
|
|
18326
18633
|
/**
|
|
@@ -18696,4 +19003,4 @@ declare class TwitchApi {
|
|
|
18696
19003
|
};
|
|
18697
19004
|
}
|
|
18698
19005
|
|
|
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 };
|
|
19006
|
+
export { type AddBlockedTermBody, type AddBlockedTermParams, type AddBlockedTermResponse, type AddChannelModeratorParams, type AddChannelVIPParams, type AddSuspiciousStatusToChatUserBody, type AddSuspiciousStatusToChatUserParams, type AddSuspiciousStatusToChatUserResponse, 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 CancelARaidParams, 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 RemoveSuspiciousStatusFromChatUserParams, type RemoveSuspiciousStatusFromChatUserResponse, type ResolveUnbanRequestsParams, type ResolveUnbanRequestsResponse, type SearchCategoriesParams, type SearchCategoriesResponse, type SearchChannelsParams, type SearchChannelsResponse, type SendAShoutoutParams, type SendChatAnnouncementBody, type SendChatAnnouncementParams, type SendChatMessageBody, type SendChatMessageResponse, type SendExtensionChatMessageBody, type SendExtensionChatMessageParams, type SendExtensionPubSubMessageBody, type SendGuestStarInviteParams, type SendWhisperBody, type SendWhisperParams, type SetExtensionConfigurationSegmentBody, type SetExtensionRequiredConfigurationBody, type SetExtensionRequiredConfigurationParams, type SnoozeNextAdParams, type SnoozeNextAdResponse, type StartARaidParams, type StartARaidResponse, type StartCommercialBody, type StartCommercialResponse, 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 };
|