n8n 2.15.1 → 2.17.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 (615) hide show
  1. package/README.md +1 -1
  2. package/dist/active-workflow-manager.d.ts +3 -1
  3. package/dist/active-workflow-manager.js +62 -16
  4. package/dist/active-workflow-manager.js.map +1 -1
  5. package/dist/auth/auth.service.d.ts +5 -2
  6. package/dist/auth/auth.service.js +11 -6
  7. package/dist/auth/auth.service.js.map +1 -1
  8. package/dist/build.tsbuildinfo +1 -1
  9. package/dist/commands/base-command.js +13 -1
  10. package/dist/commands/base-command.js.map +1 -1
  11. package/dist/commands/start.d.ts +1 -0
  12. package/dist/commands/start.js +7 -0
  13. package/dist/commands/start.js.map +1 -1
  14. package/dist/constants.d.ts +2 -0
  15. package/dist/constants.js +5 -1
  16. package/dist/constants.js.map +1 -1
  17. package/dist/controllers/ai.controller.d.ts +11 -2
  18. package/dist/controllers/ai.controller.js +56 -4
  19. package/dist/controllers/ai.controller.js.map +1 -1
  20. package/dist/controllers/auth.controller.js +1 -1
  21. package/dist/controllers/auth.controller.js.map +1 -1
  22. package/dist/controllers/e2e.controller.js +5 -0
  23. package/dist/controllers/e2e.controller.js.map +1 -1
  24. package/dist/controllers/me.controller.d.ts +1 -0
  25. package/dist/controllers/me.controller.js +12 -0
  26. package/dist/controllers/me.controller.js.map +1 -1
  27. package/dist/controllers/project.controller.d.ts +3 -1
  28. package/dist/controllers/project.controller.js +9 -2
  29. package/dist/controllers/project.controller.js.map +1 -1
  30. package/dist/controllers/role.controller.d.ts +6 -4
  31. package/dist/controllers/role.controller.js +28 -8
  32. package/dist/controllers/role.controller.js.map +1 -1
  33. package/dist/controllers/users.controller.d.ts +4 -1
  34. package/dist/controllers/users.controller.js +8 -2
  35. package/dist/controllers/users.controller.js.map +1 -1
  36. package/dist/credentials/credentials.controller.js +4 -1
  37. package/dist/credentials/credentials.controller.js.map +1 -1
  38. package/dist/credentials/credentials.service.d.ts +10 -6
  39. package/dist/credentials/credentials.service.js +98 -26
  40. package/dist/credentials/credentials.service.js.map +1 -1
  41. package/dist/credentials/validation.js +2 -2
  42. package/dist/credentials/validation.js.map +1 -1
  43. package/dist/credentials-helper.d.ts +3 -1
  44. package/dist/credentials-helper.js +21 -3
  45. package/dist/credentials-helper.js.map +1 -1
  46. package/dist/errors/http-error-classifier.d.ts +31 -0
  47. package/dist/errors/http-error-classifier.js +60 -0
  48. package/dist/errors/http-error-classifier.js.map +1 -0
  49. package/dist/errors/http-error-serializers.d.ts +18 -0
  50. package/dist/errors/http-error-serializers.js +64 -0
  51. package/dist/errors/http-error-serializers.js.map +1 -0
  52. package/dist/eventbus/event-message-classes/index.d.ts +2 -2
  53. package/dist/eventbus/event-message-classes/index.js +10 -0
  54. package/dist/eventbus/event-message-classes/index.js.map +1 -1
  55. package/dist/events/maps/relay.event-map.d.ts +114 -0
  56. package/dist/events/relays/log-streaming.event-relay.d.ts +10 -0
  57. package/dist/events/relays/log-streaming.event-relay.js +108 -2
  58. package/dist/events/relays/log-streaming.event-relay.js.map +1 -1
  59. package/dist/events/relays/telemetry.event-relay.d.ts +5 -0
  60. package/dist/events/relays/telemetry.event-relay.js +58 -5
  61. package/dist/events/relays/telemetry.event-relay.js.map +1 -1
  62. package/dist/execution-lifecycle/execution-lifecycle-hooks.d.ts +1 -1
  63. package/dist/execution-lifecycle/execution-lifecycle-hooks.js +24 -9
  64. package/dist/execution-lifecycle/execution-lifecycle-hooks.js.map +1 -1
  65. package/dist/executions/execution.service.js +2 -1
  66. package/dist/executions/execution.service.js.map +1 -1
  67. package/dist/instance-settings-loader/instance-settings-loader.service.d.ts +9 -0
  68. package/dist/instance-settings-loader/instance-settings-loader.service.js +36 -0
  69. package/dist/instance-settings-loader/instance-settings-loader.service.js.map +1 -0
  70. package/dist/instance-settings-loader/loaders/owner.instance-settings-loader.d.ts +10 -0
  71. package/dist/instance-settings-loader/loaders/owner.instance-settings-loader.js +72 -0
  72. package/dist/instance-settings-loader/loaders/owner.instance-settings-loader.js.map +1 -0
  73. package/dist/modules/chat-hub/chat-hub-workflow.service.d.ts +1 -0
  74. package/dist/modules/chat-hub/chat-hub-workflow.service.js +18 -2
  75. package/dist/modules/chat-hub/chat-hub-workflow.service.js.map +1 -1
  76. package/dist/modules/chat-hub/chat-hub.types.d.ts +5 -0
  77. package/dist/modules/chat-hub/chat-hub.types.js +1 -0
  78. package/dist/modules/chat-hub/chat-hub.types.js.map +1 -1
  79. package/dist/modules/chat-hub/context-limits.js +10 -0
  80. package/dist/modules/chat-hub/context-limits.js.map +1 -1
  81. package/dist/modules/chat-hub/stream-capturer.js +3 -0
  82. package/dist/modules/chat-hub/stream-capturer.js.map +1 -1
  83. package/dist/modules/community-packages/community-node-types-utils.d.ts +2 -2
  84. package/dist/modules/community-packages/community-node-types-utils.js +4 -4
  85. package/dist/modules/community-packages/community-node-types-utils.js.map +1 -1
  86. package/dist/modules/community-packages/strapi-utils.d.ts +1 -1
  87. package/dist/modules/data-table/data-table-proxy.service.d.ts +44 -2
  88. package/dist/modules/data-table/data-table-proxy.service.js +86 -2
  89. package/dist/modules/data-table/data-table-proxy.service.js.map +1 -1
  90. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/oauth2-introspection-identifier.d.ts +2 -2
  91. package/dist/modules/dynamic-credentials.ee/services/resolver-config-expression.service.js +10 -4
  92. package/dist/modules/dynamic-credentials.ee/services/resolver-config-expression.service.js.map +1 -1
  93. package/dist/modules/external-secrets.ee/external-secrets-settings.controller.ee.d.ts +5 -2
  94. package/dist/modules/external-secrets.ee/external-secrets-settings.controller.ee.js +10 -3
  95. package/dist/modules/external-secrets.ee/external-secrets-settings.controller.ee.js.map +1 -1
  96. package/dist/modules/external-secrets.ee/secrets-providers-connections.controller.ee.js +5 -5
  97. package/dist/modules/external-secrets.ee/secrets-providers-connections.controller.ee.js.map +1 -1
  98. package/dist/modules/external-secrets.ee/secrets-providers-connections.service.ee.d.ts +6 -6
  99. package/dist/modules/external-secrets.ee/secrets-providers-connections.service.ee.js +14 -9
  100. package/dist/modules/external-secrets.ee/secrets-providers-connections.service.ee.js.map +1 -1
  101. package/dist/modules/external-secrets.ee/secrets-providers-project.controller.ee.js +3 -3
  102. package/dist/modules/external-secrets.ee/secrets-providers-project.controller.ee.js.map +1 -1
  103. package/dist/modules/instance-ai/compaction.service.d.ts +19 -0
  104. package/dist/modules/instance-ai/compaction.service.js +213 -0
  105. package/dist/modules/instance-ai/compaction.service.js.map +1 -0
  106. package/dist/modules/instance-ai/entities/index.d.ts +7 -0
  107. package/dist/modules/instance-ai/entities/index.js +18 -0
  108. package/dist/modules/instance-ai/entities/index.js.map +1 -0
  109. package/dist/modules/instance-ai/entities/instance-ai-iteration-log.entity.d.ts +7 -0
  110. package/dist/modules/instance-ai/entities/instance-ai-iteration-log.entity.js +38 -0
  111. package/dist/modules/instance-ai/entities/instance-ai-iteration-log.entity.js.map +1 -0
  112. package/dist/modules/instance-ai/entities/instance-ai-message.entity.d.ts +9 -0
  113. package/dist/modules/instance-ai/entities/instance-ai-message.entity.js +47 -0
  114. package/dist/modules/instance-ai/entities/instance-ai-message.entity.js.map +1 -0
  115. package/dist/modules/instance-ai/entities/instance-ai-observational-memory.entity.d.ts +33 -0
  116. package/dist/modules/instance-ai/entities/instance-ai-observational-memory.entity.js +145 -0
  117. package/dist/modules/instance-ai/entities/instance-ai-observational-memory.entity.js.map +1 -0
  118. package/dist/modules/instance-ai/entities/instance-ai-resource.entity.d.ts +6 -0
  119. package/dist/modules/instance-ai/entities/instance-ai-resource.entity.js +33 -0
  120. package/dist/modules/instance-ai/entities/instance-ai-resource.entity.js.map +1 -0
  121. package/dist/modules/instance-ai/entities/instance-ai-run-snapshot.entity.d.ts +8 -0
  122. package/dist/modules/instance-ai/entities/instance-ai-run-snapshot.entity.js +43 -0
  123. package/dist/modules/instance-ai/entities/instance-ai-run-snapshot.entity.js.map +1 -0
  124. package/dist/modules/instance-ai/entities/instance-ai-thread.entity.d.ts +7 -0
  125. package/dist/modules/instance-ai/entities/instance-ai-thread.entity.js +38 -0
  126. package/dist/modules/instance-ai/entities/instance-ai-thread.entity.js.map +1 -0
  127. package/dist/modules/instance-ai/entities/instance-ai-workflow-snapshot.entity.d.ts +8 -0
  128. package/dist/modules/instance-ai/entities/instance-ai-workflow-snapshot.entity.js +41 -0
  129. package/dist/modules/instance-ai/entities/instance-ai-workflow-snapshot.entity.js.map +1 -0
  130. package/dist/modules/instance-ai/eval/api-docs.d.ts +1 -0
  131. package/dist/modules/instance-ai/eval/api-docs.js +78 -0
  132. package/dist/modules/instance-ai/eval/api-docs.js.map +1 -0
  133. package/dist/modules/instance-ai/eval/execution.service.d.ts +25 -0
  134. package/dist/modules/instance-ai/eval/execution.service.js +291 -0
  135. package/dist/modules/instance-ai/eval/execution.service.js.map +1 -0
  136. package/dist/modules/instance-ai/eval/mock-handler.d.ts +9 -0
  137. package/dist/modules/instance-ai/eval/mock-handler.js +264 -0
  138. package/dist/modules/instance-ai/eval/mock-handler.js.map +1 -0
  139. package/dist/modules/instance-ai/eval/node-config.d.ts +2 -0
  140. package/dist/modules/instance-ai/eval/node-config.js +15 -0
  141. package/dist/modules/instance-ai/eval/node-config.js.map +1 -0
  142. package/dist/modules/instance-ai/eval/pin-data-generator.d.ts +12 -0
  143. package/dist/modules/instance-ai/eval/pin-data-generator.js +301 -0
  144. package/dist/modules/instance-ai/eval/pin-data-generator.js.map +1 -0
  145. package/dist/modules/instance-ai/eval/request-sanitizer.d.ts +3 -0
  146. package/dist/modules/instance-ai/eval/request-sanitizer.js +50 -0
  147. package/dist/modules/instance-ai/eval/request-sanitizer.js.map +1 -0
  148. package/dist/modules/instance-ai/eval/workflow-analysis.d.ts +16 -0
  149. package/dist/modules/instance-ai/eval/workflow-analysis.js +217 -0
  150. package/dist/modules/instance-ai/eval/workflow-analysis.js.map +1 -0
  151. package/dist/modules/instance-ai/event-bus/in-process-event-bus.d.ts +19 -0
  152. package/dist/modules/instance-ai/event-bus/in-process-event-bus.js +98 -0
  153. package/dist/modules/instance-ai/event-bus/in-process-event-bus.js.map +1 -0
  154. package/dist/modules/instance-ai/filesystem/index.d.ts +3 -0
  155. package/dist/modules/instance-ai/filesystem/index.js +8 -0
  156. package/dist/modules/instance-ai/filesystem/index.js.map +1 -0
  157. package/dist/modules/instance-ai/filesystem/local-gateway-registry.d.ts +29 -0
  158. package/dist/modules/instance-ai/filesystem/local-gateway-registry.js +137 -0
  159. package/dist/modules/instance-ai/filesystem/local-gateway-registry.js.map +1 -0
  160. package/dist/modules/instance-ai/filesystem/local-gateway.d.ts +35 -0
  161. package/dist/modules/instance-ai/filesystem/local-gateway.js +99 -0
  162. package/dist/modules/instance-ai/filesystem/local-gateway.js.map +1 -0
  163. package/dist/modules/instance-ai/instance-ai-memory.service.d.ts +40 -0
  164. package/dist/modules/instance-ai/instance-ai-memory.service.js +245 -0
  165. package/dist/modules/instance-ai/instance-ai-memory.service.js.map +1 -0
  166. package/dist/modules/instance-ai/instance-ai-settings.service.d.ts +59 -0
  167. package/dist/modules/instance-ai/instance-ai-settings.service.js +450 -0
  168. package/dist/modules/instance-ai/instance-ai-settings.service.js.map +1 -0
  169. package/dist/modules/instance-ai/instance-ai.adapter.service.d.ts +91 -0
  170. package/dist/modules/instance-ai/instance-ai.adapter.service.js +1885 -0
  171. package/dist/modules/instance-ai/instance-ai.adapter.service.js.map +1 -0
  172. package/dist/modules/instance-ai/instance-ai.controller.d.ts +101 -0
  173. package/dist/modules/instance-ai/instance-ai.controller.js +670 -0
  174. package/dist/modules/instance-ai/instance-ai.controller.js.map +1 -0
  175. package/dist/modules/instance-ai/instance-ai.module.d.ts +12 -0
  176. package/dist/modules/instance-ai/instance-ai.module.js +118 -0
  177. package/dist/modules/instance-ai/instance-ai.module.js.map +1 -0
  178. package/dist/modules/instance-ai/instance-ai.service.d.ts +133 -0
  179. package/dist/modules/instance-ai/instance-ai.service.js +1802 -0
  180. package/dist/modules/instance-ai/instance-ai.service.js.map +1 -0
  181. package/dist/modules/instance-ai/internal-messages.d.ts +2 -0
  182. package/dist/modules/instance-ai/internal-messages.js +11 -0
  183. package/dist/modules/instance-ai/internal-messages.js.map +1 -0
  184. package/dist/modules/instance-ai/message-parser.d.ts +12 -0
  185. package/dist/modules/instance-ai/message-parser.js +171 -0
  186. package/dist/modules/instance-ai/message-parser.js.map +1 -0
  187. package/dist/modules/instance-ai/node-definition-resolver.d.ts +19 -0
  188. package/dist/modules/instance-ai/node-definition-resolver.js +290 -0
  189. package/dist/modules/instance-ai/node-definition-resolver.js.map +1 -0
  190. package/dist/modules/instance-ai/proxy-token-manager.d.ts +15 -0
  191. package/dist/modules/instance-ai/proxy-token-manager.js +64 -0
  192. package/dist/modules/instance-ai/proxy-token-manager.js.map +1 -0
  193. package/dist/modules/instance-ai/repositories/index.d.ts +7 -0
  194. package/dist/modules/instance-ai/repositories/index.js +18 -0
  195. package/dist/modules/instance-ai/repositories/index.js.map +1 -0
  196. package/dist/modules/instance-ai/repositories/instance-ai-iteration-log.repository.d.ts +5 -0
  197. package/dist/modules/instance-ai/repositories/instance-ai-iteration-log.repository.js +26 -0
  198. package/dist/modules/instance-ai/repositories/instance-ai-iteration-log.repository.js.map +1 -0
  199. package/dist/modules/instance-ai/repositories/instance-ai-message.repository.d.ts +5 -0
  200. package/dist/modules/instance-ai/repositories/instance-ai-message.repository.js +26 -0
  201. package/dist/modules/instance-ai/repositories/instance-ai-message.repository.js.map +1 -0
  202. package/dist/modules/instance-ai/repositories/instance-ai-observational-memory.repository.d.ts +5 -0
  203. package/dist/modules/instance-ai/repositories/instance-ai-observational-memory.repository.js +26 -0
  204. package/dist/modules/instance-ai/repositories/instance-ai-observational-memory.repository.js.map +1 -0
  205. package/dist/modules/instance-ai/repositories/instance-ai-resource.repository.d.ts +5 -0
  206. package/dist/modules/instance-ai/repositories/instance-ai-resource.repository.js +26 -0
  207. package/dist/modules/instance-ai/repositories/instance-ai-resource.repository.js.map +1 -0
  208. package/dist/modules/instance-ai/repositories/instance-ai-run-snapshot.repository.d.ts +5 -0
  209. package/dist/modules/instance-ai/repositories/instance-ai-run-snapshot.repository.js +26 -0
  210. package/dist/modules/instance-ai/repositories/instance-ai-run-snapshot.repository.js.map +1 -0
  211. package/dist/modules/instance-ai/repositories/instance-ai-thread.repository.d.ts +5 -0
  212. package/dist/modules/instance-ai/repositories/instance-ai-thread.repository.js +26 -0
  213. package/dist/modules/instance-ai/repositories/instance-ai-thread.repository.js.map +1 -0
  214. package/dist/modules/instance-ai/repositories/instance-ai-workflow-snapshot.repository.d.ts +5 -0
  215. package/dist/modules/instance-ai/repositories/instance-ai-workflow-snapshot.repository.js +26 -0
  216. package/dist/modules/instance-ai/repositories/instance-ai-workflow-snapshot.repository.js.map +1 -0
  217. package/dist/modules/instance-ai/snapshot-pruning.service.d.ts +17 -0
  218. package/dist/modules/instance-ai/snapshot-pruning.service.js +89 -0
  219. package/dist/modules/instance-ai/snapshot-pruning.service.js.map +1 -0
  220. package/dist/modules/instance-ai/storage/db-iteration-log-storage.d.ts +9 -0
  221. package/dist/modules/instance-ai/storage/db-iteration-log-storage.js +45 -0
  222. package/dist/modules/instance-ai/storage/db-iteration-log-storage.js.map +1 -0
  223. package/dist/modules/instance-ai/storage/db-snapshot-storage.d.ts +14 -0
  224. package/dist/modules/instance-ai/storage/db-snapshot-storage.js +99 -0
  225. package/dist/modules/instance-ai/storage/db-snapshot-storage.js.map +1 -0
  226. package/dist/modules/instance-ai/storage/index.d.ts +5 -0
  227. package/dist/modules/instance-ai/storage/index.js +14 -0
  228. package/dist/modules/instance-ai/storage/index.js.map +1 -0
  229. package/dist/modules/instance-ai/storage/typeorm-composite-store.d.ts +9 -0
  230. package/dist/modules/instance-ai/storage/typeorm-composite-store.js +33 -0
  231. package/dist/modules/instance-ai/storage/typeorm-composite-store.js.map +1 -0
  232. package/dist/modules/instance-ai/storage/typeorm-memory-storage.d.ts +96 -0
  233. package/dist/modules/instance-ai/storage/typeorm-memory-storage.js +853 -0
  234. package/dist/modules/instance-ai/storage/typeorm-memory-storage.js.map +1 -0
  235. package/dist/modules/instance-ai/storage/typeorm-workflows-storage.d.ts +44 -0
  236. package/dist/modules/instance-ai/storage/typeorm-workflows-storage.js +156 -0
  237. package/dist/modules/instance-ai/storage/typeorm-workflows-storage.js.map +1 -0
  238. package/dist/modules/instance-ai/web-research/brave-search.d.ts +10 -0
  239. package/dist/modules/instance-ai/web-research/brave-search.js +44 -0
  240. package/dist/modules/instance-ai/web-research/brave-search.js.map +1 -0
  241. package/dist/modules/instance-ai/web-research/cache.d.ts +13 -0
  242. package/dist/modules/instance-ai/web-research/cache.js +43 -0
  243. package/dist/modules/instance-ai/web-research/cache.js.map +1 -0
  244. package/dist/modules/instance-ai/web-research/fetch-and-extract.d.ts +8 -0
  245. package/dist/modules/instance-ai/web-research/fetch-and-extract.js +231 -0
  246. package/dist/modules/instance-ai/web-research/fetch-and-extract.js.map +1 -0
  247. package/dist/modules/instance-ai/web-research/index.d.ts +7 -0
  248. package/dist/modules/instance-ai/web-research/index.js +16 -0
  249. package/dist/modules/instance-ai/web-research/index.js.map +1 -0
  250. package/dist/modules/instance-ai/web-research/searxng-search.d.ts +6 -0
  251. package/dist/modules/instance-ai/web-research/searxng-search.js +39 -0
  252. package/dist/modules/instance-ai/web-research/searxng-search.js.map +1 -0
  253. package/dist/modules/instance-ai/web-research/ssrf-guard.d.ts +1 -0
  254. package/dist/modules/instance-ai/web-research/ssrf-guard.js +85 -0
  255. package/dist/modules/instance-ai/web-research/ssrf-guard.js.map +1 -0
  256. package/dist/modules/instance-ai/web-research/summarize-content.d.ts +4 -0
  257. package/dist/modules/instance-ai/web-research/summarize-content.js +34 -0
  258. package/dist/modules/instance-ai/web-research/summarize-content.js.map +1 -0
  259. package/dist/modules/instance-registry/instance-registry.types.d.ts +1 -0
  260. package/dist/modules/instance-registry/instance-registry.types.js +2 -1
  261. package/dist/modules/instance-registry/instance-registry.types.js.map +1 -1
  262. package/dist/modules/instance-registry/storage/instance-storage.interface.d.ts +1 -0
  263. package/dist/modules/instance-registry/storage/lua-scripts.d.ts +4 -0
  264. package/dist/modules/instance-registry/storage/lua-scripts.js +39 -0
  265. package/dist/modules/instance-registry/storage/lua-scripts.js.map +1 -0
  266. package/dist/modules/instance-registry/storage/memory-storage.d.ts +1 -0
  267. package/dist/modules/instance-registry/storage/memory-storage.js +1 -0
  268. package/dist/modules/instance-registry/storage/memory-storage.js.map +1 -1
  269. package/dist/modules/instance-registry/storage/redis-instance-storage.d.ts +25 -0
  270. package/dist/modules/instance-registry/storage/redis-instance-storage.js +185 -0
  271. package/dist/modules/instance-registry/storage/redis-instance-storage.js.map +1 -0
  272. package/dist/modules/instance-version-history/database/entities/instance-version-history.entity.d.ts +7 -0
  273. package/dist/modules/instance-version-history/database/entities/instance-version-history.entity.js +37 -0
  274. package/dist/modules/instance-version-history/database/entities/instance-version-history.entity.js.map +1 -0
  275. package/dist/modules/instance-version-history/database/repositories/instance-version-history.repository.d.ts +5 -0
  276. package/dist/modules/instance-version-history/database/repositories/instance-version-history.repository.js +26 -0
  277. package/dist/modules/instance-version-history/database/repositories/instance-version-history.repository.js.map +1 -0
  278. package/dist/modules/instance-version-history/instance-version-history.controller.d.ts +26 -0
  279. package/dist/modules/instance-version-history/instance-version-history.controller.js +85 -0
  280. package/dist/modules/instance-version-history/instance-version-history.controller.js.map +1 -0
  281. package/dist/modules/instance-version-history/instance-version-history.module.d.ts +5 -0
  282. package/dist/modules/instance-version-history/instance-version-history.module.js +60 -0
  283. package/dist/modules/instance-version-history/instance-version-history.module.js.map +1 -0
  284. package/dist/modules/instance-version-history/instance-version-history.service.d.ts +18 -0
  285. package/dist/modules/instance-version-history/instance-version-history.service.js +120 -0
  286. package/dist/modules/instance-version-history/instance-version-history.service.js.map +1 -0
  287. package/dist/modules/instance-version-history/instance-version-history.types.d.ts +12 -0
  288. package/dist/modules/instance-version-history/instance-version-history.types.js +27 -0
  289. package/dist/modules/instance-version-history/instance-version-history.types.js.map +1 -0
  290. package/dist/modules/log-streaming.ee/log-streaming.controller.js.map +1 -1
  291. package/dist/modules/mcp/mcp.service.d.ts +3 -1
  292. package/dist/modules/mcp/mcp.service.js +22 -3
  293. package/dist/modules/mcp/mcp.service.js.map +1 -1
  294. package/dist/modules/mcp/mcp.types.d.ts +1 -1
  295. package/dist/modules/mcp/tools/data-table/add-data-table-column.tool.d.ts +13 -0
  296. package/dist/modules/mcp/tools/data-table/add-data-table-column.tool.js +69 -0
  297. package/dist/modules/mcp/tools/data-table/add-data-table-column.tool.js.map +1 -0
  298. package/dist/modules/mcp/tools/data-table/add-data-table-rows.tool.d.ts +12 -0
  299. package/dist/modules/mcp/tools/data-table/add-data-table-rows.tool.js +77 -0
  300. package/dist/modules/mcp/tools/data-table/add-data-table-rows.tool.js.map +1 -0
  301. package/dist/modules/mcp/tools/data-table/create-data-table.tool.d.ts +21 -0
  302. package/dist/modules/mcp/tools/data-table/create-data-table.tool.js +92 -0
  303. package/dist/modules/mcp/tools/data-table/create-data-table.tool.js.map +1 -0
  304. package/dist/modules/mcp/tools/data-table/delete-data-table-column.tool.d.ts +12 -0
  305. package/dist/modules/mcp/tools/data-table/delete-data-table-column.tool.js +60 -0
  306. package/dist/modules/mcp/tools/data-table/delete-data-table-column.tool.js.map +1 -0
  307. package/dist/modules/mcp/tools/data-table/index.d.ts +7 -0
  308. package/dist/modules/mcp/tools/data-table/index.js +18 -0
  309. package/dist/modules/mcp/tools/data-table/index.js.map +1 -0
  310. package/dist/modules/mcp/tools/data-table/rename-data-table-column.tool.d.ts +13 -0
  311. package/dist/modules/mcp/tools/data-table/rename-data-table-column.tool.js +70 -0
  312. package/dist/modules/mcp/tools/data-table/rename-data-table-column.tool.js.map +1 -0
  313. package/dist/modules/mcp/tools/data-table/rename-data-table.tool.d.ts +12 -0
  314. package/dist/modules/mcp/tools/data-table/rename-data-table.tool.js +60 -0
  315. package/dist/modules/mcp/tools/data-table/rename-data-table.tool.js.map +1 -0
  316. package/dist/modules/mcp/tools/data-table/search-data-tables.tool.d.ts +12 -0
  317. package/dist/modules/mcp/tools/data-table/search-data-tables.tool.js +93 -0
  318. package/dist/modules/mcp/tools/data-table/search-data-tables.tool.js.map +1 -0
  319. package/dist/modules/mcp/tools/execute-workflow.tool.d.ts +3 -4
  320. package/dist/modules/mcp/tools/execute-workflow.tool.js +10 -25
  321. package/dist/modules/mcp/tools/execute-workflow.tool.js.map +1 -1
  322. package/dist/modules/mcp/tools/get-execution.tool.js +4 -8
  323. package/dist/modules/mcp/tools/get-execution.tool.js.map +1 -1
  324. package/dist/modules/mcp/tools/schemas.d.ts +73 -2
  325. package/dist/modules/mcp/tools/schemas.js +41 -1
  326. package/dist/modules/mcp/tools/schemas.js.map +1 -1
  327. package/dist/modules/mcp/tools/search-folders.tool.js +2 -7
  328. package/dist/modules/mcp/tools/search-folders.tool.js.map +1 -1
  329. package/dist/modules/mcp/tools/search-projects.tool.js +2 -7
  330. package/dist/modules/mcp/tools/search-projects.tool.js.map +1 -1
  331. package/dist/modules/mcp/tools/search-workflows.tool.js +2 -7
  332. package/dist/modules/mcp/tools/search-workflows.tool.js.map +1 -1
  333. package/dist/modules/mcp/tools/workflow-builder/get-suggested-workflow-nodes.tool.js +1 -37
  334. package/dist/modules/mcp/tools/workflow-builder/get-suggested-workflow-nodes.tool.js.map +1 -1
  335. package/dist/modules/mcp/tools/workflow-builder/get-workflow-node-types.tool.js +1 -37
  336. package/dist/modules/mcp/tools/workflow-builder/get-workflow-node-types.tool.js.map +1 -1
  337. package/dist/modules/mcp/tools/workflow-builder/search-workflow-nodes.tool.js +1 -37
  338. package/dist/modules/mcp/tools/workflow-builder/search-workflow-nodes.tool.js.map +1 -1
  339. package/dist/modules/mcp/tools/workflow-builder/workflow-builder-tools.service.d.ts +17 -0
  340. package/dist/modules/mcp/tools/workflow-builder/workflow-builder-tools.service.js +48 -0
  341. package/dist/modules/mcp/tools/workflow-builder/workflow-builder-tools.service.js.map +1 -1
  342. package/dist/modules/otel/handlers/node-end.handler.d.ts +8 -0
  343. package/dist/modules/otel/handlers/node-end.handler.js +71 -0
  344. package/dist/modules/otel/handlers/node-end.handler.js.map +1 -0
  345. package/dist/modules/otel/handlers/node-start.handler.d.ts +7 -0
  346. package/dist/modules/otel/handlers/node-start.handler.js +37 -0
  347. package/dist/modules/otel/handlers/node-start.handler.js.map +1 -0
  348. package/dist/modules/otel/handlers/workflow-end.handler.d.ts +1 -0
  349. package/dist/modules/otel/handlers/workflow-end.handler.js +8 -0
  350. package/dist/modules/otel/handlers/workflow-end.handler.js.map +1 -1
  351. package/dist/modules/otel/n8n-instrumentation.d.ts +8 -2
  352. package/dist/modules/otel/n8n-instrumentation.js +32 -1
  353. package/dist/modules/otel/n8n-instrumentation.js.map +1 -1
  354. package/dist/modules/otel/otel.config.d.ts +1 -0
  355. package/dist/modules/otel/otel.config.js +5 -0
  356. package/dist/modules/otel/otel.config.js.map +1 -1
  357. package/dist/modules/otel/otel.constants.d.ts +7 -0
  358. package/dist/modules/otel/otel.constants.js +7 -0
  359. package/dist/modules/otel/otel.constants.js.map +1 -1
  360. package/dist/modules/otel/otel.service.d.ts +1 -1
  361. package/dist/modules/otel/otel.service.js +20 -23
  362. package/dist/modules/otel/otel.service.js.map +1 -1
  363. package/dist/modules/otel/span-registry.d.ts +1 -0
  364. package/dist/modules/otel/span-registry.js +11 -0
  365. package/dist/modules/otel/span-registry.js.map +1 -1
  366. package/dist/modules/provisioning.ee/provisioning.service.ee.d.ts +17 -3
  367. package/dist/modules/provisioning.ee/provisioning.service.ee.js +195 -8
  368. package/dist/modules/provisioning.ee/provisioning.service.ee.js.map +1 -1
  369. package/dist/modules/provisioning.ee/role-mapping-rule.controller.ee.d.ts +7 -5
  370. package/dist/modules/provisioning.ee/role-mapping-rule.controller.ee.js +40 -10
  371. package/dist/modules/provisioning.ee/role-mapping-rule.controller.ee.js.map +1 -1
  372. package/dist/modules/provisioning.ee/role-mapping-rule.service.ee.d.ts +3 -1
  373. package/dist/modules/provisioning.ee/role-mapping-rule.service.ee.js +1 -0
  374. package/dist/modules/provisioning.ee/role-mapping-rule.service.ee.js.map +1 -1
  375. package/dist/modules/provisioning.ee/role-resolver-types.d.ts +14 -2
  376. package/dist/modules/provisioning.ee/role-resolver.service.ee.js +16 -6
  377. package/dist/modules/provisioning.ee/role-resolver.service.ee.js.map +1 -1
  378. package/dist/modules/redaction/executions/execution-redaction.service.d.ts +3 -2
  379. package/dist/modules/redaction/executions/execution-redaction.service.js +5 -1
  380. package/dist/modules/redaction/executions/execution-redaction.service.js.map +1 -1
  381. package/dist/modules/redaction/redaction.module.js +0 -6
  382. package/dist/modules/redaction/redaction.module.js.map +1 -1
  383. package/dist/modules/source-control.ee/source-control-context.factory.d.ts +12 -0
  384. package/dist/modules/source-control.ee/source-control-context.factory.js +112 -0
  385. package/dist/modules/source-control.ee/source-control-context.factory.js.map +1 -0
  386. package/dist/modules/source-control.ee/source-control-export.service.ee.d.ts +2 -2
  387. package/dist/modules/source-control.ee/source-control-export.service.ee.js +9 -11
  388. package/dist/modules/source-control.ee/source-control-export.service.ee.js.map +1 -1
  389. package/dist/modules/source-control.ee/source-control-git.service.ee.js +3 -3
  390. package/dist/modules/source-control.ee/source-control-git.service.ee.js.map +1 -1
  391. package/dist/modules/source-control.ee/source-control-import.service.ee.d.ts +6 -4
  392. package/dist/modules/source-control.ee/source-control-import.service.ee.js +29 -85
  393. package/dist/modules/source-control.ee/source-control-import.service.ee.js.map +1 -1
  394. package/dist/modules/source-control.ee/source-control-scoped.service.d.ts +4 -4
  395. package/dist/modules/source-control.ee/source-control-scoped.service.js +9 -40
  396. package/dist/modules/source-control.ee/source-control-scoped.service.js.map +1 -1
  397. package/dist/modules/source-control.ee/source-control-status.service.ee.d.ts +3 -1
  398. package/dist/modules/source-control.ee/source-control-status.service.ee.js +99 -59
  399. package/dist/modules/source-control.ee/source-control-status.service.ee.js.map +1 -1
  400. package/dist/modules/source-control.ee/source-control.service.ee.d.ts +3 -1
  401. package/dist/modules/source-control.ee/source-control.service.ee.js +6 -4
  402. package/dist/modules/source-control.ee/source-control.service.ee.js.map +1 -1
  403. package/dist/modules/source-control.ee/types/source-control-context.d.ts +12 -4
  404. package/dist/modules/source-control.ee/types/source-control-context.js +32 -6
  405. package/dist/modules/source-control.ee/types/source-control-context.js.map +1 -1
  406. package/dist/modules/sso-oidc/oidc.controller.ee.d.ts +4 -1
  407. package/dist/modules/sso-oidc/oidc.controller.ee.js +39 -3
  408. package/dist/modules/sso-oidc/oidc.controller.ee.js.map +1 -1
  409. package/dist/modules/sso-oidc/oidc.service.ee.d.ts +14 -2
  410. package/dist/modules/sso-oidc/oidc.service.ee.js +86 -8
  411. package/dist/modules/sso-oidc/oidc.service.ee.js.map +1 -1
  412. package/dist/modules/sso-oidc/views/oidc-test-result.d.ts +5 -0
  413. package/dist/modules/sso-oidc/views/oidc-test-result.js +58 -0
  414. package/dist/modules/sso-oidc/views/oidc-test-result.js.map +1 -0
  415. package/dist/modules/sso-saml/saml-helpers.d.ts +1 -0
  416. package/dist/modules/sso-saml/saml-helpers.js +2 -0
  417. package/dist/modules/sso-saml/saml-helpers.js.map +1 -1
  418. package/dist/modules/sso-saml/saml.controller.ee.d.ts +2 -3
  419. package/dist/modules/sso-saml/saml.controller.ee.js +3 -15
  420. package/dist/modules/sso-saml/saml.controller.ee.js.map +1 -1
  421. package/dist/modules/sso-saml/saml.service.ee.d.ts +4 -1
  422. package/dist/modules/sso-saml/saml.service.ee.js +13 -7
  423. package/dist/modules/sso-saml/saml.service.ee.js.map +1 -1
  424. package/dist/modules/token-exchange/controllers/embed-auth.controller.d.ts +19 -0
  425. package/dist/modules/token-exchange/controllers/embed-auth.controller.js +106 -0
  426. package/dist/modules/token-exchange/controllers/embed-auth.controller.js.map +1 -0
  427. package/dist/modules/token-exchange/controllers/token-exchange.controller.d.ts +9 -0
  428. package/dist/modules/token-exchange/controllers/token-exchange.controller.js +148 -0
  429. package/dist/modules/token-exchange/controllers/token-exchange.controller.js.map +1 -0
  430. package/dist/modules/token-exchange/database/entities/token-exchange-jti.entity.d.ts +5 -0
  431. package/dist/modules/token-exchange/database/entities/token-exchange-jti.entity.js +33 -0
  432. package/dist/modules/token-exchange/database/entities/token-exchange-jti.entity.js.map +1 -0
  433. package/dist/modules/token-exchange/database/entities/trusted-key-source.entity.d.ts +10 -0
  434. package/dist/modules/token-exchange/database/entities/trusted-key-source.entity.js +45 -0
  435. package/dist/modules/token-exchange/database/entities/trusted-key-source.entity.js.map +1 -0
  436. package/dist/modules/token-exchange/database/entities/trusted-key.entity.d.ts +9 -0
  437. package/dist/modules/token-exchange/database/entities/trusted-key.entity.js +43 -0
  438. package/dist/modules/token-exchange/database/entities/trusted-key.entity.js.map +1 -0
  439. package/dist/modules/token-exchange/database/repositories/token-exchange-jti.repository.d.ts +10 -0
  440. package/dist/modules/token-exchange/database/repositories/token-exchange-jti.repository.js +106 -0
  441. package/dist/modules/token-exchange/database/repositories/token-exchange-jti.repository.js.map +1 -0
  442. package/dist/modules/token-exchange/database/repositories/trusted-key-source.repository.d.ts +5 -0
  443. package/dist/modules/token-exchange/database/repositories/trusted-key-source.repository.js +26 -0
  444. package/dist/modules/token-exchange/database/repositories/trusted-key-source.repository.js.map +1 -0
  445. package/dist/modules/token-exchange/database/repositories/trusted-key.repository.d.ts +7 -0
  446. package/dist/modules/token-exchange/database/repositories/trusted-key.repository.js +32 -0
  447. package/dist/modules/token-exchange/database/repositories/trusted-key.repository.js.map +1 -0
  448. package/dist/modules/token-exchange/services/identity-resolution.service.d.ts +23 -0
  449. package/dist/modules/token-exchange/services/identity-resolution.service.js +195 -0
  450. package/dist/modules/token-exchange/services/identity-resolution.service.js.map +1 -0
  451. package/dist/modules/token-exchange/services/jti-cleanup.service.d.ts +18 -0
  452. package/dist/modules/token-exchange/services/jti-cleanup.service.js +90 -0
  453. package/dist/modules/token-exchange/services/jti-cleanup.service.js.map +1 -0
  454. package/dist/modules/token-exchange/services/jti-store.service.d.ts +6 -0
  455. package/dist/modules/token-exchange/services/jti-store.service.js +30 -0
  456. package/dist/modules/token-exchange/services/jti-store.service.js.map +1 -0
  457. package/dist/modules/token-exchange/services/jwks-resolver.d.ts +30 -0
  458. package/dist/modules/token-exchange/services/jwks-resolver.js +190 -0
  459. package/dist/modules/token-exchange/services/jwks-resolver.js.map +1 -0
  460. package/dist/modules/token-exchange/services/scoped-jwt.strategy.d.ts +12 -0
  461. package/dist/modules/token-exchange/services/scoped-jwt.strategy.js +92 -0
  462. package/dist/modules/token-exchange/services/scoped-jwt.strategy.js.map +1 -0
  463. package/dist/modules/token-exchange/services/token-exchange.service.d.ts +31 -0
  464. package/dist/modules/token-exchange/services/token-exchange.service.js +152 -0
  465. package/dist/modules/token-exchange/services/token-exchange.service.js.map +1 -0
  466. package/dist/modules/token-exchange/services/trusted-key.service.d.ts +47 -0
  467. package/dist/modules/token-exchange/services/trusted-key.service.js +465 -0
  468. package/dist/modules/token-exchange/services/trusted-key.service.js.map +1 -0
  469. package/dist/modules/token-exchange/token-exchange.config.d.ts +11 -0
  470. package/dist/modules/token-exchange/token-exchange.config.js +67 -0
  471. package/dist/modules/token-exchange/token-exchange.config.js.map +1 -0
  472. package/dist/modules/token-exchange/token-exchange.module.d.ts +5 -0
  473. package/dist/modules/token-exchange/token-exchange.module.js +79 -0
  474. package/dist/modules/token-exchange/token-exchange.module.js.map +1 -0
  475. package/dist/modules/token-exchange/token-exchange.schemas.d.ts +161 -0
  476. package/dist/modules/token-exchange/token-exchange.schemas.js +69 -0
  477. package/dist/modules/token-exchange/token-exchange.schemas.js.map +1 -0
  478. package/dist/modules/token-exchange/token-exchange.types.d.ts +53 -0
  479. package/dist/modules/token-exchange/token-exchange.types.js +5 -0
  480. package/dist/modules/token-exchange/token-exchange.types.js.map +1 -0
  481. package/dist/oauth/oauth.service.d.ts +1 -0
  482. package/dist/oauth/oauth.service.js +39 -2
  483. package/dist/oauth/oauth.service.js.map +1 -1
  484. package/dist/public-api/index.js +37 -9
  485. package/dist/public-api/index.js.map +1 -1
  486. package/dist/public-api/types.d.ts +28 -1
  487. package/dist/public-api/v1/handlers/community-packages/community-packages.handler.d.ts +19 -0
  488. package/dist/public-api/v1/handlers/community-packages/community-packages.handler.js +71 -0
  489. package/dist/public-api/v1/handlers/community-packages/community-packages.handler.js.map +1 -0
  490. package/dist/public-api/v1/handlers/community-packages/community-packages.mapper.d.ts +27 -0
  491. package/dist/public-api/v1/handlers/community-packages/community-packages.mapper.js +35 -0
  492. package/dist/public-api/v1/handlers/community-packages/community-packages.mapper.js.map +1 -0
  493. package/dist/public-api/v1/handlers/credentials/credentials.handler.js +7 -12
  494. package/dist/public-api/v1/handlers/credentials/credentials.handler.js.map +1 -1
  495. package/dist/public-api/v1/handlers/credentials/credentials.service.d.ts +3 -4
  496. package/dist/public-api/v1/handlers/credentials/credentials.service.js +21 -33
  497. package/dist/public-api/v1/handlers/credentials/credentials.service.js.map +1 -1
  498. package/dist/public-api/v1/handlers/data-tables/data-tables.handler.js +5 -5
  499. package/dist/public-api/v1/handlers/data-tables/data-tables.rows.handler.js +5 -5
  500. package/dist/public-api/v1/handlers/executions/executions.handler.js +56 -12
  501. package/dist/public-api/v1/handlers/executions/executions.handler.js.map +1 -1
  502. package/dist/public-api/v1/handlers/insights/insights.handler.d.ts +6 -0
  503. package/dist/public-api/v1/handlers/insights/insights.handler.js +57 -0
  504. package/dist/public-api/v1/handlers/insights/insights.handler.js.map +1 -0
  505. package/dist/public-api/v1/handlers/workflows/workflows.handler.js +14 -35
  506. package/dist/public-api/v1/handlers/workflows/workflows.handler.js.map +1 -1
  507. package/dist/public-api/v1/handlers/workflows/workflows.service.d.ts +6 -4
  508. package/dist/public-api/v1/handlers/workflows/workflows.service.js +7 -15
  509. package/dist/public-api/v1/handlers/workflows/workflows.service.js.map +1 -1
  510. package/dist/public-api/v1/openapi.yml +530 -9
  511. package/dist/public-api/v1/public-api-error-response.d.ts +2 -0
  512. package/dist/public-api/v1/public-api-error-response.js +11 -0
  513. package/dist/public-api/v1/public-api-error-response.js.map +1 -0
  514. package/dist/public-api/v1/shared/middlewares/global.middleware.d.ts +1 -1
  515. package/dist/public-api/v1/shared/middlewares/global.middleware.js +19 -8
  516. package/dist/public-api/v1/shared/middlewares/global.middleware.js.map +1 -1
  517. package/dist/push/abstract.push.d.ts +1 -0
  518. package/dist/push/abstract.push.js +3 -0
  519. package/dist/push/abstract.push.js.map +1 -1
  520. package/dist/push/sse.push.js +5 -1
  521. package/dist/push/sse.push.js.map +1 -1
  522. package/dist/push/websocket.push.js +3 -1
  523. package/dist/push/websocket.push.js.map +1 -1
  524. package/dist/response-helper.js +6 -29
  525. package/dist/response-helper.js.map +1 -1
  526. package/dist/scaling/pubsub/subscriber.service.d.ts +2 -0
  527. package/dist/scaling/pubsub/subscriber.service.js +17 -8
  528. package/dist/scaling/pubsub/subscriber.service.js.map +1 -1
  529. package/dist/scaling/redis/redis.types.d.ts +1 -1
  530. package/dist/security-audit/risk-reporters/credentials-risk-reporter.d.ts +2 -3
  531. package/dist/security-audit/risk-reporters/credentials-risk-reporter.js +2 -5
  532. package/dist/security-audit/risk-reporters/credentials-risk-reporter.js.map +1 -1
  533. package/dist/services/ai-gateway.service.d.ts +44 -0
  534. package/dist/services/ai-gateway.service.js +228 -0
  535. package/dist/services/ai-gateway.service.js.map +1 -0
  536. package/dist/services/ai-workflow-builder.service.d.ts +2 -2
  537. package/dist/services/ai-workflow-builder.service.js +4 -4
  538. package/dist/services/ai-workflow-builder.service.js.map +1 -1
  539. package/dist/services/ai.service.d.ts +4 -0
  540. package/dist/services/ai.service.js +20 -18
  541. package/dist/services/ai.service.js.map +1 -1
  542. package/dist/services/api-key-auth.strategy.d.ts +10 -0
  543. package/dist/services/api-key-auth.strategy.js +71 -0
  544. package/dist/services/api-key-auth.strategy.js.map +1 -0
  545. package/dist/services/auth-strategy.registry.d.ts +7 -0
  546. package/dist/services/auth-strategy.registry.js +32 -0
  547. package/dist/services/auth-strategy.registry.js.map +1 -0
  548. package/dist/services/auth-strategy.types.d.ts +4 -0
  549. package/dist/services/auth-strategy.types.js +3 -0
  550. package/dist/services/auth-strategy.types.js.map +1 -0
  551. package/dist/services/credentials-tester.service.js +2 -0
  552. package/dist/services/credentials-tester.service.js.map +1 -1
  553. package/dist/services/db-clock.service.d.ts +10 -0
  554. package/dist/services/db-clock.service.js +48 -0
  555. package/dist/services/db-clock.service.js.map +1 -0
  556. package/dist/services/frontend.service.js +9 -0
  557. package/dist/services/frontend.service.js.map +1 -1
  558. package/dist/services/import.service.d.ts +1 -0
  559. package/dist/services/import.service.js +25 -2
  560. package/dist/services/import.service.js.map +1 -1
  561. package/dist/services/ownership.service.d.ts +4 -1
  562. package/dist/services/ownership.service.js +11 -5
  563. package/dist/services/ownership.service.js.map +1 -1
  564. package/dist/services/project.service.ee.js +1 -1
  565. package/dist/services/project.service.ee.js.map +1 -1
  566. package/dist/services/pruning/workflow-history-compaction.service.js +4 -4
  567. package/dist/services/pruning/workflow-history-compaction.service.js.map +1 -1
  568. package/dist/services/public-api-key.service.d.ts +6 -13
  569. package/dist/services/public-api-key.service.js +12 -80
  570. package/dist/services/public-api-key.service.js.map +1 -1
  571. package/dist/services/user.service.js +6 -0
  572. package/dist/services/user.service.js.map +1 -1
  573. package/dist/utils/validate-redirect-url.d.ts +1 -0
  574. package/dist/utils/validate-redirect-url.js +17 -0
  575. package/dist/utils/validate-redirect-url.js.map +1 -0
  576. package/dist/wait-tracker.d.ts +6 -2
  577. package/dist/wait-tracker.js +94 -63
  578. package/dist/wait-tracker.js.map +1 -1
  579. package/dist/webhooks/live-webhooks.js +24 -18
  580. package/dist/webhooks/live-webhooks.js.map +1 -1
  581. package/dist/webhooks/test-webhooks.js +96 -78
  582. package/dist/webhooks/test-webhooks.js.map +1 -1
  583. package/dist/webhooks/waiting-webhooks.js +27 -21
  584. package/dist/webhooks/waiting-webhooks.js.map +1 -1
  585. package/dist/webhooks/webhook-form-data.js +6 -2
  586. package/dist/webhooks/webhook-form-data.js.map +1 -1
  587. package/dist/webhooks/webhook-helpers.js +21 -6
  588. package/dist/webhooks/webhook-helpers.js.map +1 -1
  589. package/dist/webhooks/webhook-last-node-response-extractor.d.ts +5 -2
  590. package/dist/webhooks/webhook-last-node-response-extractor.js +5 -8
  591. package/dist/webhooks/webhook-last-node-response-extractor.js.map +1 -1
  592. package/dist/webhooks/webhook.service.js +19 -4
  593. package/dist/webhooks/webhook.service.js.map +1 -1
  594. package/dist/workflow-execute-additional-data.js +2 -0
  595. package/dist/workflow-execute-additional-data.js.map +1 -1
  596. package/dist/workflow-helpers.d.ts +1 -0
  597. package/dist/workflow-helpers.js +21 -0
  598. package/dist/workflow-helpers.js.map +1 -1
  599. package/dist/workflow-runner.js +25 -1
  600. package/dist/workflow-runner.js.map +1 -1
  601. package/dist/workflows/workflow-creation.service.d.ts +8 -5
  602. package/dist/workflows/workflow-creation.service.js +40 -17
  603. package/dist/workflows/workflow-creation.service.js.map +1 -1
  604. package/dist/workflows/workflow-execution.service.js +1 -1
  605. package/dist/workflows/workflow-execution.service.js.map +1 -1
  606. package/dist/workflows/workflow-history/workflow-history.service.js +1 -0
  607. package/dist/workflows/workflow-history/workflow-history.service.js.map +1 -1
  608. package/dist/workflows/workflow-validation.service.js +3 -3
  609. package/dist/workflows/workflow-validation.service.js.map +1 -1
  610. package/dist/workflows/workflow.service.ee.js +4 -1
  611. package/dist/workflows/workflow.service.ee.js.map +1 -1
  612. package/dist/workflows/workflow.service.js +16 -2
  613. package/dist/workflows/workflow.service.js.map +1 -1
  614. package/dist/workflows/workflows.controller.d.ts +4 -4
  615. package/package.json +32 -30
@@ -13,6 +13,7 @@ servers:
13
13
  - url: /api/v1
14
14
  security:
15
15
  - ApiKeyAuth: []
16
+ - BearerAuth: []
16
17
  tags:
17
18
  - name: User
18
19
  description: Operations about users
@@ -34,8 +35,12 @@ tags:
34
35
  description: Operations about data tables and their rows
35
36
  - name: Projects
36
37
  description: Operations about projects
38
+ - name: CommunityPackage
39
+ description: Operations about community packages
37
40
  - name: Discover
38
41
  description: API capability discovery
42
+ - name: Insights
43
+ description: Operations about insights
39
44
  externalDocs:
40
45
  description: n8n API documentation
41
46
  url: https://docs.n8n.io/api/
@@ -117,7 +122,7 @@ paths:
117
122
  content:
118
123
  application/json:
119
124
  schema:
120
- $ref: '#/components/schemas/credential'
125
+ $ref: '#/components/schemas/credentialCreate'
121
126
  responses:
122
127
  '200':
123
128
  description: Operation successful.
@@ -126,9 +131,13 @@ paths:
126
131
  schema:
127
132
  $ref: '#/components/schemas/create-credential-response'
128
133
  '400':
129
- description: Bad request - invalid credential type or data.
134
+ $ref: '#/components/responses/badRequest'
130
135
  '401':
131
136
  $ref: '#/components/responses/unauthorized'
137
+ '403':
138
+ $ref: '#/components/responses/forbidden'
139
+ '404':
140
+ $ref: '#/components/responses/notFound'
132
141
  '415':
133
142
  description: Unsupported media type.
134
143
  /credentials/{id}:
@@ -285,6 +294,7 @@ paths:
285
294
  description: Retrieve all executions from your instance.
286
295
  parameters:
287
296
  - $ref: '#/components/parameters/includeData'
297
+ - $ref: '#/components/parameters/redactExecutionData'
288
298
  - name: status
289
299
  in: query
290
300
  description: Status to filter the executions by.
@@ -326,6 +336,8 @@ paths:
326
336
  $ref: '#/components/schemas/executionList'
327
337
  '401':
328
338
  $ref: '#/components/responses/unauthorized'
339
+ '403':
340
+ $ref: '#/components/responses/forbidden'
329
341
  '404':
330
342
  $ref: '#/components/responses/notFound'
331
343
  /executions/{id}:
@@ -339,6 +351,7 @@ paths:
339
351
  parameters:
340
352
  - $ref: '#/components/parameters/executionId'
341
353
  - $ref: '#/components/parameters/includeData'
354
+ - $ref: '#/components/parameters/redactExecutionData'
342
355
  responses:
343
356
  '200':
344
357
  description: Operation successful.
@@ -348,6 +361,8 @@ paths:
348
361
  $ref: '#/components/schemas/execution'
349
362
  '401':
350
363
  $ref: '#/components/responses/unauthorized'
364
+ '403':
365
+ $ref: '#/components/responses/forbidden'
351
366
  '404':
352
367
  $ref: '#/components/responses/notFound'
353
368
  delete:
@@ -668,7 +683,7 @@ paths:
668
683
  content:
669
684
  application/json:
670
685
  schema:
671
- $ref: '#/components/schemas/workflow'
686
+ $ref: '#/components/schemas/workflowCreate'
672
687
  required: true
673
688
  responses:
674
689
  '200':
@@ -681,6 +696,10 @@ paths:
681
696
  $ref: '#/components/responses/badRequest'
682
697
  '401':
683
698
  $ref: '#/components/responses/unauthorized'
699
+ '403':
700
+ $ref: '#/components/responses/forbidden'
701
+ '404':
702
+ $ref: '#/components/responses/notFound'
684
703
  get:
685
704
  x-eov-operation-id: getWorkflows
686
705
  x-eov-operation-handler: v1/handlers/workflows/workflows.handler
@@ -1967,6 +1986,118 @@ paths:
1967
1986
  $ref: '#/components/responses/forbidden'
1968
1987
  '404':
1969
1988
  $ref: '#/components/responses/notFound'
1989
+ /community-packages:
1990
+ post:
1991
+ x-eov-operation-id: installPackage
1992
+ x-eov-operation-handler: v1/handlers/community-packages/community-packages.handler
1993
+ tags:
1994
+ - CommunityPackage
1995
+ summary: Install a community package
1996
+ description: Install a community package by npm name and optional version.
1997
+ requestBody:
1998
+ description: Package to install.
1999
+ required: true
2000
+ content:
2001
+ application/json:
2002
+ schema:
2003
+ $ref: '#/components/schemas/installCommunityPackageRequest'
2004
+ responses:
2005
+ '200':
2006
+ description: Package installed successfully.
2007
+ content:
2008
+ application/json:
2009
+ schema:
2010
+ $ref: '#/components/schemas/communityPackage'
2011
+ '400':
2012
+ $ref: '#/components/responses/badRequest'
2013
+ '401':
2014
+ $ref: '#/components/responses/unauthorized'
2015
+ security:
2016
+ - ApiKeyAuth: []
2017
+ get:
2018
+ x-eov-operation-id: getInstalledPackages
2019
+ x-eov-operation-handler: v1/handlers/community-packages/community-packages.handler
2020
+ tags:
2021
+ - CommunityPackage
2022
+ summary: List installed community packages
2023
+ description: Retrieve all installed community packages with pending update info.
2024
+ responses:
2025
+ '200':
2026
+ description: Operation successful.
2027
+ content:
2028
+ application/json:
2029
+ schema:
2030
+ $ref: '#/components/schemas/communityPackageList'
2031
+ '401':
2032
+ $ref: '#/components/responses/unauthorized'
2033
+ security:
2034
+ - ApiKeyAuth: []
2035
+ /community-packages/{name}:
2036
+ patch:
2037
+ x-eov-operation-id: updatePackage
2038
+ x-eov-operation-handler: v1/handlers/community-packages/community-packages.handler
2039
+ tags:
2040
+ - CommunityPackage
2041
+ summary: Update a community package
2042
+ description: Update an installed community package to a new version.
2043
+ parameters:
2044
+ - name: name
2045
+ in: path
2046
+ description: npm package name
2047
+ required: true
2048
+ schema:
2049
+ type: string
2050
+ requestBody:
2051
+ description: Update options.
2052
+ required: false
2053
+ content:
2054
+ application/json:
2055
+ schema:
2056
+ type: object
2057
+ properties:
2058
+ version:
2059
+ type: string
2060
+ description: Specific semver version to update to
2061
+ responses:
2062
+ '200':
2063
+ description: Package updated successfully.
2064
+ content:
2065
+ application/json:
2066
+ schema:
2067
+ $ref: '#/components/schemas/communityPackage'
2068
+ '400':
2069
+ $ref: '#/components/responses/badRequest'
2070
+ '401':
2071
+ $ref: '#/components/responses/unauthorized'
2072
+ '404':
2073
+ $ref: '#/components/responses/notFound'
2074
+ security:
2075
+ - ApiKeyAuth: []
2076
+ delete:
2077
+ x-eov-operation-id: uninstallPackage
2078
+ x-eov-operation-handler: v1/handlers/community-packages/community-packages.handler
2079
+ tags:
2080
+ - CommunityPackage
2081
+ summary: Uninstall a community package
2082
+ description: Uninstall a community package by name.
2083
+ parameters:
2084
+ - name: name
2085
+ in: path
2086
+ description: npm package name
2087
+ required: true
2088
+ schema:
2089
+ type: string
2090
+ responses:
2091
+ '204':
2092
+ description: Package uninstalled successfully.
2093
+ '400':
2094
+ $ref: '#/components/responses/badRequest'
2095
+ '401':
2096
+ $ref: '#/components/responses/unauthorized'
2097
+ '404':
2098
+ $ref: '#/components/responses/notFound'
2099
+ security:
2100
+ - ApiKeyAuth: []
1970
2101
  /discover:
1971
2102
  get:
1972
2103
  x-eov-operation-id: getDiscover
@@ -2058,6 +2189,49 @@ paths:
2058
2189
  description: URL to the full OpenAPI specification
2059
2190
  '401':
2060
2191
  $ref: '#/components/responses/unauthorized'
2192
+ /insights/summary:
2193
+ get:
2194
+ x-eov-operation-id: getInsightsSummary
2195
+ x-eov-operation-handler: v1/handlers/insights/insights.handler
2196
+ tags:
2197
+ - Insights
2198
+ summary: Retrieve insights summary
2199
+ description: Retrieve the insights summary for the selected date range.
2200
+ parameters:
2201
+ - name: startDate
2202
+ in: query
2203
+ required: false
2204
+ description: ISO 8601 start date. Defaults to 7 days ago.
2205
+ schema:
2206
+ type: string
2207
+ format: date-time
2208
+ - name: endDate
2209
+ in: query
2210
+ required: false
2211
+ description: ISO 8601 end date. Defaults to now.
2212
+ schema:
2213
+ type: string
2214
+ format: date-time
2215
+ - name: projectId
2216
+ in: query
2217
+ required: false
2218
+ description: Project identifier to filter insights by project.
2219
+ schema:
2220
+ type: string
2221
+ example: VmwOO9HeTEj20kxM
2222
+ responses:
2223
+ '200':
2224
+ description: Operation successful.
2225
+ content:
2226
+ application/json:
2227
+ schema:
2228
+ $ref: '#/components/schemas/insights'
2229
+ '400':
2230
+ $ref: '#/components/responses/badRequest'
2231
+ '401':
2232
+ $ref: '#/components/responses/unauthorized'
2233
+ '403':
2234
+ $ref: '#/components/responses/forbidden'
2061
2235
  components:
2062
2236
  schemas:
2063
2237
  audit:
@@ -2138,6 +2312,10 @@ components:
2138
2312
  - id
2139
2313
  - name
2140
2314
  - type
2315
+ - isManaged
2316
+ - isGlobal
2317
+ - isResolvable
2318
+ - resolvableAllowFallback
2141
2319
  - createdAt
2142
2320
  - updatedAt
2143
2321
  type: object
@@ -2152,6 +2330,32 @@ components:
2152
2330
  type:
2153
2331
  type: string
2154
2332
  example: githubApi
2333
+ isManaged:
2334
+ type: boolean
2335
+ readOnly: true
2336
+ description: Whether the credential is managed by n8n (managed credentials cannot be edited via the API).
2337
+ example: false
2338
+ isGlobal:
2339
+ type: boolean
2340
+ readOnly: true
2341
+ description: Whether the credential is available for use by all users.
2342
+ example: false
2343
+ isResolvable:
2344
+ type: boolean
2345
+ readOnly: true
2346
+ description: Whether the credential can be dynamically resolved by a resolver.
2347
+ example: false
2348
+ resolvableAllowFallback:
2349
+ type: boolean
2350
+ readOnly: true
2351
+ description: Whether the credential resolver may fall back to static credentials if dynamic resolution fails.
2352
+ example: false
2353
+ resolverId:
2354
+ type: string
2355
+ nullable: true
2356
+ readOnly: true
2357
+ description: ID of the dynamic credential resolver associated with this credential, if any.
2358
+ example: null
2155
2359
  createdAt:
2156
2360
  type: string
2157
2361
  format: date-time
@@ -2212,6 +2416,46 @@ components:
2212
2416
  description: Paginate through credentials by setting the cursor parameter to a nextCursor attribute returned by a previous request. Default value fetches the first "page" of the collection.
2213
2417
  nullable: true
2214
2418
  example: MTIzZTQ1NjctZTg5Yi0xMmQzLWE0NTYtNDI2NjE0MTc0MDA
2419
+ credentialCreate:
2420
+ required:
2421
+ - name
2422
+ - type
2423
+ - data
2424
+ type: object
2425
+ properties:
2426
+ id:
2427
+ type: string
2428
+ readOnly: true
2429
+ example: R2DjclaysHbqn778
2430
+ name:
2431
+ type: string
2432
+ example: Joe's Github Credentials
2433
+ type:
2434
+ type: string
2435
+ example: githubApi
2436
+ data:
2437
+ type: object
2438
+ writeOnly: true
2439
+ example:
2440
+ accessToken: ada612vad6fa5df4adf5a5dsf4389adsf76da7s
2441
+ isResolvable:
2442
+ type: boolean
2443
+ example: false
2444
+ description: Whether this credential has resolvable fields
2445
+ createdAt:
2446
+ type: string
2447
+ format: date-time
2448
+ readOnly: true
2449
+ example: '2022-04-29T11:02:29.842Z'
2450
+ updatedAt:
2451
+ type: string
2452
+ format: date-time
2453
+ readOnly: true
2454
+ example: '2022-04-29T11:02:29.842Z'
2455
+ projectId:
2456
+ type: string
2457
+ description: Project to create the credential in. Defaults to the user's personal project.
2458
+ example: VmwOO9HeTEj20kxM
2215
2459
  credential:
2216
2460
  required:
2217
2461
  - name
@@ -2286,6 +2530,24 @@ components:
2286
2530
  example: 1000
2287
2531
  data:
2288
2532
  type: object
2533
+ additionalProperties: true
2534
+ description: |
2535
+ Detailed execution data. Only included when `includeData` is `true`.
2536
+ properties:
2537
+ redactionInfo:
2538
+ type: object
2539
+ nullable: true
2540
+ description: Present when execution data has been redacted.
2541
+ properties:
2542
+ isRedacted:
2543
+ type: boolean
2544
+ description: Whether the execution data was redacted.
2545
+ reason:
2546
+ type: string
2547
+ description: The reason for redaction.
2548
+ canReveal:
2549
+ type: boolean
2550
+ description: Whether the current user has permission to reveal the redacted data.
2289
2551
  finished:
2290
2552
  type: boolean
2291
2553
  example: true
@@ -2507,9 +2769,9 @@ components:
2507
2769
  - none
2508
2770
  - workflowsFromAList
2509
2771
  - workflowsFromSameOwner
2510
- default: workflowsFromSameOwner
2511
2772
  description: |
2512
2773
  Controls which workflows are allowed to call this workflow using the Execute Workflow node.
2774
+ Defaults to workflowsFromSameOwner.
2513
2775
 
2514
2776
  Available options:
2515
2777
  - `any`: Any workflow can call this workflow (no restrictions)
@@ -2530,9 +2792,9 @@ components:
2530
2792
  description: Estimated time saved per execution in minutes
2531
2793
  availableInMCP:
2532
2794
  type: boolean
2533
- default: false
2534
2795
  description: |
2535
2796
  Controls whether this workflow is accessible via the Model Context Protocol (MCP).
2797
+ Defaults to false.
2536
2798
 
2537
2799
  When enabled, this workflow can be called by MCP clients (AI assistants and other tools
2538
2800
  that support MCP). This allows external AI tools to discover and execute this workflow
@@ -2637,6 +2899,10 @@ components:
2637
2899
  name:
2638
2900
  type: string
2639
2901
  example: Workflow 1
2902
+ description:
2903
+ type: string
2904
+ description: Description of the workflow
2905
+ example: My workflow description
2640
2906
  active:
2641
2907
  type: boolean
2642
2908
  readOnly: true
@@ -2723,6 +2989,100 @@ components:
2723
2989
  description: Paginate through workflows by setting the cursor parameter to a nextCursor attribute returned by a previous request. Default value fetches the first "page" of the collection.
2724
2990
  nullable: true
2725
2991
  example: MTIzZTQ1NjctZTg5Yi0xMmQzLWE0NTYtNDI2NjE0MTc0MDA
2992
+ workflowCreate:
2993
+ type: object
2994
+ additionalProperties: false
2995
+ required:
2996
+ - name
2997
+ - nodes
2998
+ - connections
2999
+ - settings
3000
+ properties:
3001
+ id:
3002
+ type: string
3003
+ readOnly: true
3004
+ example: 2tUt1wbLX592XDdX
3005
+ name:
3006
+ type: string
3007
+ example: Workflow 1
3008
+ active:
3009
+ type: boolean
3010
+ readOnly: true
3011
+ createdAt:
3012
+ type: string
3013
+ format: date-time
3014
+ readOnly: true
3015
+ updatedAt:
3016
+ type: string
3017
+ format: date-time
3018
+ readOnly: true
3019
+ isArchived:
3020
+ type: boolean
3021
+ readOnly: true
3022
+ versionId:
3023
+ type: string
3024
+ readOnly: true
3025
+ description: Current version identifier used for optimistic locking
3026
+ triggerCount:
3027
+ type: integer
3028
+ readOnly: true
3029
+ description: Number of active trigger nodes in the workflow
3030
+ nodes:
3031
+ type: array
3032
+ items:
3033
+ $ref: '#/components/schemas/node'
3034
+ connections:
3035
+ type: object
3036
+ example:
3037
+ Jira:
3038
+ main:
3039
+ - - node: Jira
3040
+ type: main
3041
+ index: 0
3042
+ settings:
3043
+ $ref: '#/components/schemas/workflowSettings'
3044
+ staticData:
3045
+ example:
3046
+ lastId: 1
3047
+ anyOf:
3048
+ - type: string
3049
+ format: jsonString
3050
+ nullable: true
3051
+ - type: object
3052
+ nullable: true
3053
+ pinData:
3054
+ type: object
3055
+ nullable: true
3056
+ description: Pinned sample data for nodes, keyed by node name
3057
+ projectId:
3058
+ type: string
3059
+ description: Target project to create the workflow in. Defaults to the user's personal project.
3060
+ example: VmwOO9HeTEj20kxM
3061
+ meta:
3062
+ type: object
3063
+ nullable: true
3064
+ readOnly: true
3065
+ description: Workflow metadata such as template information
3066
+ properties:
3067
+ onboardingId:
3068
+ type: string
3069
+ templateId:
3070
+ type: string
3071
+ instanceId:
3072
+ type: string
3073
+ templateCredsSetupCompleted:
3074
+ type: boolean
3075
+ tags:
3076
+ type: array
3077
+ items:
3078
+ $ref: '#/components/schemas/tag'
3079
+ readOnly: true
3080
+ shared:
3081
+ type: array
3082
+ items:
3083
+ $ref: '#/components/schemas/sharedWorkflow'
3084
+ activeVersion:
3085
+ $ref: '#/components/schemas/activeVersion'
2726
3086
  workflowVersion:
2727
3087
  type: object
2728
3088
  additionalProperties: false
@@ -3319,6 +3679,153 @@ components:
3319
3679
  description: Paginate through project members by setting the cursor parameter to the nextCursor attribute returned by a previous request. Default value fetches the first page of the collection.
3320
3680
  nullable: true
3321
3681
  example: MTIzZTQ1NjctZTg5Yi0xMmQzLWE0NTYtNDI2NjE0MTc0MDA
3682
+ communityPackage:
3683
+ type: object
3684
+ properties:
3685
+ packageName:
3686
+ type: string
3687
+ description: npm package name
3688
+ installedVersion:
3689
+ type: string
3690
+ description: Currently installed version
3691
+ authorName:
3692
+ type: string
3693
+ description: Package author name
3694
+ authorEmail:
3695
+ type: string
3696
+ description: Package author email
3697
+ installedNodes:
3698
+ type: array
3699
+ description: Nodes included in this package
3700
+ items:
3701
+ type: object
3702
+ properties:
3703
+ name:
3704
+ type: string
3705
+ type:
3706
+ type: string
3707
+ latestVersion:
3708
+ type: number
3709
+ createdAt:
3710
+ type: string
3711
+ format: date-time
3712
+ updatedAt:
3713
+ type: string
3714
+ format: date-time
3715
+ updateAvailable:
3716
+ type: string
3717
+ description: Version available for update, if any
3718
+ failedLoading:
3719
+ type: boolean
3720
+ description: Whether the package failed to load
3721
+ communityPackageList:
3722
+ type: array
3723
+ items:
3724
+ $ref: '#/components/schemas/communityPackage'
3725
+ installCommunityPackageRequest:
3726
+ type: object
3727
+ required:
3728
+ - name
3729
+ properties:
3730
+ name:
3731
+ type: string
3732
+ description: npm package name (must start with n8n-nodes-)
3733
+ version:
3734
+ type: string
3735
+ description: Specific semver version to install
3736
+ verify:
3737
+ type: boolean
3738
+ description: |
3739
+ Whether to verify the package against the n8n-vetted package list. Required when the instance has N8N_UNVERIFIED_PACKAGES_ENABLED=false.
3740
+ insights:
3741
+ type: object
3742
+ required:
3743
+ - total
3744
+ - failed
3745
+ - failureRate
3746
+ - timeSaved
3747
+ - averageRunTime
3748
+ properties:
3749
+ total:
3750
+ type: object
3751
+ required:
3752
+ - value
3753
+ - deviation
3754
+ - unit
3755
+ properties:
3756
+ value:
3757
+ type: number
3758
+ deviation:
3759
+ type: number
3760
+ nullable: true
3761
+ unit:
3762
+ type: string
3763
+ enum:
3764
+ - count
3765
+ failed:
3766
+ type: object
3767
+ required:
3768
+ - value
3769
+ - deviation
3770
+ - unit
3771
+ properties:
3772
+ value:
3773
+ type: number
3774
+ deviation:
3775
+ type: number
3776
+ nullable: true
3777
+ unit:
3778
+ type: string
3779
+ enum:
3780
+ - count
3781
+ failureRate:
3782
+ type: object
3783
+ required:
3784
+ - value
3785
+ - deviation
3786
+ - unit
3787
+ properties:
3788
+ value:
3789
+ type: number
3790
+ deviation:
3791
+ type: number
3792
+ nullable: true
3793
+ unit:
3794
+ type: string
3795
+ enum:
3796
+ - ratio
3797
+ timeSaved:
3798
+ type: object
3799
+ required:
3800
+ - value
3801
+ - deviation
3802
+ - unit
3803
+ properties:
3804
+ value:
3805
+ type: number
3806
+ deviation:
3807
+ type: number
3808
+ nullable: true
3809
+ unit:
3810
+ type: string
3811
+ enum:
3812
+ - minute
3813
+ averageRunTime:
3814
+ type: object
3815
+ required:
3816
+ - value
3817
+ - deviation
3818
+ - unit
3819
+ properties:
3820
+ value:
3821
+ type: number
3822
+ deviation:
3823
+ type: number
3824
+ nullable: true
3825
+ unit:
3826
+ type: string
3827
+ enum:
3828
+ - millisecond
3322
3829
  error:
3323
3830
  required:
3324
3831
  - message
@@ -3410,14 +3917,14 @@ components:
3410
3917
  responses:
3411
3918
  unauthorized:
3412
3919
  description: Unauthorized
3413
- notFound:
3414
- description: The specified resource was not found.
3415
3920
  badRequest:
3416
3921
  description: The request is invalid or provides malformed data.
3417
- conflict:
3418
- description: Conflict
3419
3922
  forbidden:
3420
3923
  description: Forbidden
3924
+ notFound:
3925
+ description: The specified resource was not found.
3926
+ conflict:
3927
+ description: Conflict
3421
3928
  NotFound:
3422
3929
  $ref: '#/components/responses/notFound'
3423
3930
  Unauthorized:
@@ -3461,6 +3968,14 @@ components:
3461
3968
  required: false
3462
3969
  schema:
3463
3970
  type: boolean
3971
+ redactExecutionData:
3972
+ name: redactExecutionData
3973
+ in: query
3974
+ description: |
3975
+ Controls execution data redaction. When `true`, execution output data is always redacted. When `false`, requests unredacted (revealed) data — requires the `execution:reveal` scope. When omitted, follows the workflow redaction policy.
3976
+ required: false
3977
+ schema:
3978
+ type: boolean
3464
3979
  executionId:
3465
3980
  name: id
3466
3981
  in: path
@@ -3526,6 +4041,8 @@ components:
3526
4041
  $ref: '#/components/parameters/tagId'
3527
4042
  IncludeData:
3528
4043
  $ref: '#/components/parameters/includeData'
4044
+ RedactExecutionData:
4045
+ $ref: '#/components/parameters/redactExecutionData'
3529
4046
  UserIdentifier:
3530
4047
  $ref: '#/components/parameters/userIdentifier'
3531
4048
  IncludeRole:
@@ -3537,3 +4054,7 @@ components:
3537
4054
  type: apiKey
3538
4055
  in: header
3539
4056
  name: X-N8N-API-KEY
4057
+ BearerAuth:
4058
+ type: http
4059
+ scheme: bearer
4060
+ bearerFormat: JWT
@@ -0,0 +1,2 @@
1
+ import type { Response } from 'express';
2
+ export declare function sendPublicApiErrorResponse(res: Response, error: Error): void;