@yuniruyuni/n8n-nodes-twitch 0.1.4 → 0.1.6
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/credentials/TwitchOAuth2Api.credentials.d.ts +2 -1
- package/dist/credentials/TwitchOAuth2Api.credentials.js +8 -0
- package/dist/credentials/TwitchOAuth2Api.credentials.js.map +1 -1
- package/dist/nodes/{TwitchBans/TwitchBans.node.d.ts → Twitch/Twitch.node.d.ts} +1 -1
- package/dist/nodes/Twitch/Twitch.node.js +145 -0
- package/dist/nodes/Twitch/Twitch.node.js.map +1 -0
- package/dist/nodes/Twitch/resources/Announcement.d.ts +3 -0
- package/dist/nodes/Twitch/resources/Announcement.js +146 -0
- package/dist/nodes/Twitch/resources/Announcement.js.map +1 -0
- package/dist/nodes/Twitch/resources/Ban.d.ts +3 -0
- package/dist/nodes/Twitch/resources/Ban.js +324 -0
- package/dist/nodes/Twitch/resources/Ban.js.map +1 -0
- package/dist/nodes/Twitch/resources/BitsLeaderboard.d.ts +3 -0
- package/dist/nodes/Twitch/resources/BitsLeaderboard.js +152 -0
- package/dist/nodes/Twitch/resources/BitsLeaderboard.js.map +1 -0
- package/dist/nodes/Twitch/resources/Channel.d.ts +3 -0
- package/dist/nodes/Twitch/resources/Channel.js +78 -0
- package/dist/nodes/Twitch/resources/Channel.js.map +1 -0
- package/dist/nodes/Twitch/resources/ChatMessage.d.ts +3 -0
- package/dist/nodes/Twitch/resources/ChatMessage.js +110 -0
- package/dist/nodes/Twitch/resources/ChatMessage.js.map +1 -0
- package/dist/nodes/Twitch/resources/Chatter.d.ts +3 -0
- package/dist/nodes/Twitch/resources/Chatter.js +109 -0
- package/dist/nodes/Twitch/resources/Chatter.js.map +1 -0
- package/dist/nodes/Twitch/resources/Cheermote.d.ts +3 -0
- package/dist/nodes/Twitch/resources/Cheermote.js +73 -0
- package/dist/nodes/Twitch/resources/Cheermote.js.map +1 -0
- package/dist/nodes/Twitch/resources/Clip.d.ts +3 -0
- package/dist/nodes/Twitch/resources/Clip.js +273 -0
- package/dist/nodes/Twitch/resources/Clip.js.map +1 -0
- package/dist/nodes/Twitch/resources/CustomReward.d.ts +3 -0
- package/dist/nodes/Twitch/resources/CustomReward.js +564 -0
- package/dist/nodes/Twitch/resources/CustomReward.js.map +1 -0
- package/dist/nodes/Twitch/resources/Emote.d.ts +3 -0
- package/dist/nodes/Twitch/resources/Emote.js +72 -0
- package/dist/nodes/Twitch/resources/Emote.js.map +1 -0
- package/dist/nodes/Twitch/resources/Game.d.ts +3 -0
- package/dist/nodes/Twitch/resources/Game.js +209 -0
- package/dist/nodes/Twitch/resources/Game.js.map +1 -0
- package/dist/nodes/Twitch/resources/Moderator.d.ts +3 -0
- package/dist/nodes/Twitch/resources/Moderator.js +268 -0
- package/dist/nodes/Twitch/resources/Moderator.js.map +1 -0
- package/dist/nodes/Twitch/resources/Poll.d.ts +3 -0
- package/dist/nodes/Twitch/resources/Poll.js +411 -0
- package/dist/nodes/Twitch/resources/Poll.js.map +1 -0
- package/dist/nodes/Twitch/resources/Prediction.d.ts +3 -0
- package/dist/nodes/Twitch/resources/Prediction.js +367 -0
- package/dist/nodes/Twitch/resources/Prediction.js.map +1 -0
- package/dist/nodes/Twitch/resources/Raid.d.ts +3 -0
- package/dist/nodes/Twitch/resources/Raid.js +161 -0
- package/dist/nodes/Twitch/resources/Raid.js.map +1 -0
- package/dist/nodes/Twitch/resources/Redemption.d.ts +3 -0
- package/dist/nodes/Twitch/resources/Redemption.js +260 -0
- package/dist/nodes/Twitch/resources/Redemption.js.map +1 -0
- package/dist/nodes/Twitch/resources/Schedule.d.ts +3 -0
- package/dist/nodes/Twitch/resources/Schedule.js +415 -0
- package/dist/nodes/Twitch/resources/Schedule.js.map +1 -0
- package/dist/nodes/Twitch/resources/Search.d.ts +3 -0
- package/dist/nodes/Twitch/resources/Search.js +108 -0
- package/dist/nodes/Twitch/resources/Search.js.map +1 -0
- package/dist/nodes/Twitch/resources/Stream.d.ts +3 -0
- package/dist/nodes/Twitch/resources/Stream.js +68 -0
- package/dist/nodes/Twitch/resources/Stream.js.map +1 -0
- package/dist/nodes/Twitch/resources/Subscription.d.ts +3 -0
- package/dist/nodes/Twitch/resources/Subscription.js +190 -0
- package/dist/nodes/Twitch/resources/Subscription.js.map +1 -0
- package/dist/nodes/Twitch/resources/Team.d.ts +3 -0
- package/dist/nodes/Twitch/resources/Team.js +168 -0
- package/dist/nodes/Twitch/resources/Team.js.map +1 -0
- package/dist/nodes/Twitch/resources/User.d.ts +3 -0
- package/dist/nodes/Twitch/resources/User.js +68 -0
- package/dist/nodes/Twitch/resources/User.js.map +1 -0
- package/dist/nodes/Twitch/resources/Video.d.ts +3 -0
- package/dist/nodes/Twitch/resources/Video.js +323 -0
- package/dist/nodes/Twitch/resources/Video.js.map +1 -0
- package/dist/nodes/Twitch/resources/Whisper.d.ts +3 -0
- package/dist/nodes/Twitch/resources/Whisper.js +78 -0
- package/dist/nodes/Twitch/resources/Whisper.js.map +1 -0
- package/dist/nodes/Twitch/shared/userIdConverter.d.ts +2 -0
- package/dist/nodes/Twitch/shared/userIdConverter.js +32 -0
- package/dist/nodes/Twitch/shared/userIdConverter.js.map +1 -0
- package/dist/nodes/TwitchTrigger/TwitchTrigger.node.js +6 -4
- package/dist/nodes/TwitchTrigger/TwitchTrigger.node.js.map +1 -1
- package/dist/package.json +3 -26
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -26
- package/dist/nodes/TwitchAnnouncements/TwitchAnnouncements.node.d.ts +0 -4
- package/dist/nodes/TwitchAnnouncements/TwitchAnnouncements.node.js +0 -166
- package/dist/nodes/TwitchAnnouncements/TwitchAnnouncements.node.js.map +0 -1
- package/dist/nodes/TwitchBans/TwitchBans.node.js +0 -324
- package/dist/nodes/TwitchBans/TwitchBans.node.js.map +0 -1
- package/dist/nodes/TwitchBans/twitch.dark.svg +0 -1
- package/dist/nodes/TwitchBans/twitch.svg +0 -1
- package/dist/nodes/TwitchBitsLeaderboard/TwitchBitsLeaderboard.node.d.ts +0 -4
- package/dist/nodes/TwitchBitsLeaderboard/TwitchBitsLeaderboard.node.js +0 -172
- package/dist/nodes/TwitchBitsLeaderboard/TwitchBitsLeaderboard.node.js.map +0 -1
- package/dist/nodes/TwitchBitsLeaderboard/twitch.dark.svg +0 -1
- package/dist/nodes/TwitchBitsLeaderboard/twitch.svg +0 -1
- package/dist/nodes/TwitchChannels/TwitchChannels.node.d.ts +0 -4
- package/dist/nodes/TwitchChannels/TwitchChannels.node.js +0 -94
- package/dist/nodes/TwitchChannels/TwitchChannels.node.js.map +0 -1
- package/dist/nodes/TwitchChannels/twitch.dark.svg +0 -1
- package/dist/nodes/TwitchChannels/twitch.svg +0 -1
- package/dist/nodes/TwitchChatMessages/TwitchChatMessages.node.d.ts +0 -4
- package/dist/nodes/TwitchChatMessages/TwitchChatMessages.node.js +0 -130
- package/dist/nodes/TwitchChatMessages/TwitchChatMessages.node.js.map +0 -1
- package/dist/nodes/TwitchChatMessages/twitch.dark.svg +0 -1
- package/dist/nodes/TwitchChatMessages/twitch.svg +0 -1
- package/dist/nodes/TwitchChatters/TwitchChatters.node.d.ts +0 -4
- package/dist/nodes/TwitchChatters/TwitchChatters.node.js +0 -118
- package/dist/nodes/TwitchChatters/TwitchChatters.node.js.map +0 -1
- package/dist/nodes/TwitchChatters/twitch.dark.svg +0 -1
- package/dist/nodes/TwitchChatters/twitch.svg +0 -1
- package/dist/nodes/TwitchCheermotes/TwitchCheermotes.node.d.ts +0 -4
- package/dist/nodes/TwitchCheermotes/TwitchCheermotes.node.js +0 -83
- package/dist/nodes/TwitchCheermotes/TwitchCheermotes.node.js.map +0 -1
- package/dist/nodes/TwitchCheermotes/twitch.dark.svg +0 -1
- package/dist/nodes/TwitchCheermotes/twitch.svg +0 -1
- package/dist/nodes/TwitchClips/TwitchClips.node.d.ts +0 -4
- package/dist/nodes/TwitchClips/TwitchClips.node.js +0 -278
- package/dist/nodes/TwitchClips/TwitchClips.node.js.map +0 -1
- package/dist/nodes/TwitchClips/twitch.dark.svg +0 -1
- package/dist/nodes/TwitchClips/twitch.svg +0 -1
- package/dist/nodes/TwitchCustomRewards/TwitchCustomRewards.node.d.ts +0 -4
- package/dist/nodes/TwitchCustomRewards/TwitchCustomRewards.node.js +0 -576
- package/dist/nodes/TwitchCustomRewards/TwitchCustomRewards.node.js.map +0 -1
- package/dist/nodes/TwitchCustomRewards/twitch.dark.svg +0 -1
- package/dist/nodes/TwitchCustomRewards/twitch.svg +0 -1
- package/dist/nodes/TwitchEmotes/TwitchEmotes.node.d.ts +0 -4
- package/dist/nodes/TwitchEmotes/TwitchEmotes.node.js +0 -95
- package/dist/nodes/TwitchEmotes/TwitchEmotes.node.js.map +0 -1
- package/dist/nodes/TwitchEmotes/twitch.dark.svg +0 -1
- package/dist/nodes/TwitchEmotes/twitch.svg +0 -1
- package/dist/nodes/TwitchGames/TwitchGames.node.d.ts +0 -4
- package/dist/nodes/TwitchGames/TwitchGames.node.js +0 -230
- package/dist/nodes/TwitchGames/TwitchGames.node.js.map +0 -1
- package/dist/nodes/TwitchGames/twitch.dark.svg +0 -1
- package/dist/nodes/TwitchGames/twitch.svg +0 -1
- package/dist/nodes/TwitchModerators/TwitchModerators.node.d.ts +0 -4
- package/dist/nodes/TwitchModerators/TwitchModerators.node.js +0 -280
- package/dist/nodes/TwitchModerators/TwitchModerators.node.js.map +0 -1
- package/dist/nodes/TwitchModerators/twitch.dark.svg +0 -1
- package/dist/nodes/TwitchModerators/twitch.svg +0 -1
- package/dist/nodes/TwitchPolls/TwitchPolls.node.d.ts +0 -4
- package/dist/nodes/TwitchPolls/TwitchPolls.node.js +0 -422
- package/dist/nodes/TwitchPolls/TwitchPolls.node.js.map +0 -1
- package/dist/nodes/TwitchPolls/twitch.dark.svg +0 -1
- package/dist/nodes/TwitchPolls/twitch.svg +0 -1
- package/dist/nodes/TwitchPredictions/TwitchPredictions.node.d.ts +0 -4
- package/dist/nodes/TwitchPredictions/TwitchPredictions.node.js +0 -378
- package/dist/nodes/TwitchPredictions/TwitchPredictions.node.js.map +0 -1
- package/dist/nodes/TwitchPredictions/twitch.dark.svg +0 -1
- package/dist/nodes/TwitchPredictions/twitch.svg +0 -1
- package/dist/nodes/TwitchRaids/TwitchRaids.node.d.ts +0 -4
- package/dist/nodes/TwitchRaids/TwitchRaids.node.js +0 -162
- package/dist/nodes/TwitchRaids/TwitchRaids.node.js.map +0 -1
- package/dist/nodes/TwitchRaids/twitch.dark.svg +0 -1
- package/dist/nodes/TwitchRaids/twitch.svg +0 -1
- package/dist/nodes/TwitchRedemptions/TwitchRedemptions.node.d.ts +0 -4
- package/dist/nodes/TwitchRedemptions/TwitchRedemptions.node.js +0 -271
- package/dist/nodes/TwitchRedemptions/TwitchRedemptions.node.js.map +0 -1
- package/dist/nodes/TwitchRedemptions/twitch.dark.svg +0 -1
- package/dist/nodes/TwitchRedemptions/twitch.svg +0 -1
- package/dist/nodes/TwitchSchedule/TwitchSchedule.node.d.ts +0 -4
- package/dist/nodes/TwitchSchedule/TwitchSchedule.node.js +0 -427
- package/dist/nodes/TwitchSchedule/TwitchSchedule.node.js.map +0 -1
- package/dist/nodes/TwitchSchedule/twitch.dark.svg +0 -1
- package/dist/nodes/TwitchSchedule/twitch.svg +0 -1
- package/dist/nodes/TwitchSearch/TwitchSearch.node.d.ts +0 -4
- package/dist/nodes/TwitchSearch/TwitchSearch.node.js +0 -134
- package/dist/nodes/TwitchSearch/TwitchSearch.node.js.map +0 -1
- package/dist/nodes/TwitchSearch/twitch.dark.svg +0 -1
- package/dist/nodes/TwitchSearch/twitch.svg +0 -1
- package/dist/nodes/TwitchStreams/TwitchStreams.node.d.ts +0 -4
- package/dist/nodes/TwitchStreams/TwitchStreams.node.js +0 -94
- package/dist/nodes/TwitchStreams/TwitchStreams.node.js.map +0 -1
- package/dist/nodes/TwitchStreams/twitch.dark.svg +0 -1
- package/dist/nodes/TwitchStreams/twitch.svg +0 -1
- package/dist/nodes/TwitchSubscriptions/TwitchSubscriptions.node.d.ts +0 -4
- package/dist/nodes/TwitchSubscriptions/TwitchSubscriptions.node.js +0 -202
- package/dist/nodes/TwitchSubscriptions/TwitchSubscriptions.node.js.map +0 -1
- package/dist/nodes/TwitchSubscriptions/twitch.dark.svg +0 -1
- package/dist/nodes/TwitchSubscriptions/twitch.svg +0 -1
- package/dist/nodes/TwitchTeams/TwitchTeams.node.d.ts +0 -4
- package/dist/nodes/TwitchTeams/TwitchTeams.node.js +0 -189
- package/dist/nodes/TwitchTeams/TwitchTeams.node.js.map +0 -1
- package/dist/nodes/TwitchTeams/twitch.dark.svg +0 -1
- package/dist/nodes/TwitchTeams/twitch.svg +0 -1
- package/dist/nodes/TwitchUsers/TwitchUsers.node.d.ts +0 -4
- package/dist/nodes/TwitchUsers/TwitchUsers.node.js +0 -94
- package/dist/nodes/TwitchUsers/TwitchUsers.node.js.map +0 -1
- package/dist/nodes/TwitchUsers/twitch.dark.svg +0 -1
- package/dist/nodes/TwitchUsers/twitch.svg +0 -1
- package/dist/nodes/TwitchVideos/TwitchVideos.node.d.ts +0 -4
- package/dist/nodes/TwitchVideos/TwitchVideos.node.js +0 -341
- package/dist/nodes/TwitchVideos/TwitchVideos.node.js.map +0 -1
- package/dist/nodes/TwitchVideos/twitch.dark.svg +0 -1
- package/dist/nodes/TwitchVideos/twitch.svg +0 -1
- package/dist/nodes/TwitchWhispers/TwitchWhispers.node.d.ts +0 -4
- package/dist/nodes/TwitchWhispers/TwitchWhispers.node.js +0 -105
- package/dist/nodes/TwitchWhispers/TwitchWhispers.node.js.map +0 -1
- package/dist/nodes/TwitchWhispers/twitch.dark.svg +0 -1
- package/dist/nodes/TwitchWhispers/twitch.svg +0 -1
- /package/dist/nodes/{TwitchAnnouncements → Twitch}/twitch.dark.svg +0 -0
- /package/dist/nodes/{TwitchAnnouncements → Twitch}/twitch.svg +0 -0
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TwitchAnnouncements = void 0;
|
|
4
|
-
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
-
class TwitchAnnouncements {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.description = {
|
|
8
|
-
displayName: 'Twitch Announcements',
|
|
9
|
-
name: 'twitchAnnouncements',
|
|
10
|
-
icon: { light: 'file:twitch.svg', dark: 'file:twitch.dark.svg' },
|
|
11
|
-
group: ['output'],
|
|
12
|
-
version: 1,
|
|
13
|
-
subtitle: '={{$parameter["operation"]}}',
|
|
14
|
-
description: 'Send announcements in a Twitch channel',
|
|
15
|
-
defaults: {
|
|
16
|
-
name: 'Twitch Announcements',
|
|
17
|
-
},
|
|
18
|
-
usableAsTool: true,
|
|
19
|
-
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
20
|
-
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
21
|
-
credentials: [
|
|
22
|
-
{
|
|
23
|
-
name: 'twitchOAuth2Api',
|
|
24
|
-
required: true,
|
|
25
|
-
},
|
|
26
|
-
],
|
|
27
|
-
requestDefaults: {
|
|
28
|
-
baseURL: 'https://api.twitch.tv/helix',
|
|
29
|
-
headers: {
|
|
30
|
-
Accept: 'application/json',
|
|
31
|
-
'Content-Type': 'application/json',
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
properties: [
|
|
35
|
-
{
|
|
36
|
-
displayName: 'Operation',
|
|
37
|
-
name: 'operation',
|
|
38
|
-
type: 'options',
|
|
39
|
-
noDataExpression: true,
|
|
40
|
-
options: [
|
|
41
|
-
{
|
|
42
|
-
name: 'Send',
|
|
43
|
-
value: 'send',
|
|
44
|
-
action: 'Send an announcement',
|
|
45
|
-
description: 'Send an announcement to the broadcaster\'s chat room',
|
|
46
|
-
routing: {
|
|
47
|
-
request: {
|
|
48
|
-
method: 'POST',
|
|
49
|
-
url: '/chat/announcements',
|
|
50
|
-
},
|
|
51
|
-
send: {
|
|
52
|
-
preSend: [
|
|
53
|
-
async function (requestOptions) {
|
|
54
|
-
const broadcasterId = this.getNodeParameter('broadcasterId');
|
|
55
|
-
const moderatorId = this.getNodeParameter('moderatorId');
|
|
56
|
-
const message = this.getNodeParameter('message');
|
|
57
|
-
const color = this.getNodeParameter('color', 'primary');
|
|
58
|
-
requestOptions.qs = {
|
|
59
|
-
broadcaster_id: broadcasterId,
|
|
60
|
-
moderator_id: moderatorId,
|
|
61
|
-
};
|
|
62
|
-
requestOptions.body = {
|
|
63
|
-
message,
|
|
64
|
-
color,
|
|
65
|
-
};
|
|
66
|
-
return requestOptions;
|
|
67
|
-
},
|
|
68
|
-
],
|
|
69
|
-
},
|
|
70
|
-
output: {
|
|
71
|
-
postReceive: [
|
|
72
|
-
{
|
|
73
|
-
type: 'rootProperty',
|
|
74
|
-
properties: {
|
|
75
|
-
property: 'data',
|
|
76
|
-
},
|
|
77
|
-
},
|
|
78
|
-
],
|
|
79
|
-
},
|
|
80
|
-
},
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
default: 'send',
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
displayName: 'Broadcaster ID',
|
|
87
|
-
name: 'broadcasterId',
|
|
88
|
-
type: 'string',
|
|
89
|
-
displayOptions: {
|
|
90
|
-
show: {
|
|
91
|
-
operation: ['send'],
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
|
-
default: '',
|
|
95
|
-
required: true,
|
|
96
|
-
placeholder: 'e.g. 123456789',
|
|
97
|
-
description: 'The ID of the broadcaster whose chat room you want to send the announcement to',
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
displayName: 'Moderator ID',
|
|
101
|
-
name: 'moderatorId',
|
|
102
|
-
type: 'string',
|
|
103
|
-
displayOptions: {
|
|
104
|
-
show: {
|
|
105
|
-
operation: ['send'],
|
|
106
|
-
},
|
|
107
|
-
},
|
|
108
|
-
default: '',
|
|
109
|
-
required: true,
|
|
110
|
-
placeholder: 'e.g. 987654321',
|
|
111
|
-
description: 'The ID of the moderator sending the announcement (must match the user access token)',
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
displayName: 'Message',
|
|
115
|
-
name: 'message',
|
|
116
|
-
type: 'string',
|
|
117
|
-
displayOptions: {
|
|
118
|
-
show: {
|
|
119
|
-
operation: ['send'],
|
|
120
|
-
},
|
|
121
|
-
},
|
|
122
|
-
default: '',
|
|
123
|
-
required: true,
|
|
124
|
-
placeholder: 'e.g. Important announcement!',
|
|
125
|
-
description: 'The announcement message (max 500 characters)',
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
displayName: 'Color',
|
|
129
|
-
name: 'color',
|
|
130
|
-
type: 'options',
|
|
131
|
-
displayOptions: {
|
|
132
|
-
show: {
|
|
133
|
-
operation: ['send'],
|
|
134
|
-
},
|
|
135
|
-
},
|
|
136
|
-
options: [
|
|
137
|
-
{
|
|
138
|
-
name: 'Blue',
|
|
139
|
-
value: 'blue',
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
name: 'Green',
|
|
143
|
-
value: 'green',
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
name: 'Orange',
|
|
147
|
-
value: 'orange',
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
name: 'Primary',
|
|
151
|
-
value: 'primary',
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
name: 'Purple',
|
|
155
|
-
value: 'purple',
|
|
156
|
-
},
|
|
157
|
-
],
|
|
158
|
-
default: 'primary',
|
|
159
|
-
description: 'The color of the announcement',
|
|
160
|
-
},
|
|
161
|
-
],
|
|
162
|
-
};
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
exports.TwitchAnnouncements = TwitchAnnouncements;
|
|
166
|
-
//# sourceMappingURL=TwitchAnnouncements.node.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TwitchAnnouncements.node.js","sourceRoot":"","sources":["../../../nodes/TwitchAnn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SAAS;oBACf,IAAI,EAAE,QAAQ;oBACd,cAAc,EAAE;wBACf,IAAI,EAAE;4BACL,SAAS,EAAE,CAAC,MAAM,CAAC;yBACnB;qBACD;oBACD,OAAO,EAAE,EAAE;oBACX,QAAQ,EAAE,IAAI;oBACd,WAAW,EAAE,8BAA8B;oBAC3C,WAAW,EAAE,+CAA+C;iBAC5D;gBACD;oBACC,WAAW,EAAE,OAAO;oBACpB,IAAI,EAAE,OAAO;oBACb,IAAI,EAAE,SAAS;oBACf,cAAc,EAAE;wBACf,IAAI,EAAE;4BACL,SAAS,EAAE,CAAC,MAAM,CAAC;yBACnB;qBACD;oBACD,OAAO,EAAE;wBACR;4BACC,IAAI,EAAE,MAAM;4BACZ,KAAK,EAAE,MAAM;yBACb;wBACD;4BACC,IAAI,EAAE,OAAO;4BACb,KAAK,EAAE,OAAO;yBACd;wBACD;4BACC,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,QAAQ;yBACf;wBACD;4BACC,IAAI,EAAE,SAAS;4BACf,KAAK,EAAE,SAAS;yBAChB;wBACD;4BACC,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,QAAQ;yBACf;qBACD;oBACD,OAAO,EAAE,SAAS;oBAClB,WAAW,EAAE,+BAA+B;iBAC5C;aACD;SACD,CAAC;IACH,CAAC;CAAA;AAhKD,kDAgKC"}
|
|
@@ -1,324 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TwitchBans = void 0;
|
|
4
|
-
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
-
class TwitchBans {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.description = {
|
|
8
|
-
displayName: 'Twitch Bans',
|
|
9
|
-
name: 'twitchBans',
|
|
10
|
-
icon: { light: 'file:twitch.svg', dark: 'file:twitch.dark.svg' },
|
|
11
|
-
group: ['output'],
|
|
12
|
-
version: 1,
|
|
13
|
-
subtitle: '={{$parameter["operation"]}}',
|
|
14
|
-
description: 'Manage banned users in a Twitch channel',
|
|
15
|
-
defaults: {
|
|
16
|
-
name: 'Twitch Bans',
|
|
17
|
-
},
|
|
18
|
-
usableAsTool: true,
|
|
19
|
-
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
20
|
-
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
21
|
-
credentials: [
|
|
22
|
-
{
|
|
23
|
-
name: 'twitchOAuth2Api',
|
|
24
|
-
required: true,
|
|
25
|
-
},
|
|
26
|
-
],
|
|
27
|
-
requestDefaults: {
|
|
28
|
-
baseURL: 'https://api.twitch.tv/helix',
|
|
29
|
-
headers: {
|
|
30
|
-
Accept: 'application/json',
|
|
31
|
-
'Content-Type': 'application/json',
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
properties: [
|
|
35
|
-
{
|
|
36
|
-
displayName: 'Operation',
|
|
37
|
-
name: 'operation',
|
|
38
|
-
type: 'options',
|
|
39
|
-
noDataExpression: true,
|
|
40
|
-
options: [
|
|
41
|
-
{
|
|
42
|
-
name: 'Ban User',
|
|
43
|
-
value: 'banUser',
|
|
44
|
-
action: 'Ban a user from chat',
|
|
45
|
-
description: 'Ban a user from the broadcaster\'s chat room',
|
|
46
|
-
routing: {
|
|
47
|
-
request: {
|
|
48
|
-
method: 'POST',
|
|
49
|
-
url: '/moderation/bans',
|
|
50
|
-
},
|
|
51
|
-
send: {
|
|
52
|
-
preSend: [
|
|
53
|
-
async function (requestOptions) {
|
|
54
|
-
const qs = {
|
|
55
|
-
broadcaster_id: this.getNodeParameter('broadcasterId'),
|
|
56
|
-
moderator_id: this.getNodeParameter('moderatorId'),
|
|
57
|
-
};
|
|
58
|
-
const data = {
|
|
59
|
-
user_id: this.getNodeParameter('userId'),
|
|
60
|
-
};
|
|
61
|
-
const duration = this.getNodeParameter('duration', 0);
|
|
62
|
-
if (duration > 0) {
|
|
63
|
-
data.duration = duration;
|
|
64
|
-
}
|
|
65
|
-
const reason = this.getNodeParameter('reason', '');
|
|
66
|
-
if (reason) {
|
|
67
|
-
data.reason = reason;
|
|
68
|
-
}
|
|
69
|
-
const body = {
|
|
70
|
-
data,
|
|
71
|
-
};
|
|
72
|
-
requestOptions.qs = qs;
|
|
73
|
-
requestOptions.body = body;
|
|
74
|
-
return requestOptions;
|
|
75
|
-
},
|
|
76
|
-
],
|
|
77
|
-
},
|
|
78
|
-
output: {
|
|
79
|
-
postReceive: [
|
|
80
|
-
{
|
|
81
|
-
type: 'rootProperty',
|
|
82
|
-
properties: {
|
|
83
|
-
property: 'data',
|
|
84
|
-
},
|
|
85
|
-
},
|
|
86
|
-
],
|
|
87
|
-
},
|
|
88
|
-
},
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
name: 'Unban User',
|
|
92
|
-
value: 'unbanUser',
|
|
93
|
-
action: 'Unban a user',
|
|
94
|
-
description: 'Remove a ban or timeout on a user',
|
|
95
|
-
routing: {
|
|
96
|
-
request: {
|
|
97
|
-
method: 'DELETE',
|
|
98
|
-
url: '/moderation/bans',
|
|
99
|
-
},
|
|
100
|
-
send: {
|
|
101
|
-
preSend: [
|
|
102
|
-
async function (requestOptions) {
|
|
103
|
-
const qs = {
|
|
104
|
-
broadcaster_id: this.getNodeParameter('broadcasterId'),
|
|
105
|
-
moderator_id: this.getNodeParameter('moderatorId'),
|
|
106
|
-
user_id: this.getNodeParameter('userId'),
|
|
107
|
-
};
|
|
108
|
-
requestOptions.qs = qs;
|
|
109
|
-
return requestOptions;
|
|
110
|
-
},
|
|
111
|
-
],
|
|
112
|
-
},
|
|
113
|
-
},
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
name: 'Get Banned Users',
|
|
117
|
-
value: 'getBannedUsers',
|
|
118
|
-
action: 'Get list of banned users',
|
|
119
|
-
description: 'Get all users banned in the broadcaster\'s chat room',
|
|
120
|
-
routing: {
|
|
121
|
-
request: {
|
|
122
|
-
method: 'GET',
|
|
123
|
-
url: '/moderation/banned',
|
|
124
|
-
},
|
|
125
|
-
send: {
|
|
126
|
-
preSend: [
|
|
127
|
-
async function (requestOptions) {
|
|
128
|
-
const qs = {
|
|
129
|
-
broadcaster_id: this.getNodeParameter('broadcasterId'),
|
|
130
|
-
};
|
|
131
|
-
const userIds = this.getNodeParameter('userIds', '');
|
|
132
|
-
if (userIds) {
|
|
133
|
-
const userIdArray = userIds.split(',').map(id => id.trim()).filter(id => id);
|
|
134
|
-
if (userIdArray.length > 0) {
|
|
135
|
-
qs.user_id = userIdArray;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
const first = this.getNodeParameter('first', 20);
|
|
139
|
-
if (first) {
|
|
140
|
-
qs.first = first;
|
|
141
|
-
}
|
|
142
|
-
requestOptions.qs = qs;
|
|
143
|
-
return requestOptions;
|
|
144
|
-
},
|
|
145
|
-
],
|
|
146
|
-
},
|
|
147
|
-
output: {
|
|
148
|
-
postReceive: [
|
|
149
|
-
{
|
|
150
|
-
type: 'rootProperty',
|
|
151
|
-
properties: {
|
|
152
|
-
property: 'data',
|
|
153
|
-
},
|
|
154
|
-
},
|
|
155
|
-
],
|
|
156
|
-
},
|
|
157
|
-
},
|
|
158
|
-
},
|
|
159
|
-
],
|
|
160
|
-
default: 'getBannedUsers',
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
displayName: 'Broadcaster ID',
|
|
164
|
-
name: 'broadcasterId',
|
|
165
|
-
type: 'string',
|
|
166
|
-
displayOptions: {
|
|
167
|
-
show: {
|
|
168
|
-
operation: ['banUser'],
|
|
169
|
-
},
|
|
170
|
-
},
|
|
171
|
-
default: '',
|
|
172
|
-
required: true,
|
|
173
|
-
placeholder: 'e.g. 123456789',
|
|
174
|
-
description: 'The ID of the broadcaster whose chat room you want to ban the user from',
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
displayName: 'Moderator ID',
|
|
178
|
-
name: 'moderatorId',
|
|
179
|
-
type: 'string',
|
|
180
|
-
displayOptions: {
|
|
181
|
-
show: {
|
|
182
|
-
operation: ['banUser'],
|
|
183
|
-
},
|
|
184
|
-
},
|
|
185
|
-
default: '',
|
|
186
|
-
required: true,
|
|
187
|
-
placeholder: 'e.g. 987654321',
|
|
188
|
-
description: 'The ID of the moderator making the request (must match the user access token)',
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
displayName: 'User ID',
|
|
192
|
-
name: 'userId',
|
|
193
|
-
type: 'string',
|
|
194
|
-
displayOptions: {
|
|
195
|
-
show: {
|
|
196
|
-
operation: ['banUser'],
|
|
197
|
-
},
|
|
198
|
-
},
|
|
199
|
-
default: '',
|
|
200
|
-
required: true,
|
|
201
|
-
placeholder: 'e.g. 555666777',
|
|
202
|
-
description: 'The ID of the user to ban',
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
displayName: 'Duration',
|
|
206
|
-
name: 'duration',
|
|
207
|
-
type: 'number',
|
|
208
|
-
displayOptions: {
|
|
209
|
-
show: {
|
|
210
|
-
operation: ['banUser'],
|
|
211
|
-
},
|
|
212
|
-
},
|
|
213
|
-
default: 0,
|
|
214
|
-
placeholder: 'e.g. 600',
|
|
215
|
-
description: 'The duration of the ban in seconds. If 0 or omitted, the ban is permanent. Max: 1,209,600 (2 weeks).',
|
|
216
|
-
typeOptions: {
|
|
217
|
-
minValue: 0,
|
|
218
|
-
maxValue: 1209600,
|
|
219
|
-
},
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
displayName: 'Reason',
|
|
223
|
-
name: 'reason',
|
|
224
|
-
type: 'string',
|
|
225
|
-
displayOptions: {
|
|
226
|
-
show: {
|
|
227
|
-
operation: ['banUser'],
|
|
228
|
-
},
|
|
229
|
-
},
|
|
230
|
-
default: '',
|
|
231
|
-
placeholder: 'e.g. Violation of chat rules',
|
|
232
|
-
description: 'The reason for the ban (max 500 characters)',
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
displayName: 'Broadcaster ID',
|
|
236
|
-
name: 'broadcasterId',
|
|
237
|
-
type: 'string',
|
|
238
|
-
displayOptions: {
|
|
239
|
-
show: {
|
|
240
|
-
operation: ['unbanUser'],
|
|
241
|
-
},
|
|
242
|
-
},
|
|
243
|
-
default: '',
|
|
244
|
-
required: true,
|
|
245
|
-
placeholder: 'e.g. 123456789',
|
|
246
|
-
description: 'The ID of the broadcaster whose chat room you want to unban the user from',
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
displayName: 'Moderator ID',
|
|
250
|
-
name: 'moderatorId',
|
|
251
|
-
type: 'string',
|
|
252
|
-
displayOptions: {
|
|
253
|
-
show: {
|
|
254
|
-
operation: ['unbanUser'],
|
|
255
|
-
},
|
|
256
|
-
},
|
|
257
|
-
default: '',
|
|
258
|
-
required: true,
|
|
259
|
-
placeholder: 'e.g. 987654321',
|
|
260
|
-
description: 'The ID of the moderator making the request (must match the user access token)',
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
displayName: 'User ID',
|
|
264
|
-
name: 'userId',
|
|
265
|
-
type: 'string',
|
|
266
|
-
displayOptions: {
|
|
267
|
-
show: {
|
|
268
|
-
operation: ['unbanUser'],
|
|
269
|
-
},
|
|
270
|
-
},
|
|
271
|
-
default: '',
|
|
272
|
-
required: true,
|
|
273
|
-
placeholder: 'e.g. 555666777',
|
|
274
|
-
description: 'The ID of the user to unban',
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
displayName: 'Broadcaster ID',
|
|
278
|
-
name: 'broadcasterId',
|
|
279
|
-
type: 'string',
|
|
280
|
-
displayOptions: {
|
|
281
|
-
show: {
|
|
282
|
-
operation: ['getBannedUsers'],
|
|
283
|
-
},
|
|
284
|
-
},
|
|
285
|
-
default: '',
|
|
286
|
-
required: true,
|
|
287
|
-
placeholder: 'e.g. 123456789',
|
|
288
|
-
description: 'The ID of the broadcaster whose banned users you want to get',
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
displayName: 'User IDs',
|
|
292
|
-
name: 'userIds',
|
|
293
|
-
type: 'string',
|
|
294
|
-
displayOptions: {
|
|
295
|
-
show: {
|
|
296
|
-
operation: ['getBannedUsers'],
|
|
297
|
-
},
|
|
298
|
-
},
|
|
299
|
-
default: '',
|
|
300
|
-
placeholder: 'e.g. 555666777,888999000',
|
|
301
|
-
description: 'Comma-separated list of user IDs to filter results',
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
displayName: 'First',
|
|
305
|
-
name: 'first',
|
|
306
|
-
type: 'number',
|
|
307
|
-
displayOptions: {
|
|
308
|
-
show: {
|
|
309
|
-
operation: ['getBannedUsers'],
|
|
310
|
-
},
|
|
311
|
-
},
|
|
312
|
-
default: 20,
|
|
313
|
-
typeOptions: {
|
|
314
|
-
minValue: 1,
|
|
315
|
-
maxValue: 100,
|
|
316
|
-
},
|
|
317
|
-
description: 'Maximum number of objects to return (1-100)',
|
|
318
|
-
},
|
|
319
|
-
],
|
|
320
|
-
};
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
exports.TwitchBans = TwitchBans;
|
|
324
|
-
//# sourceMappingURL=TwitchBans.node.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TwitchBans.node.js","sourceRoot":"","sources":["../../../nodes/TwitchBans/TwitchBans.node.ts"],"names":[],"mappings":";;;AAAA,+CAAgH;AAEhH,MAAa,UAAU;IAAvB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,sBAAsB,EAAE;YAChE,KAAK,EAAE,CAAC,QAAQ,CAAC;YACjB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8BAA8B;YACxC,WAAW,EAAE,yCAAyC;YACtD,QAAQ,EAAE;gBACT,IAAI,EAAE,aAAa;aACnB;YACD,YAAY,EAAE,IAAI;YAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EA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AAC,gBAAgB,CAAC;yBAC7B;qBACD;oBACD,OAAO,EAAE,EAAE;oBACX,WAAW,EAAE,0BAA0B;oBACvC,WAAW,EAAE,oDAAoD;iBACjE;gBACD;oBACC,WAAW,EAAE,OAAO;oBACpB,IAAI,EAAE,OAAO;oBACb,IAAI,EAAE,QAAQ;oBACd,cAAc,EAAE;wBACf,IAAI,EAAE;4BACL,SAAS,EAAE,CAAC,gBAAgB,CAAC;yBAC7B;qBACD;oBACD,OAAO,EAAE,EAAE;oBACX,WAAW,EAAE;wBACZ,QAAQ,EAAE,CAAC;wBACX,QAAQ,EAAE,GAAG;qBACb;oBACD,WAAW,EAAE,6CAA6C;iBAC1D;aACD;SACD,CAAC;IACH,CAAC;CAAA;AAxUD,gCAwUC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Twitch</title><path fill="#FFFFFF" d="M11.571 4.714h1.715v5.143H11.57zm4.715 0H18v5.143h-1.714zM6 0L1.714 4.286v15.428h5.143V24l4.286-4.286h3.428L22.286 12V0zm14.571 11.143l-3.428 3.428h-3.429l-3 3v-3H6.857V1.714h13.714Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Twitch</title><path d="M11.571 4.714h1.715v5.143H11.57zm4.715 0H18v5.143h-1.714zM6 0L1.714 4.286v15.428h5.143V24l4.286-4.286h3.428L22.286 12V0zm14.571 11.143l-3.428 3.428h-3.429l-3 3v-3H6.857V1.714h13.714Z"/></svg>
|