n8n 2.27.3 → 2.28.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 (659) hide show
  1. package/dist/abstract-server.js +0 -4
  2. package/dist/abstract-server.js.map +1 -1
  3. package/dist/active-workflow-manager.js +4 -1
  4. package/dist/active-workflow-manager.js.map +1 -1
  5. package/dist/agent-library-bundle.js +7 -3
  6. package/dist/build.tsbuildinfo +1 -1
  7. package/dist/commands/audit.js +6 -0
  8. package/dist/commands/audit.js.map +1 -1
  9. package/dist/commands/base-command.d.ts +1 -0
  10. package/dist/commands/base-command.js +36 -2
  11. package/dist/commands/base-command.js.map +1 -1
  12. package/dist/commands/start.js +18 -9
  13. package/dist/commands/start.js.map +1 -1
  14. package/dist/commands/worker.js +2 -0
  15. package/dist/commands/worker.js.map +1 -1
  16. package/dist/constants.d.ts +1 -0
  17. package/dist/constants.js +5 -1
  18. package/dist/constants.js.map +1 -1
  19. package/dist/controllers/api-keys.controller.d.ts +17 -0
  20. package/dist/controllers/api-keys.controller.js +19 -0
  21. package/dist/controllers/api-keys.controller.js.map +1 -1
  22. package/dist/controllers/e2e.controller.js +1 -0
  23. package/dist/controllers/e2e.controller.js.map +1 -1
  24. package/dist/controllers/telemetry.controller.d.ts +3 -1
  25. package/dist/controllers/telemetry.controller.js +17 -7
  26. package/dist/controllers/telemetry.controller.js.map +1 -1
  27. package/dist/controllers/users.controller.d.ts +1 -1
  28. package/dist/credentials/credentials.service.d.ts +5 -0
  29. package/dist/credentials/credentials.service.js +17 -3
  30. package/dist/credentials/credentials.service.js.map +1 -1
  31. package/dist/evaluation.ee/evaluation-config.controller.d.ts +7 -1
  32. package/dist/evaluation.ee/evaluation-config.controller.js +30 -1
  33. package/dist/evaluation.ee/evaluation-config.controller.js.map +1 -1
  34. package/dist/evaluation.ee/evaluation-dataset.service.d.ts +24 -0
  35. package/dist/evaluation.ee/evaluation-dataset.service.js +185 -0
  36. package/dist/evaluation.ee/evaluation-dataset.service.js.map +1 -0
  37. package/dist/evaluation.ee/llm-judge-provider-registry.js +2 -2
  38. package/dist/evaluation.ee/llm-judge-provider-registry.js.map +1 -1
  39. package/dist/evaluation.ee/test-runner/test-runner.service.ee.js +6 -6
  40. package/dist/evaluation.ee/test-runner/test-runner.service.ee.js.map +1 -1
  41. package/dist/evaluation.ee/test-runner/workflow-compiler.service.d.ts +2 -0
  42. package/dist/evaluation.ee/test-runner/workflow-compiler.service.js +27 -0
  43. package/dist/evaluation.ee/test-runner/workflow-compiler.service.js.map +1 -1
  44. package/dist/eventbus/event-message-classes/index.d.ts +2 -2
  45. package/dist/eventbus/event-message-classes/index.js +2 -0
  46. package/dist/eventbus/event-message-classes/index.js.map +1 -1
  47. package/dist/events/event.service.d.ts +2 -1
  48. package/dist/events/event.service.js.map +1 -1
  49. package/dist/events/maps/instance-ai.event-map.d.ts +15 -0
  50. package/dist/events/maps/instance-ai.event-map.js +3 -0
  51. package/dist/events/maps/instance-ai.event-map.js.map +1 -0
  52. package/dist/events/maps/relay.event-map.d.ts +8 -1
  53. package/dist/events/relays/log-streaming.event-relay.d.ts +2 -0
  54. package/dist/events/relays/log-streaming.event-relay.js +26 -0
  55. package/dist/events/relays/log-streaming.event-relay.js.map +1 -1
  56. package/dist/events/relays/telemetry.event-relay.d.ts +1 -0
  57. package/dist/events/relays/telemetry.event-relay.js +11 -0
  58. package/dist/events/relays/telemetry.event-relay.js.map +1 -1
  59. package/dist/execution-lifecycle/execution-lifecycle-hooks.js +1 -0
  60. package/dist/execution-lifecycle/execution-lifecycle-hooks.js.map +1 -1
  61. package/dist/execution-lifecycle/shared/shared-hook-functions.d.ts +2 -1
  62. package/dist/execution-lifecycle/shared/shared-hook-functions.js +8 -3
  63. package/dist/execution-lifecycle/shared/shared-hook-functions.js.map +1 -1
  64. package/dist/executions/execution-data/azure-store.ee.d.ts +15 -0
  65. package/dist/executions/execution-data/azure-store.ee.js +116 -0
  66. package/dist/executions/execution-data/azure-store.ee.js.map +1 -0
  67. package/dist/executions/execution-data/db-store.d.ts +7 -0
  68. package/dist/executions/execution-data/db-store.js +21 -0
  69. package/dist/executions/execution-data/db-store.js.map +1 -1
  70. package/dist/executions/execution-data/types.d.ts +3 -0
  71. package/dist/executions/execution-persistence.d.ts +17 -3
  72. package/dist/executions/execution-persistence.js +121 -18
  73. package/dist/executions/execution-persistence.js.map +1 -1
  74. package/dist/executions/execution.service.d.ts +3 -1
  75. package/dist/executions/execution.service.js +10 -4
  76. package/dist/executions/execution.service.js.map +1 -1
  77. package/dist/executions/sum-binary-data-bytes.d.ts +2 -0
  78. package/dist/executions/sum-binary-data-bytes.js +46 -0
  79. package/dist/executions/sum-binary-data-bytes.js.map +1 -0
  80. package/dist/interfaces.d.ts +22 -0
  81. package/dist/license/license.service.d.ts +3 -1
  82. package/dist/license/license.service.js +36 -51
  83. package/dist/license/license.service.js.map +1 -1
  84. package/dist/metrics/prometheus/execution-data-metrics.service.js +2 -1
  85. package/dist/metrics/prometheus/execution-data-metrics.service.js.map +1 -1
  86. package/dist/metrics/prometheus/instance-ai-metrics.service.d.ts +12 -0
  87. package/dist/metrics/prometheus/instance-ai-metrics.service.js +101 -0
  88. package/dist/metrics/prometheus/instance-ai-metrics.service.js.map +1 -0
  89. package/dist/metrics/prometheus/instance-role-metrics.service.js +2 -2
  90. package/dist/metrics/prometheus/instance-role-metrics.service.js.map +1 -1
  91. package/dist/metrics/prometheus/prometheus.service.d.ts +4 -1
  92. package/dist/metrics/prometheus/prometheus.service.js +11 -2
  93. package/dist/metrics/prometheus/prometheus.service.js.map +1 -1
  94. package/dist/metrics/prometheus/webhook-and-form-metrics.service.d.ts +23 -0
  95. package/dist/metrics/prometheus/webhook-and-form-metrics.service.js +72 -0
  96. package/dist/metrics/prometheus/webhook-and-form-metrics.service.js.map +1 -0
  97. package/dist/metrics/prometheus/workflow-info-metrics.service.d.ts +12 -0
  98. package/dist/metrics/prometheus/workflow-info-metrics.service.js +66 -0
  99. package/dist/metrics/prometheus/workflow-info-metrics.service.js.map +1 -0
  100. package/dist/middlewares/body-parser.js +2 -2
  101. package/dist/middlewares/body-parser.js.map +1 -1
  102. package/dist/middlewares/list-query/dtos/workflow.filter.dto.d.ts +2 -0
  103. package/dist/middlewares/list-query/dtos/workflow.filter.dto.js +12 -0
  104. package/dist/middlewares/list-query/dtos/workflow.filter.dto.js.map +1 -1
  105. package/dist/modules/agents/agent-execution.service.d.ts +8 -1
  106. package/dist/modules/agents/agent-execution.service.js +26 -2
  107. package/dist/modules/agents/agent-execution.service.js.map +1 -1
  108. package/dist/modules/agents/agent-knowledge-commands.d.ts +27 -0
  109. package/dist/modules/agents/agent-knowledge-commands.js +415 -0
  110. package/dist/modules/agents/agent-knowledge-commands.js.map +1 -0
  111. package/dist/modules/agents/agent-knowledge-gate.d.ts +2 -0
  112. package/dist/modules/agents/agent-knowledge-gate.js +9 -0
  113. package/dist/modules/agents/agent-knowledge-gate.js.map +1 -0
  114. package/dist/modules/agents/agent-knowledge-retrieval.d.ts +184 -0
  115. package/dist/modules/agents/agent-knowledge-retrieval.js +172 -0
  116. package/dist/modules/agents/agent-knowledge-retrieval.js.map +1 -0
  117. package/dist/modules/agents/agent-knowledge-sandbox.service.d.ts +40 -0
  118. package/dist/modules/agents/agent-knowledge-sandbox.service.js +591 -0
  119. package/dist/modules/agents/agent-knowledge-sandbox.service.js.map +1 -0
  120. package/dist/modules/agents/agent-knowledge-storage.d.ts +21 -0
  121. package/dist/modules/agents/agent-knowledge-storage.js +89 -0
  122. package/dist/modules/agents/agent-knowledge-storage.js.map +1 -0
  123. package/dist/modules/agents/agent-knowledge.service.d.ts +25 -5
  124. package/dist/modules/agents/agent-knowledge.service.js +230 -7
  125. package/dist/modules/agents/agent-knowledge.service.js.map +1 -1
  126. package/dist/modules/agents/agent-runtime-reconstruction.service.d.ts +8 -2
  127. package/dist/modules/agents/agent-runtime-reconstruction.service.js +49 -11
  128. package/dist/modules/agents/agent-runtime-reconstruction.service.js.map +1 -1
  129. package/dist/modules/agents/agent-sandbox.controller.d.ts +18 -0
  130. package/dist/modules/agents/agent-sandbox.controller.js +71 -0
  131. package/dist/modules/agents/agent-sandbox.controller.js.map +1 -0
  132. package/dist/modules/agents/agent-telemetry.d.ts +5 -0
  133. package/dist/modules/agents/agent-telemetry.js +60 -0
  134. package/dist/modules/agents/agent-telemetry.js.map +1 -0
  135. package/dist/modules/agents/agents.controller.d.ts +4 -4
  136. package/dist/modules/agents/agents.controller.js +24 -23
  137. package/dist/modules/agents/agents.controller.js.map +1 -1
  138. package/dist/modules/agents/agents.module.d.ts +1 -1
  139. package/dist/modules/agents/agents.module.js +7 -1
  140. package/dist/modules/agents/agents.module.js.map +1 -1
  141. package/dist/modules/agents/agents.service.d.ts +5 -2
  142. package/dist/modules/agents/agents.service.js +68 -15
  143. package/dist/modules/agents/agents.service.js.map +1 -1
  144. package/dist/modules/agents/builder/agents-builder-prompts.d.ts +1 -1
  145. package/dist/modules/agents/builder/agents-builder-prompts.js +7 -0
  146. package/dist/modules/agents/builder/agents-builder-prompts.js.map +1 -1
  147. package/dist/modules/agents/builder/agents-builder-settings.service.d.ts +12 -6
  148. package/dist/modules/agents/builder/agents-builder-settings.service.js +29 -12
  149. package/dist/modules/agents/builder/agents-builder-settings.service.js.map +1 -1
  150. package/dist/modules/agents/builder/agents-builder-tools.service.d.ts +12 -4
  151. package/dist/modules/agents/builder/agents-builder-tools.service.js +118 -14
  152. package/dist/modules/agents/builder/agents-builder-tools.service.js.map +1 -1
  153. package/dist/modules/agents/builder/agents-builder.service.d.ts +7 -0
  154. package/dist/modules/agents/builder/agents-builder.service.js +24 -6
  155. package/dist/modules/agents/builder/agents-builder.service.js.map +1 -1
  156. package/dist/modules/agents/builder/builder-tool-names.d.ts +1 -0
  157. package/dist/modules/agents/builder/builder-tool-names.js +1 -0
  158. package/dist/modules/agents/builder/builder-tool-names.js.map +1 -1
  159. package/dist/modules/agents/builder/from-ai-node-parameters.d.ts +7 -0
  160. package/dist/modules/agents/builder/from-ai-node-parameters.js +43 -0
  161. package/dist/modules/agents/builder/from-ai-node-parameters.js.map +1 -0
  162. package/dist/modules/agents/builder/get-resource-locator-options.tool.d.ts +10 -0
  163. package/dist/modules/agents/builder/get-resource-locator-options.tool.js +148 -0
  164. package/dist/modules/agents/builder/get-resource-locator-options.tool.js.map +1 -0
  165. package/dist/modules/agents/builder/prompts/tools.prompt.d.ts +1 -1
  166. package/dist/modules/agents/builder/prompts/tools.prompt.js +11 -0
  167. package/dist/modules/agents/builder/prompts/tools.prompt.js.map +1 -1
  168. package/dist/modules/agents/builder/skills/index.js +2 -0
  169. package/dist/modules/agents/builder/skills/index.js.map +1 -1
  170. package/dist/modules/agents/builder/skills/resource-locators.skill.d.ts +2 -0
  171. package/dist/modules/agents/builder/skills/resource-locators.skill.js +107 -0
  172. package/dist/modules/agents/builder/skills/resource-locators.skill.js.map +1 -0
  173. package/dist/modules/agents/builder/verify-mcp-server.tool.d.ts +2 -0
  174. package/dist/modules/agents/builder/verify-mcp-server.tool.js +1 -1
  175. package/dist/modules/agents/builder/verify-mcp-server.tool.js.map +1 -1
  176. package/dist/modules/agents/entities/agent-file.entity.d.ts +11 -0
  177. package/dist/modules/agents/entities/agent-file.entity.js +50 -0
  178. package/dist/modules/agents/entities/agent-file.entity.js.map +1 -0
  179. package/dist/modules/agents/execution-recorder.js +4 -7
  180. package/dist/modules/agents/execution-recorder.js.map +1 -1
  181. package/dist/modules/agents/integrations/agent-chat-bridge.d.ts +1 -1
  182. package/dist/modules/agents/integrations/agent-chat-bridge.js +7 -9
  183. package/dist/modules/agents/integrations/agent-chat-bridge.js.map +1 -1
  184. package/dist/modules/agents/integrations/agent-chat-integration.d.ts +7 -3
  185. package/dist/modules/agents/integrations/agent-chat-integration.js +5 -0
  186. package/dist/modules/agents/integrations/agent-chat-integration.js.map +1 -1
  187. package/dist/modules/agents/integrations/integration-action-executor.d.ts +704 -0
  188. package/dist/modules/agents/integrations/integration-action-executor.js +36 -22
  189. package/dist/modules/agents/integrations/integration-action-executor.js.map +1 -1
  190. package/dist/modules/agents/integrations/integration-context-query-executor.js +23 -4
  191. package/dist/modules/agents/integrations/integration-context-query-executor.js.map +1 -1
  192. package/dist/modules/agents/integrations/integration-helpers.d.ts +12 -1
  193. package/dist/modules/agents/integrations/integration-helpers.js +17 -8
  194. package/dist/modules/agents/integrations/integration-helpers.js.map +1 -1
  195. package/dist/modules/agents/integrations/integration-message-context.service.js +2 -4
  196. package/dist/modules/agents/integrations/integration-message-context.service.js.map +1 -1
  197. package/dist/modules/agents/integrations/integration-tools.d.ts +11 -3
  198. package/dist/modules/agents/integrations/integration-tools.js +19 -118
  199. package/dist/modules/agents/integrations/integration-tools.js.map +1 -1
  200. package/dist/modules/agents/integrations/platforms/linear-integration.d.ts +3 -1
  201. package/dist/modules/agents/integrations/platforms/linear-integration.js +22 -6
  202. package/dist/modules/agents/integrations/platforms/linear-integration.js.map +1 -1
  203. package/dist/modules/agents/integrations/platforms/linear-operations.js +19 -29
  204. package/dist/modules/agents/integrations/platforms/linear-operations.js.map +1 -1
  205. package/dist/modules/agents/integrations/platforms/n8n-chat-integration.d.ts +20 -0
  206. package/dist/modules/agents/integrations/platforms/n8n-chat-integration.js +99 -0
  207. package/dist/modules/agents/integrations/platforms/n8n-chat-integration.js.map +1 -0
  208. package/dist/modules/agents/integrations/platforms/slack-integration.d.ts +2 -1
  209. package/dist/modules/agents/integrations/platforms/slack-integration.js +5 -0
  210. package/dist/modules/agents/integrations/platforms/slack-integration.js.map +1 -1
  211. package/dist/modules/agents/integrations/platforms/slack-operations.js +3 -2
  212. package/dist/modules/agents/integrations/platforms/slack-operations.js.map +1 -1
  213. package/dist/modules/agents/integrations/platforms/telegram-integration.d.ts +11 -2
  214. package/dist/modules/agents/integrations/platforms/telegram-integration.js +43 -14
  215. package/dist/modules/agents/integrations/platforms/telegram-integration.js.map +1 -1
  216. package/dist/modules/agents/integrations/slack-app-setup.service.d.ts +3 -1
  217. package/dist/modules/agents/integrations/slack-app-setup.service.js +19 -11
  218. package/dist/modules/agents/integrations/slack-app-setup.service.js.map +1 -1
  219. package/dist/modules/agents/json-config/from-json-config.d.ts +2 -1
  220. package/dist/modules/agents/json-config/from-json-config.js +11 -1
  221. package/dist/modules/agents/json-config/from-json-config.js.map +1 -1
  222. package/dist/modules/agents/json-config/mcp-client-factory.d.ts +2 -0
  223. package/dist/modules/agents/json-config/mcp-client-factory.js +2 -2
  224. package/dist/modules/agents/json-config/mcp-client-factory.js.map +1 -1
  225. package/dist/modules/agents/repositories/agent-file.repository.d.ts +8 -0
  226. package/dist/modules/agents/repositories/agent-file.repository.js +38 -0
  227. package/dist/modules/agents/repositories/agent-file.repository.js.map +1 -0
  228. package/dist/modules/agents/sub-agents/sub-agent-foreground-runner.js +5 -0
  229. package/dist/modules/agents/sub-agents/sub-agent-foreground-runner.js.map +1 -1
  230. package/dist/modules/agents/tools/knowledge/search-knowledge.tool.d.ts +90 -0
  231. package/dist/modules/agents/tools/knowledge/search-knowledge.tool.js +209 -0
  232. package/dist/modules/agents/tools/knowledge/search-knowledge.tool.js.map +1 -0
  233. package/dist/modules/agents/tools/workflow-tool-factory.js +6 -8
  234. package/dist/modules/agents/tools/workflow-tool-factory.js.map +1 -1
  235. package/dist/modules/agents/tracing/builder-telemetry.d.ts +6 -1
  236. package/dist/modules/agents/tracing/builder-telemetry.js +26 -5
  237. package/dist/modules/agents/tracing/builder-telemetry.js.map +1 -1
  238. package/dist/modules/agents/utils/agent-memory-scope.d.ts +1 -0
  239. package/dist/modules/agents/utils/agent-memory-scope.js +6 -1
  240. package/dist/modules/agents/utils/agent-memory-scope.js.map +1 -1
  241. package/dist/modules/agents/utils/execution-to-message-mapper.js +54 -5
  242. package/dist/modules/agents/utils/execution-to-message-mapper.js.map +1 -1
  243. package/dist/modules/agents/utils/messages-envelope.d.ts +7 -0
  244. package/dist/modules/agents/utils/messages-envelope.js +97 -0
  245. package/dist/modules/agents/utils/messages-envelope.js.map +1 -0
  246. package/dist/modules/community-packages/community-packages.service.d.ts +3 -1
  247. package/dist/modules/community-packages/community-packages.service.js +17 -9
  248. package/dist/modules/community-packages/community-packages.service.js.map +1 -1
  249. package/dist/modules/community-packages/npm-utils.js +13 -6
  250. package/dist/modules/community-packages/npm-utils.js.map +1 -1
  251. package/dist/modules/data-table/multer-upload-middleware.d.ts +8 -1
  252. package/dist/modules/data-table/multer-upload-middleware.js +79 -30
  253. package/dist/modules/data-table/multer-upload-middleware.js.map +1 -1
  254. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/n8n-oauth/index.d.ts +2 -0
  255. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/n8n-oauth/index.js +19 -0
  256. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/n8n-oauth/index.js.map +1 -0
  257. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/n8n-oauth/metadata.d.ts +20 -0
  258. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/n8n-oauth/metadata.js +12 -0
  259. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/n8n-oauth/metadata.js.map +1 -0
  260. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/n8n-oauth/n8n-oauth-extractor.d.ts +12 -0
  261. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/n8n-oauth/n8n-oauth-extractor.js +85 -0
  262. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/n8n-oauth/n8n-oauth-extractor.js.map +1 -0
  263. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/n8n-oauth/n8n-oauth-seeder.d.ts +10 -0
  264. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/n8n-oauth/n8n-oauth-seeder.js +78 -0
  265. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/n8n-oauth/n8n-oauth-seeder.js.map +1 -0
  266. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/n8n-identifier.d.ts +3 -1
  267. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/n8n-identifier.js +17 -2
  268. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/n8n-identifier.js.map +1 -1
  269. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/oauth2-introspection-identifier.d.ts +4 -2
  270. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/oauth2-introspection-identifier.js +20 -40
  271. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/oauth2-introspection-identifier.js.map +1 -1
  272. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/oauth2-metadata-http-client.d.ts +21 -0
  273. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/oauth2-metadata-http-client.js +77 -0
  274. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/oauth2-metadata-http-client.js.map +1 -0
  275. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/oauth2-userinfo-identifier.d.ts +3 -1
  276. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/oauth2-userinfo-identifier.js +18 -39
  277. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/oauth2-userinfo-identifier.js.map +1 -1
  278. package/dist/modules/dynamic-credentials.ee/dynamic-credentials.controller.d.ts +4 -2
  279. package/dist/modules/dynamic-credentials.ee/dynamic-credentials.controller.js +46 -2
  280. package/dist/modules/dynamic-credentials.ee/dynamic-credentials.controller.js.map +1 -1
  281. package/dist/modules/dynamic-credentials.ee/dynamic-credentials.module.js +3 -0
  282. package/dist/modules/dynamic-credentials.ee/dynamic-credentials.module.js.map +1 -1
  283. package/dist/modules/dynamic-credentials.ee/services/authorize-intent.service.d.ts +14 -0
  284. package/dist/modules/dynamic-credentials.ee/services/authorize-intent.service.js +39 -0
  285. package/dist/modules/dynamic-credentials.ee/services/authorize-intent.service.js.map +1 -0
  286. package/dist/modules/dynamic-credentials.ee/services/credential-check-proxy.service.d.ts +7 -3
  287. package/dist/modules/dynamic-credentials.ee/services/credential-check-proxy.service.js +23 -21
  288. package/dist/modules/dynamic-credentials.ee/services/credential-check-proxy.service.js.map +1 -1
  289. package/dist/modules/dynamic-credentials.ee/services/credential-resolver-workflow.service.d.ts +4 -0
  290. package/dist/modules/dynamic-credentials.ee/services/credential-resolver-workflow.service.js +111 -63
  291. package/dist/modules/dynamic-credentials.ee/services/credential-resolver-workflow.service.js.map +1 -1
  292. package/dist/modules/dynamic-credentials.ee/services/dynamic-credential-storage.service.js +0 -1
  293. package/dist/modules/dynamic-credentials.ee/services/dynamic-credential-storage.service.js.map +1 -1
  294. package/dist/modules/dynamic-credentials.ee/services/index.d.ts +1 -0
  295. package/dist/modules/dynamic-credentials.ee/services/index.js +1 -0
  296. package/dist/modules/dynamic-credentials.ee/services/index.js.map +1 -1
  297. package/dist/modules/external-secrets.ee/providers/aws-secrets-manager.d.ts +3 -1
  298. package/dist/modules/external-secrets.ee/providers/aws-secrets-manager.js +4 -1
  299. package/dist/modules/external-secrets.ee/providers/aws-secrets-manager.js.map +1 -1
  300. package/dist/modules/external-secrets.ee/providers/azure-key-vault/azure-key-vault.js.map +1 -1
  301. package/dist/modules/external-secrets.ee/providers/gcp-secrets-manager/gcp-secrets-manager.js.map +1 -1
  302. package/dist/modules/external-secrets.ee/providers/infisical.d.ts +4 -1
  303. package/dist/modules/external-secrets.ee/providers/infisical.js +45 -30
  304. package/dist/modules/external-secrets.ee/providers/infisical.js.map +1 -1
  305. package/dist/modules/external-secrets.ee/providers/one-password.js.map +1 -1
  306. package/dist/modules/external-secrets.ee/providers/vault.d.ts +5 -1
  307. package/dist/modules/external-secrets.ee/providers/vault.js +66 -61
  308. package/dist/modules/external-secrets.ee/providers/vault.js.map +1 -1
  309. package/dist/modules/insights/database/repositories/insights-by-period.repository.d.ts +2 -2
  310. package/dist/modules/insights/insights.service.d.ts +2 -2
  311. package/dist/modules/instance-ai/entities/index.d.ts +1 -0
  312. package/dist/modules/instance-ai/entities/index.js +3 -1
  313. package/dist/modules/instance-ai/entities/index.js.map +1 -1
  314. package/dist/modules/instance-ai/entities/instance-ai-thread-grant.entity.d.ts +9 -0
  315. package/dist/modules/instance-ai/entities/instance-ai-thread-grant.entity.js +45 -0
  316. package/dist/modules/instance-ai/entities/instance-ai-thread-grant.entity.js.map +1 -0
  317. package/dist/modules/instance-ai/eval/eval-mocked-credentials-helper.d.ts +3 -3
  318. package/dist/modules/instance-ai/eval/eval-mocked-credentials-helper.js +2 -2
  319. package/dist/modules/instance-ai/eval/eval-mocked-credentials-helper.js.map +1 -1
  320. package/dist/modules/instance-ai/eval/llm-wire-server.d.ts +2 -2
  321. package/dist/modules/instance-ai/eval/llm-wire-server.js +5 -5
  322. package/dist/modules/instance-ai/eval/llm-wire-server.js.map +1 -1
  323. package/dist/modules/instance-ai/eval/thread-credential-allowlist.service.d.ts +6 -0
  324. package/dist/modules/instance-ai/eval/thread-credential-allowlist.service.js +29 -0
  325. package/dist/modules/instance-ai/eval/thread-credential-allowlist.service.js.map +1 -0
  326. package/dist/modules/instance-ai/instance-ai-credit.service.d.ts +26 -0
  327. package/dist/modules/instance-ai/instance-ai-credit.service.js +210 -0
  328. package/dist/modules/instance-ai/instance-ai-credit.service.js.map +1 -0
  329. package/dist/modules/instance-ai/instance-ai-model.service.d.ts +20 -0
  330. package/dist/modules/instance-ai/instance-ai-model.service.js +135 -0
  331. package/dist/modules/instance-ai/instance-ai-model.service.js.map +1 -0
  332. package/dist/modules/instance-ai/instance-ai-run-probe.d.ts +5 -0
  333. package/dist/modules/instance-ai/instance-ai-run-probe.js +26 -0
  334. package/dist/modules/instance-ai/instance-ai-run-probe.js.map +1 -0
  335. package/dist/modules/instance-ai/instance-ai-settings.service.d.ts +2 -0
  336. package/dist/modules/instance-ai/instance-ai-settings.service.js +12 -1
  337. package/dist/modules/instance-ai/instance-ai-settings.service.js.map +1 -1
  338. package/dist/modules/instance-ai/instance-ai-temporary-workflow.service.d.ts +15 -0
  339. package/dist/modules/instance-ai/instance-ai-temporary-workflow.service.js +140 -0
  340. package/dist/modules/instance-ai/instance-ai-temporary-workflow.service.js.map +1 -0
  341. package/dist/modules/instance-ai/instance-ai.adapter.service.d.ts +4 -2
  342. package/dist/modules/instance-ai/instance-ai.adapter.service.js +69 -10
  343. package/dist/modules/instance-ai/instance-ai.adapter.service.js.map +1 -1
  344. package/dist/modules/instance-ai/instance-ai.controller.d.ts +20 -2
  345. package/dist/modules/instance-ai/instance-ai.controller.js +62 -4
  346. package/dist/modules/instance-ai/instance-ai.controller.js.map +1 -1
  347. package/dist/modules/instance-ai/instance-ai.module.d.ts +2 -1
  348. package/dist/modules/instance-ai/instance-ai.module.js +3 -0
  349. package/dist/modules/instance-ai/instance-ai.module.js.map +1 -1
  350. package/dist/modules/instance-ai/instance-ai.service.d.ts +42 -22
  351. package/dist/modules/instance-ai/instance-ai.service.js +408 -379
  352. package/dist/modules/instance-ai/instance-ai.service.js.map +1 -1
  353. package/dist/modules/instance-ai/internal-messages.d.ts +4 -0
  354. package/dist/modules/instance-ai/internal-messages.js +24 -3
  355. package/dist/modules/instance-ai/internal-messages.js.map +1 -1
  356. package/dist/modules/instance-ai/mcp/instance-ai-mcp-connection.controller.d.ts +1 -1
  357. package/dist/modules/instance-ai/mcp/instance-ai-mcp-connection.controller.js +2 -6
  358. package/dist/modules/instance-ai/mcp/instance-ai-mcp-connection.controller.js.map +1 -1
  359. package/dist/modules/instance-ai/mcp/instance-ai-mcp-registry.service.d.ts +6 -1
  360. package/dist/modules/instance-ai/mcp/instance-ai-mcp-registry.service.js +52 -2
  361. package/dist/modules/instance-ai/mcp/instance-ai-mcp-registry.service.js.map +1 -1
  362. package/dist/modules/instance-ai/message-parser.js +2 -0
  363. package/dist/modules/instance-ai/message-parser.js.map +1 -1
  364. package/dist/modules/instance-ai/observability.d.ts +13 -0
  365. package/dist/modules/instance-ai/observability.js +23 -0
  366. package/dist/modules/instance-ai/observability.js.map +1 -0
  367. package/dist/modules/instance-ai/repositories/index.d.ts +1 -0
  368. package/dist/modules/instance-ai/repositories/index.js +3 -1
  369. package/dist/modules/instance-ai/repositories/index.js.map +1 -1
  370. package/dist/modules/instance-ai/repositories/instance-ai-thread-grant.repository.d.ts +7 -0
  371. package/dist/modules/instance-ai/repositories/instance-ai-thread-grant.repository.js +40 -0
  372. package/dist/modules/instance-ai/repositories/instance-ai-thread-grant.repository.js.map +1 -0
  373. package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.js +2 -1
  374. package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.js.map +1 -1
  375. package/dist/modules/instance-ai/storage/typeorm-agent-memory.js +4 -6
  376. package/dist/modules/instance-ai/storage/typeorm-agent-memory.js.map +1 -1
  377. package/dist/modules/instance-ai/web-research/fetch-and-extract.d.ts +2 -3
  378. package/dist/modules/instance-ai/web-research/fetch-and-extract.js +34 -44
  379. package/dist/modules/instance-ai/web-research/fetch-and-extract.js.map +1 -1
  380. package/dist/modules/log-streaming.ee/destinations/message-event-bus-destination-from-db.d.ts +2 -1
  381. package/dist/modules/log-streaming.ee/destinations/message-event-bus-destination-from-db.js +2 -2
  382. package/dist/modules/log-streaming.ee/destinations/message-event-bus-destination-from-db.js.map +1 -1
  383. package/dist/modules/log-streaming.ee/destinations/message-event-bus-destination-webhook.ee.d.ts +8 -8
  384. package/dist/modules/log-streaming.ee/destinations/message-event-bus-destination-webhook.ee.js +43 -60
  385. package/dist/modules/log-streaming.ee/destinations/message-event-bus-destination-webhook.ee.js.map +1 -1
  386. package/dist/modules/log-streaming.ee/log-streaming-destination.service.d.ts +3 -1
  387. package/dist/modules/log-streaming.ee/log-streaming-destination.service.js +6 -3
  388. package/dist/modules/log-streaming.ee/log-streaming-destination.service.js.map +1 -1
  389. package/dist/modules/log-streaming.ee/log-streaming.controller.d.ts +3 -1
  390. package/dist/modules/log-streaming.ee/log-streaming.controller.js +6 -3
  391. package/dist/modules/log-streaming.ee/log-streaming.controller.js.map +1 -1
  392. package/dist/modules/mcp/dto/update-allowed-redirect-uris.dto.d.ts +9 -0
  393. package/dist/modules/mcp/dto/update-allowed-redirect-uris.dto.js +35 -0
  394. package/dist/modules/mcp/dto/update-allowed-redirect-uris.dto.js.map +1 -0
  395. package/dist/modules/mcp/mcp-protected-resource.d.ts +4 -1
  396. package/dist/modules/mcp/mcp-protected-resource.js +9 -3
  397. package/dist/modules/mcp/mcp-protected-resource.js.map +1 -1
  398. package/dist/modules/mcp/mcp.service.d.ts +5 -2
  399. package/dist/modules/mcp/mcp.service.js +8 -3
  400. package/dist/modules/mcp/mcp.service.js.map +1 -1
  401. package/dist/modules/mcp/mcp.settings.controller.d.ts +7 -0
  402. package/dist/modules/mcp/mcp.settings.controller.js +24 -0
  403. package/dist/modules/mcp/mcp.settings.controller.js.map +1 -1
  404. package/dist/modules/mcp/mcp.settings.service.d.ts +2 -0
  405. package/dist/modules/mcp/mcp.settings.service.js +15 -0
  406. package/dist/modules/mcp/mcp.settings.service.js.map +1 -1
  407. package/dist/modules/mcp/mcp.typeguards.d.ts +0 -1
  408. package/dist/modules/mcp/mcp.typeguards.js +9 -12
  409. package/dist/modules/mcp/mcp.typeguards.js.map +1 -1
  410. package/dist/modules/mcp/mcp.utils.js +2 -1
  411. package/dist/modules/mcp/mcp.utils.js.map +1 -1
  412. package/dist/modules/mcp/tools/execute-workflow.tool.d.ts +10 -8
  413. package/dist/modules/mcp/tools/execute-workflow.tool.js +25 -13
  414. package/dist/modules/mcp/tools/execute-workflow.tool.js.map +1 -1
  415. package/dist/modules/mcp/tools/get-workflow-details.tool.js +2 -0
  416. package/dist/modules/mcp/tools/get-workflow-details.tool.js.map +1 -1
  417. package/dist/modules/mcp/tools/schemas.d.ts +128 -0
  418. package/dist/modules/mcp/tools/schemas.js +9 -0
  419. package/dist/modules/mcp/tools/schemas.js.map +1 -1
  420. package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.js +15 -4
  421. package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.js.map +1 -1
  422. package/dist/modules/mcp/tools/workflow-builder/credential-validation.d.ts +13 -2
  423. package/dist/modules/mcp/tools/workflow-builder/credential-validation.js +144 -23
  424. package/dist/modules/mcp/tools/workflow-builder/credential-validation.js.map +1 -1
  425. package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.js +23 -6
  426. package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.js.map +1 -1
  427. package/dist/modules/mcp/tools/workflow-builder/workflow-operations.d.ts +31 -1
  428. package/dist/modules/mcp/tools/workflow-builder/workflow-operations.js +22 -0
  429. package/dist/modules/mcp/tools/workflow-builder/workflow-operations.js.map +1 -1
  430. package/dist/modules/n8n-packages/engine/import-pipeline.js +40 -19
  431. package/dist/modules/n8n-packages/engine/import-pipeline.js.map +1 -1
  432. package/dist/modules/n8n-packages/entities/credential/credential-importer.d.ts +8 -4
  433. package/dist/modules/n8n-packages/entities/credential/credential-importer.js +40 -6
  434. package/dist/modules/n8n-packages/entities/credential/credential-importer.js.map +1 -1
  435. package/dist/modules/n8n-packages/entities/credential/credential-matcher.d.ts +7 -3
  436. package/dist/modules/n8n-packages/entities/credential/credential-matcher.js +30 -5
  437. package/dist/modules/n8n-packages/entities/credential/credential-matcher.js.map +1 -1
  438. package/dist/modules/n8n-packages/entities/credential/credential-missing-mode.d.ts +3 -0
  439. package/dist/modules/n8n-packages/entities/credential/credential-missing-mode.js +17 -0
  440. package/dist/modules/n8n-packages/entities/credential/credential-missing-mode.js.map +1 -1
  441. package/dist/modules/n8n-packages/entities/credential/credential.types.d.ts +10 -4
  442. package/dist/modules/n8n-packages/entities/credential/credential.types.js +2 -0
  443. package/dist/modules/n8n-packages/entities/credential/credential.types.js.map +1 -1
  444. package/dist/modules/n8n-packages/entities/credential/id-based-credential-matcher.d.ts +3 -4
  445. package/dist/modules/n8n-packages/entities/credential/id-based-credential-matcher.js +10 -11
  446. package/dist/modules/n8n-packages/entities/credential/id-based-credential-matcher.js.map +1 -1
  447. package/dist/modules/n8n-packages/entities/workflow/workflow-import.types.d.ts +6 -6
  448. package/dist/modules/n8n-packages/entities/workflow/workflow-importer.d.ts +3 -3
  449. package/dist/modules/n8n-packages/entities/workflow/workflow-importer.js +12 -10
  450. package/dist/modules/n8n-packages/entities/workflow/workflow-importer.js.map +1 -1
  451. package/dist/modules/n8n-packages/entities/workflow/workflow-publisher.d.ts +6 -2
  452. package/dist/modules/n8n-packages/entities/workflow/workflow-publisher.js +33 -11
  453. package/dist/modules/n8n-packages/entities/workflow/workflow-publisher.js.map +1 -1
  454. package/dist/modules/n8n-packages/entities/workflow/workflow-publishing-policy.types.d.ts +8 -0
  455. package/dist/modules/n8n-packages/n8n-packages.types.d.ts +23 -3
  456. package/dist/modules/n8n-packages/n8n-packages.types.js.map +1 -1
  457. package/dist/modules/oauth-jwe/oauth-jwe.schemas.d.ts +12 -12
  458. package/dist/modules/oauth-server/oauth-consent.controller.js +1 -0
  459. package/dist/modules/oauth-server/oauth-consent.controller.js.map +1 -1
  460. package/dist/modules/oauth-server/oauth-consent.service.d.ts +1 -0
  461. package/dist/modules/oauth-server/oauth-consent.service.js +2 -0
  462. package/dist/modules/oauth-server/oauth-consent.service.js.map +1 -1
  463. package/dist/modules/oauth-server/oauth-server.module.js +1 -1
  464. package/dist/modules/oauth-server/oauth-server.module.js.map +1 -1
  465. package/dist/modules/oauth-server/oauth-server.service.d.ts +2 -0
  466. package/dist/modules/oauth-server/oauth-server.service.js +48 -1
  467. package/dist/modules/oauth-server/oauth-server.service.js.map +1 -1
  468. package/dist/modules/oauth-server/oauth.controller.js +4 -1
  469. package/dist/modules/oauth-server/oauth.controller.js.map +1 -1
  470. package/dist/modules/otel/otel.service.d.ts +3 -1
  471. package/dist/modules/otel/otel.service.js +6 -3
  472. package/dist/modules/otel/otel.service.js.map +1 -1
  473. package/dist/modules/quick-connect/handlers/firecrawl.handler.d.ts +3 -0
  474. package/dist/modules/quick-connect/handlers/firecrawl.handler.js +20 -7
  475. package/dist/modules/quick-connect/handlers/firecrawl.handler.js.map +1 -1
  476. package/dist/modules/quick-connect/quick-connect.config.d.ts +17 -17
  477. package/dist/modules/quick-connect/quick-connect.module.d.ts +3 -3
  478. package/dist/modules/source-control.ee/source-control-import.service.ee.js +1 -1
  479. package/dist/modules/source-control.ee/source-control-import.service.ee.js.map +1 -1
  480. package/dist/modules/source-control.ee/source-control.controller.ee.d.ts +4 -4
  481. package/dist/modules/source-control.ee/source-control.service.ee.d.ts +2 -2
  482. package/dist/modules/sso-oidc/oidc.service.ee.d.ts +3 -1
  483. package/dist/modules/sso-oidc/oidc.service.ee.js +15 -25
  484. package/dist/modules/sso-oidc/oidc.service.ee.js.map +1 -1
  485. package/dist/modules/sso-saml/saml.service.ee.d.ts +3 -1
  486. package/dist/modules/sso-saml/saml.service.ee.js +15 -15
  487. package/dist/modules/sso-saml/saml.service.ee.js.map +1 -1
  488. package/dist/modules/token-exchange/services/jwks-resolver.d.ts +3 -1
  489. package/dist/modules/token-exchange/services/jwks-resolver.js +11 -3
  490. package/dist/modules/token-exchange/services/jwks-resolver.js.map +1 -1
  491. package/dist/oauth/oauth.service.d.ts +8 -3
  492. package/dist/oauth/oauth.service.js +106 -47
  493. package/dist/oauth/oauth.service.js.map +1 -1
  494. package/dist/oauth/types.d.ts +1 -1
  495. package/dist/oauth/types.js.map +1 -1
  496. package/dist/posthog/index.js +4 -3
  497. package/dist/posthog/index.js.map +1 -1
  498. package/dist/public-api/index.js +46 -3
  499. package/dist/public-api/index.js.map +1 -1
  500. package/dist/public-api/swagger-theme.css +14 -0
  501. package/dist/public-api/types.d.ts +2 -0
  502. package/dist/public-api/v1/handlers/credentials/credentials.handler.js +1 -1
  503. package/dist/public-api/v1/handlers/credentials/credentials.handler.js.map +1 -1
  504. package/dist/public-api/v1/handlers/data-tables/data-tables.handler.js +4 -3
  505. package/dist/public-api/v1/handlers/data-tables/data-tables.handler.js.map +1 -1
  506. package/dist/public-api/v1/handlers/discover/discover.service.js +9 -11
  507. package/dist/public-api/v1/handlers/discover/discover.service.js.map +1 -1
  508. package/dist/public-api/v1/handlers/executions/executions.handler.js +8 -4
  509. package/dist/public-api/v1/handlers/executions/executions.handler.js.map +1 -1
  510. package/dist/public-api/v1/handlers/workflows/workflows.handler.js +3 -1
  511. package/dist/public-api/v1/handlers/workflows/workflows.handler.js.map +1 -1
  512. package/dist/public-api/v1/handlers/workflows/workflows.service.d.ts +1 -2
  513. package/dist/public-api/v1/handlers/workflows/workflows.service.js +3 -2
  514. package/dist/public-api/v1/handlers/workflows/workflows.service.js.map +1 -1
  515. package/dist/public-api/v1/openapi.yml +124 -2
  516. package/dist/response-helper.d.ts +2 -1
  517. package/dist/response-helper.js +2 -17
  518. package/dist/response-helper.js.map +1 -1
  519. package/dist/scaling/constants.d.ts +2 -2
  520. package/dist/scaling/constants.js +3 -0
  521. package/dist/scaling/constants.js.map +1 -1
  522. package/dist/scaling/execution-stop.service.d.ts +15 -0
  523. package/dist/scaling/execution-stop.service.js +59 -0
  524. package/dist/scaling/execution-stop.service.js.map +1 -0
  525. package/dist/scaling/job-processor.js +8 -2
  526. package/dist/scaling/job-processor.js.map +1 -1
  527. package/dist/scaling/multi-main-setup.ee.d.ts +1 -0
  528. package/dist/scaling/multi-main-setup.ee.js +6 -6
  529. package/dist/scaling/multi-main-setup.ee.js.map +1 -1
  530. package/dist/scaling/pubsub/pubsub.event-map.d.ts +4 -0
  531. package/dist/scaling/pubsub/pubsub.types.d.ts +3 -1
  532. package/dist/security-audit/risk-reporters/instance-risk-reporter.d.ts +3 -1
  533. package/dist/security-audit/risk-reporters/instance-risk-reporter.js +27 -20
  534. package/dist/security-audit/risk-reporters/instance-risk-reporter.js.map +1 -1
  535. package/dist/server.d.ts +1 -0
  536. package/dist/server.js +1 -0
  537. package/dist/server.js.map +1 -1
  538. package/dist/services/ai-gateway.service.d.ts +5 -1
  539. package/dist/services/ai-gateway.service.js +53 -32
  540. package/dist/services/ai-gateway.service.js.map +1 -1
  541. package/dist/services/ai-workflow-builder.service.d.ts +4 -3
  542. package/dist/services/ai-workflow-builder.service.js +9 -5
  543. package/dist/services/ai-workflow-builder.service.js.map +1 -1
  544. package/dist/services/credentials-tester.service.js +16 -15
  545. package/dist/services/credentials-tester.service.js.map +1 -1
  546. package/dist/services/dynamic-templates.service.d.ts +3 -1
  547. package/dist/services/dynamic-templates.service.js +13 -9
  548. package/dist/services/dynamic-templates.service.js.map +1 -1
  549. package/dist/services/frontend.service.d.ts +6 -1
  550. package/dist/services/frontend.service.js +39 -2
  551. package/dist/services/frontend.service.js.map +1 -1
  552. package/dist/services/node-resource-explorer.service.js +4 -22
  553. package/dist/services/node-resource-explorer.service.js.map +1 -1
  554. package/dist/services/project.service.ee.d.ts +3 -2
  555. package/dist/services/project.service.ee.js +14 -3
  556. package/dist/services/project.service.ee.js.map +1 -1
  557. package/dist/services/protected-resource.registry.d.ts +1 -0
  558. package/dist/services/protected-resource.registry.js.map +1 -1
  559. package/dist/services/public-api-key.service.d.ts +6 -2
  560. package/dist/services/public-api-key.service.js +56 -10
  561. package/dist/services/public-api-key.service.js.map +1 -1
  562. package/dist/services/role.service.d.ts +2 -2
  563. package/dist/services/role.service.js.map +1 -1
  564. package/dist/services/trigger-auth-identity-seeder-proxy.service.d.ts +10 -0
  565. package/dist/services/trigger-auth-identity-seeder-proxy.service.js +33 -0
  566. package/dist/services/trigger-auth-identity-seeder-proxy.service.js.map +1 -0
  567. package/dist/services/workflow-statistics.service.d.ts +3 -13
  568. package/dist/services/workflow-statistics.service.js +77 -64
  569. package/dist/services/workflow-statistics.service.js.map +1 -1
  570. package/dist/task-runners/task-broker/task-broker-server.js +2 -1
  571. package/dist/task-runners/task-broker/task-broker-server.js.map +1 -1
  572. package/dist/task-runners/task-runner-module.js +2 -0
  573. package/dist/task-runners/task-runner-module.js.map +1 -1
  574. package/dist/telemetry/index.d.ts +25 -2
  575. package/dist/telemetry/index.js +80 -12
  576. package/dist/telemetry/index.js.map +1 -1
  577. package/dist/utils/ai-proxy-fetch.d.ts +3 -0
  578. package/dist/utils/ai-proxy-fetch.js +27 -0
  579. package/dist/utils/ai-proxy-fetch.js.map +1 -0
  580. package/dist/utils/auth-fetch.d.ts +3 -1
  581. package/dist/utils/auth-fetch.js +3 -4
  582. package/dist/utils/auth-fetch.js.map +1 -1
  583. package/dist/utils/strapi-utils.d.ts +8 -4
  584. package/dist/utils/strapi-utils.js +25 -9
  585. package/dist/utils/strapi-utils.js.map +1 -1
  586. package/dist/webhooks/live-webhooks.js +1 -0
  587. package/dist/webhooks/live-webhooks.js.map +1 -1
  588. package/dist/webhooks/test-webhooks.controller.d.ts +8 -0
  589. package/dist/webhooks/test-webhooks.controller.js +39 -0
  590. package/dist/webhooks/test-webhooks.controller.js.map +1 -0
  591. package/dist/webhooks/webhook-form-data.js +9 -1
  592. package/dist/webhooks/webhook-form-data.js.map +1 -1
  593. package/dist/webhooks/webhook-helpers.js +16 -0
  594. package/dist/webhooks/webhook-helpers.js.map +1 -1
  595. package/dist/webhooks/webhook-request-handler.js +35 -0
  596. package/dist/webhooks/webhook-request-handler.js.map +1 -1
  597. package/dist/workflow-execute-additional-data.js +15 -0
  598. package/dist/workflow-execute-additional-data.js.map +1 -1
  599. package/dist/workflow-helpers.d.ts +7 -2
  600. package/dist/workflow-helpers.js +50 -1
  601. package/dist/workflow-helpers.js.map +1 -1
  602. package/dist/workflows/publication/publication-result.d.ts +2 -0
  603. package/dist/workflows/publication/publication-status-reporter.d.ts +1 -0
  604. package/dist/workflows/publication/publication-status-reporter.js +22 -1
  605. package/dist/workflows/publication/publication-status-reporter.js.map +1 -1
  606. package/dist/workflows/publication/published-workflow-enqueuer.d.ts +13 -0
  607. package/dist/workflows/publication/published-workflow-enqueuer.js +53 -0
  608. package/dist/workflows/publication/published-workflow-enqueuer.js.map +1 -0
  609. package/dist/workflows/publication/published-workflow-trigger-deactivator.d.ts +16 -0
  610. package/dist/workflows/publication/published-workflow-trigger-deactivator.js +79 -0
  611. package/dist/workflows/publication/published-workflow-trigger-deactivator.js.map +1 -0
  612. package/dist/workflows/publication/workflow-publication-applier.d.ts +6 -1
  613. package/dist/workflows/publication/workflow-publication-applier.js +39 -3
  614. package/dist/workflows/publication/workflow-publication-applier.js.map +1 -1
  615. package/dist/workflows/publication/workflow-publication-lifecycle-lock.d.ts +13 -0
  616. package/dist/workflows/publication/workflow-publication-lifecycle-lock.js +104 -0
  617. package/dist/workflows/publication/workflow-publication-lifecycle-lock.js.map +1 -0
  618. package/dist/workflows/publication/workflow-publication-outbox-cleanup.service.d.ts +19 -0
  619. package/dist/workflows/publication/workflow-publication-outbox-cleanup.service.js +109 -0
  620. package/dist/workflows/publication/workflow-publication-outbox-cleanup.service.js.map +1 -0
  621. package/dist/workflows/publication/workflow-publication-outbox-consumer.d.ts +11 -4
  622. package/dist/workflows/publication/workflow-publication-outbox-consumer.js +105 -45
  623. package/dist/workflows/publication/workflow-publication-outbox-consumer.js.map +1 -1
  624. package/dist/workflows/triggers/non-webhook-trigger-registrar.d.ts +4 -5
  625. package/dist/workflows/triggers/non-webhook-trigger-registrar.js +30 -9
  626. package/dist/workflows/triggers/non-webhook-trigger-registrar.js.map +1 -1
  627. package/dist/workflows/triggers/trigger-activation-retry.d.ts +2 -0
  628. package/dist/workflows/triggers/trigger-activation-retry.js +23 -0
  629. package/dist/workflows/triggers/trigger-activation-retry.js.map +1 -0
  630. package/dist/workflows/triggers/webhook-trigger-registrar.d.ts +3 -2
  631. package/dist/workflows/triggers/webhook-trigger-registrar.js +60 -32
  632. package/dist/workflows/triggers/webhook-trigger-registrar.js.map +1 -1
  633. package/dist/workflows/triggers/workflow-trigger-activator.d.ts +6 -3
  634. package/dist/workflows/triggers/workflow-trigger-activator.js +126 -60
  635. package/dist/workflows/triggers/workflow-trigger-activator.js.map +1 -1
  636. package/dist/workflows/workflow-creation.service.d.ts +1 -0
  637. package/dist/workflows/workflow-creation.service.js +17 -8
  638. package/dist/workflows/workflow-creation.service.js.map +1 -1
  639. package/dist/workflows/workflow-entity-mapper.d.ts +5 -0
  640. package/dist/workflows/workflow-entity-mapper.js +22 -0
  641. package/dist/workflows/workflow-entity-mapper.js.map +1 -0
  642. package/dist/workflows/workflow-execution.service.d.ts +6 -2
  643. package/dist/workflows/workflow-execution.service.js +36 -13
  644. package/dist/workflows/workflow-execution.service.js.map +1 -1
  645. package/dist/workflows/workflow-history/workflow-history.service.js +1 -0
  646. package/dist/workflows/workflow-history/workflow-history.service.js.map +1 -1
  647. package/dist/workflows/workflow-published-data.service.d.ts +1 -3
  648. package/dist/workflows/workflow-published-data.service.js +2 -9
  649. package/dist/workflows/workflow-published-data.service.js.map +1 -1
  650. package/dist/workflows/workflow-validation.service.js +2 -1
  651. package/dist/workflows/workflow-validation.service.js.map +1 -1
  652. package/dist/workflows/workflow.service.d.ts +4 -3
  653. package/dist/workflows/workflow.service.js +72 -33
  654. package/dist/workflows/workflow.service.js.map +1 -1
  655. package/dist/workflows/workflows.controller.d.ts +3 -2
  656. package/dist/workflows/workflows.controller.js +12 -23
  657. package/dist/workflows/workflows.controller.js.map +1 -1
  658. package/package.json +55 -37
  659. package/templates/form-trigger.handlebars +8 -1
@@ -1,6 +1,710 @@
1
+ import { z } from 'zod';
1
2
  import { ChatIntegrationRegistry } from './agent-chat-integration';
2
3
  import { ChatIntegrationService } from './chat-integration.service';
3
4
  import type { IntegrationAction, IntegrationActionExecutor, IntegrationActionResult, IntegrationMessageContext, IntegrationToolConnectionDescriptor } from './integration-tools';
5
+ export declare const respondInputSchema: z.ZodObject<{
6
+ message: z.ZodEffects<z.ZodObject<{
7
+ text: z.ZodOptional<z.ZodString>;
8
+ card: z.ZodOptional<z.ZodObject<{
9
+ awaitResponse: z.ZodOptional<z.ZodBoolean>;
10
+ title: z.ZodOptional<z.ZodString>;
11
+ message: z.ZodOptional<z.ZodString>;
12
+ components: z.ZodArray<z.ZodUnion<[z.ZodObject<{
13
+ type: z.ZodLiteral<"section">;
14
+ text: z.ZodString;
15
+ button: z.ZodOptional<z.ZodObject<{
16
+ label: z.ZodOptional<z.ZodString>;
17
+ text: z.ZodOptional<z.ZodString>;
18
+ value: z.ZodString;
19
+ style: z.ZodOptional<z.ZodEnum<["primary", "danger", "default"]>>;
20
+ }, "strict", z.ZodTypeAny, {
21
+ value: string;
22
+ label?: string | undefined;
23
+ text?: string | undefined;
24
+ style?: "primary" | "danger" | "default" | undefined;
25
+ }, {
26
+ value: string;
27
+ label?: string | undefined;
28
+ text?: string | undefined;
29
+ style?: "primary" | "danger" | "default" | undefined;
30
+ }>>;
31
+ }, "strict", z.ZodTypeAny, {
32
+ type: "section";
33
+ text: string;
34
+ button?: {
35
+ value: string;
36
+ label?: string | undefined;
37
+ text?: string | undefined;
38
+ style?: "primary" | "danger" | "default" | undefined;
39
+ } | undefined;
40
+ }, {
41
+ type: "section";
42
+ text: string;
43
+ button?: {
44
+ value: string;
45
+ label?: string | undefined;
46
+ text?: string | undefined;
47
+ style?: "primary" | "danger" | "default" | undefined;
48
+ } | undefined;
49
+ }>, z.ZodEffects<z.ZodObject<{
50
+ type: z.ZodLiteral<"fields">;
51
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
52
+ label: z.ZodString;
53
+ value: z.ZodString;
54
+ }, "strict", z.ZodTypeAny, {
55
+ label: string;
56
+ value: string;
57
+ }, {
58
+ label: string;
59
+ value: string;
60
+ }>, "many">>;
61
+ items: z.ZodOptional<z.ZodArray<z.ZodObject<{
62
+ label: z.ZodString;
63
+ value: z.ZodString;
64
+ }, "strict", z.ZodTypeAny, {
65
+ label: string;
66
+ value: string;
67
+ }, {
68
+ label: string;
69
+ value: string;
70
+ }>, "many">>;
71
+ }, "strict", z.ZodTypeAny, {
72
+ type: "fields";
73
+ fields?: {
74
+ label: string;
75
+ value: string;
76
+ }[] | undefined;
77
+ items?: {
78
+ label: string;
79
+ value: string;
80
+ }[] | undefined;
81
+ }, {
82
+ type: "fields";
83
+ fields?: {
84
+ label: string;
85
+ value: string;
86
+ }[] | undefined;
87
+ items?: {
88
+ label: string;
89
+ value: string;
90
+ }[] | undefined;
91
+ }>, {
92
+ type: "fields";
93
+ fields?: {
94
+ label: string;
95
+ value: string;
96
+ }[] | undefined;
97
+ items?: {
98
+ label: string;
99
+ value: string;
100
+ }[] | undefined;
101
+ }, {
102
+ type: "fields";
103
+ fields?: {
104
+ label: string;
105
+ value: string;
106
+ }[] | undefined;
107
+ items?: {
108
+ label: string;
109
+ value: string;
110
+ }[] | undefined;
111
+ }>, z.ZodObject<{
112
+ type: z.ZodLiteral<"image">;
113
+ url: z.ZodString;
114
+ alt: z.ZodOptional<z.ZodString>;
115
+ altText: z.ZodOptional<z.ZodString>;
116
+ }, "strict", z.ZodTypeAny, {
117
+ type: "image";
118
+ url: string;
119
+ alt?: string | undefined;
120
+ altText?: string | undefined;
121
+ }, {
122
+ type: "image";
123
+ url: string;
124
+ alt?: string | undefined;
125
+ altText?: string | undefined;
126
+ }>, z.ZodObject<{
127
+ type: z.ZodLiteral<"divider">;
128
+ }, "strict", z.ZodTypeAny, {
129
+ type: "divider";
130
+ }, {
131
+ type: "divider";
132
+ }>, z.ZodObject<{
133
+ type: z.ZodLiteral<"button">;
134
+ label: z.ZodOptional<z.ZodString>;
135
+ text: z.ZodOptional<z.ZodString>;
136
+ value: z.ZodString;
137
+ style: z.ZodOptional<z.ZodEnum<["primary", "danger", "default"]>>;
138
+ }, "strict", z.ZodTypeAny, {
139
+ value: string;
140
+ type: "button";
141
+ label?: string | undefined;
142
+ text?: string | undefined;
143
+ style?: "primary" | "danger" | "default" | undefined;
144
+ }, {
145
+ value: string;
146
+ type: "button";
147
+ label?: string | undefined;
148
+ text?: string | undefined;
149
+ style?: "primary" | "danger" | "default" | undefined;
150
+ }>, z.ZodObject<{
151
+ type: z.ZodLiteral<"select">;
152
+ id: z.ZodOptional<z.ZodString>;
153
+ label: z.ZodOptional<z.ZodString>;
154
+ placeholder: z.ZodOptional<z.ZodString>;
155
+ options: z.ZodArray<z.ZodObject<{
156
+ label: z.ZodString;
157
+ value: z.ZodString;
158
+ description: z.ZodOptional<z.ZodString>;
159
+ }, "strict", z.ZodTypeAny, {
160
+ label: string;
161
+ value: string;
162
+ description?: string | undefined;
163
+ }, {
164
+ label: string;
165
+ value: string;
166
+ description?: string | undefined;
167
+ }>, "many">;
168
+ }, "strict", z.ZodTypeAny, {
169
+ options: {
170
+ label: string;
171
+ value: string;
172
+ description?: string | undefined;
173
+ }[];
174
+ type: "select";
175
+ label?: string | undefined;
176
+ id?: string | undefined;
177
+ placeholder?: string | undefined;
178
+ }, {
179
+ options: {
180
+ label: string;
181
+ value: string;
182
+ description?: string | undefined;
183
+ }[];
184
+ type: "select";
185
+ label?: string | undefined;
186
+ id?: string | undefined;
187
+ placeholder?: string | undefined;
188
+ }>, z.ZodObject<{
189
+ type: z.ZodLiteral<"radio_select">;
190
+ id: z.ZodOptional<z.ZodString>;
191
+ label: z.ZodOptional<z.ZodString>;
192
+ placeholder: z.ZodOptional<z.ZodString>;
193
+ options: z.ZodArray<z.ZodObject<{
194
+ label: z.ZodString;
195
+ value: z.ZodString;
196
+ description: z.ZodOptional<z.ZodString>;
197
+ }, "strict", z.ZodTypeAny, {
198
+ label: string;
199
+ value: string;
200
+ description?: string | undefined;
201
+ }, {
202
+ label: string;
203
+ value: string;
204
+ description?: string | undefined;
205
+ }>, "many">;
206
+ }, "strict", z.ZodTypeAny, {
207
+ options: {
208
+ label: string;
209
+ value: string;
210
+ description?: string | undefined;
211
+ }[];
212
+ type: "radio_select";
213
+ label?: string | undefined;
214
+ id?: string | undefined;
215
+ placeholder?: string | undefined;
216
+ }, {
217
+ options: {
218
+ label: string;
219
+ value: string;
220
+ description?: string | undefined;
221
+ }[];
222
+ type: "radio_select";
223
+ label?: string | undefined;
224
+ id?: string | undefined;
225
+ placeholder?: string | undefined;
226
+ }>]>, "many">;
227
+ }, "strict", z.ZodTypeAny, {
228
+ components: ({
229
+ type: "fields";
230
+ fields?: {
231
+ label: string;
232
+ value: string;
233
+ }[] | undefined;
234
+ items?: {
235
+ label: string;
236
+ value: string;
237
+ }[] | undefined;
238
+ } | {
239
+ type: "section";
240
+ text: string;
241
+ button?: {
242
+ value: string;
243
+ label?: string | undefined;
244
+ text?: string | undefined;
245
+ style?: "primary" | "danger" | "default" | undefined;
246
+ } | undefined;
247
+ } | {
248
+ type: "image";
249
+ url: string;
250
+ alt?: string | undefined;
251
+ altText?: string | undefined;
252
+ } | {
253
+ type: "divider";
254
+ } | {
255
+ value: string;
256
+ type: "button";
257
+ label?: string | undefined;
258
+ text?: string | undefined;
259
+ style?: "primary" | "danger" | "default" | undefined;
260
+ } | {
261
+ options: {
262
+ label: string;
263
+ value: string;
264
+ description?: string | undefined;
265
+ }[];
266
+ type: "select";
267
+ label?: string | undefined;
268
+ id?: string | undefined;
269
+ placeholder?: string | undefined;
270
+ } | {
271
+ options: {
272
+ label: string;
273
+ value: string;
274
+ description?: string | undefined;
275
+ }[];
276
+ type: "radio_select";
277
+ label?: string | undefined;
278
+ id?: string | undefined;
279
+ placeholder?: string | undefined;
280
+ })[];
281
+ message?: string | undefined;
282
+ awaitResponse?: boolean | undefined;
283
+ title?: string | undefined;
284
+ }, {
285
+ components: ({
286
+ type: "fields";
287
+ fields?: {
288
+ label: string;
289
+ value: string;
290
+ }[] | undefined;
291
+ items?: {
292
+ label: string;
293
+ value: string;
294
+ }[] | undefined;
295
+ } | {
296
+ type: "section";
297
+ text: string;
298
+ button?: {
299
+ value: string;
300
+ label?: string | undefined;
301
+ text?: string | undefined;
302
+ style?: "primary" | "danger" | "default" | undefined;
303
+ } | undefined;
304
+ } | {
305
+ type: "image";
306
+ url: string;
307
+ alt?: string | undefined;
308
+ altText?: string | undefined;
309
+ } | {
310
+ type: "divider";
311
+ } | {
312
+ value: string;
313
+ type: "button";
314
+ label?: string | undefined;
315
+ text?: string | undefined;
316
+ style?: "primary" | "danger" | "default" | undefined;
317
+ } | {
318
+ options: {
319
+ label: string;
320
+ value: string;
321
+ description?: string | undefined;
322
+ }[];
323
+ type: "select";
324
+ label?: string | undefined;
325
+ id?: string | undefined;
326
+ placeholder?: string | undefined;
327
+ } | {
328
+ options: {
329
+ label: string;
330
+ value: string;
331
+ description?: string | undefined;
332
+ }[];
333
+ type: "radio_select";
334
+ label?: string | undefined;
335
+ id?: string | undefined;
336
+ placeholder?: string | undefined;
337
+ })[];
338
+ message?: string | undefined;
339
+ awaitResponse?: boolean | undefined;
340
+ title?: string | undefined;
341
+ }>>;
342
+ }, "strict", z.ZodTypeAny, {
343
+ text?: string | undefined;
344
+ card?: {
345
+ components: ({
346
+ type: "fields";
347
+ fields?: {
348
+ label: string;
349
+ value: string;
350
+ }[] | undefined;
351
+ items?: {
352
+ label: string;
353
+ value: string;
354
+ }[] | undefined;
355
+ } | {
356
+ type: "section";
357
+ text: string;
358
+ button?: {
359
+ value: string;
360
+ label?: string | undefined;
361
+ text?: string | undefined;
362
+ style?: "primary" | "danger" | "default" | undefined;
363
+ } | undefined;
364
+ } | {
365
+ type: "image";
366
+ url: string;
367
+ alt?: string | undefined;
368
+ altText?: string | undefined;
369
+ } | {
370
+ type: "divider";
371
+ } | {
372
+ value: string;
373
+ type: "button";
374
+ label?: string | undefined;
375
+ text?: string | undefined;
376
+ style?: "primary" | "danger" | "default" | undefined;
377
+ } | {
378
+ options: {
379
+ label: string;
380
+ value: string;
381
+ description?: string | undefined;
382
+ }[];
383
+ type: "select";
384
+ label?: string | undefined;
385
+ id?: string | undefined;
386
+ placeholder?: string | undefined;
387
+ } | {
388
+ options: {
389
+ label: string;
390
+ value: string;
391
+ description?: string | undefined;
392
+ }[];
393
+ type: "radio_select";
394
+ label?: string | undefined;
395
+ id?: string | undefined;
396
+ placeholder?: string | undefined;
397
+ })[];
398
+ message?: string | undefined;
399
+ awaitResponse?: boolean | undefined;
400
+ title?: string | undefined;
401
+ } | undefined;
402
+ }, {
403
+ text?: string | undefined;
404
+ card?: {
405
+ components: ({
406
+ type: "fields";
407
+ fields?: {
408
+ label: string;
409
+ value: string;
410
+ }[] | undefined;
411
+ items?: {
412
+ label: string;
413
+ value: string;
414
+ }[] | undefined;
415
+ } | {
416
+ type: "section";
417
+ text: string;
418
+ button?: {
419
+ value: string;
420
+ label?: string | undefined;
421
+ text?: string | undefined;
422
+ style?: "primary" | "danger" | "default" | undefined;
423
+ } | undefined;
424
+ } | {
425
+ type: "image";
426
+ url: string;
427
+ alt?: string | undefined;
428
+ altText?: string | undefined;
429
+ } | {
430
+ type: "divider";
431
+ } | {
432
+ value: string;
433
+ type: "button";
434
+ label?: string | undefined;
435
+ text?: string | undefined;
436
+ style?: "primary" | "danger" | "default" | undefined;
437
+ } | {
438
+ options: {
439
+ label: string;
440
+ value: string;
441
+ description?: string | undefined;
442
+ }[];
443
+ type: "select";
444
+ label?: string | undefined;
445
+ id?: string | undefined;
446
+ placeholder?: string | undefined;
447
+ } | {
448
+ options: {
449
+ label: string;
450
+ value: string;
451
+ description?: string | undefined;
452
+ }[];
453
+ type: "radio_select";
454
+ label?: string | undefined;
455
+ id?: string | undefined;
456
+ placeholder?: string | undefined;
457
+ })[];
458
+ message?: string | undefined;
459
+ awaitResponse?: boolean | undefined;
460
+ title?: string | undefined;
461
+ } | undefined;
462
+ }>, {
463
+ text?: string | undefined;
464
+ card?: {
465
+ components: ({
466
+ type: "fields";
467
+ fields?: {
468
+ label: string;
469
+ value: string;
470
+ }[] | undefined;
471
+ items?: {
472
+ label: string;
473
+ value: string;
474
+ }[] | undefined;
475
+ } | {
476
+ type: "section";
477
+ text: string;
478
+ button?: {
479
+ value: string;
480
+ label?: string | undefined;
481
+ text?: string | undefined;
482
+ style?: "primary" | "danger" | "default" | undefined;
483
+ } | undefined;
484
+ } | {
485
+ type: "image";
486
+ url: string;
487
+ alt?: string | undefined;
488
+ altText?: string | undefined;
489
+ } | {
490
+ type: "divider";
491
+ } | {
492
+ value: string;
493
+ type: "button";
494
+ label?: string | undefined;
495
+ text?: string | undefined;
496
+ style?: "primary" | "danger" | "default" | undefined;
497
+ } | {
498
+ options: {
499
+ label: string;
500
+ value: string;
501
+ description?: string | undefined;
502
+ }[];
503
+ type: "select";
504
+ label?: string | undefined;
505
+ id?: string | undefined;
506
+ placeholder?: string | undefined;
507
+ } | {
508
+ options: {
509
+ label: string;
510
+ value: string;
511
+ description?: string | undefined;
512
+ }[];
513
+ type: "radio_select";
514
+ label?: string | undefined;
515
+ id?: string | undefined;
516
+ placeholder?: string | undefined;
517
+ })[];
518
+ message?: string | undefined;
519
+ awaitResponse?: boolean | undefined;
520
+ title?: string | undefined;
521
+ } | undefined;
522
+ }, {
523
+ text?: string | undefined;
524
+ card?: {
525
+ components: ({
526
+ type: "fields";
527
+ fields?: {
528
+ label: string;
529
+ value: string;
530
+ }[] | undefined;
531
+ items?: {
532
+ label: string;
533
+ value: string;
534
+ }[] | undefined;
535
+ } | {
536
+ type: "section";
537
+ text: string;
538
+ button?: {
539
+ value: string;
540
+ label?: string | undefined;
541
+ text?: string | undefined;
542
+ style?: "primary" | "danger" | "default" | undefined;
543
+ } | undefined;
544
+ } | {
545
+ type: "image";
546
+ url: string;
547
+ alt?: string | undefined;
548
+ altText?: string | undefined;
549
+ } | {
550
+ type: "divider";
551
+ } | {
552
+ value: string;
553
+ type: "button";
554
+ label?: string | undefined;
555
+ text?: string | undefined;
556
+ style?: "primary" | "danger" | "default" | undefined;
557
+ } | {
558
+ options: {
559
+ label: string;
560
+ value: string;
561
+ description?: string | undefined;
562
+ }[];
563
+ type: "select";
564
+ label?: string | undefined;
565
+ id?: string | undefined;
566
+ placeholder?: string | undefined;
567
+ } | {
568
+ options: {
569
+ label: string;
570
+ value: string;
571
+ description?: string | undefined;
572
+ }[];
573
+ type: "radio_select";
574
+ label?: string | undefined;
575
+ id?: string | undefined;
576
+ placeholder?: string | undefined;
577
+ })[];
578
+ message?: string | undefined;
579
+ awaitResponse?: boolean | undefined;
580
+ title?: string | undefined;
581
+ } | undefined;
582
+ }>;
583
+ }, "strip", z.ZodTypeAny, {
584
+ message: {
585
+ text?: string | undefined;
586
+ card?: {
587
+ components: ({
588
+ type: "fields";
589
+ fields?: {
590
+ label: string;
591
+ value: string;
592
+ }[] | undefined;
593
+ items?: {
594
+ label: string;
595
+ value: string;
596
+ }[] | undefined;
597
+ } | {
598
+ type: "section";
599
+ text: string;
600
+ button?: {
601
+ value: string;
602
+ label?: string | undefined;
603
+ text?: string | undefined;
604
+ style?: "primary" | "danger" | "default" | undefined;
605
+ } | undefined;
606
+ } | {
607
+ type: "image";
608
+ url: string;
609
+ alt?: string | undefined;
610
+ altText?: string | undefined;
611
+ } | {
612
+ type: "divider";
613
+ } | {
614
+ value: string;
615
+ type: "button";
616
+ label?: string | undefined;
617
+ text?: string | undefined;
618
+ style?: "primary" | "danger" | "default" | undefined;
619
+ } | {
620
+ options: {
621
+ label: string;
622
+ value: string;
623
+ description?: string | undefined;
624
+ }[];
625
+ type: "select";
626
+ label?: string | undefined;
627
+ id?: string | undefined;
628
+ placeholder?: string | undefined;
629
+ } | {
630
+ options: {
631
+ label: string;
632
+ value: string;
633
+ description?: string | undefined;
634
+ }[];
635
+ type: "radio_select";
636
+ label?: string | undefined;
637
+ id?: string | undefined;
638
+ placeholder?: string | undefined;
639
+ })[];
640
+ message?: string | undefined;
641
+ awaitResponse?: boolean | undefined;
642
+ title?: string | undefined;
643
+ } | undefined;
644
+ };
645
+ }, {
646
+ message: {
647
+ text?: string | undefined;
648
+ card?: {
649
+ components: ({
650
+ type: "fields";
651
+ fields?: {
652
+ label: string;
653
+ value: string;
654
+ }[] | undefined;
655
+ items?: {
656
+ label: string;
657
+ value: string;
658
+ }[] | undefined;
659
+ } | {
660
+ type: "section";
661
+ text: string;
662
+ button?: {
663
+ value: string;
664
+ label?: string | undefined;
665
+ text?: string | undefined;
666
+ style?: "primary" | "danger" | "default" | undefined;
667
+ } | undefined;
668
+ } | {
669
+ type: "image";
670
+ url: string;
671
+ alt?: string | undefined;
672
+ altText?: string | undefined;
673
+ } | {
674
+ type: "divider";
675
+ } | {
676
+ value: string;
677
+ type: "button";
678
+ label?: string | undefined;
679
+ text?: string | undefined;
680
+ style?: "primary" | "danger" | "default" | undefined;
681
+ } | {
682
+ options: {
683
+ label: string;
684
+ value: string;
685
+ description?: string | undefined;
686
+ }[];
687
+ type: "select";
688
+ label?: string | undefined;
689
+ id?: string | undefined;
690
+ placeholder?: string | undefined;
691
+ } | {
692
+ options: {
693
+ label: string;
694
+ value: string;
695
+ description?: string | undefined;
696
+ }[];
697
+ type: "radio_select";
698
+ label?: string | undefined;
699
+ id?: string | undefined;
700
+ placeholder?: string | undefined;
701
+ })[];
702
+ message?: string | undefined;
703
+ awaitResponse?: boolean | undefined;
704
+ title?: string | undefined;
705
+ } | undefined;
706
+ };
707
+ }>;
4
708
  export declare class ChatIntegrationActionExecutor implements IntegrationActionExecutor {
5
709
  private readonly chatIntegrationService;
6
710
  private readonly integrationRegistry;