@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 +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,422 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TwitchPolls = void 0;
|
|
4
|
-
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
-
class TwitchPolls {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.description = {
|
|
8
|
-
displayName: 'Twitch Polls',
|
|
9
|
-
name: 'twitchPolls',
|
|
10
|
-
icon: { light: 'file:twitch.svg', dark: 'file:twitch.dark.svg' },
|
|
11
|
-
group: ['transform'],
|
|
12
|
-
version: 1,
|
|
13
|
-
subtitle: '={{$parameter["operation"]}}',
|
|
14
|
-
description: 'Interact with Twitch Polls API',
|
|
15
|
-
defaults: {
|
|
16
|
-
name: 'Twitch Polls',
|
|
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: 'Create Poll',
|
|
43
|
-
value: 'createPoll',
|
|
44
|
-
action: 'Create a poll',
|
|
45
|
-
description: 'Create a poll for a broadcaster',
|
|
46
|
-
routing: {
|
|
47
|
-
request: {
|
|
48
|
-
method: 'POST',
|
|
49
|
-
url: '/polls',
|
|
50
|
-
},
|
|
51
|
-
send: {
|
|
52
|
-
preSend: [
|
|
53
|
-
async function (requestOptions) {
|
|
54
|
-
const broadcasterId = this.getNodeParameter('broadcasterId', 0);
|
|
55
|
-
const title = this.getNodeParameter('title', 0);
|
|
56
|
-
const choicesInput = this.getNodeParameter('choices', 0);
|
|
57
|
-
const duration = this.getNodeParameter('duration', 0);
|
|
58
|
-
let choices;
|
|
59
|
-
try {
|
|
60
|
-
choices = JSON.parse(choicesInput);
|
|
61
|
-
if (!Array.isArray(choices)) {
|
|
62
|
-
choices = [choicesInput];
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
catch {
|
|
66
|
-
choices = choicesInput.split(',').map(c => c.trim()).filter(c => c);
|
|
67
|
-
}
|
|
68
|
-
const formattedChoices = choices.map(choice => ({ title: choice }));
|
|
69
|
-
const body = {
|
|
70
|
-
broadcaster_id: broadcasterId,
|
|
71
|
-
title: title,
|
|
72
|
-
choices: formattedChoices,
|
|
73
|
-
duration: duration,
|
|
74
|
-
};
|
|
75
|
-
const additionalFields = this.getNodeParameter('additionalFields', 0, {});
|
|
76
|
-
if (additionalFields.bitsVotingEnabled !== undefined) {
|
|
77
|
-
body.bits_voting_enabled = additionalFields.bitsVotingEnabled;
|
|
78
|
-
}
|
|
79
|
-
if (additionalFields.bitsPerVote !== undefined) {
|
|
80
|
-
body.bits_per_vote = additionalFields.bitsPerVote;
|
|
81
|
-
}
|
|
82
|
-
if (additionalFields.channelPointsVotingEnabled !== undefined) {
|
|
83
|
-
body.channel_points_voting_enabled = additionalFields.channelPointsVotingEnabled;
|
|
84
|
-
}
|
|
85
|
-
if (additionalFields.channelPointsPerVote !== undefined) {
|
|
86
|
-
body.channel_points_per_vote = additionalFields.channelPointsPerVote;
|
|
87
|
-
}
|
|
88
|
-
requestOptions.body = body;
|
|
89
|
-
return requestOptions;
|
|
90
|
-
},
|
|
91
|
-
],
|
|
92
|
-
},
|
|
93
|
-
output: {
|
|
94
|
-
postReceive: [
|
|
95
|
-
{
|
|
96
|
-
type: 'rootProperty',
|
|
97
|
-
properties: {
|
|
98
|
-
property: 'data',
|
|
99
|
-
},
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
type: 'setKeyValue',
|
|
103
|
-
properties: {
|
|
104
|
-
index: 0,
|
|
105
|
-
},
|
|
106
|
-
},
|
|
107
|
-
],
|
|
108
|
-
},
|
|
109
|
-
},
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
name: 'Get Polls',
|
|
113
|
-
value: 'getPolls',
|
|
114
|
-
action: 'Get polls',
|
|
115
|
-
description: 'Get polls for a broadcaster',
|
|
116
|
-
routing: {
|
|
117
|
-
request: {
|
|
118
|
-
method: 'GET',
|
|
119
|
-
url: '/polls',
|
|
120
|
-
},
|
|
121
|
-
send: {
|
|
122
|
-
preSend: [
|
|
123
|
-
async function (requestOptions) {
|
|
124
|
-
const broadcasterId = this.getNodeParameter('getBroadcasterId', 0);
|
|
125
|
-
const qs = {
|
|
126
|
-
broadcaster_id: broadcasterId,
|
|
127
|
-
};
|
|
128
|
-
const pollIds = this.getNodeParameter('pollIds', 0);
|
|
129
|
-
if (pollIds) {
|
|
130
|
-
qs.id = pollIds;
|
|
131
|
-
}
|
|
132
|
-
const first = this.getNodeParameter('first', 0);
|
|
133
|
-
if (first) {
|
|
134
|
-
qs.first = first;
|
|
135
|
-
}
|
|
136
|
-
requestOptions.qs = qs;
|
|
137
|
-
return requestOptions;
|
|
138
|
-
},
|
|
139
|
-
],
|
|
140
|
-
},
|
|
141
|
-
output: {
|
|
142
|
-
postReceive: [
|
|
143
|
-
{
|
|
144
|
-
type: 'rootProperty',
|
|
145
|
-
properties: {
|
|
146
|
-
property: 'data',
|
|
147
|
-
},
|
|
148
|
-
},
|
|
149
|
-
],
|
|
150
|
-
},
|
|
151
|
-
},
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
name: 'End Poll',
|
|
155
|
-
value: 'endPoll',
|
|
156
|
-
action: 'End a poll',
|
|
157
|
-
description: 'End an active poll',
|
|
158
|
-
routing: {
|
|
159
|
-
request: {
|
|
160
|
-
method: 'PATCH',
|
|
161
|
-
url: '/polls',
|
|
162
|
-
},
|
|
163
|
-
send: {
|
|
164
|
-
preSend: [
|
|
165
|
-
async function (requestOptions) {
|
|
166
|
-
const broadcasterId = this.getNodeParameter('endBroadcasterId', 0);
|
|
167
|
-
const pollId = this.getNodeParameter('pollId', 0);
|
|
168
|
-
const status = this.getNodeParameter('status', 0);
|
|
169
|
-
const body = {
|
|
170
|
-
broadcaster_id: broadcasterId,
|
|
171
|
-
id: pollId,
|
|
172
|
-
status: status,
|
|
173
|
-
};
|
|
174
|
-
requestOptions.body = body;
|
|
175
|
-
return requestOptions;
|
|
176
|
-
},
|
|
177
|
-
],
|
|
178
|
-
},
|
|
179
|
-
output: {
|
|
180
|
-
postReceive: [
|
|
181
|
-
{
|
|
182
|
-
type: 'rootProperty',
|
|
183
|
-
properties: {
|
|
184
|
-
property: 'data',
|
|
185
|
-
},
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
type: 'setKeyValue',
|
|
189
|
-
properties: {
|
|
190
|
-
index: 0,
|
|
191
|
-
},
|
|
192
|
-
},
|
|
193
|
-
],
|
|
194
|
-
},
|
|
195
|
-
},
|
|
196
|
-
},
|
|
197
|
-
],
|
|
198
|
-
default: 'getPolls',
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
displayName: 'Broadcaster ID',
|
|
202
|
-
name: 'broadcasterId',
|
|
203
|
-
type: 'string',
|
|
204
|
-
displayOptions: {
|
|
205
|
-
show: {
|
|
206
|
-
operation: ['createPoll'],
|
|
207
|
-
},
|
|
208
|
-
},
|
|
209
|
-
default: '',
|
|
210
|
-
required: true,
|
|
211
|
-
placeholder: 'e.g. 123456789',
|
|
212
|
-
description: 'The broadcaster user ID who will own the poll',
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
displayName: 'Title',
|
|
216
|
-
name: 'title',
|
|
217
|
-
type: 'string',
|
|
218
|
-
displayOptions: {
|
|
219
|
-
show: {
|
|
220
|
-
operation: ['createPoll'],
|
|
221
|
-
},
|
|
222
|
-
},
|
|
223
|
-
default: '',
|
|
224
|
-
required: true,
|
|
225
|
-
placeholder: 'e.g. What game should I play next?',
|
|
226
|
-
description: 'Question displayed for the poll. Maximum: 60 characters.',
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
displayName: 'Choices',
|
|
230
|
-
name: 'choices',
|
|
231
|
-
type: 'string',
|
|
232
|
-
displayOptions: {
|
|
233
|
-
show: {
|
|
234
|
-
operation: ['createPoll'],
|
|
235
|
-
},
|
|
236
|
-
},
|
|
237
|
-
default: '',
|
|
238
|
-
required: true,
|
|
239
|
-
placeholder: 'e.g. ["Option 1", "Option 2", "Option 3"] or Option 1, Option 2, Option 3',
|
|
240
|
-
description: 'Poll choices as a JSON array or comma-separated list. Minimum: 2 choices. Maximum: 5 choices. Each choice maximum: 25 characters.',
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
displayName: 'Duration',
|
|
244
|
-
name: 'duration',
|
|
245
|
-
type: 'number',
|
|
246
|
-
displayOptions: {
|
|
247
|
-
show: {
|
|
248
|
-
operation: ['createPoll'],
|
|
249
|
-
},
|
|
250
|
-
},
|
|
251
|
-
default: 300,
|
|
252
|
-
required: true,
|
|
253
|
-
typeOptions: {
|
|
254
|
-
minValue: 15,
|
|
255
|
-
maxValue: 1800,
|
|
256
|
-
},
|
|
257
|
-
description: 'Total duration for the poll in seconds. Minimum: 15. Maximum: 1800.',
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
displayName: 'Additional Fields',
|
|
261
|
-
name: 'additionalFields',
|
|
262
|
-
type: 'collection',
|
|
263
|
-
placeholder: 'Add Field',
|
|
264
|
-
default: {},
|
|
265
|
-
displayOptions: {
|
|
266
|
-
show: {
|
|
267
|
-
operation: ['createPoll'],
|
|
268
|
-
},
|
|
269
|
-
},
|
|
270
|
-
options: [
|
|
271
|
-
{
|
|
272
|
-
displayName: 'Bits Voting Enabled',
|
|
273
|
-
name: 'bitsVotingEnabled',
|
|
274
|
-
type: 'boolean',
|
|
275
|
-
default: false,
|
|
276
|
-
description: 'Whether viewers can cast additional votes using Bits',
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
displayName: 'Bits Per Vote',
|
|
280
|
-
name: 'bitsPerVote',
|
|
281
|
-
type: 'number',
|
|
282
|
-
default: 0,
|
|
283
|
-
typeOptions: {
|
|
284
|
-
minValue: 0,
|
|
285
|
-
maxValue: 10000,
|
|
286
|
-
},
|
|
287
|
-
description: 'Number of Bits required to vote once with Bits. Minimum: 0. Maximum: 10000.',
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
displayName: 'Channel Points Voting Enabled',
|
|
291
|
-
name: 'channelPointsVotingEnabled',
|
|
292
|
-
type: 'boolean',
|
|
293
|
-
default: false,
|
|
294
|
-
description: 'Whether viewers can cast additional votes using Channel Points',
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
displayName: 'Channel Points Per Vote',
|
|
298
|
-
name: 'channelPointsPerVote',
|
|
299
|
-
type: 'number',
|
|
300
|
-
default: 0,
|
|
301
|
-
typeOptions: {
|
|
302
|
-
minValue: 0,
|
|
303
|
-
maxValue: 1000000,
|
|
304
|
-
},
|
|
305
|
-
description: 'Number of Channel Points required to vote once with Channel Points. Minimum: 0. Maximum: 1000000.',
|
|
306
|
-
},
|
|
307
|
-
],
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
displayName: 'Broadcaster ID',
|
|
311
|
-
name: 'getBroadcasterId',
|
|
312
|
-
type: 'string',
|
|
313
|
-
displayOptions: {
|
|
314
|
-
show: {
|
|
315
|
-
operation: ['getPolls'],
|
|
316
|
-
},
|
|
317
|
-
},
|
|
318
|
-
default: '',
|
|
319
|
-
required: true,
|
|
320
|
-
placeholder: 'e.g. 123456789',
|
|
321
|
-
description: 'The broadcaster user ID whose polls to retrieve',
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
displayName: 'Poll IDs',
|
|
325
|
-
name: 'pollIds',
|
|
326
|
-
type: 'string',
|
|
327
|
-
displayOptions: {
|
|
328
|
-
show: {
|
|
329
|
-
operation: ['getPolls'],
|
|
330
|
-
},
|
|
331
|
-
},
|
|
332
|
-
default: '',
|
|
333
|
-
placeholder: 'e.g. poll-ID-1 or poll-ID-1,poll-ID-2',
|
|
334
|
-
description: 'Filter by poll ID(s). Separate multiple IDs with commas. Maximum: 100 IDs. Leave empty to get all polls.',
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
displayName: 'First',
|
|
338
|
-
name: 'first',
|
|
339
|
-
type: 'number',
|
|
340
|
-
displayOptions: {
|
|
341
|
-
show: {
|
|
342
|
-
operation: ['getPolls'],
|
|
343
|
-
},
|
|
344
|
-
},
|
|
345
|
-
default: 20,
|
|
346
|
-
typeOptions: {
|
|
347
|
-
minValue: 1,
|
|
348
|
-
maxValue: 20,
|
|
349
|
-
},
|
|
350
|
-
description: 'Maximum number of polls to return. Default: 20. Maximum: 20.',
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
displayName: 'Broadcaster ID',
|
|
354
|
-
name: 'endBroadcasterId',
|
|
355
|
-
type: 'string',
|
|
356
|
-
displayOptions: {
|
|
357
|
-
show: {
|
|
358
|
-
operation: ['endPoll'],
|
|
359
|
-
},
|
|
360
|
-
},
|
|
361
|
-
default: '',
|
|
362
|
-
required: true,
|
|
363
|
-
placeholder: 'e.g. 123456789',
|
|
364
|
-
description: 'The broadcaster user ID who owns the poll',
|
|
365
|
-
},
|
|
366
|
-
{
|
|
367
|
-
displayName: 'Poll ID',
|
|
368
|
-
name: 'pollId',
|
|
369
|
-
type: 'string',
|
|
370
|
-
displayOptions: {
|
|
371
|
-
show: {
|
|
372
|
-
operation: ['endPoll'],
|
|
373
|
-
},
|
|
374
|
-
},
|
|
375
|
-
default: '',
|
|
376
|
-
required: true,
|
|
377
|
-
placeholder: 'e.g. ed961efd-8a3f-4cf5-a9d0-e616c590cd2a',
|
|
378
|
-
description: 'The ID of the poll to end',
|
|
379
|
-
},
|
|
380
|
-
{
|
|
381
|
-
displayName: 'Status',
|
|
382
|
-
name: 'status',
|
|
383
|
-
type: 'options',
|
|
384
|
-
displayOptions: {
|
|
385
|
-
show: {
|
|
386
|
-
operation: ['endPoll'],
|
|
387
|
-
},
|
|
388
|
-
},
|
|
389
|
-
options: [
|
|
390
|
-
{
|
|
391
|
-
name: 'Terminated',
|
|
392
|
-
value: 'TERMINATED',
|
|
393
|
-
description: 'End the poll immediately',
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
name: 'Archived',
|
|
397
|
-
value: 'ARCHIVED',
|
|
398
|
-
description: 'Archive the poll immediately',
|
|
399
|
-
},
|
|
400
|
-
],
|
|
401
|
-
default: 'TERMINATED',
|
|
402
|
-
required: true,
|
|
403
|
-
description: 'The status to set for the poll when ending it',
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
displayName: 'Note',
|
|
407
|
-
name: 'pollsNote',
|
|
408
|
-
type: 'notice',
|
|
409
|
-
default: '',
|
|
410
|
-
displayOptions: {
|
|
411
|
-
show: {
|
|
412
|
-
operation: ['createPoll', 'endPoll'],
|
|
413
|
-
},
|
|
414
|
-
},
|
|
415
|
-
description: 'Requires OAuth2 authentication with channel:manage:polls scope',
|
|
416
|
-
},
|
|
417
|
-
],
|
|
418
|
-
};
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
exports.TwitchPolls = TwitchPolls;
|
|
422
|
-
//# sourceMappingURL=TwitchPolls.node.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TwitchPolls.node.js","sourceRoot":"","sources":["../../../nodes/TwitchPolls/TwitchPolls.node.ts"],"names":[],"mappings":";;;AAAA,+CAAgH;AAEhH,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,OAAO,EAAE,6BAA6B;gBACtC,OAAO,EAAE;oBACR,MAAM,EAAE,kBAAkB;oBAC1B,cAAc,EAAE,kBAAkB;iBAClC;aACD;YACD,UAAU,EAAE;gBACX;oBACC,WAAW,EAAE,WAAW;oBACxB,IAAI,EAAE,WAAW;oBACjB,IAAI,EAAE,SAAS;oBACf,gBAAgB,EAAE,IAAI;oBACtB,OAAO,EAAE;wBAC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-
<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>
|