@openclaw/twitch 2026.7.1 → 2026.7.2-beta.1

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.
Files changed (359) hide show
  1. package/dist/api.js +1 -1
  2. package/dist/channel-plugin-api.js +1 -1
  3. package/dist/{monitor-DuF1m2_8.js → monitor-BL82UZIL.js} +6 -8
  4. package/dist/{plugin-C5o3rImF.js → plugin-DG2hXX7Z.js} +51 -31
  5. package/npm-shrinkwrap.json +3 -36
  6. package/package.json +6 -6
  7. package/node_modules/@twurple/api/LICENSE +0 -21
  8. package/node_modules/@twurple/api/README.md +0 -24
  9. package/node_modules/@twurple/api/lib/client/ApiClient.d.ts +0 -98
  10. package/node_modules/@twurple/api/lib/client/ApiClient.js +0 -107
  11. package/node_modules/@twurple/api/lib/client/BaseApiClient.d.ts +0 -167
  12. package/node_modules/@twurple/api/lib/client/BaseApiClient.js +0 -446
  13. package/node_modules/@twurple/api/lib/client/ContextApiCallOptions.d.ts +0 -21
  14. package/node_modules/@twurple/api/lib/client/ContextApiCallOptions.js +0 -1
  15. package/node_modules/@twurple/api/lib/client/NoContextApiClient.d.ts +0 -5
  16. package/node_modules/@twurple/api/lib/client/NoContextApiClient.js +0 -14
  17. package/node_modules/@twurple/api/lib/client/UserContextApiClient.d.ts +0 -6
  18. package/node_modules/@twurple/api/lib/client/UserContextApiClient.js +0 -20
  19. package/node_modules/@twurple/api/lib/endpoints/BaseApi.d.ts +0 -4
  20. package/node_modules/@twurple/api/lib/endpoints/BaseApi.js +0 -17
  21. package/node_modules/@twurple/api/lib/endpoints/bits/CheermoteDisplayInfo.d.ts +0 -48
  22. package/node_modules/@twurple/api/lib/endpoints/bits/CheermoteDisplayInfo.js +0 -1
  23. package/node_modules/@twurple/api/lib/endpoints/bits/HelixBitsApi.d.ts +0 -38
  24. package/node_modules/@twurple/api/lib/endpoints/bits/HelixBitsApi.js +0 -61
  25. package/node_modules/@twurple/api/lib/endpoints/bits/HelixBitsLeaderboard.d.ts +0 -17
  26. package/node_modules/@twurple/api/lib/endpoints/bits/HelixBitsLeaderboard.js +0 -39
  27. package/node_modules/@twurple/api/lib/endpoints/bits/HelixBitsLeaderboardEntry.d.ts +0 -33
  28. package/node_modules/@twurple/api/lib/endpoints/bits/HelixBitsLeaderboardEntry.js +0 -57
  29. package/node_modules/@twurple/api/lib/endpoints/bits/HelixCheermoteList.d.ts +0 -23
  30. package/node_modules/@twurple/api/lib/endpoints/bits/HelixCheermoteList.js +0 -44
  31. package/node_modules/@twurple/api/lib/endpoints/channel/HelixAdSchedule.d.ts +0 -35
  32. package/node_modules/@twurple/api/lib/endpoints/channel/HelixAdSchedule.js +0 -50
  33. package/node_modules/@twurple/api/lib/endpoints/channel/HelixChannel.d.ts +0 -64
  34. package/node_modules/@twurple/api/lib/endpoints/channel/HelixChannel.js +0 -103
  35. package/node_modules/@twurple/api/lib/endpoints/channel/HelixChannelApi.d.ts +0 -185
  36. package/node_modules/@twurple/api/lib/endpoints/channel/HelixChannelApi.js +0 -371
  37. package/node_modules/@twurple/api/lib/endpoints/channel/HelixChannelEditor.d.ts +0 -25
  38. package/node_modules/@twurple/api/lib/endpoints/channel/HelixChannelEditor.js +0 -45
  39. package/node_modules/@twurple/api/lib/endpoints/channel/HelixChannelFollower.d.ts +0 -29
  40. package/node_modules/@twurple/api/lib/endpoints/channel/HelixChannelFollower.js +0 -51
  41. package/node_modules/@twurple/api/lib/endpoints/channel/HelixChannelReference.d.ts +0 -43
  42. package/node_modules/@twurple/api/lib/endpoints/channel/HelixChannelReference.js +0 -71
  43. package/node_modules/@twurple/api/lib/endpoints/channel/HelixFollowedChannel.d.ts +0 -29
  44. package/node_modules/@twurple/api/lib/endpoints/channel/HelixFollowedChannel.js +0 -51
  45. package/node_modules/@twurple/api/lib/endpoints/channel/HelixSnoozeNextAdResult.d.ts +0 -20
  46. package/node_modules/@twurple/api/lib/endpoints/channel/HelixSnoozeNextAdResult.js +0 -29
  47. package/node_modules/@twurple/api/lib/endpoints/channelPoints/HelixChannelPointsApi.d.ts +0 -117
  48. package/node_modules/@twurple/api/lib/endpoints/channelPoints/HelixChannelPointsApi.js +0 -228
  49. package/node_modules/@twurple/api/lib/endpoints/channelPoints/HelixCustomReward.d.ts +0 -94
  50. package/node_modules/@twurple/api/lib/endpoints/channelPoints/HelixCustomReward.js +0 -152
  51. package/node_modules/@twurple/api/lib/endpoints/channelPoints/HelixCustomRewardRedemption.d.ts +0 -88
  52. package/node_modules/@twurple/api/lib/endpoints/channelPoints/HelixCustomRewardRedemption.js +0 -138
  53. package/node_modules/@twurple/api/lib/endpoints/charity/HelixCharityApi.d.ts +0 -39
  54. package/node_modules/@twurple/api/lib/endpoints/charity/HelixCharityApi.js +0 -66
  55. package/node_modules/@twurple/api/lib/endpoints/charity/HelixCharityCampaign.d.ts +0 -54
  56. package/node_modules/@twurple/api/lib/endpoints/charity/HelixCharityCampaign.js +0 -88
  57. package/node_modules/@twurple/api/lib/endpoints/charity/HelixCharityCampaignAmount.d.ts +0 -29
  58. package/node_modules/@twurple/api/lib/endpoints/charity/HelixCharityCampaignAmount.js +0 -40
  59. package/node_modules/@twurple/api/lib/endpoints/charity/HelixCharityCampaignDonation.d.ts +0 -34
  60. package/node_modules/@twurple/api/lib/endpoints/charity/HelixCharityCampaignDonation.js +0 -58
  61. package/node_modules/@twurple/api/lib/endpoints/chat/HelixChannelEmote.d.ts +0 -31
  62. package/node_modules/@twurple/api/lib/endpoints/chat/HelixChannelEmote.js +0 -49
  63. package/node_modules/@twurple/api/lib/endpoints/chat/HelixChatApi.d.ts +0 -224
  64. package/node_modules/@twurple/api/lib/endpoints/chat/HelixChatApi.js +0 -446
  65. package/node_modules/@twurple/api/lib/endpoints/chat/HelixChatBadgeSet.d.ts +0 -23
  66. package/node_modules/@twurple/api/lib/endpoints/chat/HelixChatBadgeSet.js +0 -37
  67. package/node_modules/@twurple/api/lib/endpoints/chat/HelixChatBadgeVersion.d.ts +0 -35
  68. package/node_modules/@twurple/api/lib/endpoints/chat/HelixChatBadgeVersion.js +0 -49
  69. package/node_modules/@twurple/api/lib/endpoints/chat/HelixChatChatter.d.ts +0 -25
  70. package/node_modules/@twurple/api/lib/endpoints/chat/HelixChatChatter.js +0 -45
  71. package/node_modules/@twurple/api/lib/endpoints/chat/HelixChatSettings.d.ts +0 -45
  72. package/node_modules/@twurple/api/lib/endpoints/chat/HelixChatSettings.js +0 -64
  73. package/node_modules/@twurple/api/lib/endpoints/chat/HelixEmote.d.ts +0 -14
  74. package/node_modules/@twurple/api/lib/endpoints/chat/HelixEmote.js +0 -20
  75. package/node_modules/@twurple/api/lib/endpoints/chat/HelixEmoteBase.d.ts +0 -48
  76. package/node_modules/@twurple/api/lib/endpoints/chat/HelixEmoteBase.js +0 -68
  77. package/node_modules/@twurple/api/lib/endpoints/chat/HelixEmoteFromSet.d.ts +0 -33
  78. package/node_modules/@twurple/api/lib/endpoints/chat/HelixEmoteFromSet.js +0 -67
  79. package/node_modules/@twurple/api/lib/endpoints/chat/HelixPrivilegedChatSettings.d.ts +0 -17
  80. package/node_modules/@twurple/api/lib/endpoints/chat/HelixPrivilegedChatSettings.js +0 -26
  81. package/node_modules/@twurple/api/lib/endpoints/chat/HelixSentChatMessage.d.ts +0 -24
  82. package/node_modules/@twurple/api/lib/endpoints/chat/HelixSentChatMessage.js +0 -35
  83. package/node_modules/@twurple/api/lib/endpoints/chat/HelixSharedChatSession.d.ts +0 -34
  84. package/node_modules/@twurple/api/lib/endpoints/chat/HelixSharedChatSession.js +0 -58
  85. package/node_modules/@twurple/api/lib/endpoints/chat/HelixSharedChatSessionParticipant.d.ts +0 -17
  86. package/node_modules/@twurple/api/lib/endpoints/chat/HelixSharedChatSessionParticipant.js +0 -33
  87. package/node_modules/@twurple/api/lib/endpoints/chat/HelixUserEmote.d.ts +0 -37
  88. package/node_modules/@twurple/api/lib/endpoints/chat/HelixUserEmote.js +0 -58
  89. package/node_modules/@twurple/api/lib/endpoints/clip/HelixClip.d.ts +0 -98
  90. package/node_modules/@twurple/api/lib/endpoints/clip/HelixClip.js +0 -152
  91. package/node_modules/@twurple/api/lib/endpoints/clip/HelixClipApi.d.ts +0 -99
  92. package/node_modules/@twurple/api/lib/endpoints/clip/HelixClipApi.js +0 -192
  93. package/node_modules/@twurple/api/lib/endpoints/contentClassificationLabels/HelixContentClassificationLabel.d.ts +0 -20
  94. package/node_modules/@twurple/api/lib/endpoints/contentClassificationLabels/HelixContentClassificationLabel.js +0 -24
  95. package/node_modules/@twurple/api/lib/endpoints/contentClassificationLabels/HelixContentClassificationLabelApi.d.ts +0 -25
  96. package/node_modules/@twurple/api/lib/endpoints/contentClassificationLabels/HelixContentClassificationLabelApi.js +0 -38
  97. package/node_modules/@twurple/api/lib/endpoints/entitlements/HelixDropsEntitlement.d.ts +0 -46
  98. package/node_modules/@twurple/api/lib/endpoints/entitlements/HelixDropsEntitlement.js +0 -75
  99. package/node_modules/@twurple/api/lib/endpoints/entitlements/HelixEntitlementApi.d.ts +0 -68
  100. package/node_modules/@twurple/api/lib/endpoints/entitlements/HelixEntitlementApi.js +0 -122
  101. package/node_modules/@twurple/api/lib/endpoints/eventSub/HelixEventSubApi.d.ts +0 -780
  102. package/node_modules/@twurple/api/lib/endpoints/eventSub/HelixEventSubApi.js +0 -1150
  103. package/node_modules/@twurple/api/lib/endpoints/eventSub/HelixEventSubConduit.d.ts +0 -32
  104. package/node_modules/@twurple/api/lib/endpoints/eventSub/HelixEventSubConduit.js +0 -53
  105. package/node_modules/@twurple/api/lib/endpoints/eventSub/HelixEventSubConduitShard.d.ts +0 -20
  106. package/node_modules/@twurple/api/lib/endpoints/eventSub/HelixEventSubConduitShard.js +0 -29
  107. package/node_modules/@twurple/api/lib/endpoints/eventSub/HelixEventSubSubscription.d.ts +0 -44
  108. package/node_modules/@twurple/api/lib/endpoints/eventSub/HelixEventSubSubscription.js +0 -80
  109. package/node_modules/@twurple/api/lib/endpoints/eventSub/HelixPaginatedEventSubSubscriptionsRequest.d.ts +0 -20
  110. package/node_modules/@twurple/api/lib/endpoints/eventSub/HelixPaginatedEventSubSubscriptionsRequest.js +0 -40
  111. package/node_modules/@twurple/api/lib/endpoints/extensions/HelixExtensionBitsProduct.d.ts +0 -32
  112. package/node_modules/@twurple/api/lib/endpoints/extensions/HelixExtensionBitsProduct.js +0 -48
  113. package/node_modules/@twurple/api/lib/endpoints/extensions/HelixExtensionTransaction.d.ts +0 -69
  114. package/node_modules/@twurple/api/lib/endpoints/extensions/HelixExtensionTransaction.js +0 -111
  115. package/node_modules/@twurple/api/lib/endpoints/extensions/HelixExtensionsApi.d.ts +0 -84
  116. package/node_modules/@twurple/api/lib/endpoints/extensions/HelixExtensionsApi.js +0 -143
  117. package/node_modules/@twurple/api/lib/endpoints/game/HelixGame.d.ts +0 -47
  118. package/node_modules/@twurple/api/lib/endpoints/game/HelixGame.js +0 -71
  119. package/node_modules/@twurple/api/lib/endpoints/game/HelixGameApi.d.ts +0 -89
  120. package/node_modules/@twurple/api/lib/endpoints/game/HelixGameApi.js +0 -162
  121. package/node_modules/@twurple/api/lib/endpoints/goals/HelixGoal.d.ts +0 -49
  122. package/node_modules/@twurple/api/lib/endpoints/goals/HelixGoal.js +0 -81
  123. package/node_modules/@twurple/api/lib/endpoints/goals/HelixGoalApi.d.ts +0 -20
  124. package/node_modules/@twurple/api/lib/endpoints/goals/HelixGoalApi.js +0 -34
  125. package/node_modules/@twurple/api/lib/endpoints/hypeTrain/HelixHypeTrain.d.ts +0 -70
  126. package/node_modules/@twurple/api/lib/endpoints/hypeTrain/HelixHypeTrain.js +0 -112
  127. package/node_modules/@twurple/api/lib/endpoints/hypeTrain/HelixHypeTrainAllTimeHigh.d.ts +0 -20
  128. package/node_modules/@twurple/api/lib/endpoints/hypeTrain/HelixHypeTrainAllTimeHigh.js +0 -29
  129. package/node_modules/@twurple/api/lib/endpoints/hypeTrain/HelixHypeTrainApi.d.ts +0 -26
  130. package/node_modules/@twurple/api/lib/endpoints/hypeTrain/HelixHypeTrainApi.js +0 -37
  131. package/node_modules/@twurple/api/lib/endpoints/hypeTrain/HelixHypeTrainContribution.d.ts +0 -33
  132. package/node_modules/@twurple/api/lib/endpoints/hypeTrain/HelixHypeTrainContribution.js +0 -57
  133. package/node_modules/@twurple/api/lib/endpoints/hypeTrain/HelixHypeTrainSharedParticipant.d.ts +0 -25
  134. package/node_modules/@twurple/api/lib/endpoints/hypeTrain/HelixHypeTrainSharedParticipant.js +0 -45
  135. package/node_modules/@twurple/api/lib/endpoints/hypeTrain/HelixHypeTrainStatus.d.ts +0 -22
  136. package/node_modules/@twurple/api/lib/endpoints/hypeTrain/HelixHypeTrainStatus.js +0 -41
  137. package/node_modules/@twurple/api/lib/endpoints/moderation/HelixAutoModSettings.d.ts +0 -52
  138. package/node_modules/@twurple/api/lib/endpoints/moderation/HelixAutoModSettings.js +0 -77
  139. package/node_modules/@twurple/api/lib/endpoints/moderation/HelixAutoModStatus.d.ts +0 -16
  140. package/node_modules/@twurple/api/lib/endpoints/moderation/HelixAutoModStatus.js +0 -23
  141. package/node_modules/@twurple/api/lib/endpoints/moderation/HelixBan.d.ts +0 -29
  142. package/node_modules/@twurple/api/lib/endpoints/moderation/HelixBan.js +0 -48
  143. package/node_modules/@twurple/api/lib/endpoints/moderation/HelixBanUser.d.ts +0 -35
  144. package/node_modules/@twurple/api/lib/endpoints/moderation/HelixBanUser.js +0 -64
  145. package/node_modules/@twurple/api/lib/endpoints/moderation/HelixBlockedTerm.d.ts +0 -37
  146. package/node_modules/@twurple/api/lib/endpoints/moderation/HelixBlockedTerm.js +0 -54
  147. package/node_modules/@twurple/api/lib/endpoints/moderation/HelixModeratedChannel.d.ts +0 -30
  148. package/node_modules/@twurple/api/lib/endpoints/moderation/HelixModeratedChannel.js +0 -51
  149. package/node_modules/@twurple/api/lib/endpoints/moderation/HelixModerationApi.d.ts +0 -281
  150. package/node_modules/@twurple/api/lib/endpoints/moderation/HelixModerationApi.js +0 -580
  151. package/node_modules/@twurple/api/lib/endpoints/moderation/HelixModerator.d.ts +0 -25
  152. package/node_modules/@twurple/api/lib/endpoints/moderation/HelixModerator.js +0 -45
  153. package/node_modules/@twurple/api/lib/endpoints/moderation/HelixShieldModeStatus.d.ts +0 -33
  154. package/node_modules/@twurple/api/lib/endpoints/moderation/HelixShieldModeStatus.js +0 -57
  155. package/node_modules/@twurple/api/lib/endpoints/moderation/HelixUnbanRequest.d.ts +0 -83
  156. package/node_modules/@twurple/api/lib/endpoints/moderation/HelixUnbanRequest.js +0 -131
  157. package/node_modules/@twurple/api/lib/endpoints/moderation/HelixWarning.d.ts +0 -37
  158. package/node_modules/@twurple/api/lib/endpoints/moderation/HelixWarning.js +0 -63
  159. package/node_modules/@twurple/api/lib/endpoints/poll/HelixPoll.d.ts +0 -62
  160. package/node_modules/@twurple/api/lib/endpoints/poll/HelixPoll.js +0 -100
  161. package/node_modules/@twurple/api/lib/endpoints/poll/HelixPollApi.d.ts +0 -71
  162. package/node_modules/@twurple/api/lib/endpoints/poll/HelixPollApi.js +0 -130
  163. package/node_modules/@twurple/api/lib/endpoints/poll/HelixPollChoice.d.ts +0 -24
  164. package/node_modules/@twurple/api/lib/endpoints/poll/HelixPollChoice.js +0 -35
  165. package/node_modules/@twurple/api/lib/endpoints/prediction/HelixPrediction.d.ts +0 -66
  166. package/node_modules/@twurple/api/lib/endpoints/prediction/HelixPrediction.js +0 -115
  167. package/node_modules/@twurple/api/lib/endpoints/prediction/HelixPredictionApi.d.ts +0 -86
  168. package/node_modules/@twurple/api/lib/endpoints/prediction/HelixPredictionApi.js +0 -151
  169. package/node_modules/@twurple/api/lib/endpoints/prediction/HelixPredictionOutcome.d.ts +0 -33
  170. package/node_modules/@twurple/api/lib/endpoints/prediction/HelixPredictionOutcome.js +0 -58
  171. package/node_modules/@twurple/api/lib/endpoints/prediction/HelixPredictor.d.ts +0 -33
  172. package/node_modules/@twurple/api/lib/endpoints/prediction/HelixPredictor.js +0 -57
  173. package/node_modules/@twurple/api/lib/endpoints/raids/HelixRaid.d.ts +0 -16
  174. package/node_modules/@twurple/api/lib/endpoints/raids/HelixRaid.js +0 -23
  175. package/node_modules/@twurple/api/lib/endpoints/raids/HelixRaidApi.d.ts +0 -33
  176. package/node_modules/@twurple/api/lib/endpoints/raids/HelixRaidApi.js +0 -58
  177. package/node_modules/@twurple/api/lib/endpoints/schedule/HelixPaginatedScheduleSegmentRequest.d.ts +0 -9
  178. package/node_modules/@twurple/api/lib/endpoints/schedule/HelixPaginatedScheduleSegmentRequest.js +0 -31
  179. package/node_modules/@twurple/api/lib/endpoints/schedule/HelixSchedule.d.ts +0 -38
  180. package/node_modules/@twurple/api/lib/endpoints/schedule/HelixSchedule.js +0 -66
  181. package/node_modules/@twurple/api/lib/endpoints/schedule/HelixScheduleApi.d.ts +0 -95
  182. package/node_modules/@twurple/api/lib/endpoints/schedule/HelixScheduleApi.js +0 -171
  183. package/node_modules/@twurple/api/lib/endpoints/schedule/HelixScheduleSegment.d.ts +0 -45
  184. package/node_modules/@twurple/api/lib/endpoints/schedule/HelixScheduleSegment.js +0 -76
  185. package/node_modules/@twurple/api/lib/endpoints/search/HelixChannelSearchResult.d.ts +0 -58
  186. package/node_modules/@twurple/api/lib/endpoints/search/HelixChannelSearchResult.js +0 -95
  187. package/node_modules/@twurple/api/lib/endpoints/search/HelixSearchApi.d.ts +0 -59
  188. package/node_modules/@twurple/api/lib/endpoints/search/HelixSearchApi.js +0 -94
  189. package/node_modules/@twurple/api/lib/endpoints/stream/HelixStream.d.ts +0 -88
  190. package/node_modules/@twurple/api/lib/endpoints/stream/HelixStream.js +0 -137
  191. package/node_modules/@twurple/api/lib/endpoints/stream/HelixStreamApi.d.ts +0 -140
  192. package/node_modules/@twurple/api/lib/endpoints/stream/HelixStreamApi.js +0 -303
  193. package/node_modules/@twurple/api/lib/endpoints/stream/HelixStreamMarker.d.ts +0 -24
  194. package/node_modules/@twurple/api/lib/endpoints/stream/HelixStreamMarker.js +0 -45
  195. package/node_modules/@twurple/api/lib/endpoints/stream/HelixStreamMarkerWithVideo.d.ts +0 -23
  196. package/node_modules/@twurple/api/lib/endpoints/stream/HelixStreamMarkerWithVideo.js +0 -38
  197. package/node_modules/@twurple/api/lib/endpoints/subscriptions/HelixPaginatedSubscriptionsRequest.d.ts +0 -16
  198. package/node_modules/@twurple/api/lib/endpoints/subscriptions/HelixPaginatedSubscriptionsRequest.js +0 -34
  199. package/node_modules/@twurple/api/lib/endpoints/subscriptions/HelixSubscription.d.ts +0 -58
  200. package/node_modules/@twurple/api/lib/endpoints/subscriptions/HelixSubscription.js +0 -88
  201. package/node_modules/@twurple/api/lib/endpoints/subscriptions/HelixSubscriptionApi.d.ts +0 -66
  202. package/node_modules/@twurple/api/lib/endpoints/subscriptions/HelixSubscriptionApi.js +0 -119
  203. package/node_modules/@twurple/api/lib/endpoints/subscriptions/HelixUserSubscription.d.ts +0 -33
  204. package/node_modules/@twurple/api/lib/endpoints/subscriptions/HelixUserSubscription.js +0 -57
  205. package/node_modules/@twurple/api/lib/endpoints/team/HelixTeam.d.ts +0 -51
  206. package/node_modules/@twurple/api/lib/endpoints/team/HelixTeam.js +0 -84
  207. package/node_modules/@twurple/api/lib/endpoints/team/HelixTeamApi.d.ts +0 -43
  208. package/node_modules/@twurple/api/lib/endpoints/team/HelixTeamApi.js +0 -92
  209. package/node_modules/@twurple/api/lib/endpoints/team/HelixTeamWithUsers.d.ts +0 -14
  210. package/node_modules/@twurple/api/lib/endpoints/team/HelixTeamWithUsers.js +0 -21
  211. package/node_modules/@twurple/api/lib/endpoints/user/HelixFollow.d.ts +0 -45
  212. package/node_modules/@twurple/api/lib/endpoints/user/HelixFollow.js +0 -76
  213. package/node_modules/@twurple/api/lib/endpoints/user/HelixPrivilegedUser.d.ts +0 -19
  214. package/node_modules/@twurple/api/lib/endpoints/user/HelixPrivilegedUser.js +0 -28
  215. package/node_modules/@twurple/api/lib/endpoints/user/HelixUser.d.ts +0 -134
  216. package/node_modules/@twurple/api/lib/endpoints/user/HelixUser.js +0 -183
  217. package/node_modules/@twurple/api/lib/endpoints/user/HelixUserApi.d.ts +0 -137
  218. package/node_modules/@twurple/api/lib/endpoints/user/HelixUserApi.js +0 -280
  219. package/node_modules/@twurple/api/lib/endpoints/user/HelixUserBlock.d.ts +0 -25
  220. package/node_modules/@twurple/api/lib/endpoints/user/HelixUserBlock.js +0 -45
  221. package/node_modules/@twurple/api/lib/endpoints/user/extensions/HelixBaseExtension.d.ts +0 -18
  222. package/node_modules/@twurple/api/lib/endpoints/user/extensions/HelixBaseExtension.js +0 -22
  223. package/node_modules/@twurple/api/lib/endpoints/user/extensions/HelixInstalledExtension.d.ts +0 -20
  224. package/node_modules/@twurple/api/lib/endpoints/user/extensions/HelixInstalledExtension.js +0 -34
  225. package/node_modules/@twurple/api/lib/endpoints/user/extensions/HelixInstalledExtensionList.d.ts +0 -14
  226. package/node_modules/@twurple/api/lib/endpoints/user/extensions/HelixInstalledExtensionList.js +0 -26
  227. package/node_modules/@twurple/api/lib/endpoints/user/extensions/HelixUserExtension.d.ts +0 -18
  228. package/node_modules/@twurple/api/lib/endpoints/user/extensions/HelixUserExtension.js +0 -26
  229. package/node_modules/@twurple/api/lib/endpoints/video/HelixVideo.d.ts +0 -105
  230. package/node_modules/@twurple/api/lib/endpoints/video/HelixVideo.js +0 -195
  231. package/node_modules/@twurple/api/lib/endpoints/video/HelixVideoApi.d.ts +0 -85
  232. package/node_modules/@twurple/api/lib/endpoints/video/HelixVideoApi.js +0 -162
  233. package/node_modules/@twurple/api/lib/endpoints/whisper/HelixWhisperApi.d.ts +0 -36
  234. package/node_modules/@twurple/api/lib/endpoints/whisper/HelixWhisperApi.js +0 -53
  235. package/node_modules/@twurple/api/lib/errors/ChatMessageDroppedError.d.ts +0 -10
  236. package/node_modules/@twurple/api/lib/errors/ChatMessageDroppedError.js +0 -14
  237. package/node_modules/@twurple/api/lib/errors/ConfigError.d.ts +0 -7
  238. package/node_modules/@twurple/api/lib/errors/ConfigError.js +0 -6
  239. package/node_modules/@twurple/api/lib/errors/StreamNotLiveError.d.ts +0 -9
  240. package/node_modules/@twurple/api/lib/errors/StreamNotLiveError.js +0 -10
  241. package/node_modules/@twurple/api/lib/index.d.ts +0 -151
  242. package/node_modules/@twurple/api/lib/index.js +0 -111
  243. package/node_modules/@twurple/api/lib/interfaces/endpoints/bits.external.d.ts +0 -43
  244. package/node_modules/@twurple/api/lib/interfaces/endpoints/bits.external.js +0 -10
  245. package/node_modules/@twurple/api/lib/interfaces/endpoints/bits.input.d.ts +0 -30
  246. package/node_modules/@twurple/api/lib/interfaces/endpoints/bits.input.js +0 -1
  247. package/node_modules/@twurple/api/lib/interfaces/endpoints/channel.external.d.ts +0 -58
  248. package/node_modules/@twurple/api/lib/interfaces/endpoints/channel.external.js +0 -42
  249. package/node_modules/@twurple/api/lib/interfaces/endpoints/channel.input.d.ts +0 -39
  250. package/node_modules/@twurple/api/lib/interfaces/endpoints/channel.input.js +0 -1
  251. package/node_modules/@twurple/api/lib/interfaces/endpoints/channelPoints.external.d.ts +0 -74
  252. package/node_modules/@twurple/api/lib/interfaces/endpoints/channelPoints.external.js +0 -60
  253. package/node_modules/@twurple/api/lib/interfaces/endpoints/channelPoints.input.d.ts +0 -78
  254. package/node_modules/@twurple/api/lib/interfaces/endpoints/channelPoints.input.js +0 -1
  255. package/node_modules/@twurple/api/lib/interfaces/endpoints/charity.external.d.ts +0 -28
  256. package/node_modules/@twurple/api/lib/interfaces/endpoints/charity.external.js +0 -1
  257. package/node_modules/@twurple/api/lib/interfaces/endpoints/chat.external.d.ts +0 -114
  258. package/node_modules/@twurple/api/lib/interfaces/endpoints/chat.external.js +0 -52
  259. package/node_modules/@twurple/api/lib/interfaces/endpoints/chat.input.d.ts +0 -93
  260. package/node_modules/@twurple/api/lib/interfaces/endpoints/chat.input.js +0 -1
  261. package/node_modules/@twurple/api/lib/interfaces/endpoints/clip.external.d.ts +0 -28
  262. package/node_modules/@twurple/api/lib/interfaces/endpoints/clip.external.js +0 -33
  263. package/node_modules/@twurple/api/lib/interfaces/endpoints/clip.input.d.ts +0 -85
  264. package/node_modules/@twurple/api/lib/interfaces/endpoints/clip.input.js +0 -1
  265. package/node_modules/@twurple/api/lib/interfaces/endpoints/contentClassificationLabels.external.d.ts +0 -7
  266. package/node_modules/@twurple/api/lib/interfaces/endpoints/contentClassificationLabels.external.js +0 -1
  267. package/node_modules/@twurple/api/lib/interfaces/endpoints/entitlement.external.d.ts +0 -24
  268. package/node_modules/@twurple/api/lib/interfaces/endpoints/entitlement.external.js +0 -17
  269. package/node_modules/@twurple/api/lib/interfaces/endpoints/entitlement.input.d.ts +0 -26
  270. package/node_modules/@twurple/api/lib/interfaces/endpoints/entitlement.input.js +0 -1
  271. package/node_modules/@twurple/api/lib/interfaces/endpoints/eventSub.external.d.ts +0 -88
  272. package/node_modules/@twurple/api/lib/interfaces/endpoints/eventSub.external.js +0 -54
  273. package/node_modules/@twurple/api/lib/interfaces/endpoints/eventSub.input.d.ts +0 -66
  274. package/node_modules/@twurple/api/lib/interfaces/endpoints/eventSub.input.js +0 -1
  275. package/node_modules/@twurple/api/lib/interfaces/endpoints/extensions.external.d.ts +0 -42
  276. package/node_modules/@twurple/api/lib/interfaces/endpoints/extensions.external.js +0 -28
  277. package/node_modules/@twurple/api/lib/interfaces/endpoints/extensions.input.d.ts +0 -47
  278. package/node_modules/@twurple/api/lib/interfaces/endpoints/extensions.input.js +0 -1
  279. package/node_modules/@twurple/api/lib/interfaces/endpoints/game.external.d.ts +0 -8
  280. package/node_modules/@twurple/api/lib/interfaces/endpoints/game.external.js +0 -1
  281. package/node_modules/@twurple/api/lib/interfaces/endpoints/generic.external.d.ts +0 -20
  282. package/node_modules/@twurple/api/lib/interfaces/endpoints/generic.external.js +0 -32
  283. package/node_modules/@twurple/api/lib/interfaces/endpoints/goal.external.d.ts +0 -14
  284. package/node_modules/@twurple/api/lib/interfaces/endpoints/goal.external.js +0 -1
  285. package/node_modules/@twurple/api/lib/interfaces/endpoints/hypeTrain.external.d.ts +0 -52
  286. package/node_modules/@twurple/api/lib/interfaces/endpoints/hypeTrain.external.js +0 -1
  287. package/node_modules/@twurple/api/lib/interfaces/endpoints/moderation.external.d.ts +0 -96
  288. package/node_modules/@twurple/api/lib/interfaces/endpoints/moderation.external.js +0 -81
  289. package/node_modules/@twurple/api/lib/interfaces/endpoints/moderation.input.d.ts +0 -65
  290. package/node_modules/@twurple/api/lib/interfaces/endpoints/moderation.input.js +0 -1
  291. package/node_modules/@twurple/api/lib/interfaces/endpoints/poll.external.d.ts +0 -29
  292. package/node_modules/@twurple/api/lib/interfaces/endpoints/poll.external.js +0 -20
  293. package/node_modules/@twurple/api/lib/interfaces/endpoints/poll.input.d.ts +0 -22
  294. package/node_modules/@twurple/api/lib/interfaces/endpoints/poll.input.js +0 -1
  295. package/node_modules/@twurple/api/lib/interfaces/endpoints/prediction.external.d.ts +0 -38
  296. package/node_modules/@twurple/api/lib/interfaces/endpoints/prediction.external.js +0 -19
  297. package/node_modules/@twurple/api/lib/interfaces/endpoints/prediction.input.d.ts +0 -18
  298. package/node_modules/@twurple/api/lib/interfaces/endpoints/prediction.input.js +0 -1
  299. package/node_modules/@twurple/api/lib/interfaces/endpoints/raid.external.d.ts +0 -6
  300. package/node_modules/@twurple/api/lib/interfaces/endpoints/raid.external.js +0 -8
  301. package/node_modules/@twurple/api/lib/interfaces/endpoints/schedule.external.d.ts +0 -36
  302. package/node_modules/@twurple/api/lib/interfaces/endpoints/schedule.external.js +0 -54
  303. package/node_modules/@twurple/api/lib/interfaces/endpoints/schedule.input.d.ts +0 -125
  304. package/node_modules/@twurple/api/lib/interfaces/endpoints/schedule.input.js +0 -1
  305. package/node_modules/@twurple/api/lib/interfaces/endpoints/search.external.d.ts +0 -15
  306. package/node_modules/@twurple/api/lib/interfaces/endpoints/search.external.js +0 -7
  307. package/node_modules/@twurple/api/lib/interfaces/endpoints/search.input.d.ts +0 -14
  308. package/node_modules/@twurple/api/lib/interfaces/endpoints/search.input.js +0 -1
  309. package/node_modules/@twurple/api/lib/interfaces/endpoints/shared-chat-session.external.d.ts +0 -13
  310. package/node_modules/@twurple/api/lib/interfaces/endpoints/shared-chat-session.external.js +0 -7
  311. package/node_modules/@twurple/api/lib/interfaces/endpoints/stream.external.d.ts +0 -52
  312. package/node_modules/@twurple/api/lib/interfaces/endpoints/stream.external.js +0 -24
  313. package/node_modules/@twurple/api/lib/interfaces/endpoints/stream.input.d.ts +0 -33
  314. package/node_modules/@twurple/api/lib/interfaces/endpoints/stream.input.js +0 -1
  315. package/node_modules/@twurple/api/lib/interfaces/endpoints/subscription.external.d.ts +0 -25
  316. package/node_modules/@twurple/api/lib/interfaces/endpoints/subscription.external.js +0 -8
  317. package/node_modules/@twurple/api/lib/interfaces/endpoints/subscription.input.d.ts +0 -12
  318. package/node_modules/@twurple/api/lib/interfaces/endpoints/subscription.input.js +0 -1
  319. package/node_modules/@twurple/api/lib/interfaces/endpoints/team.external.d.ts +0 -18
  320. package/node_modules/@twurple/api/lib/interfaces/endpoints/team.external.js +0 -1
  321. package/node_modules/@twurple/api/lib/interfaces/endpoints/user.external.d.ts +0 -41
  322. package/node_modules/@twurple/api/lib/interfaces/endpoints/user.external.js +0 -15
  323. package/node_modules/@twurple/api/lib/interfaces/endpoints/user.input.d.ts +0 -20
  324. package/node_modules/@twurple/api/lib/interfaces/endpoints/user.input.js +0 -1
  325. package/node_modules/@twurple/api/lib/interfaces/endpoints/userExtension.external.d.ts +0 -34
  326. package/node_modules/@twurple/api/lib/interfaces/endpoints/userExtension.external.js +0 -1
  327. package/node_modules/@twurple/api/lib/interfaces/endpoints/userExtension.input.d.ts +0 -48
  328. package/node_modules/@twurple/api/lib/interfaces/endpoints/userExtension.input.js +0 -1
  329. package/node_modules/@twurple/api/lib/interfaces/endpoints/video.external.d.ts +0 -38
  330. package/node_modules/@twurple/api/lib/interfaces/endpoints/video.external.js +0 -1
  331. package/node_modules/@twurple/api/lib/interfaces/endpoints/video.input.d.ts +0 -29
  332. package/node_modules/@twurple/api/lib/interfaces/endpoints/video.input.js +0 -1
  333. package/node_modules/@twurple/api/lib/interfaces/endpoints/whisper.external.d.ts +0 -2
  334. package/node_modules/@twurple/api/lib/interfaces/endpoints/whisper.external.js +0 -8
  335. package/node_modules/@twurple/api/lib/relations/HelixUserRelation.d.ts +0 -25
  336. package/node_modules/@twurple/api/lib/relations/HelixUserRelation.js +0 -45
  337. package/node_modules/@twurple/api/lib/reporting/ApiReportedRequest.d.ts +0 -22
  338. package/node_modules/@twurple/api/lib/reporting/ApiReportedRequest.js +0 -32
  339. package/node_modules/@twurple/api/lib/utils/HelixRateLimiter.d.ts +0 -2
  340. package/node_modules/@twurple/api/lib/utils/HelixRateLimiter.js +0 -23
  341. package/node_modules/@twurple/api/lib/utils/HelixRequestBatcher.d.ts +0 -2
  342. package/node_modules/@twurple/api/lib/utils/HelixRequestBatcher.js +0 -95
  343. package/node_modules/@twurple/api/lib/utils/pagination/HelixPaginatedRequest.d.ts +0 -49
  344. package/node_modules/@twurple/api/lib/utils/pagination/HelixPaginatedRequest.js +0 -140
  345. package/node_modules/@twurple/api/lib/utils/pagination/HelixPaginatedRequestWithTotal.d.ts +0 -13
  346. package/node_modules/@twurple/api/lib/utils/pagination/HelixPaginatedRequestWithTotal.js +0 -22
  347. package/node_modules/@twurple/api/lib/utils/pagination/HelixPaginatedResult.d.ts +0 -31
  348. package/node_modules/@twurple/api/lib/utils/pagination/HelixPaginatedResult.js +0 -19
  349. package/node_modules/@twurple/api/lib/utils/pagination/HelixPagination.d.ts +0 -25
  350. package/node_modules/@twurple/api/lib/utils/pagination/HelixPagination.js +0 -8
  351. package/node_modules/@twurple/api/package.json +0 -60
  352. package/node_modules/retry/License +0 -21
  353. package/node_modules/retry/README.md +0 -227
  354. package/node_modules/retry/example/dns.js +0 -31
  355. package/node_modules/retry/example/stop.js +0 -40
  356. package/node_modules/retry/index.js +0 -1
  357. package/node_modules/retry/lib/retry.js +0 -100
  358. package/node_modules/retry/lib/retry_operation.js +0 -162
  359. package/node_modules/retry/package.json +0 -36
@@ -1,780 +0,0 @@
1
- import type { HelixPaginatedResponse } from '@twurple/api-call';
2
- import { type UserIdResolvable } from '@twurple/common';
3
- import { type HelixEventSubSubscriptionStatus, type HelixEventSubConduitShardData } from '../../interfaces/endpoints/eventSub.external.js';
4
- import { type HelixEventSubDropEntitlementGrantFilter, type HelixEventSubTransportOptions, type HelixPaginatedEventSubSubscriptionsResult, type HelixEventSubConduitShardsOptions } from '../../interfaces/endpoints/eventSub.input.js';
5
- import { HelixPaginatedRequest } from '../../utils/pagination/HelixPaginatedRequest.js';
6
- import { type HelixPagination } from '../../utils/pagination/HelixPagination.js';
7
- import { BaseApi } from '../BaseApi.js';
8
- import { HelixEventSubSubscription } from './HelixEventSubSubscription.js';
9
- import { HelixPaginatedEventSubSubscriptionsRequest } from './HelixPaginatedEventSubSubscriptionsRequest.js';
10
- import { HelixEventSubConduit } from './HelixEventSubConduit.js';
11
- import { HelixEventSubConduitShard } from './HelixEventSubConduitShard.js';
12
- /**
13
- * The API methods that deal with EventSub.
14
- *
15
- * Can be accessed using `client.eventSub` on an {@link ApiClient} instance.
16
- *
17
- * ## Before using these methods...
18
- *
19
- * All methods in this class assume that you are already running a working EventSub listener reachable using the given transport.
20
- *
21
- * If you don't already have one, we recommend use of the `@twurple/eventsub-http` or `@twurple/eventsub-ws` libraries,
22
- * which handle subscribing and unsubscribing to these topics automatically.
23
- *
24
- * ## Example
25
- * ```ts
26
- * const api = new ApiClient({ authProvider });
27
- * await api.eventSub.subscribeToUserFollowsTo('125328655', { callbackUrl: 'https://example.com' });
28
- * ```
29
- *
30
- * @meta category helix
31
- * @meta categorizedTitle EventSub
32
- */
33
- export declare class HelixEventSubApi extends BaseApi {
34
- /**
35
- * Gets the current EventSub subscriptions for the current client.
36
- *
37
- * @param pagination
38
- *
39
- * @expandParams
40
- */
41
- getSubscriptions(pagination?: HelixPagination): Promise<HelixPaginatedEventSubSubscriptionsResult>;
42
- /**
43
- * Creates a paginator for the current EventSub subscriptions for the current client.
44
- */
45
- getSubscriptionsPaginated(): HelixPaginatedEventSubSubscriptionsRequest;
46
- /**
47
- * Gets the current EventSub subscriptions with the given status for the current client.
48
- *
49
- * @param status The status of the subscriptions to get.
50
- * @param pagination
51
- *
52
- * @expandParams
53
- */
54
- getSubscriptionsForStatus(status: HelixEventSubSubscriptionStatus, pagination?: HelixPagination): Promise<HelixPaginatedEventSubSubscriptionsResult>;
55
- /**
56
- * Creates a paginator for the current EventSub subscriptions with the given status for the current client.
57
- *
58
- * @param status The status of the subscriptions to get.
59
- */
60
- getSubscriptionsForStatusPaginated(status: HelixEventSubSubscriptionStatus): HelixPaginatedEventSubSubscriptionsRequest;
61
- /**
62
- * Gets the current EventSub subscriptions with the given type for the current client.
63
- *
64
- * @param type The type of the subscriptions to get.
65
- * @param pagination
66
- *
67
- * @expandParams
68
- */
69
- getSubscriptionsForType(type: string, pagination?: HelixPagination): Promise<HelixPaginatedEventSubSubscriptionsResult>;
70
- /**
71
- * Creates a paginator for the current EventSub subscriptions with the given type for the current client.
72
- *
73
- * @param type The type of the subscriptions to get.
74
- */
75
- getSubscriptionsForTypePaginated(type: string): HelixPaginatedEventSubSubscriptionsRequest;
76
- /**
77
- * Gets the current EventSub subscriptions for the current user and client.
78
- *
79
- * @param user The user to get subscriptions for.
80
- * @param pagination
81
- *
82
- * @expandParams
83
- */
84
- getSubscriptionsForUser(user: UserIdResolvable, pagination?: HelixPagination): Promise<HelixPaginatedEventSubSubscriptionsResult>;
85
- /**
86
- * Creates a paginator for the current EventSub subscriptions with the given type for the current client.
87
- *
88
- * @param user The user to get subscriptions for.
89
- */
90
- getSubscriptionsForUserPaginated(user: UserIdResolvable): HelixPaginatedEventSubSubscriptionsRequest;
91
- /**
92
- * Sends an arbitrary request to subscribe to an event.
93
- *
94
- * You can only create WebHook transport subscriptions using app tokens
95
- * and WebSocket transport subscriptions using user tokens.
96
- *
97
- * @param type The type of the event.
98
- * @param version The version of the event.
99
- * @param condition The condition of the subscription.
100
- * @param transport The transport of the subscription.
101
- * @param user The user to create the subscription in context of.
102
- * @param requiredScopeSet The scope set required by the subscription. Will only be checked for applicable transports.
103
- * @param canOverrideScopedUserContext Whether the auth user context can be overridden.
104
- * @param isBatched Whether to enable batching for the subscription. Is only supported for select topics.
105
- */
106
- createSubscription(type: string, version: string, condition: Record<string, unknown>, transport: HelixEventSubTransportOptions, user?: UserIdResolvable, requiredScopeSet?: string[], canOverrideScopedUserContext?: boolean, isBatched?: boolean): Promise<HelixEventSubSubscription>;
107
- /**
108
- * Deletes a subscription.
109
- *
110
- * @param id The ID of the subscription.
111
- */
112
- deleteSubscription(id: string): Promise<void>;
113
- /**
114
- * Deletes *all* subscriptions.
115
- */
116
- deleteAllSubscriptions(): Promise<void>;
117
- /**
118
- * Deletes all broken subscriptions, i.e. all that are not enabled or pending verification.
119
- */
120
- deleteBrokenSubscriptions(): Promise<void>;
121
- /**
122
- * Subscribe to events that represent a stream going live.
123
- *
124
- * @param broadcaster The broadcaster you want to listen to online events for.
125
- * @param transport The transport options.
126
- */
127
- subscribeToStreamOnlineEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
128
- /**
129
- * Subscribe to events that represent a stream going offline.
130
- *
131
- * @param broadcaster The broadcaster you want to listen to online events for.
132
- * @param transport The transport options.
133
- */
134
- subscribeToStreamOfflineEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
135
- /**
136
- * Subscribe to events that represent a channel updating their metadata.
137
- *
138
- * @param broadcaster The broadcaster you want to listen to update events for.
139
- * @param transport The transport options.
140
- */
141
- subscribeToChannelUpdateEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
142
- /**
143
- * Subscribe to events that represent a user following a channel.
144
- *
145
- * @param broadcaster The broadcaster you want to listen to follow events for.
146
- * @param transport The transport options.
147
- */
148
- subscribeToChannelFollowEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
149
- /**
150
- * Subscribe to events that represent a user subscribing to a channel.
151
- *
152
- * @param broadcaster The broadcaster you want to listen to subscribe events for.
153
- * @param transport The transport options.
154
- */
155
- subscribeToChannelSubscriptionEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
156
- /**
157
- * Subscribe to events that represent a user gifting another user a subscription to a channel.
158
- *
159
- * @param broadcaster The broadcaster you want to listen to subscription gift events for.
160
- * @param transport The transport options.
161
- */
162
- subscribeToChannelSubscriptionGiftEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
163
- /**
164
- * Subscribe to events that represent a user's subscription to a channel being announced.
165
- *
166
- * @param broadcaster The broadcaster you want to listen to subscription message events for.
167
- * @param transport The transport options.
168
- */
169
- subscribeToChannelSubscriptionMessageEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
170
- /**
171
- * Subscribe to events that represent a user's subscription to a channel ending.
172
- *
173
- * @param broadcaster The broadcaster you want to listen to subscription end events for.
174
- * @param transport The transport options.
175
- */
176
- subscribeToChannelSubscriptionEndEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
177
- /**
178
- * Subscribe to events that represent a user cheering bits to a channel.
179
- *
180
- * @param broadcaster The broadcaster you want to listen to cheer events for.
181
- * @param transport The transport options.
182
- */
183
- subscribeToChannelCheerEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
184
- /**
185
- * Subscribe to events that represent a charity campaign starting in a channel.
186
- *
187
- * @param broadcaster The broadcaster you want to listen to charity donation events for.
188
- * @param transport The transport options.
189
- */
190
- subscribeToChannelCharityCampaignStartEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
191
- /**
192
- * Subscribe to events that represent a charity campaign ending in a channel.
193
- *
194
- * @param broadcaster The broadcaster you want to listen to charity donation events for.
195
- * @param transport The transport options.
196
- */
197
- subscribeToChannelCharityCampaignStopEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
198
- /**
199
- * Subscribe to events that represent a user donating to a charity campaign in a channel.
200
- *
201
- * @param broadcaster The broadcaster you want to listen to charity donation events for.
202
- * @param transport The transport options.
203
- */
204
- subscribeToChannelCharityDonationEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
205
- /**
206
- * Subscribe to events that represent a charity campaign progressing in a channel.
207
- *
208
- * @param broadcaster The broadcaster you want to listen to charity donation events for.
209
- * @param transport The transport options.
210
- */
211
- subscribeToChannelCharityCampaignProgressEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
212
- /**
213
- * Subscribe to events that represent a user being banned in a channel.
214
- *
215
- * @param broadcaster The broadcaster you want to listen to ban events for.
216
- * @param transport The transport options.
217
- */
218
- subscribeToChannelBanEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
219
- /**
220
- * Subscribe to events that represent a user being unbanned in a channel.
221
- *
222
- * @param broadcaster The broadcaster you want to listen to unban events for.
223
- * @param transport The transport options.
224
- */
225
- subscribeToChannelUnbanEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
226
- /**
227
- * Subscribe to events that represent Shield Mode being activated in a channel.
228
- *
229
- * @param broadcaster The broadcaster you want to listen to Shield Mode activation events for.
230
- * @param transport The transport options.
231
- */
232
- subscribeToChannelShieldModeBeginEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
233
- /**
234
- * Subscribe to events that represent Shield Mode being deactivated in a channel.
235
- *
236
- * @param broadcaster The broadcaster you want to listen to Shield Mode deactivation events for.
237
- * @param transport The transport options.
238
- */
239
- subscribeToChannelShieldModeEndEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
240
- /**
241
- * Subscribe to events that represent a moderator being added to a channel.
242
- *
243
- * @param broadcaster The broadcaster you want to listen for moderator add events for.
244
- * @param transport The transport options.
245
- */
246
- subscribeToChannelModeratorAddEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
247
- /**
248
- * Subscribe to events that represent a moderator being removed from a channel.
249
- *
250
- * @param broadcaster The broadcaster you want to listen for moderator remove events for.
251
- * @param transport The transport options.
252
- */
253
- subscribeToChannelModeratorRemoveEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
254
- /**
255
- * Subscribe to events that represent a broadcaster raiding another broadcaster.
256
- *
257
- * @param broadcaster The broadcaster you want to listen to outgoing raid events for.
258
- * @param transport The transport options.
259
- */
260
- subscribeToChannelRaidEventsFrom(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
261
- /**
262
- * Subscribe to events that represent a broadcaster being raided by another broadcaster.
263
- *
264
- * @param broadcaster The broadcaster you want to listen to incoming raid events for.
265
- * @param transport The transport options.
266
- */
267
- subscribeToChannelRaidEventsTo(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
268
- /**
269
- * Subscribe to events that represent a Channel Points reward being added to a channel.
270
- *
271
- * @param broadcaster The broadcaster you want to listen to reward add events for.
272
- * @param transport The transport options.
273
- */
274
- subscribeToChannelRewardAddEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
275
- /**
276
- * Subscribe to events that represent a Channel Points reward being updated in a channel.
277
- *
278
- * @param broadcaster The broadcaster you want to listen to reward update events for.
279
- * @param transport The transport options.
280
- */
281
- subscribeToChannelRewardUpdateEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
282
- /**
283
- * Subscribe to events that represent a specific Channel Points reward being updated.
284
- *
285
- * @param broadcaster The broadcaster you want to listen to reward update events for.
286
- * @param rewardId The ID of the reward you want to listen to update events for.
287
- * @param transport The transport options.
288
- */
289
- subscribeToChannelRewardUpdateEventsForReward(broadcaster: UserIdResolvable, rewardId: string, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
290
- /**
291
- * Subscribe to events that represent a Channel Points reward being removed from a channel.
292
- *
293
- * @param broadcaster The broadcaster you want to listen to reward remove events for.
294
- * @param transport The transport options.
295
- */
296
- subscribeToChannelRewardRemoveEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
297
- /**
298
- * Subscribe to events that represent a specific Channel Points reward being removed from a channel.
299
- *
300
- * @param broadcaster The broadcaster you want to listen to reward remove events for.
301
- * @param rewardId The ID of the reward you want to listen to remove events for.
302
- * @param transport The transport options.
303
- */
304
- subscribeToChannelRewardRemoveEventsForReward(broadcaster: UserIdResolvable, rewardId: string, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
305
- /**
306
- * Subscribe to events that represent a Channel Points reward being redeemed.
307
- *
308
- * @param broadcaster The broadcaster you want to listen to redemption events for.
309
- * @param transport The transport options.
310
- */
311
- subscribeToChannelRedemptionAddEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
312
- /**
313
- * Subscribe to events that represent a specific Channel Points reward being redeemed.
314
- *
315
- * @param broadcaster The broadcaster you want to listen to redemption events for.
316
- * @param rewardId The ID of the reward you want to listen to redemption events for.
317
- * @param transport The transport options.
318
- */
319
- subscribeToChannelRedemptionAddEventsForReward(broadcaster: UserIdResolvable, rewardId: string, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
320
- /**
321
- * Subscribe to events that represent a Channel Points redemption being updated.
322
- *
323
- * @param broadcaster The broadcaster you want to listen to redemption update events for.
324
- * @param transport The transport options.
325
- */
326
- subscribeToChannelRedemptionUpdateEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
327
- /**
328
- * Subscribe to events that represent a specific Channel Points reward's redemption being updated.
329
- *
330
- * @param broadcaster The broadcaster you want to listen to redemption update events for.
331
- * @param rewardId The ID of the reward you want to listen to redemption updates for.
332
- * @param transport The transport options.
333
- */
334
- subscribeToChannelRedemptionUpdateEventsForReward(broadcaster: UserIdResolvable, rewardId: string, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
335
- /**
336
- * Subscribe to events that represent a Channel Points automatic reward being redeemed.
337
- *
338
- * @param broadcaster The broadcaster you want to listen to automatic reward redemption events for.
339
- * @param transport The transport options.
340
- */
341
- subscribeToChannelAutomaticRewardRedemptionAddEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
342
- /**
343
- * Subscribe to events that represent a Channel Points automatic reward being redeemed.
344
- *
345
- * @param broadcaster The broadcaster you want to listen to automatic reward redemption events for.
346
- * @param transport The transport options.
347
- */
348
- subscribeToChannelAutomaticRewardRedemptionAddV2Events(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
349
- /**
350
- * Subscribe to events that represent a poll starting in a channel.
351
- *
352
- * @param broadcaster The broadcaster you want to listen to poll begin events for.
353
- * @param transport The transport options.
354
- */
355
- subscribeToChannelPollBeginEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
356
- /**
357
- * Subscribe to events that represent a poll being voted on in a channel.
358
- *
359
- * @param broadcaster The broadcaster you want to listen to poll progress events for.
360
- * @param transport The transport options.
361
- */
362
- subscribeToChannelPollProgressEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
363
- /**
364
- * Subscribe to events that represent a poll ending in a channel.
365
- *
366
- * @param broadcaster The broadcaster you want to listen to poll end events for.
367
- * @param transport The transport options.
368
- */
369
- subscribeToChannelPollEndEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
370
- /**
371
- * Subscribe to events that represent a prediction starting in a channel.
372
- *
373
- * @param broadcaster The broadcaster you want to listen to prediction begin events for.
374
- * @param transport The transport options.
375
- */
376
- subscribeToChannelPredictionBeginEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
377
- /**
378
- * Subscribe to events that represent a prediction being voted on in a channel.
379
- *
380
- * @param broadcaster The broadcaster you want to listen to prediction preogress events for.
381
- * @param transport The transport options.
382
- */
383
- subscribeToChannelPredictionProgressEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
384
- /**
385
- * Subscribe to events that represent a prediction being locked in a channel.
386
- *
387
- * @param broadcaster The broadcaster you want to listen to prediction lock events for.
388
- * @param transport The transport options.
389
- */
390
- subscribeToChannelPredictionLockEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
391
- /**
392
- * Subscribe to events that represent a prediction ending in a channel.
393
- *
394
- * @param broadcaster The broadcaster you want to listen to prediction end events for.
395
- * @param transport The transport options.
396
- */
397
- subscribeToChannelPredictionEndEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
398
- /**
399
- * Subscribe to events that represent the beginning of a creator goal event in a channel.
400
- *
401
- * @param broadcaster The broadcaster you want to listen to goal begin events for.
402
- * @param transport The transport options.
403
- */
404
- subscribeToChannelGoalBeginEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
405
- /**
406
- * Subscribe to events that represent progress towards a creator goal.
407
- *
408
- * @param broadcaster The broadcaster for which you want to listen to goal progress events.
409
- * @param transport The transport options.
410
- */
411
- subscribeToChannelGoalProgressEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
412
- /**
413
- * Subscribe to events that represent the end of a creator goal event.
414
- *
415
- * @param broadcaster The broadcaster for which you want to listen to goal end events.
416
- * @param transport The transport options.
417
- */
418
- subscribeToChannelGoalEndEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
419
- /**
420
- * Subscribe to events that represent the beginning of a Hype Train event in a channel.
421
- *
422
- * @param broadcaster The broadcaster you want to listen to Hype train begin events for.
423
- * @param transport The transport options.
424
- */
425
- subscribeToChannelHypeTrainBeginEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
426
- /**
427
- * Subscribe to events that represent progress towards the Hype Train goal.
428
- *
429
- * @param broadcaster The broadcaster for which you want to listen to Hype Train progress events.
430
- * @param transport The transport options.
431
- */
432
- subscribeToChannelHypeTrainProgressEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
433
- /**
434
- * Subscribe to events that represent the end of a Hype Train event.
435
- *
436
- * @param broadcaster The broadcaster for which you want to listen to Hype Train end events.
437
- * @param transport The transport options.
438
- */
439
- subscribeToChannelHypeTrainEndEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
440
- /**
441
- * Subscribe to events that represent the beginning of a Hype Train event in a channel.
442
- *
443
- * @param broadcaster The broadcaster you want to listen to Hype train begin events for.
444
- * @param transport The transport options.
445
- */
446
- subscribeToChannelHypeTrainBeginV2Events(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
447
- /**
448
- * Subscribe to events that represent progress towards the Hype Train goal.
449
- *
450
- * @param broadcaster The broadcaster for which you want to listen to Hype Train progress events.
451
- * @param transport The transport options.
452
- */
453
- subscribeToChannelHypeTrainProgressV2Events(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
454
- /**
455
- * Subscribe to events that represent the end of a Hype Train event.
456
- *
457
- * @param broadcaster The broadcaster for which you want to listen to Hype Train end events.
458
- * @param transport The transport options.
459
- */
460
- subscribeToChannelHypeTrainEndV2Events(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
461
- /**
462
- * Subscribe to events that represent a broadcaster shouting out another broadcaster.
463
- *
464
- * @param broadcaster The broadcaster for which you want to listen to outgoing shoutout events.
465
- * @param transport The transport options.
466
- */
467
- subscribeToChannelShoutoutCreateEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
468
- /**
469
- * Subscribe to events that represent a broadcaster being shouting out by another broadcaster.
470
- *
471
- * @param broadcaster The broadcaster for which you want to listen to incoming shoutout events.
472
- * @param transport The transport options.
473
- */
474
- subscribeToChannelShoutoutReceiveEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
475
- /**
476
- * Subscribe to events that represent an ad break beginning in a channel.
477
- *
478
- * @param broadcaster The broadcaster for which you want to listen to ad break begin events.
479
- * @param transport The transport options.
480
- */
481
- subscribeToChannelAdBreakBeginEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
482
- /**
483
- * Subscribe to events that represent a channel's chat being cleared.
484
- *
485
- * @param broadcaster The broadcaster for which you want to listen to chat clear events.
486
- * @param transport The transport options.
487
- */
488
- subscribeToChannelChatClearEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
489
- /**
490
- * Subscribe to events that represent a user's chat messages being cleared in a channel.
491
- *
492
- * @param broadcaster The broadcaster for which you want to listen to user chat message clear events.
493
- * @param transport The transport options.
494
- */
495
- subscribeToChannelChatClearUserMessagesEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
496
- /**
497
- * Subscribe to events that represent a chat message being deleted in a channel.
498
- *
499
- * @param broadcaster The broadcaster for which you want to listen to chat message delete events.
500
- * @param transport The transport options.
501
- */
502
- subscribeToChannelChatMessageDeleteEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
503
- /**
504
- * Subscribe to events that represent a chat notification in a channel.
505
- *
506
- * @param broadcaster The broadcaster for which you want to listen to chat notification events.
507
- * @param transport The transport options.
508
- */
509
- subscribeToChannelChatNotificationEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
510
- /**
511
- * Subscribe to events that represent a chat message in a channel.
512
- *
513
- * @param broadcaster The broadcaster for which you want to listen to chat message events.
514
- * @param transport The transport options.
515
- */
516
- subscribeToChannelChatMessageEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
517
- /**
518
- * Subscribe to events that represent chat settings being updated in a channel.
519
- *
520
- * @param broadcaster The broadcaster for which you want to listen to chat settings update events.
521
- * @param transport The transport options.
522
- */
523
- subscribeToChannelChatSettingsUpdateEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
524
- /**
525
- * Subscribe to events that represent a created unban requests in a channel.
526
- *
527
- * @param broadcaster The broadcaster for which you want to listen to unban requests.
528
- * @param transport The transport options.
529
- */
530
- subscribeToChannelUnbanRequestCreateEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
531
- /**
532
- * Subscribe to events that represent a resolved unban requests in a channel.
533
- *
534
- * @param broadcaster The broadcaster for which you want to listen to unban requests.
535
- * @param transport The transport options.
536
- */
537
- subscribeToChannelUnbanRequestResolveEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
538
- /**
539
- * Subscribe to events that represent a moderator performing an action on a channel.
540
- *
541
- * This requires the following scopes:
542
- * - `moderator:read:blocked_terms` OR `moderator:manage:blocked_terms`
543
- * - `moderator:read:chat_settings` OR `moderator:manage:chat_settings`
544
- * - `moderator:read:unban_requests` OR `moderator:manage:unban_requests`
545
- * - `moderator:read:banned_users` OR `moderator:manage:banned_users`
546
- * - `moderator:read:chat_messages` OR `moderator:manage:chat_messages`
547
- * - `moderator:read:warnings` OR `moderator:manage:warnings`
548
- * - `moderator:read:moderators`
549
- * - `moderator:read:vips`
550
- *
551
- * These scope requirements cannot be checked by the library, so they are just assumed.
552
- * Make sure to catch authorization errors yourself.
553
- *
554
- * @param broadcaster The broadcaster for which you want to listen to moderation events.
555
- * @param transport The transport options.
556
- */
557
- subscribeToChannelModerateEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
558
- /**
559
- * Subscribe to events that represent a warning being acknowledged by a user.
560
- *
561
- * @param broadcaster The broadcaster for whom you want to listen to warnings.
562
- * @param transport The transport options.
563
- */
564
- subscribeToChannelWarningAcknowledgeEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
565
- /**
566
- * Subscribe to events that represent a warning sent to a user.
567
- *
568
- * @param broadcaster The broadcaster for whom you want to listen to warnings.
569
- * @param transport The transport options.
570
- */
571
- subscribeToChannelWarningSendEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
572
- /**
573
- * Subscribe to events that represent a VIP being added to a channel.
574
- *
575
- * @param broadcaster The broadcaster you want to listen for VIP add events for.
576
- * @param transport The transport options.
577
- */
578
- subscribeToChannelVipAddEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
579
- /**
580
- * Subscribe to events that represent a VIP being removed from a channel.
581
- *
582
- * @param broadcaster The broadcaster you want to listen for VIP remove events for.
583
- * @param transport The transport options.
584
- */
585
- subscribeToChannelVipRemoveEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
586
- /**
587
- * Subscribe to events that represent an extension Bits transaction.
588
- *
589
- * @param clientId The Client ID for the extension you want to listen to Bits transactions for.
590
- * @param transport The transport options.
591
- */
592
- subscribeToExtensionBitsTransactionCreateEvents(clientId: string, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
593
- /**
594
- * Subscribe to events that represent a user granting authorization to an application.
595
- *
596
- * @param clientId The Client ID for the application you want to listen to authorization grant events for.
597
- * @param transport The transport options.
598
- */
599
- subscribeToUserAuthorizationGrantEvents(clientId: string, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
600
- /**
601
- * Subscribe to events that represent a user revoking their authorization from an application.
602
- *
603
- * @param clientId The Client ID for the application you want to listen to authorization revoke events for.
604
- * @param transport The transport options.
605
- */
606
- subscribeToUserAuthorizationRevokeEvents(clientId: string, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
607
- /**
608
- * Subscribe to events that represent a user updating their account details.
609
- *
610
- * @param user The user you want to listen to user update events for.
611
- * @param transport The transport options.
612
- * @param withEmail Whether to request adding the email address of the user to the notification.
613
- *
614
- * Only has an effect with the websocket transport.
615
- * With the webhook transport, this depends solely on the previous authorization given by the user.
616
- */
617
- subscribeToUserUpdateEvents(user: UserIdResolvable, transport: HelixEventSubTransportOptions, withEmail?: boolean): Promise<HelixEventSubSubscription>;
618
- /**
619
- * Subscribe to events that represent a user receiving a whisper message from another user.
620
- *
621
- * @param user The user you want to listen to whisper message events for.
622
- * @param transport The transport options.
623
- */
624
- subscribeToUserWhisperMessageEvents(user: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
625
- /**
626
- * Subscribe to events that represent a drop entitlement being granted.
627
- *
628
- * @expandParams
629
- *
630
- * @param filter
631
- * @param transport The transport options.
632
- */
633
- subscribeToDropEntitlementGrantEvents(filter: HelixEventSubDropEntitlementGrantFilter, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
634
- /**
635
- * Subscribes to events that represent a chat message being held by AutoMod.
636
- *
637
- * @param broadcaster The broadcaster you want to listen to AutoMod message hold events for.
638
- * @param transport The transport options.
639
- */
640
- subscribeToAutoModMessageHoldEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
641
- /**
642
- * Subscribes to events that represent a held chat message by AutoMod being resolved.
643
- *
644
- * @param broadcaster The broadcaster you want to listen to AutoMod message resolution events for.
645
- * @param transport The transport options.
646
- */
647
- subscribeToAutoModMessageUpdateEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
648
- /**
649
- * Subscribes to events (v2) that represent a chat message being held by AutoMod.
650
- *
651
- * @param broadcaster The broadcaster you want to listen to AutoMod message hold events for.
652
- * @param transport The transport options.
653
- */
654
- subscribeToAutoModMessageHoldV2Events(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
655
- /**
656
- * Subscribes to events (v2) that represent a held chat message by AutoMod being resolved.
657
- *
658
- * @param broadcaster The broadcaster you want to listen to AutoMod message resolution events for.
659
- * @param transport The transport options.
660
- */
661
- subscribeToAutoModMessageUpdateV2Events(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
662
- /**
663
- * Subscribes to events that represent the AutoMod settings being updated.
664
- *
665
- * @param broadcaster The broadcaster you want to listen to AutoMod settings update events.
666
- * @param transport The transport options.
667
- */
668
- subscribeToAutoModSettingsUpdateEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
669
- /**
670
- * Subscribes to events that represent the AutoMod terms being updated.
671
- *
672
- * @param broadcaster The broadcaster you want to listen to AutoMod terms update events.
673
- * @param transport The transport options.
674
- */
675
- subscribeToAutoModTermsUpdateEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
676
- /**
677
- * Subscribes to events that represent a user's notification about their message being held by AutoMod.
678
- *
679
- * @param broadcaster The broadcaster you want to listen to AutoMod message hold events for.
680
- * @param transport The transport options.
681
- */
682
- subscribeToChannelChatUserMessageHoldEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
683
- /**
684
- * Subscribes to events that represent a user's notification about a held chat message by AutoMod being resolved.
685
- *
686
- * @param broadcaster The broadcaster you want to listen to AutoMod message resolution events for.
687
- * @param transport The transport options.
688
- */
689
- subscribeToChannelChatUserMessageUpdateEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
690
- /**
691
- * Subscribes to events that represent a suspicious user updated in a channel.
692
- *
693
- * @param broadcaster The broadcaster you want to listen for suspicious user update events.
694
- * @param transport The transport options.
695
- */
696
- subscribeToChannelSuspiciousUserUpdateEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
697
- /**
698
- * Subscribes to events that represent a message sent by a suspicious user.
699
- *
700
- * @param broadcaster The broadcaster you want to listen for messages sent by suspicious users.
701
- * @param transport The transport options.
702
- */
703
- subscribeToChannelSuspiciousUserMessageEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
704
- /**
705
- * Subscribes to events indicating that a shared chat session has begun in a channel.
706
- *
707
- * @param broadcaster The broadcaster for whom shared chat session begin events should be listened to.
708
- * @param transport The transport options to use for the subscription.
709
- */
710
- subscribeToChannelSharedChatSessionBeginEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
711
- /**
712
- * Subscribes to events indicating that a shared chat session has been updated in a channel.
713
- *
714
- * @param broadcaster The broadcaster for whom shared chat session update events should be listened to.
715
- * @param transport The transport options to use for the subscription.
716
- */
717
- subscribeToChannelSharedChatSessionUpdateEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
718
- /**
719
- * Subscribes to events indicating that a shared chat session has ended in a channel.
720
- *
721
- * @param broadcaster The broadcaster for whom shared chat session end events should be listened to.
722
- * @param transport The transport options to use for the subscription.
723
- */
724
- subscribeToChannelSharedChatSessionEndEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
725
- /**
726
- * Subscribes to events indicating that bits are used in a channel.
727
- *
728
- * @param broadcaster The broadcaster for whom you want to listen to bits usage events.
729
- * @param transport The transport options to use for the subscription.
730
- */
731
- subscribeToChannelBitsUseEvents(broadcaster: UserIdResolvable, transport: HelixEventSubTransportOptions): Promise<HelixEventSubSubscription>;
732
- /**
733
- * Gets the current EventSub conduits for the current client.
734
- *
735
- */
736
- getConduits(): Promise<HelixEventSubConduit[]>;
737
- /**
738
- * Creates a new EventSub conduit for the current client.
739
- *
740
- * @param shardCount The number of shards to create for this conduit.
741
- */
742
- createConduit(shardCount: number): Promise<HelixEventSubConduit>;
743
- /**
744
- * Updates an EventSub conduit for the current client.
745
- *
746
- * @param id The ID of the conduit to update.
747
- * @param shardCount The number of shards to update for this conduit.
748
- */
749
- updateConduit(id: string, shardCount: number): Promise<HelixEventSubConduit>;
750
- /**
751
- * Deletes an EventSub conduit for the current client.
752
- *
753
- * @param id The ID of the conduit to delete.
754
- */
755
- deleteConduit(id: string): Promise<void>;
756
- /**
757
- * Gets the shards of an EventSub conduit for the current client.
758
- *
759
- * @param conduitId The ID of the conduit to get shards for.
760
- * @param status The status of the shards to filter by.
761
- * @param pagination
762
- */
763
- getConduitShards(conduitId: string, status?: HelixEventSubSubscriptionStatus | undefined, pagination?: HelixPagination): Promise<HelixPaginatedResponse<HelixEventSubConduitShard>>;
764
- /**
765
- * Creates a paginator for the shards of an EventSub conduit for the current client.
766
- *
767
- * @param conduitId The ID of the conduit to get shards for.
768
- * @param status The status of the shards to filter by.
769
- */
770
- getConduitShardsPaginated(conduitId: string, status?: HelixEventSubSubscriptionStatus | undefined): HelixPaginatedRequest<HelixEventSubConduitShardData, HelixEventSubConduitShard>;
771
- /**
772
- * Updates shards of an EventSub conduit for the current client.
773
- *
774
- * @param conduitId The ID of the conduit to update shards for.
775
- * @param shards List of shards to update
776
- */
777
- updateConduitShards(conduitId: string, shards: HelixEventSubConduitShardsOptions[]): Promise<HelixEventSubConduitShard[]>;
778
- private _deleteSubscriptionsWithCondition;
779
- }
780
- //# sourceMappingURL=HelixEventSubApi.d.ts.map