n8n-core 1.71.1 → 1.72.0

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.
Files changed (58) hide show
  1. package/bin/{generate-ui-types → generate-metadata} +7 -37
  2. package/dist/CreateNodeAsTool.d.ts +8 -2
  3. package/dist/CreateNodeAsTool.js +27 -25
  4. package/dist/CreateNodeAsTool.js.map +1 -1
  5. package/dist/DirectoryLoader.d.ts +11 -4
  6. package/dist/DirectoryLoader.js +142 -81
  7. package/dist/DirectoryLoader.js.map +1 -1
  8. package/dist/NodeExecuteFunctions.d.ts +5 -5
  9. package/dist/NodeExecuteFunctions.js +75 -174
  10. package/dist/NodeExecuteFunctions.js.map +1 -1
  11. package/dist/PartialExecutionUtils/DirectedGraph.d.ts +1 -0
  12. package/dist/PartialExecutionUtils/DirectedGraph.js +3 -0
  13. package/dist/PartialExecutionUtils/DirectedGraph.js.map +1 -1
  14. package/dist/PartialExecutionUtils/cleanRunData.js +5 -0
  15. package/dist/PartialExecutionUtils/cleanRunData.js.map +1 -1
  16. package/dist/PartialExecutionUtils/findStartNodes.d.ts +1 -1
  17. package/dist/PartialExecutionUtils/findStartNodes.js +9 -2
  18. package/dist/PartialExecutionUtils/findStartNodes.js.map +1 -1
  19. package/dist/PartialExecutionUtils/getIncomingData.d.ts +1 -1
  20. package/dist/PartialExecutionUtils/getIncomingData.js +1 -38
  21. package/dist/PartialExecutionUtils/getIncomingData.js.map +1 -1
  22. package/dist/WorkflowExecute.js +10 -10
  23. package/dist/WorkflowExecute.js.map +1 -1
  24. package/dist/build.tsbuildinfo +1 -1
  25. package/dist/errors/index.d.ts +2 -0
  26. package/dist/errors/index.js +5 -1
  27. package/dist/errors/index.js.map +1 -1
  28. package/dist/errors/unrecognized-credential-type.error.d.ts +5 -0
  29. package/dist/errors/unrecognized-credential-type.error.js +12 -0
  30. package/dist/errors/unrecognized-credential-type.error.js.map +1 -0
  31. package/dist/errors/unrecognized-node-type.error.d.ts +5 -0
  32. package/dist/errors/unrecognized-node-type.error.js +12 -0
  33. package/dist/errors/unrecognized-node-type.error.js.map +1 -0
  34. package/dist/index.d.ts +1 -1
  35. package/dist/index.js +1 -1
  36. package/dist/index.js.map +1 -1
  37. package/dist/node-execution-context/base-execute-context.d.ts +4 -1
  38. package/dist/node-execution-context/base-execute-context.js +30 -9
  39. package/dist/node-execution-context/base-execute-context.js.map +1 -1
  40. package/dist/node-execution-context/execute-context.d.ts +7 -7
  41. package/dist/node-execution-context/execute-context.js +12 -39
  42. package/dist/node-execution-context/execute-context.js.map +1 -1
  43. package/dist/node-execution-context/execute-single-context.d.ts +2 -1
  44. package/dist/node-execution-context/execute-single-context.js +6 -16
  45. package/dist/node-execution-context/execute-single-context.js.map +1 -1
  46. package/dist/node-execution-context/node-execution-context.js +2 -0
  47. package/dist/node-execution-context/node-execution-context.js.map +1 -1
  48. package/dist/node-execution-context/supply-data-context.d.ts +7 -4
  49. package/dist/node-execution-context/supply-data-context.js +95 -18
  50. package/dist/node-execution-context/supply-data-context.js.map +1 -1
  51. package/dist/node-execution-context/webhook-context.d.ts +1 -1
  52. package/dist/node-execution-context/webhook-context.js +2 -2
  53. package/dist/node-execution-context/webhook-context.js.map +1 -1
  54. package/package.json +4 -5
  55. package/bin/generate-known +0 -99
  56. package/dist/Agent/index.d.ts +0 -2
  57. package/dist/Agent/index.js +0 -11
  58. package/dist/Agent/index.js.map +0 -1
@@ -38,12 +38,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.LazyPackageDirectoryLoader = exports.PackageDirectoryLoader = exports.CustomDirectoryLoader = exports.DirectoryLoader = void 0;
40
40
  const fast_glob_1 = __importDefault(require("fast-glob"));
41
+ const uniqBy_1 = __importDefault(require("lodash/uniqBy"));
41
42
  const n8n_workflow_1 = require("n8n-workflow");
42
43
  const node_fs_1 = require("node:fs");
43
44
  const promises_1 = require("node:fs/promises");
44
45
  const path = __importStar(require("path"));
45
46
  const ClassLoader_1 = require("./ClassLoader");
46
47
  const Constants_1 = require("./Constants");
48
+ const unrecognized_credential_type_error_1 = require("./errors/unrecognized-credential-type.error");
49
+ const unrecognized_node_type_error_1 = require("./errors/unrecognized-node-type.error");
47
50
  function toJSON() {
48
51
  return {
49
52
  ...this,
@@ -73,111 +76,150 @@ class DirectoryLoader {
73
76
  resolvePath(file) {
74
77
  return path.resolve(this.directory, file);
75
78
  }
76
- loadNodeFromFile(nodeName, filePath) {
77
- let tempNode;
78
- let nodeVersion = 1;
79
- const isCustom = this.packageName === 'CUSTOM';
79
+ loadClass(sourcePath) {
80
+ const filePath = this.resolvePath(sourcePath);
81
+ const [className] = path.parse(sourcePath).name.split('.');
80
82
  try {
81
- tempNode = (0, ClassLoader_1.loadClassInIsolation)(filePath, nodeName);
82
- this.addCodex({ node: tempNode, filePath, isCustom });
83
+ return (0, ClassLoader_1.loadClassInIsolation)(filePath, className);
83
84
  }
84
85
  catch (error) {
85
- n8n_workflow_1.LoggerProxy.error(`Error loading node "${nodeName}" from: "${filePath}" - ${error.message}`);
86
- throw error;
86
+ throw error instanceof TypeError
87
+ ? new n8n_workflow_1.ApplicationError('Class could not be found. Please check if the class is named correctly.', { extra: { className } })
88
+ : error;
87
89
  }
88
- const fullNodeName = `${this.packageName}.${tempNode.description.name}`;
89
- if (this.includeNodes.length && !this.includeNodes.includes(fullNodeName)) {
90
+ }
91
+ loadNodeFromFile(filePath) {
92
+ const tempNode = this.loadClass(filePath);
93
+ this.addCodex(tempNode, filePath);
94
+ const nodeType = tempNode.description.name;
95
+ const fullNodeType = `${this.packageName}.${nodeType}`;
96
+ if (this.includeNodes.length && !this.includeNodes.includes(fullNodeType)) {
90
97
  return;
91
98
  }
92
- if (this.excludeNodes.includes(fullNodeName)) {
99
+ if (this.excludeNodes.includes(fullNodeType)) {
93
100
  return;
94
101
  }
95
- tempNode.description.name = fullNodeName;
96
102
  this.fixIconPaths(tempNode.description, filePath);
103
+ let nodeVersion = 1;
97
104
  if ('nodeVersions' in tempNode) {
98
105
  for (const versionNode of Object.values(tempNode.nodeVersions)) {
99
106
  this.fixIconPaths(versionNode.description, filePath);
100
107
  }
101
108
  for (const version of Object.values(tempNode.nodeVersions)) {
102
109
  this.addLoadOptionsMethods(version);
110
+ n8n_workflow_1.NodeHelpers.applySpecialNodeParameters(version);
103
111
  }
104
112
  const currentVersionNode = tempNode.nodeVersions[tempNode.currentVersion];
105
- this.addCodex({ node: currentVersionNode, filePath, isCustom });
113
+ this.addCodex(currentVersionNode, filePath);
106
114
  nodeVersion = tempNode.currentVersion;
107
115
  if (currentVersionNode.hasOwnProperty('executeSingle')) {
108
- throw new n8n_workflow_1.ApplicationError('"executeSingle" has been removed. Please update the code of this node to use "execute" instead.', { extra: { nodeName: `${this.packageName}.${nodeName}` } });
116
+ throw new n8n_workflow_1.ApplicationError('"executeSingle" has been removed. Please update the code of this node to use "execute" instead.', { extra: { nodeType: fullNodeType } });
109
117
  }
110
118
  }
111
119
  else {
112
120
  this.addLoadOptionsMethods(tempNode);
121
+ n8n_workflow_1.NodeHelpers.applySpecialNodeParameters(tempNode);
113
122
  nodeVersion = Array.isArray(tempNode.description.version)
114
123
  ? tempNode.description.version.slice(-1)[0]
115
124
  : tempNode.description.version;
116
125
  }
117
- this.known.nodes[fullNodeName] = {
118
- className: nodeName,
126
+ this.known.nodes[nodeType] = {
127
+ className: tempNode.constructor.name,
119
128
  sourcePath: filePath,
120
129
  };
121
- this.nodeTypes[fullNodeName] = {
130
+ this.nodeTypes[nodeType] = {
122
131
  type: tempNode,
123
132
  sourcePath: filePath,
124
133
  };
125
134
  this.loadedNodes.push({
126
- name: fullNodeName,
135
+ name: nodeType,
127
136
  version: nodeVersion,
128
137
  });
129
- (0, n8n_workflow_1.getVersionedNodeTypeAll)(tempNode).forEach(({ description }) => {
138
+ this.getVersionedNodeTypeAll(tempNode).forEach(({ description }) => {
130
139
  this.types.nodes.push(description);
131
140
  });
132
- for (const credential of (0, n8n_workflow_1.getCredentialsForNode)(tempNode)) {
141
+ for (const credential of this.getCredentialsForNode(tempNode)) {
133
142
  if (!this.nodesByCredential[credential.name]) {
134
143
  this.nodesByCredential[credential.name] = [];
135
144
  }
136
- this.nodesByCredential[credential.name].push(fullNodeName);
145
+ this.nodesByCredential[credential.name].push(nodeType);
137
146
  }
138
147
  }
139
- loadCredentialFromFile(credentialClassName, filePath) {
140
- let tempCredential;
141
- try {
142
- tempCredential = (0, ClassLoader_1.loadClassInIsolation)(filePath, credentialClassName);
143
- Object.assign(tempCredential, { toJSON });
144
- this.fixIconPaths(tempCredential, filePath);
148
+ getNode(nodeType) {
149
+ const { nodeTypes, known: { nodes: knownNodes }, } = this;
150
+ if (!(nodeType in nodeTypes) && nodeType in knownNodes) {
151
+ const { sourcePath } = knownNodes[nodeType];
152
+ this.loadNodeFromFile(sourcePath);
145
153
  }
146
- catch (e) {
147
- if (e instanceof TypeError) {
148
- throw new n8n_workflow_1.ApplicationError('Class could not be found. Please check if the class is named correctly.', { extra: { credentialClassName } });
149
- }
150
- else {
151
- throw e;
152
- }
154
+ if (nodeType in nodeTypes) {
155
+ return nodeTypes[nodeType];
153
156
  }
154
- this.known.credentials[tempCredential.name] = {
155
- className: credentialClassName,
157
+ throw new unrecognized_node_type_error_1.UnrecognizedNodeTypeError(this.packageName, nodeType);
158
+ }
159
+ loadCredentialFromFile(filePath) {
160
+ const tempCredential = this.loadClass(filePath);
161
+ Object.assign(tempCredential, { toJSON });
162
+ this.fixIconPaths(tempCredential, filePath);
163
+ const credentialType = tempCredential.name;
164
+ this.known.credentials[credentialType] = {
165
+ className: tempCredential.constructor.name,
156
166
  sourcePath: filePath,
157
167
  extends: tempCredential.extends,
158
- supportedNodes: this.nodesByCredential[tempCredential.name],
168
+ supportedNodes: this.nodesByCredential[credentialType],
159
169
  };
160
- this.credentialTypes[tempCredential.name] = {
170
+ this.credentialTypes[credentialType] = {
161
171
  type: tempCredential,
162
172
  sourcePath: filePath,
163
173
  };
164
174
  this.types.credentials.push(tempCredential);
165
175
  }
176
+ getCredential(credentialType) {
177
+ const { credentialTypes, known: { credentials: knownCredentials }, } = this;
178
+ if (!(credentialType in credentialTypes) && credentialType in knownCredentials) {
179
+ const { sourcePath } = knownCredentials[credentialType];
180
+ this.loadCredentialFromFile(sourcePath);
181
+ }
182
+ if (credentialType in credentialTypes) {
183
+ return credentialTypes[credentialType];
184
+ }
185
+ throw new unrecognized_credential_type_error_1.UnrecognizedCredentialTypeError(credentialType);
186
+ }
187
+ getCredentialsForNode(object) {
188
+ if ('nodeVersions' in object) {
189
+ const credentials = Object.values(object.nodeVersions).flatMap(({ description }) => description.credentials ?? []);
190
+ return (0, uniqBy_1.default)(credentials, 'name');
191
+ }
192
+ return object.description.credentials ?? [];
193
+ }
194
+ getVersionedNodeTypeAll(object) {
195
+ if ('nodeVersions' in object) {
196
+ const nodeVersions = Object.values(object.nodeVersions).map((element) => {
197
+ element.description.name = object.description.name;
198
+ element.description.codex = object.description.codex;
199
+ return element;
200
+ });
201
+ return (0, uniqBy_1.default)(nodeVersions.reverse(), (node) => {
202
+ const { version } = node.description;
203
+ return Array.isArray(version) ? version.join(',') : version.toString();
204
+ });
205
+ }
206
+ return [object];
207
+ }
166
208
  getCodex(filePath) {
167
- const codexFilePath = `${filePath}on`;
168
- const { categories, subcategories, resources: allResources, alias, } = module.require(codexFilePath);
169
- const resources = {
170
- primaryDocumentation: allResources.primaryDocumentation,
171
- credentialDocumentation: allResources.credentialDocumentation,
172
- };
209
+ const codexFilePath = this.resolvePath(`${filePath}on`);
210
+ const { categories, subcategories, resources: { primaryDocumentation, credentialDocumentation }, alias, } = module.require(codexFilePath);
173
211
  return {
174
212
  ...(categories && { categories }),
175
213
  ...(subcategories && { subcategories }),
176
- ...(resources && { resources }),
177
214
  ...(alias && { alias }),
215
+ resources: {
216
+ primaryDocumentation,
217
+ credentialDocumentation,
218
+ },
178
219
  };
179
220
  }
180
- addCodex({ node, filePath, isCustom, }) {
221
+ addCodex(node, filePath) {
222
+ const isCustom = this.packageName === 'CUSTOM';
181
223
  try {
182
224
  let codex;
183
225
  if (!isCustom) {
@@ -194,7 +236,7 @@ class DirectoryLoader {
194
236
  node.description.codex = codex;
195
237
  }
196
238
  catch {
197
- n8n_workflow_1.LoggerProxy.debug(`No codex available for: ${filePath.split('/').pop() ?? ''}`);
239
+ n8n_workflow_1.LoggerProxy.debug(`No codex available for: ${node.description.name}`);
198
240
  if (isCustom) {
199
241
  node.description.codex = {
200
242
  categories: [Constants_1.CUSTOM_NODES_CATEGORY],
@@ -209,8 +251,7 @@ class DirectoryLoader {
209
251
  }
210
252
  getIconPath(icon, filePath) {
211
253
  const iconPath = path.join(path.dirname(filePath), icon.replace('file:', ''));
212
- const relativePath = path.relative(this.directory, iconPath);
213
- return `icons/${this.packageName}/${relativePath}`;
254
+ return `icons/${this.packageName}/${iconPath}`;
214
255
  }
215
256
  fixIconPaths(obj, filePath) {
216
257
  const { icon } = obj;
@@ -219,7 +260,7 @@ class DirectoryLoader {
219
260
  if (typeof icon === 'string') {
220
261
  if (icon.startsWith('file:')) {
221
262
  obj.iconUrl = this.getIconPath(icon, filePath);
222
- delete obj.icon;
263
+ obj.icon = undefined;
223
264
  }
224
265
  }
225
266
  else if (icon.light.startsWith('file:') && icon.dark.startsWith('file:')) {
@@ -227,7 +268,7 @@ class DirectoryLoader {
227
268
  light: this.getIconPath(icon.light, filePath),
228
269
  dark: this.getIconPath(icon.dark, filePath),
229
270
  };
230
- delete obj.icon;
271
+ obj.icon = undefined;
231
272
  }
232
273
  }
233
274
  }
@@ -243,16 +284,14 @@ class CustomDirectoryLoader extends DirectoryLoader {
243
284
  absolute: true,
244
285
  });
245
286
  for (const nodePath of nodes) {
246
- const [fileName] = path.parse(nodePath).name.split('.');
247
- this.loadNodeFromFile(fileName, nodePath);
287
+ this.loadNodeFromFile(nodePath);
248
288
  }
249
289
  const credentials = await (0, fast_glob_1.default)('**/*.credentials.js', {
250
290
  cwd: this.directory,
251
291
  absolute: true,
252
292
  });
253
293
  for (const credentialPath of credentials) {
254
- const [fileName] = path.parse(credentialPath).name.split('.');
255
- this.loadCredentialFromFile(fileName, credentialPath);
294
+ this.loadCredentialFromFile(credentialPath);
256
295
  }
257
296
  }
258
297
  }
@@ -269,27 +308,48 @@ class PackageDirectoryLoader extends DirectoryLoader {
269
308
  return;
270
309
  const { nodes, credentials } = n8n;
271
310
  if (Array.isArray(nodes)) {
272
- for (const node of nodes) {
273
- const filePath = this.resolvePath(node);
274
- const [nodeName] = path.parse(node).name.split('.');
275
- this.loadNodeFromFile(nodeName, filePath);
311
+ for (const nodePath of nodes) {
312
+ this.loadNodeFromFile(nodePath);
276
313
  }
277
314
  }
278
315
  if (Array.isArray(credentials)) {
279
- for (const credential of credentials) {
280
- const filePath = this.resolvePath(credential);
281
- const [credentialName] = path.parse(credential).name.split('.');
282
- this.loadCredentialFromFile(credentialName, filePath);
316
+ for (const credentialPath of credentials) {
317
+ this.loadCredentialFromFile(credentialPath);
283
318
  }
284
319
  }
320
+ this.inferSupportedNodes();
285
321
  n8n_workflow_1.LoggerProxy.debug(`Loaded all credentials and nodes from ${this.packageName}`, {
286
322
  credentials: credentials?.length ?? 0,
287
323
  nodes: nodes?.length ?? 0,
288
324
  });
289
325
  }
290
- readJSONSync(file) {
291
- const filePath = this.resolvePath(file);
292
- const fileString = (0, node_fs_1.readFileSync)(filePath, 'utf8');
326
+ inferSupportedNodes() {
327
+ const knownCredentials = this.known.credentials;
328
+ for (const { type: credentialType } of Object.values(this.credentialTypes)) {
329
+ const supportedNodes = knownCredentials[credentialType.name].supportedNodes ?? [];
330
+ if (supportedNodes.length > 0 && credentialType.httpRequestNode) {
331
+ credentialType.httpRequestNode.hidden = true;
332
+ }
333
+ credentialType.supportedNodes = supportedNodes;
334
+ if (!credentialType.iconUrl && !credentialType.icon) {
335
+ for (const supportedNode of supportedNodes) {
336
+ const nodeDescription = this.nodeTypes[supportedNode]?.type.description;
337
+ if (!nodeDescription)
338
+ continue;
339
+ if (nodeDescription.icon) {
340
+ credentialType.icon = nodeDescription.icon;
341
+ credentialType.iconColor = nodeDescription.iconColor;
342
+ break;
343
+ }
344
+ if (nodeDescription.iconUrl) {
345
+ credentialType.iconUrl = nodeDescription.iconUrl;
346
+ break;
347
+ }
348
+ }
349
+ }
350
+ }
351
+ }
352
+ parseJSON(fileString, filePath) {
293
353
  try {
294
354
  return (0, n8n_workflow_1.jsonParse)(fileString);
295
355
  }
@@ -297,41 +357,42 @@ class PackageDirectoryLoader extends DirectoryLoader {
297
357
  throw new n8n_workflow_1.ApplicationError('Failed to parse JSON', { extra: { filePath } });
298
358
  }
299
359
  }
360
+ readJSONSync(file) {
361
+ const filePath = this.resolvePath(file);
362
+ const fileString = (0, node_fs_1.readFileSync)(filePath, 'utf8');
363
+ return this.parseJSON(fileString, filePath);
364
+ }
300
365
  async readJSON(file) {
301
366
  const filePath = this.resolvePath(file);
302
367
  const fileString = await (0, promises_1.readFile)(filePath, 'utf8');
303
- try {
304
- return (0, n8n_workflow_1.jsonParse)(fileString);
305
- }
306
- catch (error) {
307
- throw new n8n_workflow_1.ApplicationError('Failed to parse JSON', { extra: { filePath } });
308
- }
368
+ return this.parseJSON(fileString, filePath);
309
369
  }
310
370
  }
311
371
  exports.PackageDirectoryLoader = PackageDirectoryLoader;
312
372
  class LazyPackageDirectoryLoader extends PackageDirectoryLoader {
313
373
  async loadAll() {
314
374
  try {
315
- const knownNodes = await this.readJSON('dist/known/nodes.json');
316
- for (const nodeName in knownNodes) {
317
- this.known.nodes[`${this.packageName}.${nodeName}`] = knownNodes[nodeName];
318
- }
375
+ this.known.nodes = await this.readJSON('dist/known/nodes.json');
319
376
  this.known.credentials = await this.readJSON('dist/known/credentials.json');
320
377
  this.types.nodes = await this.readJSON('dist/types/nodes.json');
321
378
  this.types.credentials = await this.readJSON('dist/types/credentials.json');
322
379
  if (this.includeNodes.length) {
323
380
  const allowedNodes = {};
324
- for (const nodeName of this.includeNodes) {
325
- if (nodeName in this.known.nodes) {
326
- allowedNodes[nodeName] = this.known.nodes[nodeName];
381
+ for (const fullNodeType of this.includeNodes) {
382
+ const [packageName, nodeType] = fullNodeType.split('.');
383
+ if (packageName === this.packageName && nodeType in this.known.nodes) {
384
+ allowedNodes[nodeType] = this.known.nodes[nodeType];
327
385
  }
328
386
  }
329
387
  this.known.nodes = allowedNodes;
330
388
  this.types.nodes = this.types.nodes.filter((nodeType) => this.includeNodes.includes(nodeType.name));
331
389
  }
332
390
  if (this.excludeNodes.length) {
333
- for (const nodeName of this.excludeNodes) {
334
- delete this.known.nodes[nodeName];
391
+ for (const fullNodeType of this.excludeNodes) {
392
+ const [packageName, nodeType] = fullNodeType.split('.');
393
+ if (packageName === this.packageName) {
394
+ delete this.known.nodes[nodeType];
395
+ }
335
396
  }
336
397
  this.types.nodes = this.types.nodes.filter((nodeType) => !this.excludeNodes.includes(nodeType.name));
337
398
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DirectoryLoader.js","sourceRoot":"","sources":["../src/DirectoryLoader.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA6B;AAc7B,+CAMsB;AACtB,qCAAuC;AACvC,+CAA4C;AAC5C,2CAA6B;AAE7B,+CAAqD;AACrD,2CAAoD;AAGpD,SAAS,MAAM;IACd,OAAO;QACN,GAAG,IAAI;QACP,YAAY,EAAE,OAAO,IAAI,CAAC,YAAY,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY;KAC9E,CAAC;AACH,CAAC;AAOD,MAAsB,eAAe;IAqBpC,YACU,SAAiB,EACP,eAAyB,EAAE,EAC3B,eAAyB,EAAE;QAFrC,cAAS,GAAT,SAAS,CAAQ;QACP,iBAAY,GAAZ,YAAY,CAAe;QAC3B,iBAAY,GAAZ,YAAY,CAAe;QAvB/C,iBAAY,GAAG,KAAK,CAAC;QAIrB,gBAAW,GAA2B,EAAE,CAAC;Q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,EAAE,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,CACxD,CAAC;YACH,CAAC;YAED,0BAAM,CAAC,KAAK,CAAC,2CAA2C,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,EAAE;gBAChF,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,MAAM,IAAI,CAAC;gBACpC,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,MAAM,IAAI,CAAC;aAChD,CAAC,CAAC;YAEH,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;YAEzB,OAAO;QACR,CAAC;QAAC,MAAM,CAAC;YACR,0BAAM,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC;YAC1C,MAAM,KAAK,CAAC,OAAO,EAAE,CAAC;QACvB,CAAC;IACF,CAAC;CACD;AAlDD,gEAkDC"}
@@ -1,7 +1,7 @@
1
- import type { AxiosRequestConfig } from 'axios';
1
+ import type { AxiosRequestConfig, AxiosResponse } from 'axios';
2
2
  import { IncomingMessage } from 'http';
3
- import type { BinaryHelperFunctions, CloseFunction, FileSystemHelperFunctions, IAdditionalCredentialOptions, IAllExecuteFunctions, IBinaryData, ICredentialTestFunctions, IDataObject, IExecuteData, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, IHttpRequestOptions, IN8nHttpFullResponse, IN8nHttpResponse, INode, INodeExecutionData, IOAuth2Options, IPairedItemData, IPollFunctions, IRequestOptions, IRunExecutionData, ITaskDataConnections, ITaskMetadata, ITriggerFunctions, IWebhookData, IWebhookDescription, IWebhookFunctions, IWorkflowDataProxyAdditionalKeys, IWorkflowExecuteAdditionalData, NodeExecutionWithMetadata, NodeHelperFunctions, PaginationOptions, RequestHelperFunctions, Workflow, WorkflowActivateMode, WorkflowExecuteMode, SSHTunnelFunctions, DeduplicationHelperFunctions, IDeduplicationOutput, IDeduplicationOutputItems, ICheckProcessedOptions, DeduplicationScope, DeduplicationItemTypes, ICheckProcessedContextData, WebhookType, SchedulingFunctions } from 'n8n-workflow';
4
- import { NodeConnectionType, ExecutionBaseError } from 'n8n-workflow';
3
+ import type { BinaryHelperFunctions, CloseFunction, FileSystemHelperFunctions, IAdditionalCredentialOptions, IAllExecuteFunctions, IBinaryData, ICredentialTestFunctions, IDataObject, IExecuteData, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, IHttpRequestOptions, IN8nHttpFullResponse, IN8nHttpResponse, INode, INodeExecutionData, IOAuth2Options, IPairedItemData, IPollFunctions, IRequestOptions, IRunExecutionData, ITaskDataConnections, ITriggerFunctions, IWebhookData, IWebhookDescription, IWebhookFunctions, IWorkflowDataProxyAdditionalKeys, IWorkflowExecuteAdditionalData, NodeExecutionWithMetadata, NodeHelperFunctions, PaginationOptions, RequestHelperFunctions, Workflow, WorkflowActivateMode, WorkflowExecuteMode, SSHTunnelFunctions, DeduplicationHelperFunctions, IDeduplicationOutput, IDeduplicationOutputItems, ICheckProcessedOptions, DeduplicationScope, DeduplicationItemTypes, ICheckProcessedContextData, WebhookType, SchedulingFunctions } from 'n8n-workflow';
4
+ import { NodeConnectionType } from 'n8n-workflow';
5
5
  import { Readable } from 'stream';
6
6
  import type { BinaryData } from './BinaryData/types';
7
7
  export declare const validateUrl: (url?: string) => boolean;
@@ -21,6 +21,7 @@ export declare function parseContentType(contentType?: string): IContentType | n
21
21
  export declare function parseContentDisposition(contentDisposition?: string): IContentDisposition | null;
22
22
  export declare function parseIncomingMessage(message: IncomingMessage): void;
23
23
  export declare function binaryToString(body: Buffer | Readable, encoding?: string): Promise<string>;
24
+ export declare function invokeAxios(axiosConfig: AxiosRequestConfig, authOptions?: IRequestOptions['auth']): Promise<AxiosResponse<any, any>>;
24
25
  export declare function proxyRequestToAxios(workflow: Workflow | undefined, additionalData: IWorkflowExecuteAdditionalData | undefined, node: INode | undefined, uriOrObject: string | IRequestOptions, options?: IRequestOptions): Promise<any>;
25
26
  export declare const removeEmptyBody: (requestOptions: IHttpRequestOptions | IRequestOptions) => void;
26
27
  export declare function httpRequest(requestOptions: IHttpRequestOptions): Promise<IN8nHttpFullResponse | IN8nHttpResponse>;
@@ -49,8 +50,7 @@ export declare function normalizeItems(executionData: INodeExecutionData | INode
49
50
  export declare function requestWithAuthentication(this: IAllExecuteFunctions, credentialsType: string, requestOptions: IRequestOptions, workflow: Workflow, node: INode, additionalData: IWorkflowExecuteAdditionalData, additionalCredentialOptions?: IAdditionalCredentialOptions, itemIndex?: number): Promise<any>;
50
51
  export declare function getNodeWebhookUrl(name: WebhookType, workflow: Workflow, node: INode, additionalData: IWorkflowExecuteAdditionalData, mode: WorkflowExecuteMode, additionalKeys: IWorkflowDataProxyAdditionalKeys, isTest?: boolean): string | undefined;
51
52
  export declare function getWebhookDescription(name: WebhookType, workflow: Workflow, node: INode): IWebhookDescription | undefined;
52
- export declare const addExecutionDataFunctions: (type: "input" | "output", nodeName: string, data: INodeExecutionData[][] | ExecutionBaseError, runExecutionData: IRunExecutionData, connectionType: NodeConnectionType, additionalData: IWorkflowExecuteAdditionalData, sourceNodeName: string, sourceNodeRunIndex: number, currentNodeRunIndex: number, metadata?: ITaskMetadata) => Promise<void>;
53
- export declare function getInputConnectionData(this: IAllExecuteFunctions, workflow: Workflow, runExecutionData: IRunExecutionData, runIndex: number, connectionInputData: INodeExecutionData[], inputData: ITaskDataConnections, additionalData: IWorkflowExecuteAdditionalData, executeData: IExecuteData, mode: WorkflowExecuteMode, closeFunctions: CloseFunction[], inputName: NodeConnectionType, itemIndex: number, abortSignal?: AbortSignal): Promise<unknown>;
53
+ export declare function getInputConnectionData(this: IAllExecuteFunctions, workflow: Workflow, runExecutionData: IRunExecutionData, parentRunIndex: number, connectionInputData: INodeExecutionData[], parentInputData: ITaskDataConnections, additionalData: IWorkflowExecuteAdditionalData, executeData: IExecuteData, mode: WorkflowExecuteMode, closeFunctions: CloseFunction[], connectionType: NodeConnectionType, itemIndex: number, abortSignal?: AbortSignal): Promise<unknown>;
54
54
  export declare const getRequestHelperFunctions: (workflow: Workflow, node: INode, additionalData: IWorkflowExecuteAdditionalData, runExecutionData?: IRunExecutionData | null, connectionInputData?: INodeExecutionData[]) => RequestHelperFunctions;
55
55
  export declare const getSSHTunnelFunctions: () => SSHTunnelFunctions;
56
56
  export declare const getSchedulingFunctions: (workflow: Workflow) => SchedulingFunctions;