n8n-nodes-runrunit 0.2.0 → 0.2.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/RunrunIt.credentials.d.ts +1 -0
- package/dist/credentials/RunrunIt.credentials.js +5 -11
- package/dist/credentials/RunrunIt.credentials.js.map +1 -1
- package/dist/nodes/RunrunIt/RunrunIt.node.d.ts +1 -1
- package/dist/nodes/RunrunIt/RunrunIt.node.js +65 -290
- package/dist/nodes/RunrunIt/RunrunIt.node.js.map +1 -1
- package/dist/nodes/RunrunIt/descriptions/TaskDescription.d.ts +5 -0
- package/dist/nodes/RunrunIt/descriptions/TaskDescription.js +228 -0
- package/dist/nodes/RunrunIt/descriptions/TaskDescription.js.map +1 -0
- package/dist/nodes/RunrunIt/transport.d.ts +2 -1
- package/dist/nodes/RunrunIt/transport.js +20 -97
- package/dist/nodes/RunrunIt/transport.js.map +1 -1
- package/package.json +43 -62
- package/LICENSE.md +0 -19
- package/README.md +0 -36
- package/dist/icons/glpi.dark.svg +0 -10
- package/dist/icons/glpi.svg +0 -10
- package/dist/icons/runrunit.dark.svg +0 -13
- package/dist/icons/runrunit.svg +0 -13
- package/dist/package.json +0 -63
- package/dist/tsconfig.tsbuildinfo +0 -1
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TaskDescription = exports.taskFields = exports.taskOperations = void 0;
|
|
4
|
+
exports.taskOperations = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Operation',
|
|
7
|
+
name: 'operation',
|
|
8
|
+
type: 'options',
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
options: [
|
|
11
|
+
{ name: 'List', value: 'list', description: 'Get a list of tasks' },
|
|
12
|
+
{ name: 'Get', value: 'get', description: 'Get a task by ID' },
|
|
13
|
+
{ name: 'Create', value: 'create', description: 'Create a task' },
|
|
14
|
+
{ name: 'Update', value: 'update', description: 'Update a task' },
|
|
15
|
+
{ name: 'Delete', value: 'delete', description: 'Delete a task' },
|
|
16
|
+
{ name: 'Play', value: 'play', description: 'Play a task (start work)' },
|
|
17
|
+
{ name: 'Pause', value: 'pause', description: 'Pause a task' },
|
|
18
|
+
{ name: 'Deliver', value: 'deliver', description: 'Deliver a task' },
|
|
19
|
+
{ name: 'Reopen', value: 'reopen', description: 'Reopen a task' },
|
|
20
|
+
{ name: 'Mark as Urgent', value: 'mark_as_urgent', description: 'Mark a task as urgent' },
|
|
21
|
+
{ name: 'Move to Next Stage', value: 'move_to_next_stage', description: 'Move task to next board stage' },
|
|
22
|
+
{ name: 'Change Board', value: 'change_board', description: 'Change the task board/stage' },
|
|
23
|
+
{ name: 'Reestimate', value: 'reestimate', description: 'Update estimated time for a task' },
|
|
24
|
+
// Assignment-specific operations
|
|
25
|
+
{ name: 'Assignment: Delete', value: 'assignment_delete', description: 'Delete a task assignment' },
|
|
26
|
+
{ name: 'Assignment: Play', value: 'assignment_play', description: 'Play an assignment' },
|
|
27
|
+
{ name: 'Assignment: Pause', value: 'assignment_pause', description: 'Pause an assignment' },
|
|
28
|
+
{ name: 'Assignment: Deliver', value: 'assignment_deliver', description: 'Deliver an assignment' },
|
|
29
|
+
{ name: 'Assignment: Reopen', value: 'assignment_reopen', description: 'Reopen an assignment' },
|
|
30
|
+
{ name: 'Assignment: Reposition', value: 'assignment_reposition', description: 'Reposition an assignment' },
|
|
31
|
+
{ name: 'Assignment: Reestimate', value: 'assignment_reestimate', description: 'Reestimate an assignment' },
|
|
32
|
+
],
|
|
33
|
+
default: 'list',
|
|
34
|
+
displayOptions: {
|
|
35
|
+
show: {
|
|
36
|
+
resource: ['task'],
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
];
|
|
41
|
+
exports.taskFields = [
|
|
42
|
+
/* ---------- list ---------- */
|
|
43
|
+
{
|
|
44
|
+
displayName: 'Project ID',
|
|
45
|
+
name: 'project_id',
|
|
46
|
+
type: 'number',
|
|
47
|
+
default: 0,
|
|
48
|
+
placeholder: '800',
|
|
49
|
+
description: 'Filter by project id',
|
|
50
|
+
displayOptions: { show: { resource: ['task'], operation: ['list'] } },
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
displayName: 'Assignee ID',
|
|
54
|
+
name: 'assignee_id',
|
|
55
|
+
type: 'number',
|
|
56
|
+
default: 0,
|
|
57
|
+
description: 'Filter by assignee id',
|
|
58
|
+
displayOptions: { show: { resource: ['task'], operation: ['list'] } },
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
displayName: 'Status',
|
|
62
|
+
name: 'status',
|
|
63
|
+
type: 'options',
|
|
64
|
+
options: [
|
|
65
|
+
{ name: 'Open', value: 'open' },
|
|
66
|
+
{ name: 'Closed', value: 'closed' },
|
|
67
|
+
],
|
|
68
|
+
default: 'open',
|
|
69
|
+
description: 'Filter by status',
|
|
70
|
+
displayOptions: { show: { resource: ['task'], operation: ['list'] } },
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
displayName: 'Tags (comma separated)',
|
|
74
|
+
name: 'tags',
|
|
75
|
+
type: 'string',
|
|
76
|
+
default: '',
|
|
77
|
+
description: 'Filter by tags',
|
|
78
|
+
displayOptions: { show: { resource: ['task'], operation: ['list'] } },
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
displayName: 'Page',
|
|
82
|
+
name: 'page',
|
|
83
|
+
type: 'number',
|
|
84
|
+
default: 1,
|
|
85
|
+
description: 'Page number (pagination)',
|
|
86
|
+
displayOptions: { show: { resource: ['task'], operation: ['list'] } },
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
displayName: 'Limit',
|
|
90
|
+
name: 'limit',
|
|
91
|
+
type: 'number',
|
|
92
|
+
default: 50,
|
|
93
|
+
description: 'Items per page (max 100)',
|
|
94
|
+
displayOptions: { show: { resource: ['task'], operation: ['list'] } },
|
|
95
|
+
},
|
|
96
|
+
/* ---------- get / delete / simple actions (taskId) ---------- */
|
|
97
|
+
{
|
|
98
|
+
displayName: 'Task ID',
|
|
99
|
+
name: 'taskId',
|
|
100
|
+
type: 'number',
|
|
101
|
+
default: 0,
|
|
102
|
+
description: 'ID of the task',
|
|
103
|
+
displayOptions: { show: { resource: ['task'], operation: ['get', 'delete', 'play', 'pause', 'deliver', 'reopen', 'mark_as_urgent', 'move_to_next_stage', 'change_board', 'reestimate'] } },
|
|
104
|
+
},
|
|
105
|
+
/* ---------- create ---------- */
|
|
106
|
+
{
|
|
107
|
+
displayName: 'Title',
|
|
108
|
+
name: 'title',
|
|
109
|
+
type: 'string',
|
|
110
|
+
default: '',
|
|
111
|
+
description: 'Task title',
|
|
112
|
+
displayOptions: { show: { resource: ['task'], operation: ['create', 'update'] } },
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
displayName: 'Project ID (create/update)',
|
|
116
|
+
name: 'project_id',
|
|
117
|
+
type: 'number',
|
|
118
|
+
default: 0,
|
|
119
|
+
description: 'Project id to associate the task with',
|
|
120
|
+
displayOptions: { show: { resource: ['task'], operation: ['create', 'update'] } },
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
displayName: 'Assignee ID',
|
|
124
|
+
name: 'assignee_id',
|
|
125
|
+
type: 'number',
|
|
126
|
+
default: 0,
|
|
127
|
+
description: 'Assign task to user id',
|
|
128
|
+
displayOptions: { show: { resource: ['task'], operation: ['create', 'update'] } },
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
displayName: 'Description',
|
|
132
|
+
name: 'description',
|
|
133
|
+
type: 'string',
|
|
134
|
+
typeOptions: { alwaysOpenEditWindow: true },
|
|
135
|
+
default: '',
|
|
136
|
+
description: 'Long description or content of the task',
|
|
137
|
+
displayOptions: { show: { resource: ['task'], operation: ['create', 'update'] } },
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
displayName: 'Desired Start Date',
|
|
141
|
+
name: 'desired_start_date',
|
|
142
|
+
type: 'dateTime',
|
|
143
|
+
default: '',
|
|
144
|
+
description: 'Desired start date (ISO 8601)',
|
|
145
|
+
displayOptions: { show: { resource: ['task'], operation: ['create', 'update'] } },
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
displayName: 'Desired Date',
|
|
149
|
+
name: 'desired_date',
|
|
150
|
+
type: 'dateTime',
|
|
151
|
+
default: '',
|
|
152
|
+
description: 'Desired delivery date (ISO 8601)',
|
|
153
|
+
displayOptions: { show: { resource: ['task'], operation: ['create', 'update'] } },
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
displayName: 'Points',
|
|
157
|
+
name: 'points',
|
|
158
|
+
type: 'number',
|
|
159
|
+
default: 0,
|
|
160
|
+
description: 'Scrum points or estimation metric',
|
|
161
|
+
displayOptions: { show: { resource: ['task'], operation: ['create', 'update'] } },
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
displayName: 'Tags (comma separated)',
|
|
165
|
+
name: 'tags_create',
|
|
166
|
+
type: 'string',
|
|
167
|
+
default: '',
|
|
168
|
+
description: 'Tags for the task (comma separated)',
|
|
169
|
+
displayOptions: { show: { resource: ['task'], operation: ['create', 'update'] } },
|
|
170
|
+
},
|
|
171
|
+
/* ---------- change_board ---------- */
|
|
172
|
+
{
|
|
173
|
+
displayName: 'Board ID',
|
|
174
|
+
name: 'board_id',
|
|
175
|
+
type: 'number',
|
|
176
|
+
default: 0,
|
|
177
|
+
description: 'Target board id when changing board',
|
|
178
|
+
displayOptions: { show: { resource: ['task'], operation: ['change_board'] } },
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
displayName: 'Stage ID',
|
|
182
|
+
name: 'stage_id',
|
|
183
|
+
type: 'number',
|
|
184
|
+
default: 0,
|
|
185
|
+
description: 'Target stage id when changing board',
|
|
186
|
+
displayOptions: { show: { resource: ['task'], operation: ['change_board'] } },
|
|
187
|
+
},
|
|
188
|
+
/* ---------- reestimate (task) ---------- */
|
|
189
|
+
{
|
|
190
|
+
displayName: 'Estimated Time (minutes)',
|
|
191
|
+
name: 'estimated_time',
|
|
192
|
+
type: 'number',
|
|
193
|
+
default: 0,
|
|
194
|
+
description: 'Estimated time in minutes for reestimate',
|
|
195
|
+
displayOptions: { show: { resource: ['task'], operation: ['reestimate'] } },
|
|
196
|
+
},
|
|
197
|
+
/* ---------- assignment operations: require taskId + assignmentId ---------- */
|
|
198
|
+
{
|
|
199
|
+
displayName: 'Assignment ID',
|
|
200
|
+
name: 'assignmentId',
|
|
201
|
+
type: 'number',
|
|
202
|
+
default: 0,
|
|
203
|
+
description: 'ID of the assignment (use with assignment operations)',
|
|
204
|
+
displayOptions: { show: { resource: ['task'], operation: ['assignment_delete', 'assignment_play', 'assignment_pause', 'assignment_deliver', 'assignment_reopen', 'assignment_reposition', 'assignment_reestimate'] } },
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
displayName: 'Position (reposition)',
|
|
208
|
+
name: 'position',
|
|
209
|
+
type: 'number',
|
|
210
|
+
default: 1,
|
|
211
|
+
description: 'New position when repositioning an assignment',
|
|
212
|
+
displayOptions: { show: { resource: ['task'], operation: ['assignment_reposition'] } },
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
displayName: 'Estimated Time (minutes) - assignment',
|
|
216
|
+
name: 'assignment_estimated_time',
|
|
217
|
+
type: 'number',
|
|
218
|
+
default: 0,
|
|
219
|
+
description: 'Estimated time in minutes when reestimating an assignment',
|
|
220
|
+
displayOptions: { show: { resource: ['task'], operation: ['assignment_reestimate'] } },
|
|
221
|
+
},
|
|
222
|
+
];
|
|
223
|
+
exports.TaskDescription = [
|
|
224
|
+
...exports.taskOperations,
|
|
225
|
+
...exports.taskFields,
|
|
226
|
+
];
|
|
227
|
+
exports.default = exports.TaskDescription;
|
|
228
|
+
//# sourceMappingURL=TaskDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TaskDescription.js","sourceRoot":"","sources":["../../../../nodes/RunrunIt/descript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AAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,mBAAmB,EAAC,iBAAiB,EAAC,kBAAkB,EAAC,oBAAoB,EAAC,mBAAmB,EAAC,uBAAuB,EAAC,uBAAuB,CAAC,EAAE,EAAE;KACjN;IACD;QACE,WAAW,EAAE,uBAAuB;QACpC,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,CAAC;QACV,WAAW,EAAE,+CAA+C;QAC5D,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,uBAAuB,CAAC,EAAE,EAAE;KACvF;IACD;QACE,WAAW,EAAE,uCAAuC;QACpD,IAAI,EAAE,2BAA2B;QACjC,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,CAAC;QACV,WAAW,EAAE,2DAA2D;QACxE,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,uBAAuB,CAAC,EAAE,EAAE;KACvF;CACF,CAAC;AAEW,QAAA,eAAe,GAAsB;IAChD,GAAG,sBAAc;IACjB,GAAG,kBAAU;CACd,CAAC;AAEF,kBAAe,uBAAe,CAAC"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-workflow';
|
|
2
|
+
export declare function runrunitApiRequest(this: IExecuteFunctions | ILoadOptionsFunctions, method: string, path: string, data?: any, params?: any): Promise<any>;
|
|
@@ -1,108 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
for (const part of parts) {
|
|
10
|
-
const m = part.match(/<([^>]+)>;\s*rel="([^"]+)"/);
|
|
11
|
-
if (m)
|
|
12
|
-
map[m[2]] = m[1];
|
|
3
|
+
exports.runrunitApiRequest = runrunitApiRequest;
|
|
4
|
+
const BASE_URL = 'https://runrun.it';
|
|
5
|
+
async function runrunitApiRequest(method, path, data, params) {
|
|
6
|
+
const credentials = await this.getCredentials('runrunitApi');
|
|
7
|
+
if (!credentials || !credentials.appKey || !credentials.userToken) {
|
|
8
|
+
throw new Error('Runrun.it credentials are missing (appKey/userToken)');
|
|
13
9
|
}
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
async function runRunrunRequest(method, endpoint, body, qs, returnAll = false) {
|
|
17
|
-
const sleep = (ms) => new Promise((resolve) => {
|
|
18
|
-
const timer = globalThis.setTimeout;
|
|
19
|
-
timer(() => resolve(), ms);
|
|
20
|
-
});
|
|
21
|
-
const creds = await this.getCredentials('runrunItApi');
|
|
22
|
-
const appKey = creds === null || creds === void 0 ? void 0 : creds.appKey;
|
|
23
|
-
const userToken = creds === null || creds === void 0 ? void 0 : creds.userToken;
|
|
24
|
-
const baseUrl = (creds === null || creds === void 0 ? void 0 : creds.baseUrl) || 'https://runrun.it';
|
|
25
|
-
if (!appKey || !userToken) {
|
|
26
|
-
throw new Error('Missing Runrun.it credentials (App Key / User Token)');
|
|
27
|
-
}
|
|
28
|
-
const apiBase = baseUrl.replace(/\/+$/g, '') + '/api/v1.0';
|
|
10
|
+
const url = `${BASE_URL}${path.startsWith('/') ? '' : '/'}${path}`;
|
|
29
11
|
const headers = {
|
|
30
|
-
'App-Key': appKey,
|
|
31
|
-
'User-Token': userToken,
|
|
12
|
+
'App-Key': credentials.appKey,
|
|
13
|
+
'User-Token': credentials.userToken,
|
|
32
14
|
'Content-Type': 'application/json',
|
|
15
|
+
Accept: 'application/json',
|
|
33
16
|
};
|
|
34
|
-
const
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
const response = await this.helpers.httpRequest({
|
|
40
|
-
method,
|
|
41
|
-
url,
|
|
42
|
-
headers,
|
|
43
|
-
body: body === undefined ? undefined : body,
|
|
44
|
-
qs,
|
|
45
|
-
json: true,
|
|
46
|
-
});
|
|
47
|
-
if (response && typeof response === 'object' && 'body' in response && 'headers' in response) {
|
|
48
|
-
return response;
|
|
49
|
-
}
|
|
50
|
-
return { body: response, headers: {} };
|
|
51
|
-
}
|
|
52
|
-
catch (err) {
|
|
53
|
-
const status = (err === null || err === void 0 ? void 0 : err.statusCode) || (err === null || err === void 0 ? void 0 : err.status);
|
|
54
|
-
if (status === 429 && attempt < 3) {
|
|
55
|
-
attempt++;
|
|
56
|
-
const reset = ((_a = err === null || err === void 0 ? void 0 : err.headers) === null || _a === void 0 ? void 0 : _a['ratelimit-reset']) || ((_c = (_b = err === null || err === void 0 ? void 0 : err.response) === null || _b === void 0 ? void 0 : _b.headers) === null || _c === void 0 ? void 0 : _c['ratelimit-reset']);
|
|
57
|
-
let waitMs = 1000 * Math.pow(2, attempt);
|
|
58
|
-
if (reset) {
|
|
59
|
-
const ts = Number(reset);
|
|
60
|
-
if (!Number.isNaN(ts)) {
|
|
61
|
-
const ms = ts > 1e12 ? ts : ts * 1000;
|
|
62
|
-
const now = Date.now();
|
|
63
|
-
waitMs = Math.max(1000, ms - now);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
await sleep(waitMs);
|
|
67
|
-
continue;
|
|
68
|
-
}
|
|
69
|
-
throw err;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
17
|
+
const options = {
|
|
18
|
+
method: method,
|
|
19
|
+
url,
|
|
20
|
+
headers,
|
|
21
|
+
json: true,
|
|
72
22
|
};
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
const resp = await singleRequest.call(this, startUrl);
|
|
76
|
-
return resp.body;
|
|
23
|
+
if (typeof data !== 'undefined') {
|
|
24
|
+
options.body = data;
|
|
77
25
|
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
while (nextUrl) {
|
|
81
|
-
const resp = await singleRequest.call(this, nextUrl);
|
|
82
|
-
const body = resp.body;
|
|
83
|
-
const headers = (resp.headers || {});
|
|
84
|
-
if (Array.isArray(body)) {
|
|
85
|
-
allItems.push(...body);
|
|
86
|
-
}
|
|
87
|
-
else if (body && Array.isArray(body.data)) {
|
|
88
|
-
allItems.push(...body.data);
|
|
89
|
-
}
|
|
90
|
-
else if (body && Array.isArray(body.items)) {
|
|
91
|
-
allItems.push(...body.items);
|
|
92
|
-
}
|
|
93
|
-
else {
|
|
94
|
-
allItems.push(body);
|
|
95
|
-
break;
|
|
96
|
-
}
|
|
97
|
-
const link = headers['link'] || headers['Link'];
|
|
98
|
-
const parsed = parseLinkHeader(link);
|
|
99
|
-
if (parsed && parsed.next) {
|
|
100
|
-
nextUrl = parsed.next;
|
|
101
|
-
}
|
|
102
|
-
else {
|
|
103
|
-
nextUrl = undefined;
|
|
104
|
-
}
|
|
26
|
+
if (typeof params !== 'undefined') {
|
|
27
|
+
options.qs = params;
|
|
105
28
|
}
|
|
106
|
-
return
|
|
29
|
+
return await this.helpers.httpRequest(options);
|
|
107
30
|
}
|
|
108
31
|
//# sourceMappingURL=transport.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transport.js","sourceRoot":"","sources":["../../../nodes/RunrunIt/transport.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"transport.js","sourceRoot":"","sources":["../../../nodes/RunrunIt/transport.ts"],"names":[],"mappings":";;AAUA,gDAyCC;AA3CD,MAAM,QAAQ,GAAG,mBAAmB,CAAC;AAE9B,KAAK,UAAU,kBAAkB,CAEtC,MAAc,EACd,IAAY,EACZ,IAAU,EACV,MAAY;IAEZ,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,aAAa,CAG1D,CAAC;IAEF,IAAI,CAAC,WAAW,IAAI,CAAC,WAAW,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,SAAS,EAAE,CAAC;QAClE,MAAM,IAA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|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
],
|
|
45
|
-
"nodes": [
|
|
46
|
-
"dist/nodes/RunrunIt/RunrunIt.node.js"
|
|
47
|
-
]
|
|
48
|
-
},
|
|
49
|
-
"devDependencies": {
|
|
50
|
-
"@n8n/node-cli": "*",
|
|
51
|
-
"eslint": "9.32.0",
|
|
52
|
-
"n8n-workflow": "^1.120.9",
|
|
53
|
-
"prettier": "3.6.2",
|
|
54
|
-
"release-it": "^19.0.4",
|
|
55
|
-
"typescript": "5.9.2"
|
|
56
|
-
},
|
|
57
|
-
"peerDependencies": {
|
|
58
|
-
"n8n-workflow": "*"
|
|
59
|
-
},
|
|
60
|
-
"dependencies": {
|
|
61
|
-
"change-case": "4.1.2"
|
|
62
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "n8n-nodes-runrunit",
|
|
3
|
+
"version": "0.2.3",
|
|
4
|
+
"description": "n8n nodes for Runrun.it API",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "Marcos Campos",
|
|
8
|
+
"email": "contato@yeshshare.com.br"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true});\" && n8n-node build",
|
|
12
|
+
"build:watch": "tsc --watch",
|
|
13
|
+
"dev": "n8n-node dev",
|
|
14
|
+
"lint": "n8n-node lint",
|
|
15
|
+
"lint:fix": "n8n-node lint --fix",
|
|
16
|
+
"release": "n8n-node release"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist"
|
|
20
|
+
],
|
|
21
|
+
"n8n": {
|
|
22
|
+
"n8nNodesApiVersion": 1,
|
|
23
|
+
"credentials": [
|
|
24
|
+
"dist/credentials/RunrunIt.credentials.js"
|
|
25
|
+
],
|
|
26
|
+
"nodes": [
|
|
27
|
+
"dist/nodes/RunrunIt/RunrunIt.node.js"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@n8n/node-cli": "*",
|
|
32
|
+
"eslint": "9.32.0",
|
|
33
|
+
"n8n-workflow": "^1.120.9",
|
|
34
|
+
"@types/node": "^20.0.0",
|
|
35
|
+
"prettier": "3.6.2",
|
|
36
|
+
"typescript": "5.9.2"
|
|
37
|
+
},
|
|
38
|
+
"peerDependencies": {
|
|
39
|
+
"n8n-workflow": "*"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"change-case": "4.1.2"
|
|
43
|
+
}
|
|
63
44
|
}
|
package/LICENSE.md
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
Copyright 2022 n8n
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
4
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
5
|
-
the Software without restriction, including without limitation the rights to
|
|
6
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
7
|
-
of the Software, and to permit persons to whom the Software is furnished to do
|
|
8
|
-
so, subject to the following conditions:
|
|
9
|
-
|
|
10
|
-
The above copyright notice and this permission notice shall be included in all
|
|
11
|
-
copies or substantial portions of the Software.
|
|
12
|
-
|
|
13
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
19
|
-
SOFTWARE.
|
package/README.md
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# n8n-nodes-runrunit
|
|
2
|
-
|
|
3
|
-
Runrun.it integration nodes for n8n — focused on Tasks CRUD and transport utilities.
|
|
4
|
-
|
|
5
|
-
This package contains an n8n node to interact with the Runrun.it API (basic tasks operations). The project was adapted from a GLPI-based scaffold and slimmed down to only include Runrun.it related code.
|
|
6
|
-
|
|
7
|
-
Quickly:
|
|
8
|
-
|
|
9
|
-
- Node: `RunrunIt` (nodes/RunrunIt/RunrunIt.node.ts)
|
|
10
|
-
- Credentials: `RunrunItApi` (nodes/RunrunIt/RunrunIt.credentials.ts)
|
|
11
|
-
- Transport helper: `nodes/RunrunIt/transport.ts`
|
|
12
|
-
|
|
13
|
-
See `runrun.itDoc/` for API notes and examples included from Runrun.it documentation.
|
|
14
|
-
|
|
15
|
-
## How to build
|
|
16
|
-
|
|
17
|
-
1. Install deps
|
|
18
|
-
|
|
19
|
-
```powershell
|
|
20
|
-
npm install
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
2. Build
|
|
24
|
-
|
|
25
|
-
```powershell
|
|
26
|
-
npm run build
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## Notes
|
|
30
|
-
|
|
31
|
-
- The package `package.json` and `n8n` manifest were updated to register the `RunrunIt` node and credential.
|
|
32
|
-
- This package now only contains Runrun.it resources.
|
|
33
|
-
|
|
34
|
-
## 📜 Licença
|
|
35
|
-
|
|
36
|
-
MIT — veja o arquivo [LICENSE.md](LICENSE.md)
|
package/dist/icons/glpi.dark.svg
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
-
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="400px" height="400px" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
4
|
-
<g><path style="opacity:0.998" fill="#02a4f7" d="M 347.5,350.5 C 347.389,349.883 347.056,349.383 346.5,349C 252.999,348.168 159.666,348.334 66.5,349.5C 58.2547,347.089 52.7547,341.756 50,333.5C 49.5,239.167 49.3333,144.834 49.5,50.5C 49.1238,39.4198 54.1238,31.9198 64.5,28C 162.167,27.3333 259.833,27.3333 357.5,28C 364.758,30.9241 369.592,36.0908 372,43.5C 372.667,140.167 372.667,236.833 372,333.5C 368.094,345.23 359.928,350.897 347.5,350.5 Z"/></g>
|
|
5
|
-
<g><path style="opacity:0.967" fill="#b3e3fc" d="M 49.5,50.5 C 49.3333,144.834 49.5,239.167 50,333.5C 52.7547,341.756 58.2547,347.089 66.5,349.5C 159.332,350.499 252.332,350.833 345.5,350.5C 345.378,363.484 338.711,371.318 325.5,374C 231.167,374.667 136.833,374.667 42.5,374C 32.6363,372.469 26.1363,366.969 23,357.5C 22.3333,260.833 22.3333,164.167 23,67.5C 27.3292,54.6509 36.1625,48.9842 49.5,50.5 Z"/></g>
|
|
6
|
-
<g><path style="opacity:1" fill="#fdfefe" d="M 230.5,240.5 C 243.677,244.978 257.344,247.644 271.5,248.5C 282.146,249.209 292.813,249.709 303.5,250C 304,250.5 304.5,251 305,251.5C 305.667,258.5 305.667,265.5 305,272.5C 304.692,273.308 304.192,273.975 303.5,274.5C 277.183,277.138 250.85,277.138 224.5,274.5C 212.773,273.088 201.106,270.755 189.5,267.5C 162.168,260.974 140.001,246.641 123,224.5C 105.396,192.967 105.062,161.3 122,129.5C 135.358,110.83 152.858,97.3296 174.5,89C 217.836,72.7836 262.336,67.9503 308,74.5C 308.812,81.7471 308.646,88.9138 307.5,96C 280.874,94.7827 254.874,98.116 229.5,106C 184.235,124.367 169.068,156.867 184,203.5C 193.873,222.859 209.373,235.192 230.5,240.5 Z"/></g>
|
|
7
|
-
<g><path style="opacity:1" fill="#bbe4fc" d="M 271.5,248.5 C 257.344,247.644 243.677,244.978 230.5,240.5C 241.694,233.477 251.194,224.477 259,213.5C 265.346,204.794 268.679,195.127 269,184.5C 264.979,180.601 260.145,178.434 254.5,178C 237.912,175.954 221.246,174.954 204.5,175C 201.808,172.368 202.141,170.034 205.5,168C 227.216,159.654 249.55,153.654 272.5,150C 281.546,149.193 290.546,149.526 299.5,151C 318.543,156.918 325.043,169.418 319,188.5C 311.29,206.217 299.79,221.051 284.5,233C 278.5,237.667 272.5,242.333 266.5,247C 268.382,247.198 270.048,247.698 271.5,248.5 Z"/></g>
|
|
8
|
-
<g><path style="opacity:1" fill="#bce5fc" d="M 189.5,267.5 C 201.106,270.755 212.773,273.088 224.5,274.5C 222.473,274.338 220.473,274.505 218.5,275C 196.078,286.362 173.078,296.362 149.5,305C 137.502,308.553 125.835,312.887 114.5,318C 107.457,319.404 105.79,317.071 109.5,311C 137.709,298.563 165.042,284.563 191.5,269C 190.584,268.722 189.918,268.222 189.5,267.5 Z"/></g>
|
|
9
|
-
<g><path style="opacity:1" fill="#23a8f7" d="M 347.5,350.5 C 346.833,350.5 346.167,350.5 345.5,350.5C 252.332,350.833 159.332,350.499 66.5,349.5C 159.666,348.334 252.999,348.168 346.5,349C 347.056,349.383 347.389,349.883 347.5,350.5 Z"/></g>
|
|
10
|
-
</svg>
|
package/dist/icons/glpi.svg
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
-
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="400px" height="400px" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
4
|
-
<g><path style="opacity:0.998" fill="#02a4f7" d="M 347.5,350.5 C 347.389,349.883 347.056,349.383 346.5,349C 252.999,348.168 159.666,348.334 66.5,349.5C 58.2547,347.089 52.7547,341.756 50,333.5C 49.5,239.167 49.3333,144.834 49.5,50.5C 49.1238,39.4198 54.1238,31.9198 64.5,28C 162.167,27.3333 259.833,27.3333 357.5,28C 364.758,30.9241 369.592,36.0908 372,43.5C 372.667,140.167 372.667,236.833 372,333.5C 368.094,345.23 359.928,350.897 347.5,350.5 Z"/></g>
|
|
5
|
-
<g><path style="opacity:0.967" fill="#b3e3fc" d="M 49.5,50.5 C 49.3333,144.834 49.5,239.167 50,333.5C 52.7547,341.756 58.2547,347.089 66.5,349.5C 159.332,350.499 252.332,350.833 345.5,350.5C 345.378,363.484 338.711,371.318 325.5,374C 231.167,374.667 136.833,374.667 42.5,374C 32.6363,372.469 26.1363,366.969 23,357.5C 22.3333,260.833 22.3333,164.167 23,67.5C 27.3292,54.6509 36.1625,48.9842 49.5,50.5 Z"/></g>
|
|
6
|
-
<g><path style="opacity:1" fill="#fdfefe" d="M 230.5,240.5 C 243.677,244.978 257.344,247.644 271.5,248.5C 282.146,249.209 292.813,249.709 303.5,250C 304,250.5 304.5,251 305,251.5C 305.667,258.5 305.667,265.5 305,272.5C 304.692,273.308 304.192,273.975 303.5,274.5C 277.183,277.138 250.85,277.138 224.5,274.5C 212.773,273.088 201.106,270.755 189.5,267.5C 162.168,260.974 140.001,246.641 123,224.5C 105.396,192.967 105.062,161.3 122,129.5C 135.358,110.83 152.858,97.3296 174.5,89C 217.836,72.7836 262.336,67.9503 308,74.5C 308.812,81.7471 308.646,88.9138 307.5,96C 280.874,94.7827 254.874,98.116 229.5,106C 184.235,124.367 169.068,156.867 184,203.5C 193.873,222.859 209.373,235.192 230.5,240.5 Z"/></g>
|
|
7
|
-
<g><path style="opacity:1" fill="#bbe4fc" d="M 271.5,248.5 C 257.344,247.644 243.677,244.978 230.5,240.5C 241.694,233.477 251.194,224.477 259,213.5C 265.346,204.794 268.679,195.127 269,184.5C 264.979,180.601 260.145,178.434 254.5,178C 237.912,175.954 221.246,174.954 204.5,175C 201.808,172.368 202.141,170.034 205.5,168C 227.216,159.654 249.55,153.654 272.5,150C 281.546,149.193 290.546,149.526 299.5,151C 318.543,156.918 325.043,169.418 319,188.5C 311.29,206.217 299.79,221.051 284.5,233C 278.5,237.667 272.5,242.333 266.5,247C 268.382,247.198 270.048,247.698 271.5,248.5 Z"/></g>
|
|
8
|
-
<g><path style="opacity:1" fill="#bce5fc" d="M 189.5,267.5 C 201.106,270.755 212.773,273.088 224.5,274.5C 222.473,274.338 220.473,274.505 218.5,275C 196.078,286.362 173.078,296.362 149.5,305C 137.502,308.553 125.835,312.887 114.5,318C 107.457,319.404 105.79,317.071 109.5,311C 137.709,298.563 165.042,284.563 191.5,269C 190.584,268.722 189.918,268.222 189.5,267.5 Z"/></g>
|
|
9
|
-
<g><path style="opacity:1" fill="#23a8f7" d="M 347.5,350.5 C 346.833,350.5 346.167,350.5 345.5,350.5C 252.332,350.833 159.332,350.499 66.5,349.5C 159.666,348.334 252.999,348.168 346.5,349C 347.056,349.383 347.389,349.883 347.5,350.5 Z"/></g>
|
|
10
|
-
</svg>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
|
|
2
|
-
<defs>
|
|
3
|
-
<filter id="shadow-dark" x="-20%" y="-20%" width="140%" height="140%">
|
|
4
|
-
<feDropShadow dx="-25" dy="25" stdDeviation="15" flood-color="#1a2530" flood-opacity="0.8"/>
|
|
5
|
-
</filter>
|
|
6
|
-
</defs>
|
|
7
|
-
|
|
8
|
-
<g filter="url(#shadow-dark)">
|
|
9
|
-
<rect x="32" y="32" width="448" height="448" rx="64" ry="64" fill="#2d3e50"/>
|
|
10
|
-
|
|
11
|
-
<path d="M372,256c0,70.1-50.2,127.3-116.5,127.3S139,326.1,139,256s50.2-127.3,116.5-127.3S372,185.9,372,256ZM193.3,256c0,44,31.2,77.3,69.2,77.3s69.2-33.3,69.2-77.3-31.2-77.3-69.2-77.3S193.3,212,193.3,256Z" fill="#ffffff"/>
|
|
12
|
-
</g>
|
|
13
|
-
</svg>
|
package/dist/icons/runrunit.svg
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
|
|
2
|
-
<defs>
|
|
3
|
-
<filter id="shadow" x="-20%" y="-20%" width="140%" height="140%">
|
|
4
|
-
<feDropShadow dx="-25" dy="25" stdDeviation="10" flood-color="#ddd" flood-opacity="0.7"/>
|
|
5
|
-
</filter>
|
|
6
|
-
</defs>
|
|
7
|
-
|
|
8
|
-
<g filter="url(#shadow)">
|
|
9
|
-
<rect x="32" y="32" width="448" height="448" rx="64" ry="64" fill="#ffffff"/>
|
|
10
|
-
|
|
11
|
-
<path d="M372,256c0,70.1-50.2,127.3-116.5,127.3S139,326.1,139,256s50.2-127.3,116.5-127.3S372,185.9,372,256ZM193.3,256c0,44,31.2,77.3,69.2,77.3s69.2-33.3,69.2-77.3-31.2-77.3-69.2-77.3S193.3,212,193.3,256Z" fill="#ff4c15"/>
|
|
12
|
-
</g>
|
|
13
|
-
</svg>
|