@yuniruyuni/n8n-nodes-twitch 0.1.5 → 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/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.js.map +1 -0
- package/dist/nodes/TwitchTrigger/TwitchTrigger.node.js +1 -1
- 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 -169
- package/dist/nodes/TwitchAnnouncements/TwitchAnnouncements.node.js.map +0 -1
- package/dist/nodes/TwitchBans/TwitchBans.node.js +0 -340
- 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 -174
- 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 -104
- 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 -133
- 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 -133
- 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 -99
- 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 -291
- 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 -581
- 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 -97
- 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 -287
- 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 -426
- 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 -382
- 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 -183
- 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 -274
- 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 -432
- 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 -208
- 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 -191
- 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 -343
- 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/shared/userIdConverter.js.map +0 -1
- /package/dist/nodes/{shared → Twitch/shared}/userIdConverter.d.ts +0 -0
- /package/dist/nodes/{shared → Twitch/shared}/userIdConverter.js +0 -0
- /package/dist/nodes/{TwitchAnnouncements → Twitch}/twitch.dark.svg +0 -0
- /package/dist/nodes/{TwitchAnnouncements → Twitch}/twitch.svg +0 -0
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TwitchCheermotes = void 0;
|
|
4
|
-
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
-
const userIdConverter_1 = require("../shared/userIdConverter");
|
|
6
|
-
class TwitchCheermotes {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.description = {
|
|
9
|
-
displayName: 'Twitch Cheermotes',
|
|
10
|
-
name: 'twitchCheermotes',
|
|
11
|
-
icon: { light: 'file:twitch.svg', dark: 'file:twitch.dark.svg' },
|
|
12
|
-
group: ['output'],
|
|
13
|
-
version: 1,
|
|
14
|
-
subtitle: '={{$parameter["operation"]}}',
|
|
15
|
-
description: 'Get Cheermotes for a Twitch channel',
|
|
16
|
-
defaults: {
|
|
17
|
-
name: 'Twitch Cheermotes',
|
|
18
|
-
},
|
|
19
|
-
usableAsTool: true,
|
|
20
|
-
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
21
|
-
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
22
|
-
credentials: [
|
|
23
|
-
{
|
|
24
|
-
name: 'twitchOAuth2Api',
|
|
25
|
-
required: true,
|
|
26
|
-
},
|
|
27
|
-
],
|
|
28
|
-
requestDefaults: {
|
|
29
|
-
baseURL: 'https://api.twitch.tv/helix',
|
|
30
|
-
headers: {
|
|
31
|
-
Accept: 'application/json',
|
|
32
|
-
'Content-Type': 'application/json',
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
properties: [
|
|
36
|
-
{
|
|
37
|
-
displayName: 'Operation',
|
|
38
|
-
name: 'operation',
|
|
39
|
-
type: 'options',
|
|
40
|
-
noDataExpression: true,
|
|
41
|
-
options: [
|
|
42
|
-
{
|
|
43
|
-
name: 'Get',
|
|
44
|
-
value: 'get',
|
|
45
|
-
action: 'Get cheermotes',
|
|
46
|
-
description: 'Get the list of Cheermotes (animated emotes used with Bits)',
|
|
47
|
-
routing: {
|
|
48
|
-
request: {
|
|
49
|
-
method: 'GET',
|
|
50
|
-
url: '/bits/cheermotes',
|
|
51
|
-
},
|
|
52
|
-
send: {
|
|
53
|
-
preSend: [
|
|
54
|
-
async function (requestOptions) {
|
|
55
|
-
const broadcasterIdInput = this.getNodeParameter('broadcasterId', '');
|
|
56
|
-
if (broadcasterIdInput) {
|
|
57
|
-
const broadcasterId = await userIdConverter_1.resolveUserIdOrUsername.call(this, broadcasterIdInput);
|
|
58
|
-
requestOptions.qs = {
|
|
59
|
-
broadcaster_id: broadcasterId,
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
return requestOptions;
|
|
63
|
-
},
|
|
64
|
-
],
|
|
65
|
-
},
|
|
66
|
-
output: {
|
|
67
|
-
postReceive: [
|
|
68
|
-
{
|
|
69
|
-
type: 'rootProperty',
|
|
70
|
-
properties: {
|
|
71
|
-
property: 'data',
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
],
|
|
75
|
-
},
|
|
76
|
-
},
|
|
77
|
-
},
|
|
78
|
-
],
|
|
79
|
-
default: 'get',
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
displayName: 'Broadcaster ID or Username',
|
|
83
|
-
name: 'broadcasterId',
|
|
84
|
-
type: 'string',
|
|
85
|
-
displayOptions: {
|
|
86
|
-
show: {
|
|
87
|
-
operation: ['get'],
|
|
88
|
-
},
|
|
89
|
-
},
|
|
90
|
-
default: '',
|
|
91
|
-
placeholder: 'e.g. 123456789 or username',
|
|
92
|
-
description: 'The broadcaster user ID or username. If omitted, returns global cheermotes. If a username is provided, it will be automatically converted to user ID.',
|
|
93
|
-
},
|
|
94
|
-
],
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
exports.TwitchCheermotes = TwitchCheermotes;
|
|
99
|
-
//# sourceMappingURL=TwitchCheermotes.node.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TwitchCheermotes.node.js","sourceRoot":"","sources":["../../../nodes/TwitchCheermotes/TwitchCheermotes.node.ts"],"names":[],"mappings":";;;AAAA,+CAA8F;AAC9F,+DAAoE;AAEpE,MAAa,gBAAgB;IAA7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AAC,IAAI,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC;gDACnF,cAAc,CAAC,EAAE,GAAG;oDACnB,cAAc,EAAE,aAAa;iDAC7B,CAAC;4CACH,CAAC;4CAED,OAAO,cAAc,CAAC;wCACvB,CAAC;qCACD;iCACD;gCACD,MAAM,EAAE;oCACP,WAAW,EAAE;wCACZ;4CACC,IAAI,EAAE,cAAc;4CACpB,UAAU,EAAE;gDACX,QAAQ,EAAE,MAAM;6CAChB;yCACD;qCACD;iCACD;6BACD;yBACD;qBACD;oBACD,OAAO,EAAE,KAAK;iBACd;gBACD;oBACC,WAAW,EAAE,4BAA4B;oBACzC,IAAI,EAAE,eAAe;oBACrB,IAAI,EAAE,QAAQ;oBACd,cAAc,EAAE;wBACf,IAAI,EAAE;4BACL,SAAS,EAAE,CAAC,KAAK,CAAC;yBAClB;qBACD;oBACD,OAAO,EAAE,EAAE;oBACX,WAAW,EAAE,4BAA4B;oBACzC,WAAW,EAAE,uJAAuJ;iBACpK;aACD;SACD,CAAC;IACH,CAAC;CAAA;AA3FD,4CA2FC"}
|
|
@@ -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>
|
|
@@ -1,291 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TwitchClips = void 0;
|
|
4
|
-
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
-
const userIdConverter_1 = require("../shared/userIdConverter");
|
|
6
|
-
class TwitchClips {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.description = {
|
|
9
|
-
displayName: 'Twitch Clips',
|
|
10
|
-
name: 'twitchClips',
|
|
11
|
-
icon: { light: 'file:twitch.svg', dark: 'file:twitch.dark.svg' },
|
|
12
|
-
group: ['transform'],
|
|
13
|
-
version: 1,
|
|
14
|
-
subtitle: '={{$parameter["operation"]}}',
|
|
15
|
-
description: 'Interact with Twitch Clips API',
|
|
16
|
-
defaults: {
|
|
17
|
-
name: 'Twitch Clips',
|
|
18
|
-
},
|
|
19
|
-
usableAsTool: true,
|
|
20
|
-
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
21
|
-
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
22
|
-
credentials: [
|
|
23
|
-
{
|
|
24
|
-
name: 'twitchOAuth2Api',
|
|
25
|
-
required: true,
|
|
26
|
-
},
|
|
27
|
-
],
|
|
28
|
-
requestDefaults: {
|
|
29
|
-
baseURL: 'https://api.twitch.tv/helix',
|
|
30
|
-
headers: {
|
|
31
|
-
Accept: 'application/json',
|
|
32
|
-
'Content-Type': 'application/json',
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
properties: [
|
|
36
|
-
{
|
|
37
|
-
displayName: 'Operation',
|
|
38
|
-
name: 'operation',
|
|
39
|
-
type: 'options',
|
|
40
|
-
noDataExpression: true,
|
|
41
|
-
options: [
|
|
42
|
-
{
|
|
43
|
-
name: 'Create Clip',
|
|
44
|
-
value: 'createClip',
|
|
45
|
-
action: 'Create a clip',
|
|
46
|
-
description: 'Create a clip from a broadcaster\'s stream',
|
|
47
|
-
routing: {
|
|
48
|
-
request: {
|
|
49
|
-
method: 'POST',
|
|
50
|
-
url: '/clips',
|
|
51
|
-
},
|
|
52
|
-
send: {
|
|
53
|
-
preSend: [
|
|
54
|
-
async function (requestOptions) {
|
|
55
|
-
const broadcasterIdInput = this.getNodeParameter('broadcasterId');
|
|
56
|
-
const hasDelay = this.getNodeParameter('hasDelay');
|
|
57
|
-
const broadcasterId = await userIdConverter_1.resolveUserIdOrUsername.call(this, broadcasterIdInput);
|
|
58
|
-
requestOptions.qs = {
|
|
59
|
-
broadcaster_id: broadcasterId,
|
|
60
|
-
has_delay: hasDelay,
|
|
61
|
-
};
|
|
62
|
-
return requestOptions;
|
|
63
|
-
},
|
|
64
|
-
],
|
|
65
|
-
},
|
|
66
|
-
output: {
|
|
67
|
-
postReceive: [
|
|
68
|
-
{
|
|
69
|
-
type: 'rootProperty',
|
|
70
|
-
properties: {
|
|
71
|
-
property: 'data',
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
type: 'setKeyValue',
|
|
76
|
-
properties: {
|
|
77
|
-
index: 0,
|
|
78
|
-
},
|
|
79
|
-
},
|
|
80
|
-
],
|
|
81
|
-
},
|
|
82
|
-
},
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
name: 'Get Clips',
|
|
86
|
-
value: 'getClips',
|
|
87
|
-
action: 'Get clips',
|
|
88
|
-
description: 'Get one or more clips',
|
|
89
|
-
routing: {
|
|
90
|
-
request: {
|
|
91
|
-
method: 'GET',
|
|
92
|
-
url: '/clips',
|
|
93
|
-
},
|
|
94
|
-
send: {
|
|
95
|
-
preSend: [
|
|
96
|
-
async function (requestOptions) {
|
|
97
|
-
const filterType = this.getNodeParameter('filterType');
|
|
98
|
-
const qs = {};
|
|
99
|
-
if (filterType === 'broadcasterId') {
|
|
100
|
-
const broadcasterIdInput = this.getNodeParameter('broadcasterId');
|
|
101
|
-
const broadcasterId = await userIdConverter_1.resolveUserIdOrUsername.call(this, broadcasterIdInput);
|
|
102
|
-
qs.broadcaster_id = broadcasterId;
|
|
103
|
-
}
|
|
104
|
-
else if (filterType === 'gameId') {
|
|
105
|
-
qs.game_id = this.getNodeParameter('gameId');
|
|
106
|
-
}
|
|
107
|
-
else if (filterType === 'clipId') {
|
|
108
|
-
qs.id = this.getNodeParameter('clipId');
|
|
109
|
-
}
|
|
110
|
-
const startedAt = this.getNodeParameter('startedAt', '');
|
|
111
|
-
if (startedAt) {
|
|
112
|
-
qs.started_at = startedAt;
|
|
113
|
-
}
|
|
114
|
-
const endedAt = this.getNodeParameter('endedAt', '');
|
|
115
|
-
if (endedAt) {
|
|
116
|
-
qs.ended_at = endedAt;
|
|
117
|
-
}
|
|
118
|
-
const first = this.getNodeParameter('first', 20);
|
|
119
|
-
if (first) {
|
|
120
|
-
qs.first = first;
|
|
121
|
-
}
|
|
122
|
-
requestOptions.qs = qs;
|
|
123
|
-
return requestOptions;
|
|
124
|
-
},
|
|
125
|
-
],
|
|
126
|
-
},
|
|
127
|
-
output: {
|
|
128
|
-
postReceive: [
|
|
129
|
-
{
|
|
130
|
-
type: 'rootProperty',
|
|
131
|
-
properties: {
|
|
132
|
-
property: 'data',
|
|
133
|
-
},
|
|
134
|
-
},
|
|
135
|
-
],
|
|
136
|
-
},
|
|
137
|
-
},
|
|
138
|
-
},
|
|
139
|
-
],
|
|
140
|
-
default: 'getClips',
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
displayName: 'Broadcaster ID or Username',
|
|
144
|
-
name: 'broadcasterId',
|
|
145
|
-
type: 'string',
|
|
146
|
-
displayOptions: {
|
|
147
|
-
show: {
|
|
148
|
-
operation: ['createClip'],
|
|
149
|
-
},
|
|
150
|
-
},
|
|
151
|
-
default: '',
|
|
152
|
-
required: true,
|
|
153
|
-
placeholder: 'e.g. 123456789 or username',
|
|
154
|
-
description: 'The broadcaster user ID or username whose stream will be clipped. If a username is provided, it will be automatically converted to user ID.',
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
displayName: 'Has Delay',
|
|
158
|
-
name: 'hasDelay',
|
|
159
|
-
type: 'boolean',
|
|
160
|
-
displayOptions: {
|
|
161
|
-
show: {
|
|
162
|
-
operation: ['createClip'],
|
|
163
|
-
},
|
|
164
|
-
},
|
|
165
|
-
default: false,
|
|
166
|
-
description: 'Whether to add a delay before capturing the clip. If true, a delay is added before the clip is captured.',
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
displayName: 'Filter Type',
|
|
170
|
-
name: 'filterType',
|
|
171
|
-
type: 'options',
|
|
172
|
-
displayOptions: {
|
|
173
|
-
show: {
|
|
174
|
-
operation: ['getClips'],
|
|
175
|
-
},
|
|
176
|
-
},
|
|
177
|
-
options: [
|
|
178
|
-
{
|
|
179
|
-
name: 'Broadcaster ID',
|
|
180
|
-
value: 'broadcasterId',
|
|
181
|
-
description: 'Get clips for a specific broadcaster',
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
name: 'Game ID',
|
|
185
|
-
value: 'gameId',
|
|
186
|
-
description: 'Get clips for a specific game',
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
name: 'Clip ID',
|
|
190
|
-
value: 'clipId',
|
|
191
|
-
description: 'Get a specific clip by ID',
|
|
192
|
-
},
|
|
193
|
-
],
|
|
194
|
-
default: 'broadcasterId',
|
|
195
|
-
required: true,
|
|
196
|
-
description: 'The type of filter to use when retrieving clips',
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
displayName: 'Broadcaster ID or Username',
|
|
200
|
-
name: 'broadcasterId',
|
|
201
|
-
type: 'string',
|
|
202
|
-
displayOptions: {
|
|
203
|
-
show: {
|
|
204
|
-
operation: ['getClips'],
|
|
205
|
-
filterType: ['broadcasterId'],
|
|
206
|
-
},
|
|
207
|
-
},
|
|
208
|
-
default: '',
|
|
209
|
-
required: true,
|
|
210
|
-
placeholder: 'e.g. 123456789 or username',
|
|
211
|
-
description: 'The broadcaster user ID or username. If a username is provided, it will be automatically converted to user ID.',
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
displayName: 'Game ID',
|
|
215
|
-
name: 'gameId',
|
|
216
|
-
type: 'string',
|
|
217
|
-
displayOptions: {
|
|
218
|
-
show: {
|
|
219
|
-
operation: ['getClips'],
|
|
220
|
-
filterType: ['gameId'],
|
|
221
|
-
},
|
|
222
|
-
},
|
|
223
|
-
default: '',
|
|
224
|
-
required: true,
|
|
225
|
-
placeholder: 'e.g. 987654321',
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
displayName: 'Clip ID',
|
|
229
|
-
name: 'clipId',
|
|
230
|
-
type: 'string',
|
|
231
|
-
displayOptions: {
|
|
232
|
-
show: {
|
|
233
|
-
operation: ['getClips'],
|
|
234
|
-
filterType: ['clipId'],
|
|
235
|
-
},
|
|
236
|
-
},
|
|
237
|
-
default: '',
|
|
238
|
-
required: true,
|
|
239
|
-
placeholder: 'e.g. AwkwardHelplessSalamanderSwiftRage',
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
displayName: 'Started At',
|
|
243
|
-
name: 'startedAt',
|
|
244
|
-
type: 'string',
|
|
245
|
-
displayOptions: {
|
|
246
|
-
show: {
|
|
247
|
-
operation: ['getClips'],
|
|
248
|
-
filterType: ['broadcasterId', 'gameId'],
|
|
249
|
-
},
|
|
250
|
-
},
|
|
251
|
-
default: '',
|
|
252
|
-
placeholder: 'e.g. 2021-01-01T00:00:00Z',
|
|
253
|
-
description: 'The start date/time for clips (RFC3339 format)',
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
displayName: 'Ended At',
|
|
257
|
-
name: 'endedAt',
|
|
258
|
-
type: 'string',
|
|
259
|
-
displayOptions: {
|
|
260
|
-
show: {
|
|
261
|
-
operation: ['getClips'],
|
|
262
|
-
filterType: ['broadcasterId', 'gameId'],
|
|
263
|
-
},
|
|
264
|
-
},
|
|
265
|
-
default: '',
|
|
266
|
-
placeholder: 'e.g. 2021-12-31T23:59:59Z',
|
|
267
|
-
description: 'The end date/time for clips (RFC3339 format)',
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
displayName: 'First',
|
|
271
|
-
name: 'first',
|
|
272
|
-
type: 'number',
|
|
273
|
-
displayOptions: {
|
|
274
|
-
show: {
|
|
275
|
-
operation: ['getClips'],
|
|
276
|
-
filterType: ['broadcasterId', 'gameId'],
|
|
277
|
-
},
|
|
278
|
-
},
|
|
279
|
-
default: 20,
|
|
280
|
-
typeOptions: {
|
|
281
|
-
minValue: 1,
|
|
282
|
-
maxValue: 100,
|
|
283
|
-
},
|
|
284
|
-
description: 'Maximum number of clips to return (1-100)',
|
|
285
|
-
},
|
|
286
|
-
],
|
|
287
|
-
};
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
exports.TwitchClips = TwitchClips;
|
|
291
|
-
//# sourceMappingURL=TwitchClips.node.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TwitchClips.node.js","sourceRoot":"","sources":["../../../nodes/TwitchClips/TwitchClips.node.ts"],"names":[],"mappings":";;;AAAA,+CAAgH;AAChH,+DAAoE;AAEpE,MAAa,WAAW;IAAxB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,sBAAsB,EAAE;YAChE,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8BAA8B;YACxC,WAAW,EAAE,gCAAgC;YAC7C,QAAQ,EAAE;gBACT,IAAI,EAAE,cAAc;aACpB;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,iBAAiB;oBACvB,QAAQ,EAAE,IAAI;iBACd;aACD;YACD,eAAe,EAAE;gBAChB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AAC;4BACvB,UAAU,EAAE,CAAC,eAAe,EAAE,QAAQ,CAAC;yBACvC;qBACD;oBACD,OAAO,EAAE,EAAE;oBACX,WAAW,EAAE,2BAA2B;oBACxC,WAAW,EAAE,gDAAgD;iBAC7D;gBACD;oBACC,WAAW,EAAE,UAAU;oBACvB,IAAI,EAAE,SAAS;oBACf,IAAI,EAAE,QAAQ;oBACd,cAAc,EAAE;wBACf,IAAI,EAAE;4BACL,SAAS,EAAE,CAAC,UAAU,CAAC;4BACvB,UAAU,EAAE,CAAC,eAAe,EAAE,QAAQ,CAAC;yBACvC;qBACD;oBACD,OAAO,EAAE,EAAE;oBACX,WAAW,EAAE,2BAA2B;oBACxC,WAAW,EAAE,8CAA8C;iBAC3D;gBACD;oBACC,WAAW,EAAE,OAAO;oBACpB,IAAI,EAAE,OAAO;oBACb,IAAI,EAAE,QAAQ;oBACd,cAAc,EAAE;wBACf,IAAI,EAAE;4BACL,SAAS,EAAE,CAAC,UAAU,CAAC;4BACvB,UAAU,EAAE,CAAC,eAAe,EAAE,QAAQ,CAAC;yBACvC;qBACD;oBACD,OAAO,EAAE,EAAE;oBACX,WAAW,EAAE;wBACZ,QAAQ,EAAE,CAAC;wBACX,QAAQ,EAAE,GAAG;qBACb;oBACD,WAAW,EAAE,2CAA2C;iBACxD;aACD;SACD,CAAC;IACH,CAAC;CAAA;AAnSD,kCAmSC"}
|
|
@@ -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>
|