@yuniruyuni/n8n-nodes-twitch 0.1.1 → 0.1.3
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 +11 -2
- package/dist/credentials/TwitchOAuth2Api.credentials.js +87 -79
- package/dist/credentials/TwitchOAuth2Api.credentials.js.map +1 -1
- package/dist/nodes/TwitchAnnouncements/TwitchAnnouncements.node.js +0 -30
- package/dist/nodes/TwitchAnnouncements/TwitchAnnouncements.node.js.map +1 -1
- package/dist/nodes/TwitchBans/TwitchBans.node.js +0 -30
- package/dist/nodes/TwitchBans/TwitchBans.node.js.map +1 -1
- package/dist/nodes/TwitchBitsLeaderboard/TwitchBitsLeaderboard.node.js +0 -30
- package/dist/nodes/TwitchBitsLeaderboard/TwitchBitsLeaderboard.node.js.map +1 -1
- package/dist/nodes/TwitchChannels/TwitchChannels.node.js +0 -30
- package/dist/nodes/TwitchChannels/TwitchChannels.node.js.map +1 -1
- package/dist/nodes/TwitchChatMessages/TwitchChatMessages.node.js +0 -30
- package/dist/nodes/TwitchChatMessages/TwitchChatMessages.node.js.map +1 -1
- package/dist/nodes/TwitchChatters/TwitchChatters.node.js +0 -30
- package/dist/nodes/TwitchChatters/TwitchChatters.node.js.map +1 -1
- package/dist/nodes/TwitchCheermotes/TwitchCheermotes.node.js +0 -30
- package/dist/nodes/TwitchCheermotes/TwitchCheermotes.node.js.map +1 -1
- package/dist/nodes/TwitchClips/TwitchClips.node.js +0 -30
- package/dist/nodes/TwitchClips/TwitchClips.node.js.map +1 -1
- package/dist/nodes/TwitchCustomRewards/TwitchCustomRewards.node.js +0 -30
- package/dist/nodes/TwitchCustomRewards/TwitchCustomRewards.node.js.map +1 -1
- package/dist/nodes/TwitchEmotes/TwitchEmotes.node.js +0 -30
- package/dist/nodes/TwitchEmotes/TwitchEmotes.node.js.map +1 -1
- package/dist/nodes/TwitchGames/TwitchGames.node.js +0 -30
- package/dist/nodes/TwitchGames/TwitchGames.node.js.map +1 -1
- package/dist/nodes/TwitchModerators/TwitchModerators.node.js +0 -30
- package/dist/nodes/TwitchModerators/TwitchModerators.node.js.map +1 -1
- package/dist/nodes/TwitchPolls/TwitchPolls.node.js +0 -30
- package/dist/nodes/TwitchPolls/TwitchPolls.node.js.map +1 -1
- package/dist/nodes/TwitchPredictions/TwitchPredictions.node.js +0 -30
- package/dist/nodes/TwitchPredictions/TwitchPredictions.node.js.map +1 -1
- package/dist/nodes/TwitchRaids/TwitchRaids.node.js +0 -30
- package/dist/nodes/TwitchRaids/TwitchRaids.node.js.map +1 -1
- package/dist/nodes/TwitchRedemptions/TwitchRedemptions.node.js +0 -30
- package/dist/nodes/TwitchRedemptions/TwitchRedemptions.node.js.map +1 -1
- package/dist/nodes/TwitchSchedule/TwitchSchedule.node.js +0 -30
- package/dist/nodes/TwitchSchedule/TwitchSchedule.node.js.map +1 -1
- package/dist/nodes/TwitchSearch/TwitchSearch.node.js +0 -30
- package/dist/nodes/TwitchSearch/TwitchSearch.node.js.map +1 -1
- package/dist/nodes/TwitchStreams/TwitchStreams.node.js +0 -30
- package/dist/nodes/TwitchStreams/TwitchStreams.node.js.map +1 -1
- package/dist/nodes/TwitchSubscriptions/TwitchSubscriptions.node.js +0 -30
- package/dist/nodes/TwitchSubscriptions/TwitchSubscriptions.node.js.map +1 -1
- package/dist/nodes/TwitchTeams/TwitchTeams.node.js +0 -30
- package/dist/nodes/TwitchTeams/TwitchTeams.node.js.map +1 -1
- package/dist/nodes/TwitchTrigger/TwitchTrigger.node.js +6 -51
- package/dist/nodes/TwitchTrigger/TwitchTrigger.node.js.map +1 -1
- package/dist/nodes/TwitchUsers/TwitchUsers.node.js +0 -30
- package/dist/nodes/TwitchUsers/TwitchUsers.node.js.map +1 -1
- package/dist/nodes/TwitchVideos/TwitchVideos.node.js +0 -30
- package/dist/nodes/TwitchVideos/TwitchVideos.node.js.map +1 -1
- package/dist/package.json +1 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -2
- package/dist/credentials/TwitchApi.credentials.d.ts +0 -10
- package/dist/credentials/TwitchApi.credentials.js +0 -47
- package/dist/credentials/TwitchApi.credentials.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Icon, ICredentialDataDecryptedObject, ICredentialType,
|
|
1
|
+
import type { Icon, ICredentialDataDecryptedObject, ICredentialType, IHttpRequestHelper, INodeProperties } from 'n8n-workflow';
|
|
2
2
|
export declare class TwitchOAuth2Api implements ICredentialType {
|
|
3
3
|
name: string;
|
|
4
4
|
extends: string[];
|
|
@@ -6,5 +6,14 @@ export declare class TwitchOAuth2Api implements ICredentialType {
|
|
|
6
6
|
icon: Icon;
|
|
7
7
|
documentationUrl: string;
|
|
8
8
|
properties: INodeProperties[];
|
|
9
|
-
preAuthentication(this: IHttpRequestHelper, credentials: ICredentialDataDecryptedObject): Promise<
|
|
9
|
+
preAuthentication(this: IHttpRequestHelper, credentials: ICredentialDataDecryptedObject): Promise<{
|
|
10
|
+
clientId: import("n8n-workflow").CredentialInformation;
|
|
11
|
+
clientSecret: import("n8n-workflow").CredentialInformation;
|
|
12
|
+
grantType: import("n8n-workflow").CredentialInformation;
|
|
13
|
+
authUrl: import("n8n-workflow").CredentialInformation;
|
|
14
|
+
accessTokenUrl: import("n8n-workflow").CredentialInformation;
|
|
15
|
+
scope: string | number | boolean | import("n8n-workflow").IDataObject;
|
|
16
|
+
authQueryParameters: import("n8n-workflow").CredentialInformation;
|
|
17
|
+
authentication: import("n8n-workflow").CredentialInformation;
|
|
18
|
+
}>;
|
|
10
19
|
}
|
|
@@ -37,372 +37,372 @@ class TwitchOAuth2Api {
|
|
|
37
37
|
description: 'Select the Twitch scopes required for your application. See <a href="https://dev.twitch.tv/docs/authentication/scopes/" target="_blank">Twitch Scopes</a> for details.',
|
|
38
38
|
options: [
|
|
39
39
|
{
|
|
40
|
-
name: '
|
|
40
|
+
name: 'analytics:read:extensions',
|
|
41
41
|
value: 'analytics:read:extensions',
|
|
42
42
|
description: 'View analytics data for the Twitch Extensions owned by the authenticated account',
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
|
-
name: '
|
|
45
|
+
name: 'analytics:read:games',
|
|
46
46
|
value: 'analytics:read:games',
|
|
47
47
|
description: 'View analytics data for the games owned by the authenticated account',
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
|
-
name: '
|
|
50
|
+
name: 'bits:read',
|
|
51
51
|
value: 'bits:read',
|
|
52
52
|
description: 'View Bits information for a channel',
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
|
-
name: '
|
|
55
|
+
name: 'channel:bot',
|
|
56
56
|
value: 'channel:bot',
|
|
57
57
|
description: 'Perform bot actions in a channel',
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
|
-
name: '
|
|
60
|
+
name: 'channel:manage:ads',
|
|
61
61
|
value: 'channel:manage:ads',
|
|
62
62
|
description: 'Manage ads schedule on a channel',
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
|
-
name: '
|
|
65
|
+
name: 'channel:read:ads',
|
|
66
66
|
value: 'channel:read:ads',
|
|
67
67
|
description: 'Read the ads schedule and details on your channel',
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
|
-
name: '
|
|
70
|
+
name: 'channel:manage:broadcast',
|
|
71
71
|
value: 'channel:manage:broadcast',
|
|
72
72
|
description: 'Manage a channel\'s broadcast configuration, including updating channel configuration and managing stream markers and stream tags',
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
|
-
name: '
|
|
75
|
+
name: 'channel:read:charity',
|
|
76
76
|
value: 'channel:read:charity',
|
|
77
77
|
description: 'Read charity campaign details and user donations on your channel',
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
|
-
name: '
|
|
80
|
+
name: 'channel:manage:clips',
|
|
81
81
|
value: 'channel:manage:clips',
|
|
82
82
|
description: 'Manage Clips for a channel',
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
|
-
name: '
|
|
85
|
+
name: 'channel:edit:commercial',
|
|
86
86
|
value: 'channel:edit:commercial',
|
|
87
87
|
description: 'Run commercials on a channel',
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
|
-
name: '
|
|
90
|
+
name: 'channel:read:editors',
|
|
91
91
|
value: 'channel:read:editors',
|
|
92
92
|
description: 'View a list of users with the editor role for a channel',
|
|
93
93
|
},
|
|
94
94
|
{
|
|
95
|
-
name: '
|
|
95
|
+
name: 'channel:manage:extensions',
|
|
96
96
|
value: 'channel:manage:extensions',
|
|
97
97
|
description: 'Manage a channel\'s Extension configuration, including activating Extensions',
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
|
-
name: '
|
|
100
|
+
name: 'channel:read:goals',
|
|
101
101
|
value: 'channel:read:goals',
|
|
102
102
|
description: 'View Creator Goals for a channel',
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
|
-
name: '
|
|
105
|
+
name: 'channel:read:guest_star',
|
|
106
106
|
value: 'channel:read:guest_star',
|
|
107
107
|
description: 'Read Guest Star details for your channel',
|
|
108
108
|
},
|
|
109
109
|
{
|
|
110
|
-
name: '
|
|
110
|
+
name: 'channel:manage:guest_star',
|
|
111
111
|
value: 'channel:manage:guest_star',
|
|
112
112
|
description: 'Manage Guest Star for your channel',
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
|
-
name: '
|
|
115
|
+
name: 'channel:read:hype_train',
|
|
116
116
|
value: 'channel:read:hype_train',
|
|
117
117
|
description: 'View Hype Train information for a channel',
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
|
-
name: '
|
|
120
|
+
name: 'channel:moderate',
|
|
121
121
|
value: 'channel:moderate',
|
|
122
122
|
description: 'Perform moderation actions in a channel',
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
|
-
name: '
|
|
125
|
+
name: 'channel:manage:moderators',
|
|
126
126
|
value: 'channel:manage:moderators',
|
|
127
127
|
description: 'Add or remove the moderator role from users in your channel',
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
|
-
name: '
|
|
130
|
+
name: 'channel:read:polls',
|
|
131
131
|
value: 'channel:read:polls',
|
|
132
132
|
description: 'View a channel\'s polls',
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
|
-
name: '
|
|
135
|
+
name: 'channel:manage:polls',
|
|
136
136
|
value: 'channel:manage:polls',
|
|
137
137
|
description: 'Manage a channel\'s polls',
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
|
-
name: '
|
|
140
|
+
name: 'channel:read:predictions',
|
|
141
141
|
value: 'channel:read:predictions',
|
|
142
142
|
description: 'View a channel\'s Channel Points Predictions',
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
|
-
name: '
|
|
145
|
+
name: 'channel:manage:predictions',
|
|
146
146
|
value: 'channel:manage:predictions',
|
|
147
147
|
description: 'Manage a channel\'s Channel Points Predictions',
|
|
148
148
|
},
|
|
149
149
|
{
|
|
150
|
-
name: '
|
|
150
|
+
name: 'channel:manage:raids',
|
|
151
151
|
value: 'channel:manage:raids',
|
|
152
152
|
description: 'Manage a channel raiding another channel',
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
|
-
name: '
|
|
155
|
+
name: 'channel:read:redemptions',
|
|
156
156
|
value: 'channel:read:redemptions',
|
|
157
157
|
description: 'View Channel Points custom rewards and their redemptions on a channel',
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
|
-
name: '
|
|
160
|
+
name: 'channel:manage:redemptions',
|
|
161
161
|
value: 'channel:manage:redemptions',
|
|
162
162
|
description: 'Manage Channel Points custom rewards and their redemptions on a channel',
|
|
163
163
|
},
|
|
164
164
|
{
|
|
165
|
-
name: '
|
|
165
|
+
name: 'channel:manage:schedule',
|
|
166
166
|
value: 'channel:manage:schedule',
|
|
167
167
|
description: 'Manage a channel\'s stream schedule',
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
|
-
name: '
|
|
170
|
+
name: 'channel:read:stream_key',
|
|
171
171
|
value: 'channel:read:stream_key',
|
|
172
172
|
description: 'View an authorized user\'s stream key',
|
|
173
173
|
},
|
|
174
174
|
{
|
|
175
|
-
name: '
|
|
175
|
+
name: 'channel:read:subscriptions',
|
|
176
176
|
value: 'channel:read:subscriptions',
|
|
177
177
|
description: 'View a list of all subscribers to a channel and check if a user is subscribed to a channel',
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
|
-
name: '
|
|
180
|
+
name: 'channel:manage:videos',
|
|
181
181
|
value: 'channel:manage:videos',
|
|
182
182
|
description: 'Manage a channel\'s videos, including deleting videos',
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
|
-
name: '
|
|
185
|
+
name: 'channel:read:vips',
|
|
186
186
|
value: 'channel:read:vips',
|
|
187
187
|
description: 'View a list of users with the VIP role in a channel',
|
|
188
188
|
},
|
|
189
189
|
{
|
|
190
|
-
name: '
|
|
190
|
+
name: 'channel:manage:vips',
|
|
191
191
|
value: 'channel:manage:vips',
|
|
192
192
|
description: 'Add or remove the VIP role from users in your channel',
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
|
-
name: '
|
|
195
|
+
name: 'moderator:manage:announcements',
|
|
196
196
|
value: 'moderator:manage:announcements',
|
|
197
197
|
description: 'Send announcements in channels where you have the moderator role',
|
|
198
198
|
},
|
|
199
199
|
{
|
|
200
|
-
name: '
|
|
200
|
+
name: 'moderator:manage:automod',
|
|
201
201
|
value: 'moderator:manage:automod',
|
|
202
202
|
description: 'Manage messages held for review by AutoMod in channels where you are a moderator',
|
|
203
203
|
},
|
|
204
204
|
{
|
|
205
|
-
name: '
|
|
205
|
+
name: 'moderator:read:automod_settings',
|
|
206
206
|
value: 'moderator:read:automod_settings',
|
|
207
207
|
description: 'View a broadcaster\'s AutoMod settings',
|
|
208
208
|
},
|
|
209
209
|
{
|
|
210
|
-
name: '
|
|
210
|
+
name: 'moderator:manage:automod_settings',
|
|
211
211
|
value: 'moderator:manage:automod_settings',
|
|
212
212
|
description: 'Manage a broadcaster\'s AutoMod settings',
|
|
213
213
|
},
|
|
214
214
|
{
|
|
215
|
-
name: '
|
|
215
|
+
name: 'moderator:read:banned_users',
|
|
216
216
|
value: 'moderator:read:banned_users',
|
|
217
217
|
description: 'View a broadcaster\'s list of banned users',
|
|
218
218
|
},
|
|
219
219
|
{
|
|
220
|
-
name: '
|
|
220
|
+
name: 'moderator:manage:banned_users',
|
|
221
221
|
value: 'moderator:manage:banned_users',
|
|
222
222
|
description: 'Ban and unban users',
|
|
223
223
|
},
|
|
224
224
|
{
|
|
225
|
-
name: '
|
|
225
|
+
name: 'moderator:read:blocked_terms',
|
|
226
226
|
value: 'moderator:read:blocked_terms',
|
|
227
227
|
description: 'View a broadcaster\'s list of blocked terms',
|
|
228
228
|
},
|
|
229
229
|
{
|
|
230
|
-
name: '
|
|
230
|
+
name: 'moderator:manage:blocked_terms',
|
|
231
231
|
value: 'moderator:manage:blocked_terms',
|
|
232
232
|
description: 'Manage a broadcaster\'s list of blocked terms',
|
|
233
233
|
},
|
|
234
234
|
{
|
|
235
|
-
name: '
|
|
235
|
+
name: 'moderator:read:chat_messages',
|
|
236
236
|
value: 'moderator:read:chat_messages',
|
|
237
237
|
description: 'View chat messages in channels where you have the moderator role',
|
|
238
238
|
},
|
|
239
239
|
{
|
|
240
|
-
name: '
|
|
240
|
+
name: 'moderator:manage:chat_messages',
|
|
241
241
|
value: 'moderator:manage:chat_messages',
|
|
242
242
|
description: 'Delete chat messages in channels where you have the moderator role',
|
|
243
243
|
},
|
|
244
244
|
{
|
|
245
|
-
name: '
|
|
245
|
+
name: 'moderator:read:chat_settings',
|
|
246
246
|
value: 'moderator:read:chat_settings',
|
|
247
247
|
description: 'View a broadcaster\'s chat room settings',
|
|
248
248
|
},
|
|
249
249
|
{
|
|
250
|
-
name: '
|
|
250
|
+
name: 'moderator:manage:chat_settings',
|
|
251
251
|
value: 'moderator:manage:chat_settings',
|
|
252
252
|
description: 'Manage a broadcaster\'s chat room settings',
|
|
253
253
|
},
|
|
254
254
|
{
|
|
255
|
-
name: '
|
|
255
|
+
name: 'moderator:read:chatters',
|
|
256
256
|
value: 'moderator:read:chatters',
|
|
257
257
|
description: 'View the chatters in a broadcaster\'s chat room',
|
|
258
258
|
},
|
|
259
259
|
{
|
|
260
|
-
name: '
|
|
260
|
+
name: 'moderator:read:followers',
|
|
261
261
|
value: 'moderator:read:followers',
|
|
262
262
|
description: 'View a broadcaster\'s followers',
|
|
263
263
|
},
|
|
264
264
|
{
|
|
265
|
-
name: '
|
|
265
|
+
name: 'moderator:read:shield_mode',
|
|
266
266
|
value: 'moderator:read:shield_mode',
|
|
267
267
|
description: 'View a broadcaster\'s Shield Mode status',
|
|
268
268
|
},
|
|
269
269
|
{
|
|
270
|
-
name: '
|
|
270
|
+
name: 'moderator:manage:shield_mode',
|
|
271
271
|
value: 'moderator:manage:shield_mode',
|
|
272
272
|
description: 'Manage a broadcaster\'s Shield Mode status',
|
|
273
273
|
},
|
|
274
274
|
{
|
|
275
|
-
name: '
|
|
275
|
+
name: 'moderator:read:shoutouts',
|
|
276
276
|
value: 'moderator:read:shoutouts',
|
|
277
277
|
description: 'View a broadcaster\'s shoutouts',
|
|
278
278
|
},
|
|
279
279
|
{
|
|
280
|
-
name: '
|
|
280
|
+
name: 'moderator:manage:shoutouts',
|
|
281
281
|
value: 'moderator:manage:shoutouts',
|
|
282
282
|
description: 'Manage a broadcaster\'s shoutouts',
|
|
283
283
|
},
|
|
284
284
|
{
|
|
285
|
-
name: '
|
|
285
|
+
name: 'moderator:read:unban_requests',
|
|
286
286
|
value: 'moderator:read:unban_requests',
|
|
287
287
|
description: 'View a broadcaster\'s unban requests',
|
|
288
288
|
},
|
|
289
289
|
{
|
|
290
|
-
name: '
|
|
290
|
+
name: 'moderator:manage:unban_requests',
|
|
291
291
|
value: 'moderator:manage:unban_requests',
|
|
292
292
|
description: 'Manage a broadcaster\'s unban requests',
|
|
293
293
|
},
|
|
294
294
|
{
|
|
295
|
-
name: '
|
|
295
|
+
name: 'moderator:read:warnings',
|
|
296
296
|
value: 'moderator:read:warnings',
|
|
297
297
|
description: 'View warnings in channels where you have the moderator role',
|
|
298
298
|
},
|
|
299
299
|
{
|
|
300
|
-
name: '
|
|
300
|
+
name: 'moderator:manage:warnings',
|
|
301
301
|
value: 'moderator:manage:warnings',
|
|
302
302
|
description: 'Warn users in channels where you have the moderator role',
|
|
303
303
|
},
|
|
304
304
|
{
|
|
305
|
-
name: '
|
|
305
|
+
name: 'clips:edit',
|
|
306
306
|
value: 'clips:edit',
|
|
307
307
|
description: 'Manage Clips for a channel',
|
|
308
308
|
},
|
|
309
309
|
{
|
|
310
|
-
name: '
|
|
310
|
+
name: 'editor:manage:clips',
|
|
311
311
|
value: 'editor:manage:clips',
|
|
312
312
|
description: 'Manage Clips for a channel using editor role',
|
|
313
313
|
},
|
|
314
314
|
{
|
|
315
|
-
name: '
|
|
315
|
+
name: 'moderation:read',
|
|
316
316
|
value: 'moderation:read',
|
|
317
317
|
description: 'View channels that the user has moderator privileges in',
|
|
318
318
|
},
|
|
319
319
|
{
|
|
320
|
-
name: '
|
|
320
|
+
name: 'user:bot',
|
|
321
321
|
value: 'user:bot',
|
|
322
322
|
description: 'Perform bot actions as a user',
|
|
323
323
|
},
|
|
324
324
|
{
|
|
325
|
-
name: '
|
|
325
|
+
name: 'user:manage:blocked_users',
|
|
326
326
|
value: 'user:manage:blocked_users',
|
|
327
327
|
description: 'Manage the list of blocked users',
|
|
328
328
|
},
|
|
329
329
|
{
|
|
330
|
-
name: '
|
|
330
|
+
name: 'user:read:blocked_users',
|
|
331
331
|
value: 'user:read:blocked_users',
|
|
332
332
|
description: 'View the list of blocked users',
|
|
333
333
|
},
|
|
334
334
|
{
|
|
335
|
-
name: '
|
|
335
|
+
name: 'user:read:broadcast',
|
|
336
336
|
value: 'user:read:broadcast',
|
|
337
337
|
description: 'View a user\'s broadcasting configuration, including Extension configurations',
|
|
338
338
|
},
|
|
339
339
|
{
|
|
340
|
-
name: '
|
|
340
|
+
name: 'user:read:chat',
|
|
341
341
|
value: 'user:read:chat',
|
|
342
342
|
description: 'View live chat messages sent in your channel using EventSub',
|
|
343
343
|
},
|
|
344
344
|
{
|
|
345
|
-
name: '
|
|
345
|
+
name: 'user:manage:chat_color',
|
|
346
346
|
value: 'user:manage:chat_color',
|
|
347
347
|
description: 'Update the color used for the user\'s name in chat',
|
|
348
348
|
},
|
|
349
349
|
{
|
|
350
|
-
name: '
|
|
350
|
+
name: 'user:read:email',
|
|
351
351
|
value: 'user:read:email',
|
|
352
352
|
description: 'View a user\'s email address',
|
|
353
353
|
},
|
|
354
354
|
{
|
|
355
|
-
name: '
|
|
355
|
+
name: 'user:read:emotes',
|
|
356
356
|
value: 'user:read:emotes',
|
|
357
357
|
description: 'View emotes available to a user',
|
|
358
358
|
},
|
|
359
359
|
{
|
|
360
|
-
name: '
|
|
360
|
+
name: 'user:read:follows',
|
|
361
361
|
value: 'user:read:follows',
|
|
362
362
|
description: 'View the list of channels a user follows',
|
|
363
363
|
},
|
|
364
364
|
{
|
|
365
|
-
name: '
|
|
365
|
+
name: 'user:read:moderated_channels',
|
|
366
366
|
value: 'user:read:moderated_channels',
|
|
367
367
|
description: 'View channels that the user has moderator privileges in',
|
|
368
368
|
},
|
|
369
369
|
{
|
|
370
|
-
name: '
|
|
370
|
+
name: 'user:read:subscriptions',
|
|
371
371
|
value: 'user:read:subscriptions',
|
|
372
372
|
description: 'View if an authorized user is subscribed to specific channels',
|
|
373
373
|
},
|
|
374
374
|
{
|
|
375
|
-
name: '
|
|
375
|
+
name: 'user:read:whispers',
|
|
376
376
|
value: 'user:read:whispers',
|
|
377
377
|
description: 'View whispers sent to a user',
|
|
378
378
|
},
|
|
379
379
|
{
|
|
380
|
-
name: '
|
|
380
|
+
name: 'user:manage:whispers',
|
|
381
381
|
value: 'user:manage:whispers',
|
|
382
382
|
description: 'Send whispers on behalf of a user',
|
|
383
383
|
},
|
|
384
384
|
{
|
|
385
|
-
name: '
|
|
385
|
+
name: 'user:write:chat',
|
|
386
386
|
value: 'user:write:chat',
|
|
387
387
|
description: 'Send live chat messages using IRC or the Twitch API',
|
|
388
388
|
},
|
|
389
389
|
{
|
|
390
|
-
name: '
|
|
390
|
+
name: 'chat:read',
|
|
391
391
|
value: 'chat:read',
|
|
392
392
|
description: 'View chat messages sent in a chatroom using an IRC connection',
|
|
393
393
|
},
|
|
394
394
|
{
|
|
395
|
-
name: '
|
|
395
|
+
name: 'chat:edit',
|
|
396
396
|
value: 'chat:edit',
|
|
397
397
|
description: 'Send chat messages to a chatroom using an IRC connection',
|
|
398
398
|
},
|
|
399
399
|
{
|
|
400
|
-
name: '
|
|
400
|
+
name: 'whispers:read',
|
|
401
401
|
value: 'whispers:read',
|
|
402
402
|
description: 'Receive whisper messages for your user using PubSub',
|
|
403
403
|
},
|
|
404
404
|
{
|
|
405
|
-
name: '
|
|
405
|
+
name: 'whispers:edit',
|
|
406
406
|
value: 'whispers:edit',
|
|
407
407
|
description: 'Send whisper messages using PubSub',
|
|
408
408
|
},
|
|
@@ -423,11 +423,19 @@ class TwitchOAuth2Api {
|
|
|
423
423
|
];
|
|
424
424
|
}
|
|
425
425
|
async preAuthentication(credentials) {
|
|
426
|
-
const
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
426
|
+
const scope = Array.isArray(credentials.scope)
|
|
427
|
+
? credentials.scope.join(' ')
|
|
428
|
+
: credentials.scope;
|
|
429
|
+
return {
|
|
430
|
+
clientId: credentials.clientId,
|
|
431
|
+
clientSecret: credentials.clientSecret,
|
|
432
|
+
grantType: credentials.grantType,
|
|
433
|
+
authUrl: credentials.authUrl,
|
|
434
|
+
accessTokenUrl: credentials.accessTokenUrl,
|
|
435
|
+
scope,
|
|
436
|
+
authQueryParameters: credentials.authQueryParameters,
|
|
437
|
+
authentication: credentials.authentication,
|
|
438
|
+
};
|
|
431
439
|
}
|
|
432
440
|
}
|
|
433
441
|
exports.TwitchOAuth2Api = TwitchOAuth2Api;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TwitchOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/TwitchOAuth2Api.credentials.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"TwitchOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/TwitchOAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAQA,MAAa,eAAe;IAA5B;QACC,SAAI,GAAG,iBAAiB,CAAC;QAEzB,YAAO,GAAG,CAAC,WAAW,CAAC,CAAC;QAExB,gBAAW,GAAG,mBAAmB,CAAC;QAElC,SAAI,GAAS,EAAE,KAAK,EAAE,0BAA0B,EAAE,IAAI,EAAE,+BAA+B,EAAE,CAAC;QAE1F,qBAAgB,GAAG,iEAAiE,CAAC;QAErF,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,mBAAmB;aAC5B;YACD;gBACC,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,uCAAuC;gBAChD,QAAQ,EAAE,IAAI;aACd;YACD;gBACC,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,mCAAmC;gBAC5C,QAAQ,EAAE,IAAI;aACd;YACD;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,cAAc;gBACpB,OAAO,EAAE,CAAC,iBAAiB,CAAC;gBAC5B,WAAW,EAAE,wKAAwK;gBACrL,OAAO,EAAE;oBAER;wBACC,IAAI,EAAE,2BAA2B;wBACjC,KAAK,EAAE,2BAA2B;wBAClC,WAAW,EAAE,kFAAkF;qBAC/F;oBACD;wBACC,IAAI,EAAE,sBAAsB;wBAC5B,KAAK,EAAE,sBAAsB;wBAC7B,WAAW,EAAE,sEAAsE;qB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QAErB,OAAO;YACN,QAAQ,EAAE,WAAW,CAAC,QAAQ;YAC9B,YAAY,EAAE,WAAW,CAAC,YAAY;YACtC,SAAS,EAAE,WAAW,CAAC,SAAS;YAChC,OAAO,EAAE,WAAW,CAAC,OAAO;YAC5B,cAAc,EAAE,WAAW,CAAC,cAAc;YAC1C,KAAK;YACL,mBAAmB,EAAE,WAAW,CAAC,mBAAmB;YACpD,cAAc,EAAE,WAAW,CAAC,cAAc;SAC1C,CAAC;IACH,CAAC;CACD;AAtcD,0CAscC"}
|
|
@@ -19,23 +19,9 @@ class TwitchAnnouncements {
|
|
|
19
19
|
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
20
20
|
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
21
21
|
credentials: [
|
|
22
|
-
{
|
|
23
|
-
name: 'twitchApi',
|
|
24
|
-
required: true,
|
|
25
|
-
displayOptions: {
|
|
26
|
-
show: {
|
|
27
|
-
authentication: ['clientCredentials'],
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
22
|
{
|
|
32
23
|
name: 'twitchOAuth2Api',
|
|
33
24
|
required: true,
|
|
34
|
-
displayOptions: {
|
|
35
|
-
show: {
|
|
36
|
-
authentication: ['oAuth2'],
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
25
|
},
|
|
40
26
|
],
|
|
41
27
|
requestDefaults: {
|
|
@@ -46,22 +32,6 @@ class TwitchAnnouncements {
|
|
|
46
32
|
},
|
|
47
33
|
},
|
|
48
34
|
properties: [
|
|
49
|
-
{
|
|
50
|
-
displayName: 'Authentication',
|
|
51
|
-
name: 'authentication',
|
|
52
|
-
type: 'options',
|
|
53
|
-
options: [
|
|
54
|
-
{
|
|
55
|
-
name: 'Client Credentials',
|
|
56
|
-
value: 'clientCredentials',
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
name: 'OAuth2',
|
|
60
|
-
value: 'oAuth2',
|
|
61
|
-
},
|
|
62
|
-
],
|
|
63
|
-
default: 'oAuth2',
|
|
64
|
-
},
|
|
65
35
|
{
|
|
66
36
|
displayName: 'Operation',
|
|
67
37
|
name: 'operation',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TwitchAnnouncements.node.js","sourceRoot":"","sources":["../../../nodes/TwitchAnnouncements/TwitchAnnouncements.node.ts"],"names":[],"mappings":";;;AAAA,+CAA8F;AAE9F,MAAa,mBAAmB;IAAhC;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,qBAAqB;YAC3B,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,wCAAwC;YACrD,QAAQ,EAAE;gBACT,IAAI,EAAE,sBAAsB;aAC5B;YACD,YAAY,EAAE,IAAI;YAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YACnC,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"TwitchAnnouncements.node.js","sourceRoot":"","sources":["../../../nodes/TwitchAnnouncements/TwitchAnnouncements.node.ts"],"names":[],"mappings":";;;AAAA,+CAA8F;AAE9F,MAAa,mBAAmB;IAAhC;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,qBAAqB;YAC3B,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,wCAAwC;YACrD,QAAQ,EAAE;gBACT,IAAI,EAAE,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