n8n-nodes-base 0.224.0 → 0.224.1
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/build.tsbuildinfo +1 -1
- package/dist/credentials/MattermostApi.credentials.js +1 -1
- package/dist/credentials/MattermostApi.credentials.js.map +1 -1
- package/dist/nodes/CompareDatasets/CompareDatasets.node.js +11 -3
- package/dist/nodes/CompareDatasets/CompareDatasets.node.js.map +1 -1
- package/dist/nodes/CompareDatasets/GenericFunctions.d.ts +2 -1
- package/dist/nodes/CompareDatasets/GenericFunctions.js +12 -3
- package/dist/nodes/CompareDatasets/GenericFunctions.js.map +1 -1
- package/dist/nodes/CompareDatasets/test/node/workflow.update_2_2.json +212 -0
- package/dist/nodes/Compression/Compression.node.js +6 -6
- package/dist/nodes/Compression/Compression.node.js.map +1 -1
- package/dist/nodes/DateTime/DateTime.node.js +14 -3
- package/dist/nodes/DateTime/DateTime.node.js.map +1 -1
- package/dist/nodes/DateTime/test/node/DateTimeWorklfow.test.json +276 -65
- package/dist/nodes/DateTime/test/node/workflow.timestamp.json +393 -0
- package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js +12 -6
- package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js.map +1 -1
- package/dist/nodes/ItemLists/ItemLists.node.js +2 -1
- package/dist/nodes/ItemLists/ItemLists.node.js.map +1 -1
- package/dist/nodes/ItemLists/V2/ItemListsV2.node.js +34 -26
- package/dist/nodes/ItemLists/V2/ItemListsV2.node.js.map +1 -1
- package/dist/nodes/ItemLists/V2/summarize.operation.js +4 -1
- package/dist/nodes/ItemLists/V2/summarize.operation.js.map +1 -1
- package/dist/nodes/ItemLists/test/node/workflow.update_2_1.json +695 -0
- package/dist/nodes/Mattermost/v1/transport/index.js +2 -1
- package/dist/nodes/Mattermost/v1/transport/index.js.map +1 -1
- package/dist/nodes/Merge/Merge.node.js +2 -1
- package/dist/nodes/Merge/Merge.node.js.map +1 -1
- package/dist/nodes/Merge/test/node/workflow.update_2_1.json +201 -0
- package/dist/nodes/Merge/v2/MergeV2.node.js +14 -5
- package/dist/nodes/Merge/v2/MergeV2.node.js.map +1 -1
- package/dist/nodes/Slack/V2/MessageDescription.js +14 -0
- package/dist/nodes/Slack/V2/MessageDescription.js.map +1 -1
- package/dist/nodes/Slack/V2/SlackV2.node.js +13 -6
- package/dist/nodes/Slack/V2/SlackV2.node.js.map +1 -1
- package/dist/types/credentials.json +1 -1
- package/dist/types/nodes.json +12 -10
- package/dist/utils/utilities.d.ts +2 -1
- package/dist/utils/utilities.js +10 -1
- package/dist/utils/utilities.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,695 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "My workflow 4",
|
|
3
|
+
"nodes": [
|
|
4
|
+
{
|
|
5
|
+
"parameters": {},
|
|
6
|
+
"id": "037f477b-6775-47e9-b735-71c1d984ceb6",
|
|
7
|
+
"name": "When clicking \"Execute Workflow\"",
|
|
8
|
+
"type": "n8n-nodes-base.manualTrigger",
|
|
9
|
+
"typeVersion": 1,
|
|
10
|
+
"position": [440, 1300]
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"parameters": {
|
|
14
|
+
"fieldToSplitOut": "dataa",
|
|
15
|
+
"options": {}
|
|
16
|
+
},
|
|
17
|
+
"id": "b9f156e1-ffb0-4121-abf3-8813b8cc738e",
|
|
18
|
+
"name": "Item Lists4",
|
|
19
|
+
"type": "n8n-nodes-base.itemLists",
|
|
20
|
+
"typeVersion": 2,
|
|
21
|
+
"position": [920, 260],
|
|
22
|
+
"continueOnFail": true
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"parameters": {
|
|
26
|
+
"fieldToSplitOut": "dataa",
|
|
27
|
+
"options": {}
|
|
28
|
+
},
|
|
29
|
+
"id": "c8ed5ebc-18f2-4d94-8f19-c019278e5d0d",
|
|
30
|
+
"name": "Item Lists5",
|
|
31
|
+
"type": "n8n-nodes-base.itemLists",
|
|
32
|
+
"typeVersion": 2.1,
|
|
33
|
+
"position": [920, 420],
|
|
34
|
+
"alwaysOutputData": true
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"parameters": {},
|
|
38
|
+
"id": "e2c1fc7c-3333-4849-a084-dac2c6edc1a7",
|
|
39
|
+
"name": "No Operation, do nothing",
|
|
40
|
+
"type": "n8n-nodes-base.noOp",
|
|
41
|
+
"typeVersion": 1,
|
|
42
|
+
"position": [1140, 240]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"parameters": {},
|
|
46
|
+
"id": "c8c9727d-232d-4ae2-a7cc-3dcf00b32474",
|
|
47
|
+
"name": "No Operation, do nothing1",
|
|
48
|
+
"type": "n8n-nodes-base.noOp",
|
|
49
|
+
"typeVersion": 1,
|
|
50
|
+
"position": [1140, 420]
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"parameters": {
|
|
54
|
+
"operation": "aggregateItems",
|
|
55
|
+
"fieldsToAggregate": {
|
|
56
|
+
"fieldToAggregate": [
|
|
57
|
+
{
|
|
58
|
+
"fieldToAggregate": "idd"
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
"options": {}
|
|
63
|
+
},
|
|
64
|
+
"id": "88c02d0a-0680-4564-8b2e-48ebfabe4864",
|
|
65
|
+
"name": "Item Lists",
|
|
66
|
+
"type": "n8n-nodes-base.itemLists",
|
|
67
|
+
"typeVersion": 2,
|
|
68
|
+
"position": [920, 1080],
|
|
69
|
+
"continueOnFail": true
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"parameters": {
|
|
73
|
+
"operation": "aggregateItems",
|
|
74
|
+
"fieldsToAggregate": {
|
|
75
|
+
"fieldToAggregate": [
|
|
76
|
+
{
|
|
77
|
+
"fieldToAggregate": "idd"
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
"options": {}
|
|
82
|
+
},
|
|
83
|
+
"id": "327ace17-571f-4aea-98bf-3cad71449f56",
|
|
84
|
+
"name": "Item Lists6",
|
|
85
|
+
"type": "n8n-nodes-base.itemLists",
|
|
86
|
+
"typeVersion": 2.1,
|
|
87
|
+
"position": [920, 1240]
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"parameters": {},
|
|
91
|
+
"id": "38a5b83a-0f71-4788-983b-9f7719d59190",
|
|
92
|
+
"name": "No Operation, do nothing2",
|
|
93
|
+
"type": "n8n-nodes-base.noOp",
|
|
94
|
+
"typeVersion": 1,
|
|
95
|
+
"position": [1140, 1060]
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"parameters": {},
|
|
99
|
+
"id": "aa76c9fb-5a15-4239-903f-570aeca80453",
|
|
100
|
+
"name": "No Operation, do nothing3",
|
|
101
|
+
"type": "n8n-nodes-base.noOp",
|
|
102
|
+
"typeVersion": 1,
|
|
103
|
+
"position": [1140, 1240]
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"parameters": {
|
|
107
|
+
"operation": "summarize",
|
|
108
|
+
"fieldsToSummarize": {
|
|
109
|
+
"values": [
|
|
110
|
+
{
|
|
111
|
+
"field": "idd"
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
"options": {}
|
|
116
|
+
},
|
|
117
|
+
"id": "246e42b2-62ab-4ef4-acf1-031ac6236052",
|
|
118
|
+
"name": "Item Lists7",
|
|
119
|
+
"type": "n8n-nodes-base.itemLists",
|
|
120
|
+
"typeVersion": 2,
|
|
121
|
+
"position": [920, 1880],
|
|
122
|
+
"continueOnFail": true
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"parameters": {
|
|
126
|
+
"operation": "summarize",
|
|
127
|
+
"fieldsToSummarize": {
|
|
128
|
+
"values": [
|
|
129
|
+
{
|
|
130
|
+
"field": "idd"
|
|
131
|
+
}
|
|
132
|
+
]
|
|
133
|
+
},
|
|
134
|
+
"options": {}
|
|
135
|
+
},
|
|
136
|
+
"id": "3145a0dd-035a-477b-8d5a-98a2106b46c8",
|
|
137
|
+
"name": "Item Lists8",
|
|
138
|
+
"type": "n8n-nodes-base.itemLists",
|
|
139
|
+
"typeVersion": 2.1,
|
|
140
|
+
"position": [920, 2040]
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"parameters": {},
|
|
144
|
+
"id": "71bc9c78-cf27-4628-9f64-19a9bef353c3",
|
|
145
|
+
"name": "No Operation, do nothing4",
|
|
146
|
+
"type": "n8n-nodes-base.noOp",
|
|
147
|
+
"typeVersion": 1,
|
|
148
|
+
"position": [1140, 1860]
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"parameters": {},
|
|
152
|
+
"id": "1ee8497c-e721-4741-b059-ff4b85cb0e73",
|
|
153
|
+
"name": "No Operation, do nothing5",
|
|
154
|
+
"type": "n8n-nodes-base.noOp",
|
|
155
|
+
"typeVersion": 1,
|
|
156
|
+
"position": [1140, 2040]
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"parameters": {
|
|
160
|
+
"jsCode": "return {data:[\n {id: 1},\n {id: 2},\n {id: 3},\n {id: 4},\n]};"
|
|
161
|
+
},
|
|
162
|
+
"id": "b97e2dd3-8934-4f61-a217-e4251c3c018f",
|
|
163
|
+
"name": "Code2",
|
|
164
|
+
"type": "n8n-nodes-base.code",
|
|
165
|
+
"typeVersion": 1,
|
|
166
|
+
"position": [600, 500]
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"parameters": {
|
|
170
|
+
"jsCode": "return [\n {id: 1},\n {id: 2},\n {id: 3},\n {id: 4},\n];"
|
|
171
|
+
},
|
|
172
|
+
"id": "cc63d7e0-0ecb-4aa8-ae15-69c6b32ce6d9",
|
|
173
|
+
"name": "Code",
|
|
174
|
+
"type": "n8n-nodes-base.code",
|
|
175
|
+
"typeVersion": 1,
|
|
176
|
+
"position": [660, 1260]
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"parameters": {
|
|
180
|
+
"operation": "summarize",
|
|
181
|
+
"fieldsToSummarize": {
|
|
182
|
+
"values": [
|
|
183
|
+
{
|
|
184
|
+
"field": "id"
|
|
185
|
+
}
|
|
186
|
+
]
|
|
187
|
+
},
|
|
188
|
+
"options": {}
|
|
189
|
+
},
|
|
190
|
+
"id": "50df7038-52d2-4b07-a729-a683ebbd769d",
|
|
191
|
+
"name": "Item Lists9",
|
|
192
|
+
"type": "n8n-nodes-base.itemLists",
|
|
193
|
+
"typeVersion": 2,
|
|
194
|
+
"position": [920, 2260],
|
|
195
|
+
"continueOnFail": true
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"parameters": {
|
|
199
|
+
"operation": "summarize",
|
|
200
|
+
"fieldsToSummarize": {
|
|
201
|
+
"values": [
|
|
202
|
+
{
|
|
203
|
+
"field": "id"
|
|
204
|
+
}
|
|
205
|
+
]
|
|
206
|
+
},
|
|
207
|
+
"options": {}
|
|
208
|
+
},
|
|
209
|
+
"id": "15347d3e-0e4a-4c48-ad24-80730f7015c8",
|
|
210
|
+
"name": "Item Lists10",
|
|
211
|
+
"type": "n8n-nodes-base.itemLists",
|
|
212
|
+
"typeVersion": 2.1,
|
|
213
|
+
"position": [920, 2420]
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"parameters": {},
|
|
217
|
+
"id": "aa2bfbc8-bdfd-41fd-83f8-181bcd2fa9be",
|
|
218
|
+
"name": "No Operation, do nothing6",
|
|
219
|
+
"type": "n8n-nodes-base.noOp",
|
|
220
|
+
"typeVersion": 1,
|
|
221
|
+
"position": [1140, 2240]
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"parameters": {},
|
|
225
|
+
"id": "9ca712dc-dd5a-474e-808b-224bf4149f85",
|
|
226
|
+
"name": "No Operation, do nothing7",
|
|
227
|
+
"type": "n8n-nodes-base.noOp",
|
|
228
|
+
"typeVersion": 1,
|
|
229
|
+
"position": [1140, 2420]
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"parameters": {
|
|
233
|
+
"operation": "aggregateItems",
|
|
234
|
+
"fieldsToAggregate": {
|
|
235
|
+
"fieldToAggregate": [
|
|
236
|
+
{
|
|
237
|
+
"fieldToAggregate": "id"
|
|
238
|
+
}
|
|
239
|
+
]
|
|
240
|
+
},
|
|
241
|
+
"options": {}
|
|
242
|
+
},
|
|
243
|
+
"id": "1cf43271-c87b-4523-9d8d-ed72b4ad49fa",
|
|
244
|
+
"name": "Item Lists1",
|
|
245
|
+
"type": "n8n-nodes-base.itemLists",
|
|
246
|
+
"typeVersion": 2,
|
|
247
|
+
"position": [920, 1460],
|
|
248
|
+
"continueOnFail": true
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"parameters": {
|
|
252
|
+
"operation": "aggregateItems",
|
|
253
|
+
"fieldsToAggregate": {
|
|
254
|
+
"fieldToAggregate": [
|
|
255
|
+
{
|
|
256
|
+
"fieldToAggregate": "id"
|
|
257
|
+
}
|
|
258
|
+
]
|
|
259
|
+
},
|
|
260
|
+
"options": {}
|
|
261
|
+
},
|
|
262
|
+
"id": "d1153bd8-a546-4ae2-a7ba-6f3ed4c41ba5",
|
|
263
|
+
"name": "Item Lists11",
|
|
264
|
+
"type": "n8n-nodes-base.itemLists",
|
|
265
|
+
"typeVersion": 2.1,
|
|
266
|
+
"position": [920, 1620]
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"parameters": {},
|
|
270
|
+
"id": "32fa0e78-35ef-4a84-bc09-b94141db2bab",
|
|
271
|
+
"name": "No Operation, do nothing8",
|
|
272
|
+
"type": "n8n-nodes-base.noOp",
|
|
273
|
+
"typeVersion": 1,
|
|
274
|
+
"position": [1140, 1440]
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"parameters": {},
|
|
278
|
+
"id": "d3c43cd0-7544-4cb9-8fad-6e8e8c8676bc",
|
|
279
|
+
"name": "No Operation, do nothing9",
|
|
280
|
+
"type": "n8n-nodes-base.noOp",
|
|
281
|
+
"typeVersion": 1,
|
|
282
|
+
"position": [1140, 1620]
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"parameters": {
|
|
286
|
+
"fieldToSplitOut": "data",
|
|
287
|
+
"options": {}
|
|
288
|
+
},
|
|
289
|
+
"id": "94c419a1-a941-472b-8142-39ca1c428390",
|
|
290
|
+
"name": "Item Lists12",
|
|
291
|
+
"type": "n8n-nodes-base.itemLists",
|
|
292
|
+
"typeVersion": 2,
|
|
293
|
+
"position": [920, 660],
|
|
294
|
+
"continueOnFail": true
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"parameters": {
|
|
298
|
+
"fieldToSplitOut": "dataa",
|
|
299
|
+
"options": {}
|
|
300
|
+
},
|
|
301
|
+
"id": "482d5523-a4d1-4bee-8717-c5949674a246",
|
|
302
|
+
"name": "Item Lists13",
|
|
303
|
+
"type": "n8n-nodes-base.itemLists",
|
|
304
|
+
"typeVersion": 2.1,
|
|
305
|
+
"position": [920, 820],
|
|
306
|
+
"alwaysOutputData": true
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"parameters": {},
|
|
310
|
+
"id": "9dd44dc5-3525-4a22-b1dd-5d369db28759",
|
|
311
|
+
"name": "No Operation, do nothing10",
|
|
312
|
+
"type": "n8n-nodes-base.noOp",
|
|
313
|
+
"typeVersion": 1,
|
|
314
|
+
"position": [1140, 640]
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"parameters": {},
|
|
318
|
+
"id": "f23f7fed-e7e9-4e9d-abdd-056973fc0bbc",
|
|
319
|
+
"name": "No Operation, do nothing11",
|
|
320
|
+
"type": "n8n-nodes-base.noOp",
|
|
321
|
+
"typeVersion": 1,
|
|
322
|
+
"position": [1140, 820]
|
|
323
|
+
}
|
|
324
|
+
],
|
|
325
|
+
"pinData": {
|
|
326
|
+
"No Operation, do nothing1": [
|
|
327
|
+
{
|
|
328
|
+
"json": {}
|
|
329
|
+
}
|
|
330
|
+
],
|
|
331
|
+
"No Operation, do nothing": [
|
|
332
|
+
{
|
|
333
|
+
"json": {
|
|
334
|
+
"data": [
|
|
335
|
+
{
|
|
336
|
+
"id": 1
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"id": 2
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"id": 3
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"id": 4
|
|
346
|
+
}
|
|
347
|
+
]
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
],
|
|
351
|
+
"No Operation, do nothing10": [
|
|
352
|
+
{
|
|
353
|
+
"json": {
|
|
354
|
+
"id": 1
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"json": {
|
|
359
|
+
"id": 2
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"json": {
|
|
364
|
+
"id": 3
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"json": {
|
|
369
|
+
"id": 4
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
],
|
|
373
|
+
"No Operation, do nothing11": [
|
|
374
|
+
{
|
|
375
|
+
"json": {}
|
|
376
|
+
}
|
|
377
|
+
],
|
|
378
|
+
"No Operation, do nothing2": [
|
|
379
|
+
{
|
|
380
|
+
"json": {
|
|
381
|
+
"id": 1
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"json": {
|
|
386
|
+
"id": 2
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"json": {
|
|
391
|
+
"id": 3
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"json": {
|
|
396
|
+
"id": 4
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
],
|
|
400
|
+
"No Operation, do nothing3": [
|
|
401
|
+
{
|
|
402
|
+
"json": {
|
|
403
|
+
"idd": []
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
],
|
|
407
|
+
"No Operation, do nothing8": [
|
|
408
|
+
{
|
|
409
|
+
"json": {
|
|
410
|
+
"id": [1, 2, 3, 4]
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
],
|
|
414
|
+
"No Operation, do nothing9": [
|
|
415
|
+
{
|
|
416
|
+
"json": {
|
|
417
|
+
"id": [1, 2, 3, 4]
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
],
|
|
421
|
+
"No Operation, do nothing4": [
|
|
422
|
+
{
|
|
423
|
+
"json": {
|
|
424
|
+
"id": 1
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"json": {
|
|
429
|
+
"id": 2
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"json": {
|
|
434
|
+
"id": 3
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"json": {
|
|
439
|
+
"id": 4
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
],
|
|
443
|
+
"No Operation, do nothing5": [
|
|
444
|
+
{
|
|
445
|
+
"json": {
|
|
446
|
+
"count_idd": 0
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
],
|
|
450
|
+
"No Operation, do nothing6": [
|
|
451
|
+
{
|
|
452
|
+
"json": {
|
|
453
|
+
"count_id": 4
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
],
|
|
457
|
+
"No Operation, do nothing7": [
|
|
458
|
+
{
|
|
459
|
+
"json": {
|
|
460
|
+
"count_id": 4
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
]
|
|
464
|
+
},
|
|
465
|
+
"connections": {
|
|
466
|
+
"Item Lists4": {
|
|
467
|
+
"main": [
|
|
468
|
+
[
|
|
469
|
+
{
|
|
470
|
+
"node": "No Operation, do nothing",
|
|
471
|
+
"type": "main",
|
|
472
|
+
"index": 0
|
|
473
|
+
}
|
|
474
|
+
]
|
|
475
|
+
]
|
|
476
|
+
},
|
|
477
|
+
"Item Lists5": {
|
|
478
|
+
"main": [
|
|
479
|
+
[
|
|
480
|
+
{
|
|
481
|
+
"node": "No Operation, do nothing1",
|
|
482
|
+
"type": "main",
|
|
483
|
+
"index": 0
|
|
484
|
+
}
|
|
485
|
+
]
|
|
486
|
+
]
|
|
487
|
+
},
|
|
488
|
+
"When clicking \"Execute Workflow\"": {
|
|
489
|
+
"main": [
|
|
490
|
+
[
|
|
491
|
+
{
|
|
492
|
+
"node": "Code2",
|
|
493
|
+
"type": "main",
|
|
494
|
+
"index": 0
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"node": "Code",
|
|
498
|
+
"type": "main",
|
|
499
|
+
"index": 0
|
|
500
|
+
}
|
|
501
|
+
]
|
|
502
|
+
]
|
|
503
|
+
},
|
|
504
|
+
"Item Lists": {
|
|
505
|
+
"main": [
|
|
506
|
+
[
|
|
507
|
+
{
|
|
508
|
+
"node": "No Operation, do nothing2",
|
|
509
|
+
"type": "main",
|
|
510
|
+
"index": 0
|
|
511
|
+
}
|
|
512
|
+
]
|
|
513
|
+
]
|
|
514
|
+
},
|
|
515
|
+
"Item Lists6": {
|
|
516
|
+
"main": [
|
|
517
|
+
[
|
|
518
|
+
{
|
|
519
|
+
"node": "No Operation, do nothing3",
|
|
520
|
+
"type": "main",
|
|
521
|
+
"index": 0
|
|
522
|
+
}
|
|
523
|
+
]
|
|
524
|
+
]
|
|
525
|
+
},
|
|
526
|
+
"Item Lists7": {
|
|
527
|
+
"main": [
|
|
528
|
+
[
|
|
529
|
+
{
|
|
530
|
+
"node": "No Operation, do nothing4",
|
|
531
|
+
"type": "main",
|
|
532
|
+
"index": 0
|
|
533
|
+
}
|
|
534
|
+
]
|
|
535
|
+
]
|
|
536
|
+
},
|
|
537
|
+
"Item Lists8": {
|
|
538
|
+
"main": [
|
|
539
|
+
[
|
|
540
|
+
{
|
|
541
|
+
"node": "No Operation, do nothing5",
|
|
542
|
+
"type": "main",
|
|
543
|
+
"index": 0
|
|
544
|
+
}
|
|
545
|
+
]
|
|
546
|
+
]
|
|
547
|
+
},
|
|
548
|
+
"Code2": {
|
|
549
|
+
"main": [
|
|
550
|
+
[
|
|
551
|
+
{
|
|
552
|
+
"node": "Item Lists4",
|
|
553
|
+
"type": "main",
|
|
554
|
+
"index": 0
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"node": "Item Lists5",
|
|
558
|
+
"type": "main",
|
|
559
|
+
"index": 0
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"node": "Item Lists12",
|
|
563
|
+
"type": "main",
|
|
564
|
+
"index": 0
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"node": "Item Lists13",
|
|
568
|
+
"type": "main",
|
|
569
|
+
"index": 0
|
|
570
|
+
}
|
|
571
|
+
]
|
|
572
|
+
]
|
|
573
|
+
},
|
|
574
|
+
"Code": {
|
|
575
|
+
"main": [
|
|
576
|
+
[
|
|
577
|
+
{
|
|
578
|
+
"node": "Item Lists",
|
|
579
|
+
"type": "main",
|
|
580
|
+
"index": 0
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"node": "Item Lists6",
|
|
584
|
+
"type": "main",
|
|
585
|
+
"index": 0
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"node": "Item Lists7",
|
|
589
|
+
"type": "main",
|
|
590
|
+
"index": 0
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
"node": "Item Lists8",
|
|
594
|
+
"type": "main",
|
|
595
|
+
"index": 0
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"node": "Item Lists9",
|
|
599
|
+
"type": "main",
|
|
600
|
+
"index": 0
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"node": "Item Lists10",
|
|
604
|
+
"type": "main",
|
|
605
|
+
"index": 0
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"node": "Item Lists1",
|
|
609
|
+
"type": "main",
|
|
610
|
+
"index": 0
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"node": "Item Lists11",
|
|
614
|
+
"type": "main",
|
|
615
|
+
"index": 0
|
|
616
|
+
}
|
|
617
|
+
]
|
|
618
|
+
]
|
|
619
|
+
},
|
|
620
|
+
"Item Lists9": {
|
|
621
|
+
"main": [
|
|
622
|
+
[
|
|
623
|
+
{
|
|
624
|
+
"node": "No Operation, do nothing6",
|
|
625
|
+
"type": "main",
|
|
626
|
+
"index": 0
|
|
627
|
+
}
|
|
628
|
+
]
|
|
629
|
+
]
|
|
630
|
+
},
|
|
631
|
+
"Item Lists10": {
|
|
632
|
+
"main": [
|
|
633
|
+
[
|
|
634
|
+
{
|
|
635
|
+
"node": "No Operation, do nothing7",
|
|
636
|
+
"type": "main",
|
|
637
|
+
"index": 0
|
|
638
|
+
}
|
|
639
|
+
]
|
|
640
|
+
]
|
|
641
|
+
},
|
|
642
|
+
"Item Lists1": {
|
|
643
|
+
"main": [
|
|
644
|
+
[
|
|
645
|
+
{
|
|
646
|
+
"node": "No Operation, do nothing8",
|
|
647
|
+
"type": "main",
|
|
648
|
+
"index": 0
|
|
649
|
+
}
|
|
650
|
+
]
|
|
651
|
+
]
|
|
652
|
+
},
|
|
653
|
+
"Item Lists11": {
|
|
654
|
+
"main": [
|
|
655
|
+
[
|
|
656
|
+
{
|
|
657
|
+
"node": "No Operation, do nothing9",
|
|
658
|
+
"type": "main",
|
|
659
|
+
"index": 0
|
|
660
|
+
}
|
|
661
|
+
]
|
|
662
|
+
]
|
|
663
|
+
},
|
|
664
|
+
"Item Lists12": {
|
|
665
|
+
"main": [
|
|
666
|
+
[
|
|
667
|
+
{
|
|
668
|
+
"node": "No Operation, do nothing10",
|
|
669
|
+
"type": "main",
|
|
670
|
+
"index": 0
|
|
671
|
+
}
|
|
672
|
+
]
|
|
673
|
+
]
|
|
674
|
+
},
|
|
675
|
+
"Item Lists13": {
|
|
676
|
+
"main": [
|
|
677
|
+
[
|
|
678
|
+
{
|
|
679
|
+
"node": "No Operation, do nothing11",
|
|
680
|
+
"type": "main",
|
|
681
|
+
"index": 0
|
|
682
|
+
}
|
|
683
|
+
]
|
|
684
|
+
]
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
"active": false,
|
|
688
|
+
"settings": {},
|
|
689
|
+
"versionId": "5d3c6a6b-df81-42e6-ae4c-2b297024a298",
|
|
690
|
+
"id": "9",
|
|
691
|
+
"meta": {
|
|
692
|
+
"instanceId": "6ebec4953fe56f1c009e7c3b107578b375137523af057073c0b5da17350651bd"
|
|
693
|
+
},
|
|
694
|
+
"tags": []
|
|
695
|
+
}
|
|
@@ -3,11 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.apiRequestAllItems = exports.apiRequest = void 0;
|
|
4
4
|
async function apiRequest(method, endpoint, body = {}, query = {}) {
|
|
5
5
|
const credentials = await this.getCredentials('mattermostApi');
|
|
6
|
+
const baseUrl = credentials.baseUrl.replace(/\/$/, '');
|
|
6
7
|
const options = {
|
|
7
8
|
method,
|
|
8
9
|
body,
|
|
9
10
|
qs: query,
|
|
10
|
-
url: `${
|
|
11
|
+
url: `${baseUrl}/api/v4/${endpoint}`,
|
|
11
12
|
headers: {
|
|
12
13
|
'content-type': 'application/json; charset=utf-8',
|
|
13
14
|
},
|