n8n 2.33.2 → 2.34.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 (982) hide show
  1. package/dist/active-executions.d.ts +2 -2
  2. package/dist/active-executions.js +18 -13
  3. package/dist/active-executions.js.map +1 -1
  4. package/dist/agent-library-bundle.js +158 -137
  5. package/dist/auth/auth.service.d.ts +1 -0
  6. package/dist/auth/auth.service.js +8 -1
  7. package/dist/auth/auth.service.js.map +1 -1
  8. package/dist/build.tsbuildinfo +1 -1
  9. package/dist/chat/chat-execution-manager.js +8 -5
  10. package/dist/chat/chat-execution-manager.js.map +1 -1
  11. package/dist/commands/base-command.js +3 -2
  12. package/dist/commands/base-command.js.map +1 -1
  13. package/dist/commands/import/workflow.js +1 -1
  14. package/dist/commands/import/workflow.js.map +1 -1
  15. package/dist/commands/start.d.ts +0 -1
  16. package/dist/commands/start.js +4 -32
  17. package/dist/commands/start.js.map +1 -1
  18. package/dist/constants/oauth2-triggers.d.ts +2 -0
  19. package/dist/constants/oauth2-triggers.js +11 -0
  20. package/dist/constants/oauth2-triggers.js.map +1 -0
  21. package/dist/controllers/api-keys.controller.js +0 -3
  22. package/dist/controllers/api-keys.controller.js.map +1 -1
  23. package/dist/controllers/e2e.controller.d.ts +7 -0
  24. package/dist/controllers/e2e.controller.js +12 -1
  25. package/dist/controllers/e2e.controller.js.map +1 -1
  26. package/dist/crash-journal.js +2 -2
  27. package/dist/crash-journal.js.map +1 -1
  28. package/dist/credentials/credentials.controller.d.ts +2 -0
  29. package/dist/credentials/credentials.controller.js +23 -4
  30. package/dist/credentials/credentials.controller.js.map +1 -1
  31. package/dist/credentials/credentials.service.d.ts +5 -1
  32. package/dist/credentials/credentials.service.js +45 -8
  33. package/dist/credentials/credentials.service.js.map +1 -1
  34. package/dist/credentials-helper.d.ts +3 -1
  35. package/dist/credentials-helper.js +39 -1
  36. package/dist/credentials-helper.js.map +1 -1
  37. package/dist/credentials-overwrites.d.ts +2 -1
  38. package/dist/credentials-overwrites.js +4 -5
  39. package/dist/credentials-overwrites.js.map +1 -1
  40. package/dist/environments.ee/variables/variables.service.ee.d.ts +4 -0
  41. package/dist/environments.ee/variables/variables.service.ee.js +10 -6
  42. package/dist/environments.ee/variables/variables.service.ee.js.map +1 -1
  43. package/dist/errors/http-error-serializers.js +10 -1
  44. package/dist/errors/http-error-serializers.js.map +1 -1
  45. package/dist/errors/response-errors/workflow-publish-blocked.error.d.ts +6 -0
  46. package/dist/errors/response-errors/workflow-publish-blocked.error.js +19 -0
  47. package/dist/errors/response-errors/workflow-publish-blocked.error.js.map +1 -0
  48. package/dist/errors/webhook-response-too-large.error.d.ts +7 -0
  49. package/dist/errors/webhook-response-too-large.error.js +11 -0
  50. package/dist/errors/webhook-response-too-large.error.js.map +1 -0
  51. package/dist/eventbus/event-message-classes/event-message-mcp.d.ts +33 -0
  52. package/dist/eventbus/event-message-classes/event-message-mcp.js +29 -0
  53. package/dist/eventbus/event-message-classes/event-message-mcp.js.map +1 -0
  54. package/dist/eventbus/event-message-classes/index.d.ts +6 -3
  55. package/dist/eventbus/event-message-classes/index.js +7 -1
  56. package/dist/eventbus/event-message-classes/index.js.map +1 -1
  57. package/dist/eventbus/message-event-bus/message-event-bus.d.ts +2 -0
  58. package/dist/eventbus/message-event-bus/message-event-bus.js +4 -0
  59. package/dist/eventbus/message-event-bus/message-event-bus.js.map +1 -1
  60. package/dist/eventbus/message-event-bus-writer/message-event-bus-log-writer.js +3 -0
  61. package/dist/eventbus/message-event-bus-writer/message-event-bus-log-writer.js.map +1 -1
  62. package/dist/events/maps/relay.event-map.d.ts +18 -1
  63. package/dist/events/maps/workflow-publication-metrics.event-map.d.ts +5 -0
  64. package/dist/events/relays/log-streaming.event-relay.d.ts +3 -0
  65. package/dist/events/relays/log-streaming.event-relay.js +33 -0
  66. package/dist/events/relays/log-streaming.event-relay.js.map +1 -1
  67. package/dist/events/relays/telemetry.event-relay.js +10 -0
  68. package/dist/events/relays/telemetry.event-relay.js.map +1 -1
  69. package/dist/execution-lifecycle/execution-lifecycle-hooks.js +46 -18
  70. package/dist/execution-lifecycle/execution-lifecycle-hooks.js.map +1 -1
  71. package/dist/executions/enqueued-execution-recovery.service.d.ts +21 -0
  72. package/dist/executions/enqueued-execution-recovery.service.js +79 -0
  73. package/dist/executions/enqueued-execution-recovery.service.js.map +1 -0
  74. package/dist/executions/execution-data/execution-data-json-store.d.ts +3 -6
  75. package/dist/executions/execution-data/execution-data-json-store.js +2 -15
  76. package/dist/executions/execution-data/execution-data-json-store.js.map +1 -1
  77. package/dist/executions/execution-persistence.js.map +1 -1
  78. package/dist/executions/execution-recovery.service.js +23 -12
  79. package/dist/executions/execution-recovery.service.js.map +1 -1
  80. package/dist/external-hooks.d.ts +3 -2
  81. package/dist/external-hooks.js.map +1 -1
  82. package/dist/instance-settings-loader/loaders/sso/oidc.instance-settings-loader.js +4 -0
  83. package/dist/instance-settings-loader/loaders/sso/oidc.instance-settings-loader.js.map +1 -1
  84. package/dist/interfaces.d.ts +6 -0
  85. package/dist/metrics/prometheus/scheduler-metrics.service.d.ts +7 -2
  86. package/dist/metrics/prometheus/scheduler-metrics.service.js +29 -1
  87. package/dist/metrics/prometheus/scheduler-metrics.service.js.map +1 -1
  88. package/dist/metrics/prometheus/workflow-publication-metrics.service.d.ts +1 -0
  89. package/dist/metrics/prometheus/workflow-publication-metrics.service.js +22 -1
  90. package/dist/metrics/prometheus/workflow-publication-metrics.service.js.map +1 -1
  91. package/dist/modules/agent-evals/agent-eval-case-generation.service.d.ts +25 -0
  92. package/dist/modules/agent-evals/agent-eval-case-generation.service.js +192 -0
  93. package/dist/modules/agent-evals/agent-eval-case-generation.service.js.map +1 -0
  94. package/dist/modules/agent-evals/agent-eval-rating.service.d.ts +23 -0
  95. package/dist/modules/agent-evals/agent-eval-rating.service.js +124 -0
  96. package/dist/modules/agent-evals/agent-eval-rating.service.js.map +1 -0
  97. package/dist/modules/agent-evals/agent-eval-record-mappers.d.ts +5 -0
  98. package/dist/modules/agent-evals/agent-eval-record-mappers.js +68 -0
  99. package/dist/modules/agent-evals/agent-eval-record-mappers.js.map +1 -0
  100. package/dist/modules/agent-evals/agent-eval-runner.service.d.ts +42 -0
  101. package/dist/modules/agent-evals/agent-eval-runner.service.js +409 -0
  102. package/dist/modules/agent-evals/agent-eval-runner.service.js.map +1 -0
  103. package/dist/modules/agent-evals/agent-eval.service.d.ts +31 -0
  104. package/dist/modules/agent-evals/agent-eval.service.js +138 -0
  105. package/dist/modules/agent-evals/agent-eval.service.js.map +1 -0
  106. package/dist/modules/agent-evals/agent-evals-flag-gate.d.ts +8 -0
  107. package/dist/{services/trigger-auth-identity-seeder-proxy.service.js → modules/agent-evals/agent-evals-flag-gate.js} +18 -16
  108. package/dist/modules/agent-evals/agent-evals-flag-gate.js.map +1 -0
  109. package/dist/modules/agent-evals/agent-evals-required-modules.d.ts +2 -0
  110. package/dist/modules/agent-evals/agent-evals-required-modules.js +12 -0
  111. package/dist/modules/agent-evals/agent-evals-required-modules.js.map +1 -0
  112. package/dist/modules/agent-evals/agent-evals.controller.d.ts +33 -0
  113. package/dist/modules/agent-evals/agent-evals.controller.js +172 -0
  114. package/dist/modules/agent-evals/agent-evals.controller.js.map +1 -0
  115. package/dist/modules/agent-evals/agent-evals.module.d.ts +4 -0
  116. package/dist/modules/agent-evals/agent-evals.module.js +24 -0
  117. package/dist/modules/agent-evals/agent-evals.module.js.map +1 -0
  118. package/dist/modules/agent-evals/case-generation/case-generation-prompt.d.ts +37 -0
  119. package/dist/modules/agent-evals/case-generation/case-generation-prompt.js +87 -0
  120. package/dist/modules/agent-evals/case-generation/case-generation-prompt.js.map +1 -0
  121. package/dist/modules/agent-evals/case-generation/dimensions.d.ts +11 -0
  122. package/dist/modules/agent-evals/case-generation/dimensions.js +54 -0
  123. package/dist/modules/agent-evals/case-generation/dimensions.js.map +1 -0
  124. package/dist/modules/agents/adapters/agents-credential-provider.d.ts +3 -1
  125. package/dist/modules/agents/adapters/agents-credential-provider.js +15 -0
  126. package/dist/modules/agents/adapters/agents-credential-provider.js.map +1 -1
  127. package/dist/modules/agents/agent-chat-attachment.service.d.ts +46 -0
  128. package/dist/modules/agents/agent-chat-attachment.service.js +144 -0
  129. package/dist/modules/agents/agent-chat-attachment.service.js.map +1 -0
  130. package/dist/modules/agents/agent-chat.controller.d.ts +15 -1
  131. package/dist/modules/agents/agent-chat.controller.js +177 -34
  132. package/dist/modules/agents/agent-chat.controller.js.map +1 -1
  133. package/dist/modules/agents/agent-config.service.d.ts +10 -3
  134. package/dist/modules/agents/agent-config.service.js +44 -5
  135. package/dist/modules/agents/agent-config.service.js.map +1 -1
  136. package/dist/modules/agents/agent-custom-tools.service.d.ts +7 -3
  137. package/dist/modules/agents/agent-custom-tools.service.js +44 -7
  138. package/dist/modules/agents/agent-custom-tools.service.js.map +1 -1
  139. package/dist/modules/agents/agent-execution-orchestrator.service.d.ts +14 -2
  140. package/dist/modules/agents/agent-execution-orchestrator.service.js +85 -9
  141. package/dist/modules/agents/agent-execution-orchestrator.service.js.map +1 -1
  142. package/dist/modules/agents/agent-execution.service.d.ts +4 -1
  143. package/dist/modules/agents/agent-execution.service.js +7 -2
  144. package/dist/modules/agents/agent-execution.service.js.map +1 -1
  145. package/dist/modules/agents/agent-integration-persistence.service.d.ts +14 -7
  146. package/dist/modules/agents/agent-integration-persistence.service.js +35 -7
  147. package/dist/modules/agents/agent-integration-persistence.service.js.map +1 -1
  148. package/dist/modules/agents/agent-integrations.controller.d.ts +1 -9
  149. package/dist/modules/agents/agent-integrations.controller.js +12 -16
  150. package/dist/modules/agents/agent-integrations.controller.js.map +1 -1
  151. package/dist/modules/agents/agent-knowledge-file-store.d.ts +24 -0
  152. package/dist/modules/agents/agent-knowledge-file-store.js +100 -0
  153. package/dist/modules/agents/agent-knowledge-file-store.js.map +1 -0
  154. package/dist/modules/agents/agent-knowledge-retrieval.d.ts +3 -1
  155. package/dist/modules/agents/agent-knowledge-retrieval.js +1 -1
  156. package/dist/modules/agents/agent-knowledge-retrieval.js.map +1 -1
  157. package/dist/modules/agents/agent-knowledge-sandbox.service.d.ts +4 -3
  158. package/dist/modules/agents/agent-knowledge-sandbox.service.js +17 -8
  159. package/dist/modules/agents/agent-knowledge-sandbox.service.js.map +1 -1
  160. package/dist/modules/agents/agent-knowledge-storage.d.ts +0 -1
  161. package/dist/modules/agents/agent-knowledge-storage.js +0 -10
  162. package/dist/modules/agents/agent-knowledge-storage.js.map +1 -1
  163. package/dist/modules/agents/agent-knowledge.service.d.ts +3 -4
  164. package/dist/modules/agents/agent-knowledge.service.js +25 -27
  165. package/dist/modules/agents/agent-knowledge.service.js.map +1 -1
  166. package/dist/modules/agents/agent-mcp-access.controller.d.ts +14 -0
  167. package/dist/modules/agents/agent-mcp-access.controller.js +49 -0
  168. package/dist/modules/agents/agent-mcp-access.controller.js.map +1 -0
  169. package/dist/modules/agents/agent-mcp-access.service.d.ts +22 -0
  170. package/dist/modules/agents/agent-mcp-access.service.js +83 -0
  171. package/dist/modules/agents/agent-mcp-access.service.js.map +1 -0
  172. package/dist/modules/agents/agent-message-mapper.js +9 -0
  173. package/dist/modules/agents/agent-message-mapper.js.map +1 -1
  174. package/dist/modules/agents/agent-model-catalog.service.d.ts +1 -1
  175. package/dist/modules/agents/agent-model-catalog.service.js +22 -7
  176. package/dist/modules/agents/agent-model-catalog.service.js.map +1 -1
  177. package/dist/modules/agents/agent-modification-telemetry.service.d.ts +25 -0
  178. package/dist/modules/agents/agent-modification-telemetry.service.js +119 -0
  179. package/dist/modules/agents/agent-modification-telemetry.service.js.map +1 -0
  180. package/dist/modules/agents/agent-publish.controller.js +4 -4
  181. package/dist/modules/agents/agent-publish.controller.js.map +1 -1
  182. package/dist/modules/agents/agent-publish.service.d.ts +23 -9
  183. package/dist/modules/agents/agent-publish.service.js +146 -33
  184. package/dist/modules/agents/agent-publish.service.js.map +1 -1
  185. package/dist/modules/agents/agent-runtime-cache.service.js +1 -1
  186. package/dist/modules/agents/agent-runtime-cache.service.js.map +1 -1
  187. package/dist/modules/agents/agent-runtime-reconstruction.service.d.ts +6 -2
  188. package/dist/modules/agents/agent-runtime-reconstruction.service.js +16 -6
  189. package/dist/modules/agents/agent-runtime-reconstruction.service.js.map +1 -1
  190. package/dist/modules/agents/agent-setup-completion.service.d.ts +19 -0
  191. package/dist/modules/agents/agent-setup-completion.service.js +79 -0
  192. package/dist/modules/agents/agent-setup-completion.service.js.map +1 -0
  193. package/dist/modules/agents/agent-skills.service.d.ts +8 -6
  194. package/dist/modules/agents/agent-skills.service.js +55 -12
  195. package/dist/modules/agents/agent-skills.service.js.map +1 -1
  196. package/dist/modules/agents/agent-sse-stream.js +35 -0
  197. package/dist/modules/agents/agent-sse-stream.js.map +1 -1
  198. package/dist/modules/agents/agent-task.service.d.ts +7 -5
  199. package/dist/modules/agents/agent-task.service.js +56 -21
  200. package/dist/modules/agents/agent-task.service.js.map +1 -1
  201. package/dist/modules/agents/agent-tasks.controller.js +18 -6
  202. package/dist/modules/agents/agent-tasks.controller.js.map +1 -1
  203. package/dist/modules/agents/agent-test-chat.service.d.ts +3 -1
  204. package/dist/modules/agents/agent-test-chat.service.js +7 -3
  205. package/dist/modules/agents/agent-test-chat.service.js.map +1 -1
  206. package/dist/modules/agents/agent-validation.service.d.ts +5 -2
  207. package/dist/modules/agents/agent-validation.service.js +22 -4
  208. package/dist/modules/agents/agent-validation.service.js.map +1 -1
  209. package/dist/modules/agents/agent-workflow-execution.service.d.ts +1 -1
  210. package/dist/modules/agents/agent-workflow-execution.service.js +13 -7
  211. package/dist/modules/agents/agent-workflow-execution.service.js.map +1 -1
  212. package/dist/modules/agents/agents-config.controller.d.ts +1 -5
  213. package/dist/modules/agents/agents-config.controller.js +7 -2
  214. package/dist/modules/agents/agents-config.controller.js.map +1 -1
  215. package/dist/modules/agents/agents-skills.controller.js +12 -3
  216. package/dist/modules/agents/agents-skills.controller.js.map +1 -1
  217. package/dist/modules/agents/agents-tools.service.js +1 -5
  218. package/dist/modules/agents/agents-tools.service.js.map +1 -1
  219. package/dist/modules/agents/agents.controller.js +3 -1
  220. package/dist/modules/agents/agents.controller.js.map +1 -1
  221. package/dist/modules/agents/agents.module.d.ts +1 -1
  222. package/dist/modules/agents/agents.module.js +10 -11
  223. package/dist/modules/agents/agents.module.js.map +1 -1
  224. package/dist/modules/agents/agents.service.d.ts +12 -4
  225. package/dist/modules/agents/agents.service.js +52 -4
  226. package/dist/modules/agents/agents.service.js.map +1 -1
  227. package/dist/modules/agents/builder/agents-builder-prompts.d.ts +2 -2
  228. package/dist/modules/agents/builder/agents-builder-prompts.js +13 -11
  229. package/dist/modules/agents/builder/agents-builder-prompts.js.map +1 -1
  230. package/dist/modules/agents/builder/agents-builder-tools.service.d.ts +3 -6
  231. package/dist/modules/agents/builder/agents-builder-tools.service.js +37 -84
  232. package/dist/modules/agents/builder/agents-builder-tools.service.js.map +1 -1
  233. package/dist/modules/agents/builder/agents-builder.service.d.ts +3 -7
  234. package/dist/modules/agents/builder/agents-builder.service.js +27 -34
  235. package/dist/modules/agents/builder/agents-builder.service.js.map +1 -1
  236. package/dist/modules/agents/builder/builder-config-telemetry.d.ts +1 -10
  237. package/dist/modules/agents/builder/builder-config-telemetry.js +0 -64
  238. package/dist/modules/agents/builder/builder-config-telemetry.js.map +1 -1
  239. package/dist/modules/agents/builder/builder-model-live-lookup.service.d.ts +5 -1
  240. package/dist/modules/agents/builder/builder-model-live-lookup.service.js +23 -2
  241. package/dist/modules/agents/builder/builder-model-live-lookup.service.js.map +1 -1
  242. package/dist/modules/agents/builder/format-preview-context.js +3 -0
  243. package/dist/modules/agents/builder/format-preview-context.js.map +1 -1
  244. package/dist/modules/agents/builder/get-resource-locator-options.tool.d.ts +2 -2
  245. package/dist/modules/agents/builder/interactive/configure-channel.tool.js +6 -5
  246. package/dist/modules/agents/builder/interactive/configure-channel.tool.js.map +1 -1
  247. package/dist/modules/agents/builder/interactive/finish-setup.tool.d.ts +0 -5
  248. package/dist/modules/agents/builder/interactive/finish-setup.tool.js +28 -45
  249. package/dist/modules/agents/builder/interactive/finish-setup.tool.js.map +1 -1
  250. package/dist/modules/agents/builder/interactive/resolve-llm.tool.d.ts +1 -0
  251. package/dist/modules/agents/builder/interactive/resolve-llm.tool.js +88 -8
  252. package/dist/modules/agents/builder/interactive/resolve-llm.tool.js.map +1 -1
  253. package/dist/modules/agents/builder/prompts/config-mutation.prompt.js +1 -1
  254. package/dist/modules/agents/builder/prompts/initial-build.prompt.d.ts +1 -1
  255. package/dist/modules/agents/builder/prompts/initial-build.prompt.js +8 -15
  256. package/dist/modules/agents/builder/prompts/initial-build.prompt.js.map +1 -1
  257. package/dist/modules/agents/builder/prompts/llm-selection.prompt.js +2 -2
  258. package/dist/modules/agents/builder/skills/external-services.skill.js +10 -11
  259. package/dist/modules/agents/builder/skills/external-services.skill.js.map +1 -1
  260. package/dist/modules/agents/entities/agent-chat-attachment.entity.d.ts +16 -0
  261. package/dist/modules/agents/entities/agent-chat-attachment.entity.js +70 -0
  262. package/dist/modules/agents/entities/agent-chat-attachment.entity.js.map +1 -0
  263. package/dist/modules/agents/entities/agent-execution.entity.d.ts +6 -0
  264. package/dist/modules/agents/entities/agent-execution.entity.js +4 -0
  265. package/dist/modules/agents/entities/agent-execution.entity.js.map +1 -1
  266. package/dist/modules/agents/entities/agent-file.entity.d.ts +3 -2
  267. package/dist/modules/agents/entities/agent-file.entity.js +6 -3
  268. package/dist/modules/agents/entities/agent-file.entity.js.map +1 -1
  269. package/dist/modules/agents/entities/agent.entity.d.ts +2 -0
  270. package/dist/modules/agents/entities/agent.entity.js +8 -0
  271. package/dist/modules/agents/entities/agent.entity.js.map +1 -1
  272. package/dist/modules/agents/execution-log/agent-execution-log-store.d.ts +3 -6
  273. package/dist/modules/agents/execution-log/agent-execution-log-store.js +2 -15
  274. package/dist/modules/agents/execution-log/agent-execution-log-store.js.map +1 -1
  275. package/dist/modules/agents/execution-recorder.d.ts +11 -0
  276. package/dist/modules/agents/execution-recorder.js +69 -0
  277. package/dist/modules/agents/execution-recorder.js.map +1 -1
  278. package/dist/modules/agents/instance-ai-builder-delegate.adapter.js +6 -2
  279. package/dist/modules/agents/instance-ai-builder-delegate.adapter.js.map +1 -1
  280. package/dist/modules/agents/integrations/agent-chat-bridge.d.ts +8 -2
  281. package/dist/modules/agents/integrations/agent-chat-bridge.js +114 -16
  282. package/dist/modules/agents/integrations/agent-chat-bridge.js.map +1 -1
  283. package/dist/modules/agents/integrations/agent-chat-hitl-resume-handler.d.ts +4 -1
  284. package/dist/modules/agents/integrations/agent-chat-hitl-resume-handler.js +40 -7
  285. package/dist/modules/agents/integrations/agent-chat-hitl-resume-handler.js.map +1 -1
  286. package/dist/modules/agents/integrations/agent-chat-integration.d.ts +16 -1
  287. package/dist/modules/agents/integrations/agent-chat-integration.js +1 -0
  288. package/dist/modules/agents/integrations/agent-chat-integration.js.map +1 -1
  289. package/dist/modules/agents/integrations/agent-chat-message-context.d.ts +2 -1
  290. package/dist/modules/agents/integrations/agent-chat-message-context.js +1 -0
  291. package/dist/modules/agents/integrations/agent-chat-message-context.js.map +1 -1
  292. package/dist/modules/agents/integrations/agent-chat-stream-consumer.d.ts +2 -0
  293. package/dist/modules/agents/integrations/agent-chat-stream-consumer.js +27 -12
  294. package/dist/modules/agents/integrations/agent-chat-stream-consumer.js.map +1 -1
  295. package/dist/modules/agents/integrations/agent-chat-suspension-cards.d.ts +7 -0
  296. package/dist/modules/agents/integrations/agent-chat-suspension-cards.js +1 -0
  297. package/dist/modules/agents/integrations/agent-chat-suspension-cards.js.map +1 -1
  298. package/dist/modules/agents/integrations/callback-store.d.ts +4 -1
  299. package/dist/modules/agents/integrations/callback-store.js +11 -3
  300. package/dist/modules/agents/integrations/callback-store.js.map +1 -1
  301. package/dist/modules/agents/integrations/chat-integration.service.d.ts +10 -4
  302. package/dist/modules/agents/integrations/chat-integration.service.js +108 -35
  303. package/dist/modules/agents/integrations/chat-integration.service.js.map +1 -1
  304. package/dist/modules/agents/integrations/integration-action-executor.d.ts +2 -0
  305. package/dist/modules/agents/integrations/integration-action-executor.js +52 -1
  306. package/dist/modules/agents/integrations/integration-action-executor.js.map +1 -1
  307. package/dist/modules/agents/integrations/integration-context-query-executor.js +2 -1
  308. package/dist/modules/agents/integrations/integration-context-query-executor.js.map +1 -1
  309. package/dist/modules/agents/integrations/integration-error-codes.d.ts +1 -0
  310. package/dist/modules/agents/integrations/integration-error-codes.js +1 -0
  311. package/dist/modules/agents/integrations/integration-error-codes.js.map +1 -1
  312. package/dist/modules/agents/integrations/integration-tool-definitions.js +20 -0
  313. package/dist/modules/agents/integrations/integration-tool-definitions.js.map +1 -1
  314. package/dist/modules/agents/integrations/integration-tool-descriptions.js +6 -0
  315. package/dist/modules/agents/integrations/integration-tool-descriptions.js.map +1 -1
  316. package/dist/modules/agents/integrations/integration-tool-execution.js +5 -0
  317. package/dist/modules/agents/integrations/integration-tool-execution.js.map +1 -1
  318. package/dist/modules/agents/integrations/integration-tool-factory.d.ts +7 -7
  319. package/dist/modules/agents/integrations/integration-tool-factory.js +1 -1
  320. package/dist/modules/agents/integrations/integration-tool-factory.js.map +1 -1
  321. package/dist/modules/agents/integrations/integration-tool-schema.d.ts +11 -8
  322. package/dist/modules/agents/integrations/integration-tool-schema.js +7 -7
  323. package/dist/modules/agents/integrations/integration-tool-schema.js.map +1 -1
  324. package/dist/modules/agents/integrations/integration-tool-types.d.ts +3 -1
  325. package/dist/modules/agents/integrations/n8n-checkpoint-storage.d.ts +8 -6
  326. package/dist/modules/agents/integrations/n8n-checkpoint-storage.js +39 -14
  327. package/dist/modules/agents/integrations/n8n-checkpoint-storage.js.map +1 -1
  328. package/dist/modules/agents/integrations/n8n-memory.js +2 -1
  329. package/dist/modules/agents/integrations/n8n-memory.js.map +1 -1
  330. package/dist/modules/agents/integrations/platforms/slack-bridge-behavior.d.ts +6 -1
  331. package/dist/modules/agents/integrations/platforms/slack-bridge-behavior.js +36 -24
  332. package/dist/modules/agents/integrations/platforms/slack-bridge-behavior.js.map +1 -1
  333. package/dist/modules/agents/integrations/platforms/slack-integration.d.ts +6 -1
  334. package/dist/modules/agents/integrations/platforms/slack-integration.js +3 -0
  335. package/dist/modules/agents/integrations/platforms/slack-integration.js.map +1 -1
  336. package/dist/modules/agents/integrations/platforms/slack-tool-definitions.d.ts +15 -2
  337. package/dist/modules/agents/integrations/platforms/slack-tool-definitions.js +9 -0
  338. package/dist/modules/agents/integrations/platforms/slack-tool-definitions.js.map +1 -1
  339. package/dist/modules/agents/integrations/platforms/telegram-integration.d.ts +4 -1
  340. package/dist/modules/agents/integrations/platforms/telegram-integration.js +22 -2
  341. package/dist/modules/agents/integrations/platforms/telegram-integration.js.map +1 -1
  342. package/dist/modules/agents/integrations/slack-app-setup.service.d.ts +1 -3
  343. package/dist/modules/agents/integrations/slack-app-setup.service.js +9 -10
  344. package/dist/modules/agents/integrations/slack-app-setup.service.js.map +1 -1
  345. package/dist/modules/agents/json-config/from-json-config.js +4 -3
  346. package/dist/modules/agents/json-config/from-json-config.js.map +1 -1
  347. package/dist/modules/agents/json-config/mcp-client-factory.d.ts +4 -0
  348. package/dist/modules/agents/json-config/mcp-client-factory.js +12 -0
  349. package/dist/modules/agents/json-config/mcp-client-factory.js.map +1 -1
  350. package/dist/modules/agents/json-config/model-config.d.ts +5 -2
  351. package/dist/modules/agents/json-config/model-config.js +15 -1
  352. package/dist/modules/agents/json-config/model-config.js.map +1 -1
  353. package/dist/modules/agents/json-config/sanitize-unknown-agent-credentials.js +22 -3
  354. package/dist/modules/agents/json-config/sanitize-unknown-agent-credentials.js.map +1 -1
  355. package/dist/modules/agents/register-blob-byte-stores.d.ts +8 -0
  356. package/dist/modules/agents/register-blob-byte-stores.js +21 -0
  357. package/dist/modules/agents/register-blob-byte-stores.js.map +1 -0
  358. package/dist/modules/agents/repositories/agent-chat-attachment.repository.d.ts +19 -0
  359. package/dist/modules/agents/repositories/agent-chat-attachment.repository.js +38 -0
  360. package/dist/modules/agents/repositories/agent-chat-attachment.repository.js.map +1 -0
  361. package/dist/modules/agents/repositories/agent-checkpoint.repository.d.ts +6 -1
  362. package/dist/modules/agents/repositories/agent-checkpoint.repository.js +22 -3
  363. package/dist/modules/agents/repositories/agent-checkpoint.repository.js.map +1 -1
  364. package/dist/modules/agents/repositories/agent.repository.d.ts +23 -1
  365. package/dist/modules/agents/repositories/agent.repository.js +85 -5
  366. package/dist/modules/agents/repositories/agent.repository.js.map +1 -1
  367. package/dist/modules/agents/sub-agents/delegate-sub-agent-tool.js +60 -1
  368. package/dist/modules/agents/sub-agents/delegate-sub-agent-tool.js.map +1 -1
  369. package/dist/modules/agents/sub-agents/sub-agent-foreground-runner.d.ts +12 -3
  370. package/dist/modules/agents/sub-agents/sub-agent-foreground-runner.js +124 -60
  371. package/dist/modules/agents/sub-agents/sub-agent-foreground-runner.js.map +1 -1
  372. package/dist/modules/agents/tools/workflow-tool-factory.js +30 -1
  373. package/dist/modules/agents/tools/workflow-tool-factory.js.map +1 -1
  374. package/dist/modules/agents/utils/agent-capabilities.d.ts +14 -0
  375. package/dist/modules/agents/utils/agent-capabilities.js +35 -0
  376. package/dist/modules/agents/utils/agent-capabilities.js.map +1 -0
  377. package/dist/modules/agents/utils/agent-config-hash.d.ts +2 -0
  378. package/dist/modules/agents/utils/agent-config-hash.js +23 -0
  379. package/dist/modules/agents/utils/agent-config-hash.js.map +1 -0
  380. package/dist/modules/agents/utils/agent-execution-counter.d.ts +3 -1
  381. package/dist/modules/agents/utils/agent-execution-counter.js +4 -1
  382. package/dist/modules/agents/utils/agent-execution-counter.js.map +1 -1
  383. package/dist/modules/agents/utils/execution-to-message-mapper.d.ts +1 -1
  384. package/dist/modules/agents/utils/execution-to-message-mapper.js +33 -16
  385. package/dist/modules/agents/utils/execution-to-message-mapper.js.map +1 -1
  386. package/dist/modules/agents/utils/inbound-attachments.d.ts +4 -0
  387. package/dist/modules/agents/utils/inbound-attachments.js +50 -0
  388. package/dist/modules/agents/utils/inbound-attachments.js.map +1 -0
  389. package/dist/modules/agents/utils/messages-envelope.js +5 -1
  390. package/dist/modules/agents/utils/messages-envelope.js.map +1 -1
  391. package/dist/modules/breaking-changes/breaking-changes.controller.d.ts +5 -2
  392. package/dist/modules/breaking-changes/breaking-changes.controller.js +16 -2
  393. package/dist/modules/breaking-changes/breaking-changes.controller.js.map +1 -1
  394. package/dist/modules/breaking-changes/breaking-changes.migration-registry.service.d.ts +10 -0
  395. package/dist/modules/breaking-changes/breaking-changes.migration-registry.service.js +42 -0
  396. package/dist/modules/breaking-changes/breaking-changes.migration-registry.service.js.map +1 -0
  397. package/dist/modules/breaking-changes/breaking-changes.migration.service.d.ts +31 -0
  398. package/dist/modules/breaking-changes/breaking-changes.migration.service.js +120 -0
  399. package/dist/modules/breaking-changes/breaking-changes.migration.service.js.map +1 -0
  400. package/dist/modules/breaking-changes/breaking-changes.module.js +2 -0
  401. package/dist/modules/breaking-changes/breaking-changes.module.js.map +1 -1
  402. package/dist/modules/breaking-changes/breaking-changes.service.d.ts +3 -2
  403. package/dist/modules/breaking-changes/breaking-changes.service.js +9 -13
  404. package/dist/modules/breaking-changes/breaking-changes.service.js.map +1 -1
  405. package/dist/modules/breaking-changes/group-nodes-by-type.d.ts +2 -0
  406. package/dist/modules/breaking-changes/group-nodes-by-type.js +15 -0
  407. package/dist/modules/breaking-changes/group-nodes-by-type.js.map +1 -0
  408. package/dist/modules/breaking-changes/migrations/ai-transform-to-code.migration.d.ts +2 -0
  409. package/dist/modules/breaking-changes/migrations/ai-transform-to-code.migration.js +24 -0
  410. package/dist/modules/breaking-changes/migrations/ai-transform-to-code.migration.js.map +1 -0
  411. package/dist/modules/breaking-changes/migrations/index.d.ts +2 -0
  412. package/dist/modules/breaking-changes/migrations/index.js +6 -0
  413. package/dist/modules/breaking-changes/migrations/index.js.map +1 -0
  414. package/dist/modules/breaking-changes/migrations/node-migration.d.ts +10 -0
  415. package/dist/modules/breaking-changes/migrations/node-migration.js +3 -0
  416. package/dist/modules/breaking-changes/migrations/node-migration.js.map +1 -0
  417. package/dist/modules/breaking-changes/rules/index.d.ts +2 -0
  418. package/dist/modules/breaking-changes/rules/index.js +2 -0
  419. package/dist/modules/breaking-changes/rules/index.js.map +1 -1
  420. package/dist/modules/breaking-changes/rules/v3/ai-transform-deprecated.rule.d.ts +11 -0
  421. package/dist/modules/breaking-changes/rules/v3/ai-transform-deprecated.rule.js +53 -0
  422. package/dist/modules/breaking-changes/rules/v3/ai-transform-deprecated.rule.js.map +1 -0
  423. package/dist/modules/breaking-changes/rules/v3/execute-workflow-source-modes.rule.d.ts +10 -0
  424. package/dist/modules/breaking-changes/rules/v3/execute-workflow-source-modes.rule.js +62 -0
  425. package/dist/modules/breaking-changes/rules/v3/execute-workflow-source-modes.rule.js.map +1 -0
  426. package/dist/modules/chat-hub/chat-hub-execution.service.js +2 -1
  427. package/dist/modules/chat-hub/chat-hub-execution.service.js.map +1 -1
  428. package/dist/modules/dynamic-credentials.ee/dynamic-credentials.module.js +0 -3
  429. package/dist/modules/dynamic-credentials.ee/dynamic-credentials.module.js.map +1 -1
  430. package/dist/modules/dynamic-credentials.ee/services/credential-check-proxy.service.d.ts +4 -2
  431. package/dist/modules/dynamic-credentials.ee/services/credential-check-proxy.service.js +7 -4
  432. package/dist/modules/dynamic-credentials.ee/services/credential-check-proxy.service.js.map +1 -1
  433. package/dist/modules/external-secrets.ee/external-secrets-manager.ee.d.ts +2 -4
  434. package/dist/modules/external-secrets.ee/external-secrets-manager.ee.js +27 -20
  435. package/dist/modules/external-secrets.ee/external-secrets-manager.ee.js.map +1 -1
  436. package/dist/modules/external-secrets.ee/external-secrets-provider-connection-manager.ee.d.ts +24 -6
  437. package/dist/modules/external-secrets.ee/external-secrets-provider-connection-manager.ee.js +184 -43
  438. package/dist/modules/external-secrets.ee/external-secrets-provider-connection-manager.ee.js.map +1 -1
  439. package/dist/modules/insights/insights-collection.service.js +3 -0
  440. package/dist/modules/insights/insights-collection.service.js.map +1 -1
  441. package/dist/modules/insights/insights-compaction.service.js +2 -2
  442. package/dist/modules/insights/insights-compaction.service.js.map +1 -1
  443. package/dist/modules/instance-ai/eval/agent-execution.service.d.ts +1 -1
  444. package/dist/modules/instance-ai/eval/agent-execution.service.js +16 -7
  445. package/dist/modules/instance-ai/eval/agent-execution.service.js.map +1 -1
  446. package/dist/modules/instance-ai/eval/execution.service.d.ts +6 -1
  447. package/dist/modules/instance-ai/eval/execution.service.js +45 -3
  448. package/dist/modules/instance-ai/eval/execution.service.js.map +1 -1
  449. package/dist/modules/instance-ai/eval/ledger-snapshot.d.ts +1 -0
  450. package/dist/modules/instance-ai/eval/ledger-snapshot.js +11 -0
  451. package/dist/modules/instance-ai/eval/ledger-snapshot.js.map +1 -0
  452. package/dist/modules/instance-ai/eval/llm-wire-server.js +26 -2
  453. package/dist/modules/instance-ai/eval/llm-wire-server.js.map +1 -1
  454. package/dist/modules/instance-ai/eval/mock-handler.d.ts +3 -1
  455. package/dist/modules/instance-ai/eval/mock-handler.js +60 -2
  456. package/dist/modules/instance-ai/eval/mock-handler.js.map +1 -1
  457. package/dist/modules/instance-ai/eval/mock-quirks.js +5 -4
  458. package/dist/modules/instance-ai/eval/mock-quirks.js.map +1 -1
  459. package/dist/modules/instance-ai/eval/openai-responses-envelope.js +11 -2
  460. package/dist/modules/instance-ai/eval/openai-responses-envelope.js.map +1 -1
  461. package/dist/modules/instance-ai/eval/pin-data-generator.d.ts +2 -1
  462. package/dist/modules/instance-ai/eval/pin-data-generator.js +28 -12
  463. package/dist/modules/instance-ai/eval/pin-data-generator.js.map +1 -1
  464. package/dist/modules/instance-ai/eval/provider-shapes.js +101 -8
  465. package/dist/modules/instance-ai/eval/provider-shapes.js.map +1 -1
  466. package/dist/modules/instance-ai/eval/thread-credential-allowlist.service.d.ts +3 -1
  467. package/dist/modules/instance-ai/eval/thread-credential-allowlist.service.js +8 -1
  468. package/dist/modules/instance-ai/eval/thread-credential-allowlist.service.js.map +1 -1
  469. package/dist/modules/instance-ai/eval/workflow-analysis.d.ts +2 -0
  470. package/dist/modules/instance-ai/eval/workflow-analysis.js +9 -0
  471. package/dist/modules/instance-ai/eval/workflow-analysis.js.map +1 -1
  472. package/dist/modules/instance-ai/event-bus/interrupted-run-sweeper.js +3 -1
  473. package/dist/modules/instance-ai/event-bus/interrupted-run-sweeper.js.map +1 -1
  474. package/dist/modules/instance-ai/instance-ai-credit.service.js +2 -1
  475. package/dist/modules/instance-ai/instance-ai-credit.service.js.map +1 -1
  476. package/dist/modules/instance-ai/instance-ai-error-reporter.service.d.ts +9 -2
  477. package/dist/modules/instance-ai/instance-ai-error-reporter.service.js +25 -11
  478. package/dist/modules/instance-ai/instance-ai-error-reporter.service.js.map +1 -1
  479. package/dist/modules/instance-ai/instance-ai.adapter.service.d.ts +1 -1
  480. package/dist/modules/instance-ai/instance-ai.adapter.service.js +33 -21
  481. package/dist/modules/instance-ai/instance-ai.adapter.service.js.map +1 -1
  482. package/dist/modules/instance-ai/instance-ai.controller.js +1 -1
  483. package/dist/modules/instance-ai/instance-ai.controller.js.map +1 -1
  484. package/dist/modules/instance-ai/instance-ai.service.js +160 -38
  485. package/dist/modules/instance-ai/instance-ai.service.js.map +1 -1
  486. package/dist/modules/instance-ai/node-definition-resolver.js +1 -5
  487. package/dist/modules/instance-ai/node-definition-resolver.js.map +1 -1
  488. package/dist/modules/instance-ai/repositories/instance-ai-checkpoint.repository.d.ts +2 -0
  489. package/dist/modules/instance-ai/repositories/instance-ai-checkpoint.repository.js +20 -0
  490. package/dist/modules/instance-ai/repositories/instance-ai-checkpoint.repository.js.map +1 -1
  491. package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.js +5 -1
  492. package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.js.map +1 -1
  493. package/dist/modules/instance-ai/storage/typeorm-agent-checkpoint-store.d.ts +1 -0
  494. package/dist/modules/instance-ai/storage/typeorm-agent-checkpoint-store.js +3 -0
  495. package/dist/modules/instance-ai/storage/typeorm-agent-checkpoint-store.js.map +1 -1
  496. package/dist/modules/instance-ai/tracing/instance-ai-tracing.service.d.ts +2 -0
  497. package/dist/modules/instance-ai/tracing/instance-ai-tracing.service.js +7 -2
  498. package/dist/modules/instance-ai/tracing/instance-ai-tracing.service.js.map +1 -1
  499. package/dist/modules/ldap.ee/helpers.ee.d.ts +2 -1
  500. package/dist/modules/ldap.ee/helpers.ee.js +11 -2
  501. package/dist/modules/ldap.ee/helpers.ee.js.map +1 -1
  502. package/dist/modules/ldap.ee/ldap.errors.d.ts +5 -0
  503. package/dist/modules/ldap.ee/ldap.errors.js +11 -0
  504. package/dist/modules/ldap.ee/ldap.errors.js.map +1 -0
  505. package/dist/modules/ldap.ee/ldap.service.ee.d.ts +2 -2
  506. package/dist/modules/ldap.ee/ldap.service.ee.js +29 -7
  507. package/dist/modules/ldap.ee/ldap.service.ee.js.map +1 -1
  508. package/dist/modules/log-streaming.ee/destinations/message-event-bus-destination-webhook.ee.d.ts +1 -1
  509. package/dist/modules/log-streaming.ee/destinations/message-event-bus-destination-webhook.ee.js +10 -2
  510. package/dist/modules/log-streaming.ee/destinations/message-event-bus-destination-webhook.ee.js.map +1 -1
  511. package/dist/modules/mcp/mcp-protected-resource.d.ts +4 -2
  512. package/dist/modules/mcp/mcp-protected-resource.js +17 -5
  513. package/dist/modules/mcp/mcp-protected-resource.js.map +1 -1
  514. package/dist/modules/mcp/mcp-scopes.d.ts +1 -0
  515. package/dist/modules/mcp/mcp-scopes.js +35 -7
  516. package/dist/modules/mcp/mcp-scopes.js.map +1 -1
  517. package/dist/modules/mcp/mcp-tool-availability.d.ts +3 -0
  518. package/dist/modules/mcp/mcp-tool-availability.js +7 -0
  519. package/dist/modules/mcp/mcp-tool-availability.js.map +1 -0
  520. package/dist/modules/mcp/mcp.constants.d.ts +1 -0
  521. package/dist/modules/mcp/mcp.constants.js +2 -1
  522. package/dist/modules/mcp/mcp.constants.js.map +1 -1
  523. package/dist/modules/mcp/mcp.controller.d.ts +1 -1
  524. package/dist/modules/mcp/mcp.controller.js +10 -18
  525. package/dist/modules/mcp/mcp.controller.js.map +1 -1
  526. package/dist/modules/mcp/mcp.service.d.ts +6 -2
  527. package/dist/modules/mcp/mcp.service.js +72 -4
  528. package/dist/modules/mcp/mcp.service.js.map +1 -1
  529. package/dist/modules/mcp/mcp.settings.controller.d.ts +4 -2
  530. package/dist/modules/mcp/mcp.settings.controller.js +6 -3
  531. package/dist/modules/mcp/mcp.settings.controller.js.map +1 -1
  532. package/dist/modules/mcp/mcp.types.d.ts +2 -1
  533. package/dist/modules/mcp/mcp.types.js.map +1 -1
  534. package/dist/modules/mcp/tools/agents/agent-reference.d.ts +9 -0
  535. package/dist/modules/mcp/tools/agents/agent-reference.js +169 -0
  536. package/dist/modules/mcp/tools/agents/agent-reference.js.map +1 -0
  537. package/dist/modules/mcp/tools/agents/agent-tools.service.d.ts +87 -0
  538. package/dist/modules/mcp/tools/agents/agent-tools.service.js +1157 -0
  539. package/dist/modules/mcp/tools/agents/agent-tools.service.js.map +1 -0
  540. package/dist/modules/mcp/tools/get-execution.tool.js +4 -4
  541. package/dist/modules/mcp/tools/get-execution.tool.js.map +1 -1
  542. package/dist/modules/mcp/tools/get-workflow-details.tool.d.ts +1 -1
  543. package/dist/modules/mcp/tools/get-workflow-details.tool.js +7 -4
  544. package/dist/modules/mcp/tools/get-workflow-details.tool.js.map +1 -1
  545. package/dist/modules/mcp/tools/get-workflow-version.tool.js +1 -1
  546. package/dist/modules/mcp/tools/get-workflow-version.tool.js.map +1 -1
  547. package/dist/modules/mcp/tools/list-credentials.tool.js +1 -1
  548. package/dist/modules/mcp/tools/list-credentials.tool.js.map +1 -1
  549. package/dist/modules/mcp/tools/list-tags.tool.js +3 -3
  550. package/dist/modules/mcp/tools/list-tags.tool.js.map +1 -1
  551. package/dist/modules/mcp/tools/prepare-workflow-pin-data.tool.js +3 -3
  552. package/dist/modules/mcp/tools/prepare-workflow-pin-data.tool.js.map +1 -1
  553. package/dist/modules/mcp/tools/publish-workflow.tool.js +14 -2
  554. package/dist/modules/mcp/tools/publish-workflow.tool.js.map +1 -1
  555. package/dist/modules/mcp/tools/schemas.d.ts +381 -0
  556. package/dist/modules/mcp/tools/schemas.js +25 -1
  557. package/dist/modules/mcp/tools/schemas.js.map +1 -1
  558. package/dist/modules/mcp/tools/search-executions.tool.js +3 -3
  559. package/dist/modules/mcp/tools/search-executions.tool.js.map +1 -1
  560. package/dist/modules/mcp/tools/search-projects.tool.js +1 -1
  561. package/dist/modules/mcp/tools/search-projects.tool.js.map +1 -1
  562. package/dist/modules/mcp/tools/test-workflow.tool.js +2 -2
  563. package/dist/modules/mcp/tools/test-workflow.tool.js.map +1 -1
  564. package/dist/modules/mcp/tools/webhook-utils.d.ts +1 -1
  565. package/dist/modules/mcp/tools/webhook-utils.js +5 -1
  566. package/dist/modules/mcp/tools/webhook-utils.js.map +1 -1
  567. package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.js +12 -1
  568. package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.js.map +1 -1
  569. package/dist/modules/mcp/tools/workflow-builder/credentials-auto-assign.js +55 -29
  570. package/dist/modules/mcp/tools/workflow-builder/credentials-auto-assign.js.map +1 -1
  571. package/dist/modules/mcp/tools/workflow-builder/get-workflow-best-practices.tool.js +1 -1
  572. package/dist/modules/mcp/tools/workflow-builder/get-workflow-best-practices.tool.js.map +1 -1
  573. package/dist/modules/mcp/tools/workflow-builder/get-workflow-node-types.tool.js +1 -1
  574. package/dist/modules/mcp/tools/workflow-builder/get-workflow-node-types.tool.js.map +1 -1
  575. package/dist/modules/mcp/tools/workflow-builder/get-workflow-sdk-reference.tool.js +1 -1
  576. package/dist/modules/mcp/tools/workflow-builder/get-workflow-sdk-reference.tool.js.map +1 -1
  577. package/dist/modules/mcp/tools/workflow-builder/mcp-instructions.d.ts +1 -0
  578. package/dist/modules/mcp/tools/workflow-builder/mcp-instructions.js +27 -3
  579. package/dist/modules/mcp/tools/workflow-builder/mcp-instructions.js.map +1 -1
  580. package/dist/modules/mcp/tools/workflow-builder/search-workflow-nodes.tool.d.ts +10 -1
  581. package/dist/modules/mcp/tools/workflow-builder/search-workflow-nodes.tool.js +14 -4
  582. package/dist/modules/mcp/tools/workflow-builder/search-workflow-nodes.tool.js.map +1 -1
  583. package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.js +119 -15
  584. package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.js.map +1 -1
  585. package/dist/modules/mcp/tools/workflow-builder/validate-workflow-code.tool.js +1 -1
  586. package/dist/modules/mcp/tools/workflow-builder/validate-workflow-code.tool.js.map +1 -1
  587. package/dist/modules/mcp/tools/workflow-builder/workflow-operations.d.ts +15 -1
  588. package/dist/modules/mcp/tools/workflow-builder/workflow-operations.js +46 -18
  589. package/dist/modules/mcp/tools/workflow-builder/workflow-operations.js.map +1 -1
  590. package/dist/modules/mcp-registry/registry/mcp-registry-search.d.ts +1 -0
  591. package/dist/modules/mcp-registry/registry/mcp-registry-search.js +8 -6
  592. package/dist/modules/mcp-registry/registry/mcp-registry-search.js.map +1 -1
  593. package/dist/modules/mcp-registry/registry/mcp-registry.service.d.ts +1 -0
  594. package/dist/modules/mcp-registry/registry/mcp-registry.service.js +3 -0
  595. package/dist/modules/mcp-registry/registry/mcp-registry.service.js.map +1 -1
  596. package/dist/modules/n8n-packages/engine/import-blocked.error.js +3 -1
  597. package/dist/modules/n8n-packages/engine/import-blocked.error.js.map +1 -1
  598. package/dist/modules/n8n-packages/engine/import-gates.d.ts +11 -0
  599. package/dist/modules/n8n-packages/engine/import-gates.js +34 -0
  600. package/dist/modules/n8n-packages/engine/import-gates.js.map +1 -0
  601. package/dist/modules/n8n-packages/engine/import-orchestrator.d.ts +17 -8
  602. package/dist/modules/n8n-packages/engine/import-orchestrator.js +42 -24
  603. package/dist/modules/n8n-packages/engine/import-orchestrator.js.map +1 -1
  604. package/dist/modules/n8n-packages/engine/import-result.d.ts +16 -4
  605. package/dist/modules/n8n-packages/engine/import-result.js +56 -20
  606. package/dist/modules/n8n-packages/engine/import-result.js.map +1 -1
  607. package/dist/modules/n8n-packages/engine/import-telemetry.d.ts +4 -2
  608. package/dist/modules/n8n-packages/engine/import-telemetry.js +25 -5
  609. package/dist/modules/n8n-packages/engine/import-telemetry.js.map +1 -1
  610. package/dist/modules/n8n-packages/engine/n8n-package-parser.js +4 -0
  611. package/dist/modules/n8n-packages/engine/n8n-package-parser.js.map +1 -1
  612. package/dist/modules/n8n-packages/engine/package-layout.d.ts +1 -0
  613. package/dist/modules/n8n-packages/engine/package-layout.js +9 -0
  614. package/dist/modules/n8n-packages/engine/package-layout.js.map +1 -1
  615. package/dist/modules/n8n-packages/engine/project-package-importer.d.ts +3 -1
  616. package/dist/modules/n8n-packages/engine/project-package-importer.js +68 -25
  617. package/dist/modules/n8n-packages/engine/project-package-importer.js.map +1 -1
  618. package/dist/modules/n8n-packages/engine/workflow-package-importer.d.ts +3 -1
  619. package/dist/modules/n8n-packages/engine/workflow-package-importer.js +54 -16
  620. package/dist/modules/n8n-packages/engine/workflow-package-importer.js.map +1 -1
  621. package/dist/modules/n8n-packages/entities/folder/folder.exporter.d.ts +1 -0
  622. package/dist/modules/n8n-packages/entities/folder/folder.exporter.js +1 -0
  623. package/dist/modules/n8n-packages/entities/folder/folder.exporter.js.map +1 -1
  624. package/dist/modules/n8n-packages/entities/project/project-import.types.d.ts +2 -0
  625. package/dist/modules/n8n-packages/entities/project/project-importer.js +9 -1
  626. package/dist/modules/n8n-packages/entities/project/project-importer.js.map +1 -1
  627. package/dist/modules/n8n-packages/entities/project/project.exporter.d.ts +1 -0
  628. package/dist/modules/n8n-packages/entities/project/project.exporter.js +2 -0
  629. package/dist/modules/n8n-packages/entities/project/project.exporter.js.map +1 -1
  630. package/dist/modules/n8n-packages/entities/project/project.serializer.js +3 -0
  631. package/dist/modules/n8n-packages/entities/project/project.serializer.js.map +1 -1
  632. package/dist/modules/n8n-packages/entities/reference.d.ts +6 -0
  633. package/dist/modules/n8n-packages/entities/reference.js +3 -0
  634. package/dist/modules/n8n-packages/entities/reference.js.map +1 -0
  635. package/dist/modules/n8n-packages/entities/requirements.types.d.ts +2 -0
  636. package/dist/modules/n8n-packages/entities/requirements.types.js +1 -0
  637. package/dist/modules/n8n-packages/entities/requirements.types.js.map +1 -1
  638. package/dist/modules/n8n-packages/entities/tag/tag-import-decision.d.ts +24 -0
  639. package/dist/modules/n8n-packages/entities/tag/tag-import-decision.js +69 -0
  640. package/dist/modules/n8n-packages/entities/tag/tag-import-decision.js.map +1 -0
  641. package/dist/modules/n8n-packages/entities/tag/tag-importer.d.ts +14 -0
  642. package/dist/modules/n8n-packages/entities/tag/tag-importer.js +142 -0
  643. package/dist/modules/n8n-packages/entities/tag/tag-importer.js.map +1 -0
  644. package/dist/modules/n8n-packages/entities/tag/tag-requirements.extractor.d.ts +6 -0
  645. package/dist/modules/n8n-packages/entities/tag/tag-requirements.extractor.js +23 -0
  646. package/dist/modules/n8n-packages/entities/tag/tag-requirements.extractor.js.map +1 -0
  647. package/dist/modules/n8n-packages/entities/tag/tag.exporter.d.ts +15 -0
  648. package/dist/modules/n8n-packages/entities/tag/tag.exporter.js +45 -0
  649. package/dist/modules/n8n-packages/entities/tag/tag.exporter.js.map +1 -0
  650. package/dist/modules/n8n-packages/entities/tag/tag.types.d.ts +48 -0
  651. package/dist/modules/n8n-packages/entities/tag/tag.types.js +10 -0
  652. package/dist/modules/n8n-packages/entities/tag/tag.types.js.map +1 -0
  653. package/dist/modules/n8n-packages/entities/variable/variable-importer.d.ts +8 -2
  654. package/dist/modules/n8n-packages/entities/variable/variable-importer.js +82 -6
  655. package/dist/modules/n8n-packages/entities/variable/variable-importer.js.map +1 -1
  656. package/dist/modules/n8n-packages/entities/variable/variable-missing-mode.d.ts +1 -0
  657. package/dist/modules/n8n-packages/entities/variable/variable-missing-mode.js +9 -4
  658. package/dist/modules/n8n-packages/entities/variable/variable-missing-mode.js.map +1 -1
  659. package/dist/modules/n8n-packages/entities/variable/variable.types.d.ts +31 -1
  660. package/dist/modules/n8n-packages/entities/variable/variable.types.js +36 -0
  661. package/dist/modules/n8n-packages/entities/variable/variable.types.js.map +1 -1
  662. package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow-resolver.d.ts +1 -0
  663. package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow-resolver.js +4 -3
  664. package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow-resolver.js.map +1 -1
  665. package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow.exporter.d.ts +4 -1
  666. package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow.exporter.js +10 -6
  667. package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow.exporter.js.map +1 -1
  668. package/dist/modules/n8n-packages/entities/workflow/references/caller-ids.reference.d.ts +3 -0
  669. package/dist/modules/n8n-packages/entities/workflow/references/caller-ids.reference.js +20 -0
  670. package/dist/modules/n8n-packages/entities/workflow/references/caller-ids.reference.js.map +1 -0
  671. package/dist/modules/n8n-packages/entities/workflow/references/error-workflow.reference.d.ts +3 -0
  672. package/dist/modules/n8n-packages/entities/workflow/references/error-workflow.reference.js +25 -0
  673. package/dist/modules/n8n-packages/entities/workflow/references/error-workflow.reference.js.map +1 -0
  674. package/dist/modules/n8n-packages/entities/workflow/references/extract-workflow-requirements.d.ts +3 -0
  675. package/dist/modules/n8n-packages/entities/workflow/references/extract-workflow-requirements.js +16 -0
  676. package/dist/modules/n8n-packages/entities/workflow/references/extract-workflow-requirements.js.map +1 -0
  677. package/dist/modules/n8n-packages/entities/workflow/references/sub-workflow-node.reference.d.ts +6 -0
  678. package/dist/modules/n8n-packages/entities/workflow/references/sub-workflow-node.reference.js +55 -0
  679. package/dist/modules/n8n-packages/entities/workflow/references/sub-workflow-node.reference.js.map +1 -0
  680. package/dist/modules/n8n-packages/entities/workflow/references/workflow-references.d.ts +3 -0
  681. package/dist/modules/n8n-packages/entities/workflow/references/workflow-references.js +12 -0
  682. package/dist/modules/n8n-packages/entities/workflow/references/workflow-references.js.map +1 -0
  683. package/dist/modules/n8n-packages/entities/workflow/sub-workflow-ordering.d.ts +4 -0
  684. package/dist/modules/n8n-packages/entities/workflow/sub-workflow-ordering.js +45 -0
  685. package/dist/modules/n8n-packages/entities/workflow/sub-workflow-ordering.js.map +1 -0
  686. package/dist/modules/n8n-packages/entities/workflow/workflow-dependency-resolver.d.ts +2 -3
  687. package/dist/modules/n8n-packages/entities/workflow/workflow-dependency-resolver.js +7 -5
  688. package/dist/modules/n8n-packages/entities/workflow/workflow-dependency-resolver.js.map +1 -1
  689. package/dist/modules/n8n-packages/entities/workflow/workflow-import.types.d.ts +14 -3
  690. package/dist/modules/n8n-packages/entities/workflow/workflow-importer.d.ts +5 -6
  691. package/dist/modules/n8n-packages/entities/workflow/workflow-importer.js +25 -19
  692. package/dist/modules/n8n-packages/entities/workflow/workflow-importer.js.map +1 -1
  693. package/dist/modules/n8n-packages/entities/workflow/workflow-publisher.d.ts +11 -2
  694. package/dist/modules/n8n-packages/entities/workflow/workflow-publisher.js +17 -2
  695. package/dist/modules/n8n-packages/entities/workflow/workflow-publisher.js.map +1 -1
  696. package/dist/modules/n8n-packages/entities/workflow/workflow-requirement.exporter.d.ts +7 -1
  697. package/dist/modules/n8n-packages/entities/workflow/workflow-requirement.exporter.js +28 -7
  698. package/dist/modules/n8n-packages/entities/workflow/workflow-requirement.exporter.js.map +1 -1
  699. package/dist/modules/n8n-packages/entities/workflow/workflow.exporter.d.ts +4 -1
  700. package/dist/modules/n8n-packages/entities/workflow/workflow.exporter.js +11 -5
  701. package/dist/modules/n8n-packages/entities/workflow/workflow.exporter.js.map +1 -1
  702. package/dist/modules/n8n-packages/entities/workflow/workflow.serializer.d.ts +3 -1
  703. package/dist/modules/n8n-packages/entities/workflow/workflow.serializer.js +6 -1
  704. package/dist/modules/n8n-packages/entities/workflow/workflow.serializer.js.map +1 -1
  705. package/dist/modules/n8n-packages/n8n-packages.service.d.ts +5 -1
  706. package/dist/modules/n8n-packages/n8n-packages.service.js +32 -9
  707. package/dist/modules/n8n-packages/n8n-packages.service.js.map +1 -1
  708. package/dist/modules/n8n-packages/n8n-packages.types.d.ts +49 -4
  709. package/dist/modules/n8n-packages/n8n-packages.types.js +15 -1
  710. package/dist/modules/n8n-packages/n8n-packages.types.js.map +1 -1
  711. package/dist/modules/n8n-packages/spec/manifest.schema.d.ts +95 -11
  712. package/dist/modules/n8n-packages/spec/manifest.schema.js +2 -0
  713. package/dist/modules/n8n-packages/spec/manifest.schema.js.map +1 -1
  714. package/dist/modules/n8n-packages/spec/requirements.schema.d.ts +52 -7
  715. package/dist/modules/n8n-packages/spec/requirements.schema.js +10 -1
  716. package/dist/modules/n8n-packages/spec/requirements.schema.js.map +1 -1
  717. package/dist/modules/n8n-packages/spec/serialized/project.schema.d.ts +18 -0
  718. package/dist/modules/n8n-packages/spec/serialized/project.schema.js +5 -0
  719. package/dist/modules/n8n-packages/spec/serialized/project.schema.js.map +1 -1
  720. package/dist/modules/n8n-packages/spec/serialized/tag.schema.d.ts +12 -0
  721. package/dist/modules/n8n-packages/spec/serialized/tag.schema.js +11 -0
  722. package/dist/modules/n8n-packages/spec/serialized/tag.schema.js.map +1 -0
  723. package/dist/modules/n8n-packages/spec/serialized/workflow.schema.d.ts +3 -0
  724. package/dist/modules/n8n-packages/spec/serialized/workflow.schema.js +1 -0
  725. package/dist/modules/n8n-packages/spec/serialized/workflow.schema.js.map +1 -1
  726. package/dist/modules/oauth-server/database/entities/oauth-client.entity.d.ts +1 -0
  727. package/dist/modules/oauth-server/database/entities/oauth-client.entity.js +4 -0
  728. package/dist/modules/oauth-server/database/entities/oauth-client.entity.js.map +1 -1
  729. package/dist/modules/oauth-server/database/repositories/oauth-user-consent.repository.d.ts +1 -0
  730. package/dist/modules/oauth-server/database/repositories/oauth-user-consent.repository.js +13 -1
  731. package/dist/modules/oauth-server/database/repositories/oauth-user-consent.repository.js.map +1 -1
  732. package/dist/modules/oauth-server/oauth-flow.service.d.ts +17 -0
  733. package/dist/modules/oauth-server/oauth-flow.service.js +100 -0
  734. package/dist/modules/oauth-server/oauth-flow.service.js.map +1 -0
  735. package/dist/modules/oauth-server/oauth-server.module.js +5 -5
  736. package/dist/modules/oauth-server/oauth-server.module.js.map +1 -1
  737. package/dist/modules/oauth-server/oauth-server.service.d.ts +8 -2
  738. package/dist/modules/oauth-server/oauth-server.service.js +64 -11
  739. package/dist/modules/oauth-server/oauth-server.service.js.map +1 -1
  740. package/dist/modules/oauth-server/oauth.controller.js +3 -1
  741. package/dist/modules/oauth-server/oauth.controller.js.map +1 -1
  742. package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-resource.resolver.d.ts +38 -0
  743. package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-resource.resolver.js +95 -0
  744. package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-resource.resolver.js.map +1 -0
  745. package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-test-resource.resolver.d.ts +37 -0
  746. package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-test-resource.resolver.js +88 -0
  747. package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-test-resource.resolver.js.map +1 -0
  748. package/dist/modules/oauth-server/protected-resource-resolvers/index.d.ts +1 -0
  749. package/dist/modules/oauth-server/protected-resource-resolvers/index.js +20 -0
  750. package/dist/modules/oauth-server/protected-resource-resolvers/index.js.map +1 -0
  751. package/dist/modules/oauth-server/protected-resource-resolvers/utils.d.ts +5 -0
  752. package/dist/modules/oauth-server/protected-resource-resolvers/utils.js +16 -1
  753. package/dist/modules/oauth-server/protected-resource-resolvers/utils.js.map +1 -1
  754. package/dist/modules/oauth-server/protected-resource-resolvers/workflow-webhook-test-trigger-resource.resolver.d.ts +19 -0
  755. package/dist/modules/oauth-server/protected-resource-resolvers/workflow-webhook-test-trigger-resource.resolver.js +107 -0
  756. package/dist/modules/oauth-server/protected-resource-resolvers/workflow-webhook-test-trigger-resource.resolver.js.map +1 -0
  757. package/dist/modules/oauth-server/protected-resource-resolvers/workflow-webhook-trigger-resource.resolver.d.ts +21 -0
  758. package/dist/modules/oauth-server/protected-resource-resolvers/workflow-webhook-trigger-resource.resolver.js +109 -0
  759. package/dist/modules/oauth-server/protected-resource-resolvers/workflow-webhook-trigger-resource.resolver.js.map +1 -0
  760. package/dist/modules/otel/otel-lifecycle-handler.d.ts +0 -1
  761. package/dist/modules/otel/otel-lifecycle-handler.js +1 -4
  762. package/dist/modules/otel/otel-lifecycle-handler.js.map +1 -1
  763. package/dist/modules/provisioning.ee/provisioning.service.ee.d.ts +4 -0
  764. package/dist/modules/provisioning.ee/provisioning.service.ee.js +102 -20
  765. package/dist/modules/provisioning.ee/provisioning.service.ee.js.map +1 -1
  766. package/dist/modules/provisioning.ee/role-deletion-checker.ee.d.ts +3 -1
  767. package/dist/modules/provisioning.ee/role-deletion-checker.ee.js +13 -5
  768. package/dist/modules/provisioning.ee/role-deletion-checker.ee.js.map +1 -1
  769. package/dist/modules/source-control.ee/source-control-import.service.ee.d.ts +7 -1
  770. package/dist/modules/source-control.ee/source-control-import.service.ee.js +33 -7
  771. package/dist/modules/source-control.ee/source-control-import.service.ee.js.map +1 -1
  772. package/dist/modules/source-control.ee/source-control.controller.ee.d.ts +8 -0
  773. package/dist/modules/source-control.ee/source-control.service.ee.d.ts +4 -0
  774. package/dist/modules/source-control.ee/source-control.service.ee.js +5 -2
  775. package/dist/modules/source-control.ee/source-control.service.ee.js.map +1 -1
  776. package/dist/modules/source-control.ee/types/import-result.d.ts +2 -0
  777. package/dist/modules/sso-oidc/constants.d.ts +2 -0
  778. package/dist/modules/sso-oidc/constants.js +3 -1
  779. package/dist/modules/sso-oidc/constants.js.map +1 -1
  780. package/dist/modules/sso-oidc/oidc.controller.ee.d.ts +4 -1
  781. package/dist/modules/sso-oidc/oidc.controller.ee.js +54 -1
  782. package/dist/modules/sso-oidc/oidc.controller.ee.js.map +1 -1
  783. package/dist/modules/sso-oidc/oidc.service.ee.d.ts +9 -2
  784. package/dist/modules/sso-oidc/oidc.service.ee.js +44 -15
  785. package/dist/modules/sso-oidc/oidc.service.ee.js.map +1 -1
  786. package/dist/modules/sso-saml/saml-helpers.js +2 -3
  787. package/dist/modules/sso-saml/saml-helpers.js.map +1 -1
  788. package/dist/modules/sso-saml/saml.service.ee.js +2 -3
  789. package/dist/modules/sso-saml/saml.service.ee.js.map +1 -1
  790. package/dist/modules/workflow-reviews.ee/workflow-review-feature-gate.service.d.ts +10 -0
  791. package/dist/modules/workflow-reviews.ee/workflow-review-feature-gate.service.js +54 -0
  792. package/dist/modules/workflow-reviews.ee/workflow-review-feature-gate.service.js.map +1 -0
  793. package/dist/modules/workflow-reviews.ee/workflow-review-inbox.service.d.ts +31 -0
  794. package/dist/modules/workflow-reviews.ee/workflow-review-inbox.service.js +219 -0
  795. package/dist/modules/workflow-reviews.ee/workflow-review-inbox.service.js.map +1 -0
  796. package/dist/modules/workflow-reviews.ee/workflow-review-publish-guard.service.d.ts +9 -0
  797. package/dist/modules/workflow-reviews.ee/workflow-review-publish-guard.service.js +40 -0
  798. package/dist/modules/workflow-reviews.ee/workflow-review-publish-guard.service.js.map +1 -0
  799. package/dist/modules/workflow-reviews.ee/workflow-review-request.service.d.ts +19 -18
  800. package/dist/modules/workflow-reviews.ee/workflow-review-request.service.js +163 -155
  801. package/dist/modules/workflow-reviews.ee/workflow-review-request.service.js.map +1 -1
  802. package/dist/modules/workflow-reviews.ee/workflow-review-requests.controller.d.ts +6 -2
  803. package/dist/modules/workflow-reviews.ee/workflow-review-requests.controller.js +29 -4
  804. package/dist/modules/workflow-reviews.ee/workflow-review-requests.controller.js.map +1 -1
  805. package/dist/modules/workflow-reviews.ee/workflow-review.mapper.d.ts +3 -0
  806. package/dist/modules/workflow-reviews.ee/workflow-review.mapper.js +12 -0
  807. package/dist/modules/workflow-reviews.ee/workflow-review.mapper.js.map +1 -0
  808. package/dist/modules/workflow-reviews.ee/workflow-reviews.module.js +4 -0
  809. package/dist/modules/workflow-reviews.ee/workflow-reviews.module.js.map +1 -1
  810. package/dist/node-catalog/node-catalog.service.d.ts +1 -0
  811. package/dist/node-catalog/node-catalog.service.js +11 -3
  812. package/dist/node-catalog/node-catalog.service.js.map +1 -1
  813. package/dist/node-execution/ephemeral-node-executor.js.map +1 -1
  814. package/dist/permissions.ee/project-scope.service.d.ts +9 -0
  815. package/dist/permissions.ee/project-scope.service.js +34 -0
  816. package/dist/permissions.ee/project-scope.service.js.map +1 -0
  817. package/dist/public-api/types.d.ts +11 -1
  818. package/dist/public-api/v1/handlers/ldap/ldap.handler.d.ts +10 -0
  819. package/dist/public-api/v1/handlers/ldap/ldap.handler.js +76 -0
  820. package/dist/public-api/v1/handlers/ldap/ldap.handler.js.map +1 -0
  821. package/dist/public-api/v1/handlers/ldap/ldap.mapper.d.ts +17 -0
  822. package/dist/public-api/v1/handlers/ldap/ldap.mapper.js +35 -0
  823. package/dist/public-api/v1/handlers/ldap/ldap.mapper.js.map +1 -0
  824. package/dist/public-api/v1/handlers/n8n-packages/n8n-packages.handler.d.ts +1 -0
  825. package/dist/public-api/v1/handlers/n8n-packages/n8n-packages.handler.js +4 -0
  826. package/dist/public-api/v1/handlers/n8n-packages/n8n-packages.handler.js.map +1 -1
  827. package/dist/public-api/v1/handlers/sso-oidc/sso-oidc.handler.d.ts +8 -0
  828. package/dist/public-api/v1/handlers/sso-oidc/sso-oidc.handler.js +38 -0
  829. package/dist/public-api/v1/handlers/sso-oidc/sso-oidc.handler.js.map +1 -0
  830. package/dist/public-api/v1/handlers/sso-oidc/sso-oidc.mapper.d.ts +5 -0
  831. package/dist/public-api/v1/handlers/sso-oidc/sso-oidc.mapper.js +12 -0
  832. package/dist/public-api/v1/handlers/sso-oidc/sso-oidc.mapper.js.map +1 -0
  833. package/dist/public-api/v1/openapi.yml +789 -9
  834. package/dist/push/index.js +1 -1
  835. package/dist/push/index.js.map +1 -1
  836. package/dist/push/origin-validator.d.ts +2 -1
  837. package/dist/push/origin-validator.js +15 -2
  838. package/dist/push/origin-validator.js.map +1 -1
  839. package/dist/push/sse.push.js +2 -0
  840. package/dist/push/sse.push.js.map +1 -1
  841. package/dist/scaling/job-processor.d.ts +3 -2
  842. package/dist/scaling/job-processor.js +17 -14
  843. package/dist/scaling/job-processor.js.map +1 -1
  844. package/dist/scaling/scaling.service.d.ts +3 -2
  845. package/dist/scaling/scaling.service.js +19 -16
  846. package/dist/scaling/scaling.service.js.map +1 -1
  847. package/dist/scaling/webhook-response-relay.d.ts +34 -0
  848. package/dist/scaling/webhook-response-relay.js +323 -0
  849. package/dist/scaling/webhook-response-relay.js.map +1 -0
  850. package/dist/scheduling/durable-job-provisioner.d.ts +2 -1
  851. package/dist/scheduling/durable-job-provisioner.js +21 -3
  852. package/dist/scheduling/durable-job-provisioner.js.map +1 -1
  853. package/dist/scheduling/durable-scheduler.js +22 -0
  854. package/dist/scheduling/durable-scheduler.js.map +1 -1
  855. package/dist/scheduling/poll-trigger-node/poll-trigger-job-registrar.js +2 -1
  856. package/dist/scheduling/poll-trigger-node/poll-trigger-job-registrar.js.map +1 -1
  857. package/dist/scheduling/schedule-trigger-node/schedule-trigger-job-registrar.js +11 -4
  858. package/dist/scheduling/schedule-trigger-node/schedule-trigger-job-registrar.js.map +1 -1
  859. package/dist/security-audit/security-audit.service.js +1 -1
  860. package/dist/security-audit/security-audit.service.js.map +1 -1
  861. package/dist/services/ai-gateway.service.d.ts +3 -0
  862. package/dist/services/ai-gateway.service.js +16 -0
  863. package/dist/services/ai-gateway.service.js.map +1 -1
  864. package/dist/services/credentials-tester.service.d.ts +7 -0
  865. package/dist/services/credentials-tester.service.js +69 -9
  866. package/dist/services/credentials-tester.service.js.map +1 -1
  867. package/dist/services/frontend.service.js +14 -0
  868. package/dist/services/frontend.service.js.map +1 -1
  869. package/dist/services/oauth2-flow-proxy.service.d.ts +11 -0
  870. package/dist/services/oauth2-flow-proxy.service.js +34 -0
  871. package/dist/services/oauth2-flow-proxy.service.js.map +1 -0
  872. package/dist/services/ownership-transfer/ownership-transfer.manifest.json +5 -0
  873. package/dist/services/project.service.ee.d.ts +5 -0
  874. package/dist/services/project.service.ee.js +15 -1
  875. package/dist/services/project.service.ee.js.map +1 -1
  876. package/dist/services/protected-resource.registry.d.ts +2 -1
  877. package/dist/services/protected-resource.registry.js +7 -2
  878. package/dist/services/protected-resource.registry.js.map +1 -1
  879. package/dist/services/pruning/workflow-history-compaction.service.js +3 -2
  880. package/dist/services/pruning/workflow-history-compaction.service.js.map +1 -1
  881. package/dist/services/tag.service.d.ts +2 -1
  882. package/dist/services/tag.service.js +14 -31
  883. package/dist/services/tag.service.js.map +1 -1
  884. package/dist/sso.ee/sso-helpers.d.ts +1 -0
  885. package/dist/sso.ee/sso-helpers.js +8 -0
  886. package/dist/sso.ee/sso-helpers.js.map +1 -1
  887. package/dist/task-runners/errors/task-request-timeout.error.d.ts +2 -2
  888. package/dist/task-runners/errors/task-request-timeout.error.js +3 -3
  889. package/dist/task-runners/errors/task-request-timeout.error.js.map +1 -1
  890. package/dist/task-runners/task-broker/errors/task-requester-accept-timeout.error.d.ts +4 -0
  891. package/dist/task-runners/task-broker/errors/task-requester-accept-timeout.error.js +11 -0
  892. package/dist/task-runners/task-broker/errors/task-requester-accept-timeout.error.js.map +1 -0
  893. package/dist/task-runners/task-broker/errors/task-runner-unreachable.error.d.ts +4 -0
  894. package/dist/task-runners/task-broker/errors/task-runner-unreachable.error.js +11 -0
  895. package/dist/task-runners/task-broker/errors/task-runner-unreachable.error.js.map +1 -0
  896. package/dist/task-runners/task-broker/task-broker-ws-server.d.ts +9 -1
  897. package/dist/task-runners/task-broker/task-broker-ws-server.js +61 -32
  898. package/dist/task-runners/task-broker/task-broker-ws-server.js.map +1 -1
  899. package/dist/task-runners/task-broker/task-broker.service.d.ts +18 -1
  900. package/dist/task-runners/task-broker/task-broker.service.js +134 -63
  901. package/dist/task-runners/task-broker/task-broker.service.js.map +1 -1
  902. package/dist/task-runners/task-managers/task-requester.d.ts +1 -0
  903. package/dist/task-runners/task-managers/task-requester.js +4 -1
  904. package/dist/task-runners/task-managers/task-requester.js.map +1 -1
  905. package/dist/task-runners/task-runner-module.js +2 -2
  906. package/dist/task-runners/task-runner-module.js.map +1 -1
  907. package/dist/telemetry/index.d.ts +3 -1
  908. package/dist/telemetry/index.js +15 -8
  909. package/dist/telemetry/index.js.map +1 -1
  910. package/dist/utils/ai-service-retry.js +2 -4
  911. package/dist/utils/ai-service-retry.js.map +1 -1
  912. package/dist/wait-tracker.js +6 -2
  913. package/dist/wait-tracker.js.map +1 -1
  914. package/dist/webhooks/test-webhooks.d.ts +1 -0
  915. package/dist/webhooks/test-webhooks.js +14 -9
  916. package/dist/webhooks/test-webhooks.js.map +1 -1
  917. package/dist/webhooks/webhook-helpers.js +69 -16
  918. package/dist/webhooks/webhook-helpers.js.map +1 -1
  919. package/dist/webhooks/webhook.service.d.ts +4 -0
  920. package/dist/webhooks/webhook.service.js +40 -12
  921. package/dist/webhooks/webhook.service.js.map +1 -1
  922. package/dist/workflow-execute-additional-data.js +2 -0
  923. package/dist/workflow-execute-additional-data.js.map +1 -1
  924. package/dist/workflow-helpers.d.ts +4 -1
  925. package/dist/workflow-helpers.js +22 -0
  926. package/dist/workflow-helpers.js.map +1 -1
  927. package/dist/workflow-runner.d.ts +2 -1
  928. package/dist/workflow-runner.js +4 -4
  929. package/dist/workflow-runner.js.map +1 -1
  930. package/dist/workflows/publication/published-workflow-trigger-deactivator.d.ts +11 -3
  931. package/dist/workflows/publication/published-workflow-trigger-deactivator.js +66 -23
  932. package/dist/workflows/publication/published-workflow-trigger-deactivator.js.map +1 -1
  933. package/dist/workflows/publication/workflow-publication-lifecycle-lock.d.ts +0 -5
  934. package/dist/workflows/publication/workflow-publication-lifecycle-lock.js +0 -44
  935. package/dist/workflows/publication/workflow-publication-lifecycle-lock.js.map +1 -1
  936. package/dist/workflows/publication/workflow-publication-outbox-consumer.js +3 -0
  937. package/dist/workflows/publication/workflow-publication-outbox-consumer.js.map +1 -1
  938. package/dist/workflows/publication/workflow-publication-reconciler.service.d.ts +4 -2
  939. package/dist/workflows/publication/workflow-publication-reconciler.service.js +43 -30
  940. package/dist/workflows/publication/workflow-publication-reconciler.service.js.map +1 -1
  941. package/dist/workflows/triggers/trigger-activation-retry.js +2 -1
  942. package/dist/workflows/triggers/trigger-activation-retry.js.map +1 -1
  943. package/dist/workflows/triggers/workflow-trigger-activator.js +8 -1
  944. package/dist/workflows/triggers/workflow-trigger-activator.js.map +1 -1
  945. package/dist/workflows/workflow-finder.service.d.ts +1 -0
  946. package/dist/workflows/workflow-finder.service.js +3 -1
  947. package/dist/workflows/workflow-finder.service.js.map +1 -1
  948. package/dist/workflows/workflow-publish-guard-proxy.service.d.ts +8 -0
  949. package/dist/workflows/workflow-publish-guard-proxy.service.js +26 -0
  950. package/dist/workflows/workflow-publish-guard-proxy.service.js.map +1 -0
  951. package/dist/workflows/workflow-validation.service.d.ts +1 -0
  952. package/dist/workflows/workflow-validation.service.js +23 -8
  953. package/dist/workflows/workflow-validation.service.js.map +1 -1
  954. package/dist/workflows/workflow.service.d.ts +7 -3
  955. package/dist/workflows/workflow.service.ee.d.ts +4 -1
  956. package/dist/workflows/workflow.service.js +75 -30
  957. package/dist/workflows/workflow.service.js.map +1 -1
  958. package/dist/workflows/workflows.controller.d.ts +4 -1
  959. package/package.json +39 -39
  960. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/n8n-oauth/index.d.ts +0 -2
  961. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/n8n-oauth/index.js +0 -19
  962. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/n8n-oauth/index.js.map +0 -1
  963. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/n8n-oauth/metadata.d.ts +0 -20
  964. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/n8n-oauth/metadata.js +0 -12
  965. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/n8n-oauth/metadata.js.map +0 -1
  966. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/n8n-oauth/n8n-oauth-extractor.d.ts +0 -12
  967. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/n8n-oauth/n8n-oauth-extractor.js +0 -85
  968. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/n8n-oauth/n8n-oauth-extractor.js.map +0 -1
  969. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/n8n-oauth/n8n-oauth-seeder.d.ts +0 -10
  970. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/n8n-oauth/n8n-oauth-seeder.js +0 -77
  971. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/n8n-oauth/n8n-oauth-seeder.js.map +0 -1
  972. package/dist/modules/n8n-packages/entities/workflow/static-sub-workflow-id.d.ts +0 -2
  973. package/dist/modules/n8n-packages/entities/workflow/static-sub-workflow-id.js +0 -23
  974. package/dist/modules/n8n-packages/entities/workflow/static-sub-workflow-id.js.map +0 -1
  975. package/dist/modules/n8n-packages/entities/workflow/workflow-requirements.extractor.d.ts +0 -7
  976. package/dist/modules/n8n-packages/entities/workflow/workflow-requirements.extractor.js +0 -41
  977. package/dist/modules/n8n-packages/entities/workflow/workflow-requirements.extractor.js.map +0 -1
  978. package/dist/services/trigger-auth-identity-seeder-proxy.service.d.ts +0 -10
  979. package/dist/services/trigger-auth-identity-seeder-proxy.service.js.map +0 -1
  980. package/dist/workflows/publication/published-workflow-enqueuer.d.ts +0 -13
  981. package/dist/workflows/publication/published-workflow-enqueuer.js +0 -50
  982. package/dist/workflows/publication/published-workflow-enqueuer.js.map +0 -1
@@ -47,8 +47,12 @@ tags:
47
47
  description: Operations about projects
48
48
  - name: SecurityPolicy
49
49
  description: Operations about the instance security policy settings
50
+ - name: SettingsLdap
51
+ description: Operations about LDAP settings
50
52
  - name: SettingsOtel
51
53
  description: Operations about OpenTelemetry settings
54
+ - name: SettingsSsoOidc
55
+ description: Operations about OIDC SSO settings
52
56
  - name: SettingsSsoSaml
53
57
  description: Operations about SAML SSO settings
54
58
  - name: SourceControl
@@ -108,6 +112,109 @@ paths:
108
112
  $ref: '#/components/responses/unauthorized'
109
113
  '500':
110
114
  description: Internal server error.
115
+ /settings/ldap:
116
+ get:
117
+ x-eov-operation-id: getLdapConfiguration
118
+ x-required-scope: ldap:manage
119
+ x-eov-operation-handler: v1/handlers/ldap/ldap.handler
120
+ tags:
121
+ - SettingsLdap
122
+ summary: Retrieve the LDAP configuration
123
+ description: |
124
+ Retrieve the current LDAP configuration, including every field exposed in the UI. The binding admin password is redacted on read. Requires the `ldap:manage` scope and the LDAP feature to be licensed.
125
+ responses:
126
+ '200':
127
+ description: Operation successful.
128
+ content:
129
+ application/json:
130
+ schema:
131
+ $ref: '#/components/schemas/ldap-configuration'
132
+ '401':
133
+ $ref: '#/components/responses/unauthorized'
134
+ '403':
135
+ $ref: '#/components/responses/forbidden'
136
+ put:
137
+ x-eov-operation-id: updateLdapConfiguration
138
+ x-required-scope: ldap:manage
139
+ x-eov-operation-handler: v1/handlers/ldap/ldap.handler
140
+ tags:
141
+ - SettingsLdap
142
+ summary: Set the LDAP configuration
143
+ description: |
144
+ Replace the LDAP configuration with the provided full object (partial updates are not supported). For bindingAdminPassword, submit the blanking placeholder from a prior GET to keep the stored password unchanged. Requires the `ldap:manage` scope and the LDAP feature to be licensed. Setting loginEnabled to false is destructive and it deletes all stored LDAP user identities and disables synchronization.
145
+ requestBody:
146
+ description: The full LDAP configuration to set.
147
+ required: true
148
+ content:
149
+ application/json:
150
+ schema:
151
+ $ref: '#/components/schemas/ldap-configuration.update'
152
+ responses:
153
+ '200':
154
+ description: Operation successful.
155
+ content:
156
+ application/json:
157
+ schema:
158
+ $ref: '#/components/schemas/ldap-configuration'
159
+ '400':
160
+ $ref: '#/components/responses/badRequest'
161
+ '401':
162
+ $ref: '#/components/responses/unauthorized'
163
+ '403':
164
+ $ref: '#/components/responses/forbidden'
165
+ /settings/ldap/sync:
166
+ get:
167
+ x-eov-operation-id: getLdapSync
168
+ x-required-scope: ldap:sync
169
+ x-eov-operation-handler: v1/handlers/ldap/ldap.handler
170
+ tags:
171
+ - SettingsLdap
172
+ summary: Retrieve LDAP synchronization history
173
+ description: |
174
+ Retrieve the history of LDAP synchronizations, most recent first. Requires the `ldap:sync` scope and the LDAP feature to be licensed.
175
+ parameters:
176
+ - $ref: '#/components/parameters/limit'
177
+ - $ref: '#/components/parameters/cursor'
178
+ responses:
179
+ '200':
180
+ description: Operation successful.
181
+ content:
182
+ application/json:
183
+ schema:
184
+ $ref: '#/components/schemas/ldap-sync-history.list'
185
+ '401':
186
+ $ref: '#/components/responses/unauthorized'
187
+ '403':
188
+ $ref: '#/components/responses/forbidden'
189
+ post:
190
+ x-eov-operation-id: runLdapSync
191
+ x-required-scope: ldap:sync
192
+ x-eov-operation-handler: v1/handlers/ldap/ldap.handler
193
+ tags:
194
+ - SettingsLdap
195
+ summary: Trigger an LDAP synchronization
196
+ description: |
197
+ Manually trigger an LDAP synchronization. The response returns the new sync history record. Requires the `ldap:sync` scope and the LDAP feature to be licensed.
198
+ requestBody:
199
+ description: Synchronization parameters.
200
+ required: true
201
+ content:
202
+ application/json:
203
+ schema:
204
+ $ref: '#/components/schemas/ldap-sync.update'
205
+ responses:
206
+ '200':
207
+ description: Operation successful.
208
+ content:
209
+ application/json:
210
+ schema:
211
+ $ref: '#/components/schemas/ldap-sync-history'
212
+ '400':
213
+ $ref: '#/components/responses/badRequest'
214
+ '401':
215
+ $ref: '#/components/responses/unauthorized'
216
+ '403':
217
+ $ref: '#/components/responses/forbidden'
111
218
  /settings/security-policy:
112
219
  get:
113
220
  x-eov-operation-id: getSecurityPolicy
@@ -242,6 +349,58 @@ paths:
242
349
  $ref: '#/components/responses/unauthorized'
243
350
  '403':
244
351
  $ref: '#/components/responses/forbidden'
352
+ /settings/sso/oidc:
353
+ get:
354
+ x-eov-operation-id: getOidcConfiguration
355
+ x-required-scope: oidc:manage
356
+ x-eov-operation-handler: v1/handlers/sso-oidc/sso-oidc.handler
357
+ tags:
358
+ - SettingsSsoOidc
359
+ summary: Retrieve the OIDC SSO configuration
360
+ description: |
361
+ Retrieve the current OIDC SSO configuration, including every field exposed in the UI. The client secret is redacted on read and is never echoed back in plaintext. Requires the `oidc:manage` scope and the OIDC feature to be licensed.
362
+ responses:
363
+ '200':
364
+ description: Operation successful.
365
+ content:
366
+ application/json:
367
+ schema:
368
+ $ref: '#/components/schemas/oidc-configuration'
369
+ '401':
370
+ $ref: '#/components/responses/unauthorized'
371
+ '403':
372
+ $ref: '#/components/responses/forbidden'
373
+ put:
374
+ x-eov-operation-id: setOidcConfiguration
375
+ x-required-scope: oidc:manage
376
+ x-eov-operation-handler: v1/handlers/sso-oidc/sso-oidc.handler
377
+ tags:
378
+ - SettingsSsoOidc
379
+ summary: Set the OIDC SSO configuration
380
+ description: |
381
+ Set the OIDC SSO configuration. The update takes effect exactly as it would from the UI, using the same validation. `clientId`, `clientSecret` and `discoveryEndpoint` are required; submit the redacted client secret sentinel to keep the stored secret unchanged. Requires the `oidc:manage` scope and the OIDC feature to be licensed. The client secret is redacted in the response. When the configuration is managed declaratively (via environment variables), the write is rejected with 409 and no changes are made.
382
+ requestBody:
383
+ description: The OIDC SSO configuration to set.
384
+ required: true
385
+ content:
386
+ application/json:
387
+ schema:
388
+ $ref: '#/components/schemas/oidc-configuration.update'
389
+ responses:
390
+ '200':
391
+ description: Operation successful.
392
+ content:
393
+ application/json:
394
+ schema:
395
+ $ref: '#/components/schemas/oidc-configuration'
396
+ '400':
397
+ $ref: '#/components/responses/badRequest'
398
+ '401':
399
+ $ref: '#/components/responses/unauthorized'
400
+ '403':
401
+ $ref: '#/components/responses/forbidden'
402
+ '409':
403
+ $ref: '#/components/responses/conflict'
245
404
  /settings/sso/saml:
246
405
  get:
247
406
  x-eov-operation-id: getSamlConfiguration
@@ -1131,6 +1290,12 @@ paths:
1131
1290
  $ref: '#/components/responses/unauthorized'
1132
1291
  '404':
1133
1292
  $ref: '#/components/responses/notFound'
1293
+ '409':
1294
+ description: Conflict, e.g. re-publication blocked by an open workflow review (then `reason` and `workflowReviewRequestId` are present; the update itself is still saved as a draft) or a webhook path conflict.
1295
+ content:
1296
+ application/json:
1297
+ schema:
1298
+ $ref: '#/components/schemas/workflowPublishBlockedError'
1134
1299
  /workflows/{id}/history:
1135
1300
  get:
1136
1301
  operationId: getWorkflowHistory
@@ -1228,6 +1393,12 @@ paths:
1228
1393
  $ref: '#/components/responses/unauthorized'
1229
1394
  '404':
1230
1395
  $ref: '#/components/responses/notFound'
1396
+ '409':
1397
+ description: Conflict, e.g. publication blocked by an open workflow review (then `reason` and `workflowReviewRequestId` are present) or a webhook path conflict.
1398
+ content:
1399
+ application/json:
1400
+ schema:
1401
+ $ref: '#/components/schemas/workflowPublishBlockedError'
1231
1402
  /workflows/{id}/deactivate:
1232
1403
  post:
1233
1404
  x-eov-operation-id: deactivateWorkflow
@@ -1292,6 +1463,12 @@ paths:
1292
1463
  $ref: '#/components/responses/unauthorized'
1293
1464
  '404':
1294
1465
  $ref: '#/components/responses/notFound'
1466
+ '409':
1467
+ description: Conflict, e.g. publication blocked by an open workflow review (then `reason` and `workflowReviewRequestId` are present) or a webhook path conflict.
1468
+ content:
1469
+ application/json:
1470
+ schema:
1471
+ $ref: '#/components/schemas/workflowPublishBlockedError'
1295
1472
  /workflows/{id}/unpublish:
1296
1473
  post:
1297
1474
  x-eov-operation-id: unpublishWorkflow
@@ -3305,9 +3482,9 @@ paths:
3305
3482
 
3306
3483
  Imports a gzip-compressed tar package (`.n8np`) into the target project. Send the
3307
3484
  archive as the multipart field `package`. Optional routing uses form fields
3308
- `projectId` and `folderId` (omit or send empty for defaults). The optional
3309
- `credentialMatchingMode`, `credentialMissingMode`, `bindings`,
3310
- `workflowIdPolicy`, and `workflowPublishingPolicy` fields take their defaults when omitted. The required
3485
+ `projectId` and `folderId` (omit or send empty for defaults). Every optional
3486
+ mode/policy field (credential, workflow, folder, data table, variable, and tag)
3487
+ takes its default when omitted. The required
3311
3488
  `workflowConflictPolicy` field controls what happens when a package workflow
3312
3489
  matches an existing workflow by source id in the target project. Maximum upload
3313
3490
  size is `N8N_ENDPOINTS_PAYLOAD_SIZE_MAX` MB (default 16).
@@ -3435,9 +3612,34 @@ paths:
3435
3612
  enum:
3436
3613
  - do-nothing
3437
3614
  - must-preexist
3615
+ - create-stub
3438
3616
  default: do-nothing
3439
3617
  description: |
3440
- Controls what happens when a variable referenced by the package's workflows is absent from the target project and the global scope (lookup order: project, then global). `do-nothing` (default) imports the workflows without creating the missing variable and lists its name under `variables.missing` in the response so the caller can fill it in afterwards. `must-preexist` rejects the import unless every referenced variable already resolves. Neither mode ever creates a variable.
3618
+ Controls what happens when a variable referenced by the package's workflows is absent from the target project and the global scope (lookup order: project, then global). `do-nothing` (default) imports the workflows without creating the missing variable and lists its name under `variables.missing`. `must-preexist` rejects the import unless every referenced variable already resolves. `create-stub` creates each missing variable with an empty value at the placement scope (see `variableParentPolicy`) and lists the created names under `variables.stubbed`. Any `create-stub` import that has variable requirements needs an API key carrying the `variable:create` scope (owner/admin keys only) — this applies to project placement too, not only `variableParentPolicy=global`.
3619
+ variableParentPolicy:
3620
+ type: string
3621
+ enum:
3622
+ - project
3623
+ - global
3624
+ description: |
3625
+ Where `create-stub` creates missing variables for workflow/folder packages. `project` — also the behaviour when the field is omitted — creates them in the import target project (`projectId`, else the caller's personal project). `global` creates them at the global scope. The `variable:create` API key scope requirement described under `variableMissingMode` applies to both placements. Must be omitted for project packages, which reject it with a 400: their placement follows the package layout, where a variable bundled under a project is created in that project and one bundled at the top level is created globally.
3626
+ tagMissingMode:
3627
+ type: string
3628
+ enum:
3629
+ - create
3630
+ - do-nothing
3631
+ default: create
3632
+ description: |
3633
+ What to do when a tag referenced by the package's workflows has no tag with the same id on the target instance (tags are matched by source id, never by name). `create` (default) creates the tag globally with its package (source) id and name; when the import would create a tag this needs an API key carrying the `tag:create` scope. `do-nothing` imports the workflows without the missing tags — nothing is created and the dropped names are listed under `tags.skipped`.
3634
+ tagConflictPolicy:
3635
+ type: string
3636
+ enum:
3637
+ - skip
3638
+ - fail
3639
+ - rename
3640
+ default: skip
3641
+ description: |
3642
+ What to do when a referenced tag conflicts on the target instance — either the same-id target tag carries a different name (rename drift), or the tag's name is already held by a different tag (name collision). `skip` (default) drops the conflicted tags from the import (not created, not renamed, not attached anywhere; the import proceeds and lists them under `tags.skipped`). `fail` rejects the import with a 409. `rename` renames a drifted target tag to the package name and needs an API key carrying the `tag:update` scope when the import would rename a tag; a name collision — including a drifted tag whose package name is held by another tag — still rejects the import (rename degrades to fail).
3441
3643
  responses:
3442
3644
  '200':
3443
3645
  description: Import succeeded; the listed workflows were written to the target project.
@@ -3453,6 +3655,7 @@ paths:
3453
3655
  - bindings
3454
3656
  - credentials
3455
3657
  - variables
3658
+ - tags
3456
3659
  properties:
3457
3660
  package:
3458
3661
  type: object
@@ -3622,10 +3825,11 @@ paths:
3622
3825
  variables:
3623
3826
  type: object
3624
3827
  description: |
3625
- Resolution of the package's variable requirements. Names only — values never travel in the response. For project packages, resolution runs per project, so a name that resolves in some projects but not others appears in both lists.
3828
+ Resolution of the package's variable requirements. Names only — values never travel in the response. For project packages these arrays are package-level unions of per-destination outcomes and may overlap (a name matched in one project and stubbed in another appears in both `matched` and `stubbed`); classification under concurrent external writes is best-effort.
3626
3829
  required:
3627
3830
  - matched
3628
3831
  - missing
3832
+ - stubbed
3629
3833
  properties:
3630
3834
  matched:
3631
3835
  type: array
@@ -3638,7 +3842,47 @@ paths:
3638
3842
  items:
3639
3843
  type: string
3640
3844
  description: |
3641
- Variable names that did not resolve. Under `variableMissingMode=do-nothing` these are warnings — the import still succeeds and nothing is created.
3845
+ Variable names still unresolved after import. Under `variableMissingMode=do-nothing` these are warnings — the import still succeeds and nothing is created. A successful `create-stub` import normally leaves this empty.
3846
+ stubbed:
3847
+ type: array
3848
+ items:
3849
+ type: string
3850
+ description: |
3851
+ Variable names created with an empty value by this import under `variableMissingMode=create-stub`. Empty for other modes.
3852
+ tags:
3853
+ type: object
3854
+ description: |
3855
+ Resolution of the tags referenced by the imported workflows, matched by source id. Tag names only.
3856
+ required:
3857
+ - matched
3858
+ - created
3859
+ - renamed
3860
+ - skipped
3861
+ properties:
3862
+ matched:
3863
+ type: array
3864
+ items:
3865
+ type: string
3866
+ description: |
3867
+ Tags that resolved to an existing tag with the same id and name; attached as-is.
3868
+ created:
3869
+ type: array
3870
+ items:
3871
+ type: string
3872
+ description: |
3873
+ Tags created by this import with their package (source) id and name, under `tagMissingMode=create`.
3874
+ renamed:
3875
+ type: array
3876
+ items:
3877
+ type: string
3878
+ description: |
3879
+ Target tags renamed to the package name under `tagConflictPolicy=rename`; listed by their new name.
3880
+ skipped:
3881
+ type: array
3882
+ items:
3883
+ type: string
3884
+ description: |
3885
+ Tags dropped from the import — not created, not renamed, and not attached to any imported workflow — under `tagMissingMode=do-nothing` or `tagConflictPolicy=skip`.
3642
3886
  bindings:
3643
3887
  type: object
3644
3888
  description: |
@@ -3667,7 +3911,7 @@ paths:
3667
3911
  $ref: '#/components/responses/notFound'
3668
3912
  '409':
3669
3913
  description: |
3670
- Import blocked by at least one conflict among the issues — a workflow source-id conflict or a folder conflict (id under a different parent, id owned by another project, or a `fail`-policy match).
3914
+ Import blocked by at least one conflict among the issues — a workflow source-id conflict, a folder conflict (id under a different parent, id owned by another project, or a `fail`-policy match), or a tag conflict (rename drift or name collision).
3671
3915
  content:
3672
3916
  application/json:
3673
3917
  schema:
@@ -3684,7 +3928,7 @@ paths:
3684
3928
  $ref: '#/components/schemas/importBlockingIssue'
3685
3929
  '422':
3686
3930
  description: |
3687
- Import blocked by non-conflict issues only (e.g. unresolved credentials or variables, or node types this instance does not have under `missingNodeTypeMode=fail`).
3931
+ Import blocked by non-conflict issues only (e.g. unresolved credentials or variables, node types this instance does not have under `missingNodeTypeMode=fail`, or variable stubs whose creation would exceed the instance variable quota).
3688
3932
  content:
3689
3933
  application/json:
3690
3934
  schema:
@@ -3978,6 +4222,321 @@ components:
3978
4222
  - kind: community
3979
4223
  nodeType: n8n-nodes-test.test
3980
4224
  packageUrl: https://www.npmjs.com/package/n8n-nodes-test
4225
+ ldap-configuration:
4226
+ type: object
4227
+ additionalProperties: false
4228
+ description: |
4229
+ Full LDAP configuration. Every field is returned by GET; send the full object back as PUT body.
4230
+ required:
4231
+ - loginEnabled
4232
+ - loginLabel
4233
+ - connectionUrl
4234
+ - allowUnauthorizedCerts
4235
+ - connectionSecurity
4236
+ - connectionPort
4237
+ - baseDn
4238
+ - bindingAdminDn
4239
+ - bindingAdminPassword
4240
+ - firstNameAttribute
4241
+ - lastNameAttribute
4242
+ - emailAttribute
4243
+ - loginIdAttribute
4244
+ - ldapIdAttribute
4245
+ - userFilter
4246
+ - synchronizationEnabled
4247
+ - synchronizationInterval
4248
+ - searchPageSize
4249
+ - searchTimeout
4250
+ - enforceEmailUniqueness
4251
+ properties:
4252
+ loginEnabled:
4253
+ type: boolean
4254
+ description: Whether LDAP login is enabled.
4255
+ example: false
4256
+ loginLabel:
4257
+ type: string
4258
+ description: Label shown on the LDAP login button.
4259
+ example: LDAP
4260
+ connectionUrl:
4261
+ type: string
4262
+ description: LDAP server URL.
4263
+ example: ldap://ldap.example.com
4264
+ allowUnauthorizedCerts:
4265
+ type: boolean
4266
+ description: Whether to allow unauthorized (self-signed) certificates.
4267
+ example: false
4268
+ connectionSecurity:
4269
+ type: string
4270
+ enum:
4271
+ - none
4272
+ - tls
4273
+ - startTls
4274
+ description: TLS/SSL security mode for the LDAP connection.
4275
+ example: none
4276
+ connectionPort:
4277
+ type: integer
4278
+ description: LDAP server port.
4279
+ example: 389
4280
+ baseDn:
4281
+ type: string
4282
+ description: Base DN for LDAP search queries.
4283
+ example: dc=example,dc=com
4284
+ bindingAdminDn:
4285
+ type: string
4286
+ description: DN of the LDAP admin user for binding.
4287
+ example: cn=admin,dc=example,dc=com
4288
+ bindingAdminPassword:
4289
+ type: string
4290
+ description: |
4291
+ Password for the LDAP admin user. Redacted on GET; returns the blanking placeholder when a password is stored, empty string when unset. Send the blanking placeholder from a prior GET to keep the stored password unchanged.
4292
+ firstNameAttribute:
4293
+ type: string
4294
+ description: LDAP attribute mapped to the user's first name.
4295
+ example: givenName
4296
+ lastNameAttribute:
4297
+ type: string
4298
+ description: LDAP attribute mapped to the user's last name.
4299
+ example: sn
4300
+ emailAttribute:
4301
+ type: string
4302
+ description: LDAP attribute mapped to the user's email.
4303
+ example: mail
4304
+ loginIdAttribute:
4305
+ type: string
4306
+ description: LDAP attribute used for login (usually the same as emailAttribute).
4307
+ example: mail
4308
+ ldapIdAttribute:
4309
+ type: string
4310
+ description: LDAP attribute that uniquely identifies a user.
4311
+ example: uid
4312
+ userFilter:
4313
+ type: string
4314
+ description: |
4315
+ Additional LDAP filter to apply when searching for users. Use an empty string for no additional filter.
4316
+ example: (objectClass=inetOrgPerson)
4317
+ synchronizationEnabled:
4318
+ type: boolean
4319
+ description: Whether automatic LDAP synchronization is enabled.
4320
+ example: false
4321
+ synchronizationInterval:
4322
+ type: integer
4323
+ description: Interval in minutes between automatic synchronizations. Ignored if synchronizationEnabled is false.
4324
+ example: 60
4325
+ searchPageSize:
4326
+ type: integer
4327
+ description: Number of LDAP entries to fetch per search page.
4328
+ example: 1000
4329
+ searchTimeout:
4330
+ type: integer
4331
+ description: LDAP search timeout in seconds.
4332
+ example: 60
4333
+ enforceEmailUniqueness:
4334
+ type: boolean
4335
+ description: |
4336
+ Whether to enforce that email addresses are unique across LDAP users. When true, if two users have the same email, only the first will be imported.
4337
+ example: true
4338
+ ldap-configuration.update:
4339
+ type: object
4340
+ additionalProperties: false
4341
+ description: Full LDAP configuration. Use empty strings for unset fields.
4342
+ required:
4343
+ - loginEnabled
4344
+ - loginLabel
4345
+ - connectionUrl
4346
+ - allowUnauthorizedCerts
4347
+ - connectionSecurity
4348
+ - connectionPort
4349
+ - baseDn
4350
+ - bindingAdminDn
4351
+ - bindingAdminPassword
4352
+ - firstNameAttribute
4353
+ - lastNameAttribute
4354
+ - emailAttribute
4355
+ - loginIdAttribute
4356
+ - ldapIdAttribute
4357
+ - userFilter
4358
+ - synchronizationEnabled
4359
+ - synchronizationInterval
4360
+ - searchPageSize
4361
+ - searchTimeout
4362
+ - enforceEmailUniqueness
4363
+ properties:
4364
+ loginEnabled:
4365
+ type: boolean
4366
+ description: |
4367
+ Whether LDAP login is enabled. Setting this to false is destructive — it deletes all stored LDAP user identities and disables synchronization.
4368
+ example: false
4369
+ loginLabel:
4370
+ type: string
4371
+ description: Label shown on the LDAP login button.
4372
+ example: LDAP
4373
+ connectionUrl:
4374
+ type: string
4375
+ description: LDAP server URL.
4376
+ example: ldap://ldap.example.com
4377
+ allowUnauthorizedCerts:
4378
+ type: boolean
4379
+ description: Whether to allow unauthorized (self-signed) certificates.
4380
+ example: false
4381
+ connectionSecurity:
4382
+ type: string
4383
+ enum:
4384
+ - none
4385
+ - tls
4386
+ - startTls
4387
+ description: TLS/SSL security mode for the LDAP connection.
4388
+ example: none
4389
+ connectionPort:
4390
+ type: integer
4391
+ description: LDAP server port.
4392
+ example: 389
4393
+ baseDn:
4394
+ type: string
4395
+ description: Base DN for LDAP search queries.
4396
+ example: dc=example,dc=com
4397
+ bindingAdminDn:
4398
+ type: string
4399
+ description: DN of the LDAP admin user for binding.
4400
+ example: cn=admin,dc=example,dc=com
4401
+ bindingAdminPassword:
4402
+ type: string
4403
+ description: |
4404
+ Password for the LDAP admin user. To keep an existing password unchanged, submit the blanking placeholder from a prior GET response. Use an empty string to clear the password.
4405
+ firstNameAttribute:
4406
+ type: string
4407
+ description: LDAP attribute mapped to the user's first name.
4408
+ example: givenName
4409
+ lastNameAttribute:
4410
+ type: string
4411
+ description: LDAP attribute mapped to the user's last name.
4412
+ example: sn
4413
+ emailAttribute:
4414
+ type: string
4415
+ description: LDAP attribute mapped to the user's email.
4416
+ example: mail
4417
+ loginIdAttribute:
4418
+ type: string
4419
+ description: LDAP attribute used for login (usually the same as emailAttribute).
4420
+ example: mail
4421
+ ldapIdAttribute:
4422
+ type: string
4423
+ description: LDAP attribute that uniquely identifies a user.
4424
+ example: uid
4425
+ userFilter:
4426
+ type: string
4427
+ description: |
4428
+ Additional LDAP filter to apply when searching for users. Use an empty string for no additional filter.
4429
+ example: (objectClass=inetOrgPerson)
4430
+ synchronizationEnabled:
4431
+ type: boolean
4432
+ description: Whether automatic LDAP synchronization is enabled.
4433
+ example: false
4434
+ synchronizationInterval:
4435
+ type: integer
4436
+ description: Interval in minutes between automatic synchronizations. Ignored if synchronizationEnabled is false.
4437
+ example: 60
4438
+ searchPageSize:
4439
+ type: integer
4440
+ description: Number of LDAP entries to fetch per search page.
4441
+ example: 1000
4442
+ searchTimeout:
4443
+ type: integer
4444
+ description: LDAP search timeout in seconds.
4445
+ example: 60
4446
+ enforceEmailUniqueness:
4447
+ type: boolean
4448
+ description: |
4449
+ Whether to enforce that email addresses are unique across LDAP users. When true, if two users have the same email, only the first will be imported.
4450
+ example: true
4451
+ ldap-sync-history:
4452
+ type: object
4453
+ additionalProperties: false
4454
+ description: LDAP synchronization history record.
4455
+ required:
4456
+ - id
4457
+ - runMode
4458
+ - status
4459
+ - startedAt
4460
+ - endedAt
4461
+ - scanned
4462
+ - created
4463
+ - updated
4464
+ - disabled
4465
+ - error
4466
+ properties:
4467
+ id:
4468
+ type: integer
4469
+ description: Unique identifier for this sync run.
4470
+ example: 1
4471
+ runMode:
4472
+ type: string
4473
+ enum:
4474
+ - dry
4475
+ - live
4476
+ description: Whether the sync was a dry run or applied live.
4477
+ example: live
4478
+ status:
4479
+ type: string
4480
+ description: Status of the synchronization (e.g., success, error).
4481
+ example: success
4482
+ startedAt:
4483
+ type: string
4484
+ format: date-time
4485
+ description: Timestamp when the synchronization started.
4486
+ example: '2025-07-21T10:30:00Z'
4487
+ endedAt:
4488
+ type: string
4489
+ format: date-time
4490
+ description: Timestamp when the synchronization completed.
4491
+ example: '2025-07-21T10:35:00Z'
4492
+ scanned:
4493
+ type: integer
4494
+ description: Number of LDAP entries scanned during synchronization.
4495
+ example: 42
4496
+ created:
4497
+ type: integer
4498
+ description: Number of new users created during synchronization.
4499
+ example: 5
4500
+ updated:
4501
+ type: integer
4502
+ description: Number of existing users updated during synchronization.
4503
+ example: 3
4504
+ disabled:
4505
+ type: integer
4506
+ description: Number of users disabled during synchronization.
4507
+ example: 0
4508
+ error:
4509
+ type: string
4510
+ description: Error message if the synchronization failed. Empty string if successful.
4511
+ example: ''
4512
+ ldap-sync-history.list:
4513
+ type: object
4514
+ properties:
4515
+ data:
4516
+ type: array
4517
+ items:
4518
+ $ref: '#/components/schemas/ldap-sync-history'
4519
+ nextCursor:
4520
+ type: string
4521
+ nullable: true
4522
+ description: |
4523
+ Paginate through the synchronization history by setting the cursor parameter to the nextCursor attribute returned by the previous request. A null value means there are no more records.
4524
+ example: MTIzZTQ1NjctZTg5Yi0xMmQzLWE0NTYtNDI2NjE0MTc0MDA
4525
+ ldap-sync.update:
4526
+ type: object
4527
+ additionalProperties: false
4528
+ description: Request body for triggering an LDAP synchronization.
4529
+ required:
4530
+ - type
4531
+ properties:
4532
+ type:
4533
+ type: string
4534
+ enum:
4535
+ - live
4536
+ - dry
4537
+ description: |
4538
+ Type of synchronization. 'live' applies changes to the database, 'dry' performs a test run without persisting changes.
4539
+ example: live
3981
4540
  security-policy:
3982
4541
  type: object
3983
4542
  additionalProperties: false
@@ -4186,6 +4745,130 @@ components:
4186
4745
  description: |
4187
4746
  The error reported by the collector or exporter. Present only when `success` is false.
4188
4747
  example: 'Failed to connect: 401 Unauthorized'
4748
+ oidc-configuration:
4749
+ type: object
4750
+ additionalProperties: false
4751
+ required:
4752
+ - clientId
4753
+ - clientSecret
4754
+ - discoveryEndpoint
4755
+ - loginEnabled
4756
+ - prompt
4757
+ - authenticationContextClassReference
4758
+ - additionalScopes
4759
+ - rpInitiatedLogoutEnabled
4760
+ properties:
4761
+ clientId:
4762
+ type: string
4763
+ description: The client ID issued when registering n8n with the OIDC provider.
4764
+ example: n8n-client
4765
+ clientSecret:
4766
+ type: string
4767
+ description: |
4768
+ The client secret issued when registering n8n with the OIDC provider. Redacted on read when set; never echoed back in plaintext.
4769
+ example: '**hidden**'
4770
+ discoveryEndpoint:
4771
+ type: string
4772
+ format: uri
4773
+ description: The OIDC provider's well-known discovery endpoint.
4774
+ example: https://accounts.google.com/.well-known/openid-configuration
4775
+ loginEnabled:
4776
+ type: boolean
4777
+ description: Whether OIDC single sign-on is enabled.
4778
+ example: false
4779
+ prompt:
4780
+ type: string
4781
+ enum:
4782
+ - none
4783
+ - login
4784
+ - consent
4785
+ - select_account
4786
+ - create
4787
+ description: The prompt parameter to use when authenticating with the OIDC provider.
4788
+ example: select_account
4789
+ authenticationContextClassReference:
4790
+ type: array
4791
+ items:
4792
+ type: string
4793
+ description: |
4794
+ ACR values to include in the authorization request (acr_values parameter), in order of preference.
4795
+ example:
4796
+ - mfa
4797
+ - pwd
4798
+ additionalScopes:
4799
+ type: string
4800
+ description: |
4801
+ Additional scopes to request, space separated. n8n always requests `openid`, `profile` and `email`.
4802
+ example: groups roles
4803
+ rpInitiatedLogoutEnabled:
4804
+ type: boolean
4805
+ description: |
4806
+ Whether signing out of n8n also ends the session at the OIDC provider via RP-Initiated Logout. When disabled, sign-out is local to n8n only.
4807
+ example: false
4808
+ oidc-configuration.update:
4809
+ type: object
4810
+ additionalProperties: false
4811
+ description: |
4812
+ Full OIDC SSO configuration to set. This is a full replacement: every writable field must be provided. Partial updates are rejected. Submit the redacted secret sentinel for `clientSecret` to keep the stored secret unchanged.
4813
+ required:
4814
+ - clientId
4815
+ - clientSecret
4816
+ - discoveryEndpoint
4817
+ - loginEnabled
4818
+ - prompt
4819
+ - authenticationContextClassReference
4820
+ - additionalScopes
4821
+ - rpInitiatedLogoutEnabled
4822
+ properties:
4823
+ clientId:
4824
+ type: string
4825
+ minLength: 1
4826
+ description: The client ID issued when registering n8n with the OIDC provider.
4827
+ example: n8n-client
4828
+ clientSecret:
4829
+ type: string
4830
+ minLength: 1
4831
+ description: |
4832
+ The client secret issued when registering n8n with the OIDC provider. Submit the redacted sentinel value returned on read to keep the stored secret unchanged.
4833
+ example: my-client-secret
4834
+ discoveryEndpoint:
4835
+ type: string
4836
+ format: uri
4837
+ description: The OIDC provider's well-known discovery endpoint.
4838
+ example: https://accounts.google.com/.well-known/openid-configuration
4839
+ loginEnabled:
4840
+ type: boolean
4841
+ description: Whether OIDC single sign-on is enabled.
4842
+ example: false
4843
+ prompt:
4844
+ type: string
4845
+ enum:
4846
+ - none
4847
+ - login
4848
+ - consent
4849
+ - select_account
4850
+ - create
4851
+ description: The prompt parameter to use when authenticating.
4852
+ example: select_account
4853
+ authenticationContextClassReference:
4854
+ type: array
4855
+ items:
4856
+ type: string
4857
+ description: |
4858
+ ACR values to include in the authorization request (acr_values parameter), in order of preference. Use an empty array when unused.
4859
+ example:
4860
+ - mfa
4861
+ - pwd
4862
+ additionalScopes:
4863
+ type: string
4864
+ description: |
4865
+ Additional scopes to request, space separated. n8n always requests `openid`, `profile` and `email`. Use an empty string when unused.
4866
+ example: groups roles
4867
+ rpInitiatedLogoutEnabled:
4868
+ type: boolean
4869
+ description: |
4870
+ Whether signing out of n8n also ends the session at the OIDC provider via RP-Initiated Logout. When disabled, sign-out is local to n8n only.
4871
+ example: false
4189
4872
  saml-configuration:
4190
4873
  type: object
4191
4874
  additionalProperties: false
@@ -5418,6 +6101,21 @@ components:
5418
6101
  $ref: '#/components/schemas/sharedWorkflow'
5419
6102
  activeVersion:
5420
6103
  $ref: '#/components/schemas/activeVersion'
6104
+ workflowPublishBlockedError:
6105
+ type: object
6106
+ description: Conflict response. `reason` and `workflowReviewRequestId` are present only when the conflict is an open workflow review blocking publication.
6107
+ required:
6108
+ - message
6109
+ properties:
6110
+ message:
6111
+ type: string
6112
+ reason:
6113
+ type: string
6114
+ enum:
6115
+ - review_pending
6116
+ - changes_requested
6117
+ workflowReviewRequestId:
6118
+ type: string
5421
6119
  workflowVersionListItem:
5422
6120
  type: object
5423
6121
  additionalProperties: false
@@ -6559,13 +7257,17 @@ components:
6559
7257
  type: boolean
6560
7258
  default: true
6561
7259
  description: Whether values of variables referenced by the exported workflows are bundled into the package. When `false`, variables still travel as name/type files and are listed in the package requirements, but no values travel with the package.
7260
+ includeTags:
7261
+ type: boolean
7262
+ default: true
7263
+ description: Whether tags assigned to the exported workflows are bundled into the package. When `false`, no tag files, tag references, or tag requirements travel with the package.
6562
7264
  missingWorkflowDependencyPolicy:
6563
7265
  type: string
6564
7266
  enum:
6565
7267
  - fail
6566
7268
  - reference-only
6567
7269
  - include-in-package
6568
- description: Policy for missing static sub-workflow dependencies. `fail` aborts the export when any static sub-workflow is missing from the package; `include-in-package` automatically adds missing static sub-workflows. `reference-only` is reserved for a future export mode.
7270
+ description: Policy for missing static sub-workflow dependencies. `fail` aborts the export when any static sub-workflow is missing from the package; `include-in-package` automatically adds missing static sub-workflows. `reference-only` keeps missing static sub-workflows out of the package and lists them in the package requirements as workflows expected to already exist on the target.
6569
7271
  example: fail
6570
7272
  default: fail
6571
7273
  importBlockingIssue:
@@ -6742,6 +7444,50 @@ components:
6742
7444
  type: array
6743
7445
  items:
6744
7446
  type: string
7447
+ - type: object
7448
+ description: |
7449
+ A tag referenced by the package's workflows that could not be resolved on the target instance. `kind` distinguishes the cause: `rename-drift` (the same-id target tag carries a different name — under `tagConflictPolicy=fail`, or `rename` when the package name is held by another tag), `name-collision` (the id is free but the name belongs to a different tag, under `tagMissingMode=create` with `tagConflictPolicy=fail` or `rename`), `invalid-name` / `invalid-id` (the package tag's name or id cannot be written on this instance), or `permission-denied` (the importing user lacks the global `tag:create` / `tag:update` scope the plan needs).
7450
+ required:
7451
+ - type
7452
+ - kind
7453
+ - usedByWorkflows
7454
+ properties:
7455
+ type:
7456
+ type: string
7457
+ enum:
7458
+ - tag-unresolved
7459
+ kind:
7460
+ type: string
7461
+ enum:
7462
+ - rename-drift
7463
+ - name-collision
7464
+ - invalid-name
7465
+ - invalid-id
7466
+ - permission-denied
7467
+ sourceId:
7468
+ type: string
7469
+ description: Tag id as it appears in the package. Absent for `permission-denied`.
7470
+ name:
7471
+ type: string
7472
+ description: The (trimmed) package tag name. Absent for `permission-denied`.
7473
+ missingScope:
7474
+ type: string
7475
+ enum:
7476
+ - tag:create
7477
+ - tag:update
7478
+ description: 'For `permission-denied`: the global scope the importing user lacks.'
7479
+ existingTagId:
7480
+ type: string
7481
+ description: |
7482
+ Id of the different target tag currently holding the wanted name, when one exists. Absent when two package tags collide with each other rather than with a target tag.
7483
+ existingName:
7484
+ type: string
7485
+ description: 'For `rename-drift`: the current name of the same-id target tag.'
7486
+ usedByWorkflows:
7487
+ type: array
7488
+ items:
7489
+ type: string
7490
+ description: Package workflow ids (non-skipped) that reference the tag.
6745
7491
  - type: object
6746
7492
  description: |
6747
7493
  A variable reference that could not be resolved in the target project or the global scope, under `variableMissingMode=must-preexist`.
@@ -6761,6 +7507,40 @@ components:
6761
7507
  type: array
6762
7508
  items:
6763
7509
  type: string
7510
+ - type: object
7511
+ description: |
7512
+ Creating the package's variable stubs under `variableMissingMode=create-stub` would exceed the instance variable quota (`quota:maxVariables`). Reported once for the whole import; nothing is created.
7513
+ required:
7514
+ - type
7515
+ - limit
7516
+ - remaining
7517
+ - requested
7518
+ - names
7519
+ - usedByWorkflows
7520
+ properties:
7521
+ type:
7522
+ type: string
7523
+ enum:
7524
+ - variable-limit-exceeded
7525
+ limit:
7526
+ type: integer
7527
+ description: The instance variable quota.
7528
+ remaining:
7529
+ type: integer
7530
+ description: Variable rows still available under the quota. The import is blocked because `requested` exceeds this, not because it exceeds `limit`.
7531
+ requested:
7532
+ type: integer
7533
+ description: Number of new variable rows the import would create (destination-deduplicated).
7534
+ names:
7535
+ type: array
7536
+ items:
7537
+ type: string
7538
+ description: The unique variable names the import would create.
7539
+ usedByWorkflows:
7540
+ type: array
7541
+ items:
7542
+ type: string
7543
+ description: Package workflow ids that reference any of the listed variables.
6764
7544
  event-types:
6765
7545
  type: object
6766
7546
  additionalProperties: false