n8n 2.32.6 → 2.33.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/active-workflow-manager.d.ts +4 -1
- package/dist/active-workflow-manager.js +18 -16
- package/dist/active-workflow-manager.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/dist/collaboration/collaboration.service.d.ts +1 -0
- package/dist/collaboration/collaboration.service.js +12 -1
- package/dist/collaboration/collaboration.service.js.map +1 -1
- package/dist/commands/base-command.d.ts +3 -2
- package/dist/commands/base-command.js +31 -23
- package/dist/commands/base-command.js.map +1 -1
- package/dist/commands/db/revert.js.map +1 -1
- package/dist/commands/import/credentials.d.ts +1 -1
- package/dist/commands/import/credentials.js +91 -25
- package/dist/commands/import/credentials.js.map +1 -1
- package/dist/commands/ldap/reset.js.map +1 -1
- package/dist/commands/start.d.ts +1 -0
- package/dist/commands/start.js +3 -1
- package/dist/commands/start.js.map +1 -1
- package/dist/commands/user-management/reset.js +1 -5
- package/dist/commands/user-management/reset.js.map +1 -1
- package/dist/commands/webhook.d.ts +1 -0
- package/dist/commands/webhook.js +1 -1
- package/dist/commands/webhook.js.map +1 -1
- package/dist/commands/worker.d.ts +1 -0
- package/dist/commands/worker.js +1 -1
- package/dist/commands/worker.js.map +1 -1
- package/dist/constants.js +19 -0
- package/dist/constants.js.map +1 -1
- package/dist/controllers/ai.controller.d.ts +4 -5
- package/dist/controllers/ai.controller.js +5 -22
- package/dist/controllers/ai.controller.js.map +1 -1
- package/dist/controllers/e2e.controller.d.ts +15 -2
- package/dist/controllers/e2e.controller.js +25 -2
- package/dist/controllers/e2e.controller.js.map +1 -1
- package/dist/controllers/oauth/oauth2-credential.controller.js +5 -1
- package/dist/controllers/oauth/oauth2-credential.controller.js.map +1 -1
- package/dist/controllers/project.controller.js.map +1 -1
- package/dist/controllers/role.controller.d.ts +2 -2
- package/dist/controllers/role.controller.js +4 -3
- package/dist/controllers/role.controller.js.map +1 -1
- package/dist/controllers/users.controller.d.ts +5 -0
- package/dist/controllers/users.controller.js +1 -0
- package/dist/controllers/users.controller.js.map +1 -1
- package/dist/credentials/credential-connection-status-proxy.js.map +1 -1
- package/dist/credentials/credential-dependency.service.js.map +1 -1
- package/dist/credentials/credentials-finder.service.d.ts +7 -2
- package/dist/credentials/credentials-finder.service.js +33 -8
- package/dist/credentials/credentials-finder.service.js.map +1 -1
- package/dist/credentials/credentials.controller.d.ts +6 -0
- package/dist/credentials/credentials.controller.js +44 -5
- package/dist/credentials/credentials.controller.js.map +1 -1
- package/dist/credentials/credentials.service.d.ts +38 -5
- package/dist/credentials/credentials.service.ee.d.ts +4 -2
- package/dist/credentials/credentials.service.ee.js +8 -7
- package/dist/credentials/credentials.service.ee.js.map +1 -1
- package/dist/credentials/credentials.service.js +227 -21
- package/dist/credentials/credentials.service.js.map +1 -1
- package/dist/credentials/instance-credential-broker.d.ts +24 -0
- package/dist/credentials/instance-credential-broker.js +80 -0
- package/dist/credentials/instance-credential-broker.js.map +1 -0
- package/dist/credentials/instance-credential-use.registry.d.ts +14 -0
- package/dist/credentials/instance-credential-use.registry.js +43 -0
- package/dist/credentials/instance-credential-use.registry.js.map +1 -0
- package/dist/credentials-helper.js +4 -0
- package/dist/credentials-helper.js.map +1 -1
- package/dist/credentials-overwrites.js +2 -1
- package/dist/credentials-overwrites.js.map +1 -1
- package/dist/errors/response-errors/workflow-deactivation-bad-request.error.d.ts +9 -0
- package/dist/errors/response-errors/workflow-deactivation-bad-request.error.js +13 -0
- package/dist/errors/response-errors/workflow-deactivation-bad-request.error.js.map +1 -0
- package/dist/evaluation.ee/evaluation-collection.service.d.ts +12 -2
- package/dist/evaluation.ee/evaluation-collection.service.js +132 -20
- package/dist/evaluation.ee/evaluation-collection.service.js.map +1 -1
- package/dist/evaluation.ee/evaluation-collections.controller.ee.d.ts +12 -0
- package/dist/evaluation.ee/evaluation-collections.controller.ee.js +12 -0
- package/dist/evaluation.ee/evaluation-collections.controller.ee.js.map +1 -1
- package/dist/evaluation.ee/insights/eval-insights.service.d.ts +11 -4
- package/dist/evaluation.ee/insights/eval-insights.service.js +136 -30
- package/dist/evaluation.ee/insights/eval-insights.service.js.map +1 -1
- package/dist/evaluation.ee/insights/insights-context-builder.d.ts +59 -0
- package/dist/evaluation.ee/insights/insights-context-builder.js +179 -0
- package/dist/evaluation.ee/insights/insights-context-builder.js.map +1 -0
- package/dist/evaluation.ee/insights/insights-model-resolver.d.ts +16 -0
- package/dist/evaluation.ee/insights/insights-model-resolver.js +65 -0
- package/dist/evaluation.ee/insights/insights-model-resolver.js.map +1 -0
- package/dist/evaluation.ee/metric-scales.d.ts +4 -0
- package/dist/evaluation.ee/metric-scales.js +13 -0
- package/dist/evaluation.ee/metric-scales.js.map +1 -0
- package/dist/evaluation.ee/test-runner/test-runner.service.ee.d.ts +5 -0
- package/dist/evaluation.ee/test-runner/test-runner.service.ee.js +40 -4
- package/dist/evaluation.ee/test-runner/test-runner.service.ee.js.map +1 -1
- package/dist/evaluation.ee/test-runner/workflow-compiler.service.d.ts +6 -1
- package/dist/evaluation.ee/test-runner/workflow-compiler.service.js +53 -4
- package/dist/evaluation.ee/test-runner/workflow-compiler.service.js.map +1 -1
- package/dist/evaluation.ee/test-runs.controller.ee.d.ts +4 -2
- package/dist/evaluation.ee/test-runs.controller.ee.js +26 -6
- package/dist/evaluation.ee/test-runs.controller.ee.js.map +1 -1
- package/dist/eventbus/message-event-bus/message-event-bus.js.map +1 -1
- package/dist/events/maps/workflow-publication-metrics.event-map.d.ts +2 -0
- package/dist/events/relays/telemetry.event-relay.js +5 -0
- package/dist/events/relays/telemetry.event-relay.js.map +1 -1
- package/dist/execution-lifecycle/execution-lifecycle-hooks.js +1 -0
- package/dist/execution-lifecycle/execution-lifecycle-hooks.js.map +1 -1
- package/dist/executions/execution-data/execution-data-json-store.d.ts +6 -4
- package/dist/executions/execution-data/execution-data-json-store.js +17 -5
- package/dist/executions/execution-data/execution-data-json-store.js.map +1 -1
- package/dist/executions/pre-execution-checks/credentials-permission-checker.d.ts +1 -0
- package/dist/executions/pre-execution-checks/credentials-permission-checker.js +17 -5
- package/dist/executions/pre-execution-checks/credentials-permission-checker.js.map +1 -1
- package/dist/external-hooks.d.ts +44 -10
- package/dist/external-hooks.js +13 -0
- package/dist/external-hooks.js.map +1 -1
- package/dist/license.d.ts +2 -0
- package/dist/license.js +13 -1
- package/dist/license.js.map +1 -1
- package/dist/metrics/prometheus/workflow-info-metrics.service.d.ts +4 -1
- package/dist/metrics/prometheus/workflow-info-metrics.service.js +27 -8
- package/dist/metrics/prometheus/workflow-info-metrics.service.js.map +1 -1
- package/dist/metrics/prometheus/workflow-publication-metrics.service.js +11 -1
- package/dist/metrics/prometheus/workflow-publication-metrics.service.js.map +1 -1
- package/dist/modules/agents/agent-chat.controller.js +10 -2
- package/dist/modules/agents/agent-chat.controller.js.map +1 -1
- package/dist/modules/agents/agent-config.service.js +1 -1
- package/dist/modules/agents/agent-config.service.js.map +1 -1
- package/dist/modules/agents/agent-execution-orchestrator.service.d.ts +7 -1
- package/dist/modules/agents/agent-execution-orchestrator.service.js +84 -43
- package/dist/modules/agents/agent-execution-orchestrator.service.js.map +1 -1
- package/dist/modules/agents/agent-execution.service.d.ts +12 -1
- package/dist/modules/agents/agent-execution.service.js +82 -7
- package/dist/modules/agents/agent-execution.service.js.map +1 -1
- package/dist/modules/agents/agent-integration-persistence.service.js +2 -2
- package/dist/modules/agents/agent-integration-persistence.service.js.map +1 -1
- package/dist/modules/agents/agent-integrations.controller.js +4 -2
- package/dist/modules/agents/agent-integrations.controller.js.map +1 -1
- package/dist/modules/agents/agent-knowledge-sandbox.service.js +5 -3
- package/dist/modules/agents/agent-knowledge-sandbox.service.js.map +1 -1
- package/dist/modules/agents/agent-knowledge.service.d.ts +0 -1
- package/dist/modules/agents/agent-knowledge.service.js +2 -9
- package/dist/modules/agents/agent-knowledge.service.js.map +1 -1
- package/dist/modules/agents/agent-model-catalog.service.js +1 -1
- package/dist/modules/agents/agent-model-catalog.service.js.map +1 -1
- package/dist/modules/agents/agent-publish.controller.js +2 -2
- package/dist/modules/agents/agent-publish.controller.js.map +1 -1
- package/dist/modules/agents/agent-publish.service.d.ts +7 -3
- package/dist/modules/agents/agent-publish.service.js +31 -8
- package/dist/modules/agents/agent-publish.service.js.map +1 -1
- package/dist/modules/agents/agent-run-tracing.service.d.ts +30 -0
- package/dist/modules/agents/agent-run-tracing.service.js +63 -0
- package/dist/modules/agents/agent-run-tracing.service.js.map +1 -0
- package/dist/modules/agents/agent-runtime-instrumentation.d.ts +26 -0
- package/dist/{blob-storage/types.js → modules/agents/agent-runtime-instrumentation.js} +1 -1
- package/dist/modules/agents/agent-runtime-instrumentation.js.map +1 -0
- package/dist/modules/agents/agent-runtime-reconstruction.service.d.ts +3 -1
- package/dist/modules/agents/agent-runtime-reconstruction.service.js +31 -8
- package/dist/modules/agents/agent-runtime-reconstruction.service.js.map +1 -1
- package/dist/modules/agents/agent-sse-stream.js +31 -6
- package/dist/modules/agents/agent-sse-stream.js.map +1 -1
- package/dist/modules/agents/agent-validation.service.d.ts +2 -1
- package/dist/modules/agents/agent-validation.service.js +21 -6
- package/dist/modules/agents/agent-validation.service.js.map +1 -1
- package/dist/modules/agents/agent-workflow-execution.service.d.ts +5 -3
- package/dist/modules/agents/agent-workflow-execution.service.js +31 -9
- package/dist/modules/agents/agent-workflow-execution.service.js.map +1 -1
- package/dist/modules/agents/agents-tools.service.js +12 -0
- package/dist/modules/agents/agents-tools.service.js.map +1 -1
- package/dist/modules/agents/agents.module.js +13 -0
- package/dist/modules/agents/agents.module.js.map +1 -1
- package/dist/modules/agents/agents.service.d.ts +3 -1
- package/dist/modules/agents/agents.service.js +5 -2
- package/dist/modules/agents/agents.service.js.map +1 -1
- package/dist/modules/agents/builder/agents-builder-model-recommendations.js +6 -4
- package/dist/modules/agents/builder/agents-builder-model-recommendations.js.map +1 -1
- package/dist/modules/agents/builder/agents-builder-prompts.d.ts +5 -4
- package/dist/modules/agents/builder/agents-builder-prompts.js +109 -34
- package/dist/modules/agents/builder/agents-builder-prompts.js.map +1 -1
- package/dist/modules/agents/builder/agents-builder-tools.service.d.ts +16 -2
- package/dist/modules/agents/builder/agents-builder-tools.service.js +201 -39
- package/dist/modules/agents/builder/agents-builder-tools.service.js.map +1 -1
- package/dist/modules/agents/builder/agents-builder.service.js +7 -2
- package/dist/modules/agents/builder/agents-builder.service.js.map +1 -1
- package/dist/modules/agents/builder/builder-config-telemetry.d.ts +12 -0
- package/dist/modules/agents/builder/builder-config-telemetry.js +67 -0
- package/dist/modules/agents/builder/builder-config-telemetry.js.map +1 -0
- package/dist/modules/agents/builder/builder-tool-names.d.ts +2 -0
- package/dist/modules/agents/builder/builder-tool-names.js +2 -0
- package/dist/modules/agents/builder/builder-tool-names.js.map +1 -1
- package/dist/modules/agents/builder/interactive/ask-credential.tool.d.ts +3 -0
- package/dist/modules/agents/builder/interactive/ask-credential.tool.js +35 -7
- package/dist/modules/agents/builder/interactive/ask-credential.tool.js.map +1 -1
- package/dist/modules/agents/builder/interactive/ask-questions.tool.d.ts +4 -1
- package/dist/modules/agents/builder/interactive/ask-questions.tool.js +13 -1
- package/dist/modules/agents/builder/interactive/ask-questions.tool.js.map +1 -1
- package/dist/modules/agents/builder/interactive/configure-channel.tool.d.ts +2 -0
- package/dist/modules/agents/builder/interactive/configure-channel.tool.js +7 -1
- package/dist/modules/agents/builder/interactive/configure-channel.tool.js.map +1 -1
- package/dist/modules/agents/builder/interactive/finish-setup.tool.d.ts +17 -0
- package/dist/modules/agents/builder/interactive/finish-setup.tool.js +316 -0
- package/dist/modules/agents/builder/interactive/finish-setup.tool.js.map +1 -0
- package/dist/modules/agents/builder/interactive/index.d.ts +1 -0
- package/dist/modules/agents/builder/interactive/index.js +3 -1
- package/dist/modules/agents/builder/interactive/index.js.map +1 -1
- package/dist/modules/agents/builder/interactive/resolve-llm.tool.d.ts +8 -0
- package/dist/modules/agents/builder/interactive/resolve-llm.tool.js +87 -6
- package/dist/modules/agents/builder/interactive/resolve-llm.tool.js.map +1 -1
- package/dist/modules/agents/builder/prompts/config-mutation.prompt.js +6 -5
- package/dist/modules/agents/builder/prompts/config-mutation.prompt.js.map +1 -1
- package/dist/modules/agents/builder/prompts/config-rules.prompt.js +6 -5
- package/dist/modules/agents/builder/prompts/config-rules.prompt.js.map +1 -1
- package/dist/modules/agents/builder/prompts/initial-build.prompt.d.ts +2 -0
- package/dist/modules/agents/builder/prompts/initial-build.prompt.js +56 -0
- package/dist/modules/agents/builder/prompts/initial-build.prompt.js.map +1 -0
- package/dist/modules/agents/builder/prompts/llm-selection.prompt.js +6 -3
- package/dist/modules/agents/builder/prompts/llm-selection.prompt.js.map +1 -1
- package/dist/modules/agents/builder/prompts/memory.prompt.d.ts +1 -1
- package/dist/modules/agents/builder/prompts/memory.prompt.js +2 -2
- package/dist/modules/agents/builder/prompts/memory.prompt.js.map +1 -1
- package/dist/modules/agents/builder/prompts/planner-todos.prompt.d.ts +2 -0
- package/dist/modules/agents/builder/prompts/planner-todos.prompt.js +22 -0
- package/dist/modules/agents/builder/prompts/planner-todos.prompt.js.map +1 -0
- package/dist/modules/agents/builder/prompts/tools.prompt.d.ts +1 -1
- package/dist/modules/agents/builder/prompts/tools.prompt.js +12 -12
- package/dist/modules/agents/builder/resolve-integration.tool.js +1 -1
- package/dist/modules/agents/builder/resolve-integration.tool.js.map +1 -1
- package/dist/modules/agents/builder/skills/external-services.skill.d.ts +2 -0
- package/dist/modules/agents/builder/skills/external-services.skill.js +361 -0
- package/dist/modules/agents/builder/skills/external-services.skill.js.map +1 -0
- package/dist/modules/agents/builder/skills/index.js +2 -6
- package/dist/modules/agents/builder/skills/index.js.map +1 -1
- package/dist/modules/agents/builder/skills/memory.skill.js +2 -1
- package/dist/modules/agents/builder/skills/memory.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/resource-locators.skill.js +17 -3
- package/dist/modules/agents/builder/skills/resource-locators.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/target-skills.skill.js +12 -9
- package/dist/modules/agents/builder/skills/target-skills.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/target-tasks.skill.js +14 -10
- package/dist/modules/agents/builder/skills/target-tasks.skill.js.map +1 -1
- package/dist/modules/agents/builder/verify-mcp-server.tool.d.ts +4 -0
- package/dist/modules/agents/builder/verify-mcp-server.tool.js +30 -5
- package/dist/modules/agents/builder/verify-mcp-server.tool.js.map +1 -1
- package/dist/modules/agents/entities/agent-execution.entity.d.ts +2 -1
- package/dist/modules/agents/entities/agent-execution.entity.js +4 -0
- package/dist/modules/agents/entities/agent-execution.entity.js.map +1 -1
- package/dist/modules/agents/execution-log/agent-execution-log-store.d.ts +17 -0
- package/dist/modules/agents/execution-log/agent-execution-log-store.js +58 -0
- package/dist/modules/agents/execution-log/agent-execution-log-store.js.map +1 -0
- package/dist/modules/agents/execution-log/agent-execution-log-write.error.d.ts +5 -0
- package/dist/modules/agents/execution-log/agent-execution-log-write.error.js +11 -0
- package/dist/modules/agents/execution-log/agent-execution-log-write.error.js.map +1 -0
- package/dist/modules/agents/execution-log/corrupted-agent-execution-log.error.d.ts +5 -0
- package/dist/modules/agents/execution-log/corrupted-agent-execution-log.error.js +11 -0
- package/dist/modules/agents/execution-log/corrupted-agent-execution-log.error.js.map +1 -0
- package/dist/modules/agents/instance-ai-builder-delegate.adapter.d.ts +1 -1
- package/dist/modules/agents/instance-ai-builder-delegate.adapter.js +4 -2
- package/dist/modules/agents/instance-ai-builder-delegate.adapter.js.map +1 -1
- package/dist/modules/agents/integrations/agent-chat-bridge.js +8 -4
- package/dist/modules/agents/integrations/agent-chat-bridge.js.map +1 -1
- package/dist/modules/agents/integrations/agent-chat-stream-consumer.d.ts +4 -2
- package/dist/modules/agents/integrations/agent-chat-stream-consumer.js +62 -6
- package/dist/modules/agents/integrations/agent-chat-stream-consumer.js.map +1 -1
- package/dist/modules/agents/integrations/integration-tool-factory.d.ts +7 -7
- package/dist/modules/agents/integrations/integration-tool-factory.js +13 -10
- package/dist/modules/agents/integrations/integration-tool-factory.js.map +1 -1
- package/dist/modules/agents/integrations/integration-tool-schema.d.ts +7 -7
- package/dist/modules/agents/integrations/integration-tool-schema.js +7 -7
- package/dist/modules/agents/integrations/integration-tool-schema.js.map +1 -1
- package/dist/modules/agents/integrations/slack-app-setup.service.js +2 -1
- package/dist/modules/agents/integrations/slack-app-setup.service.js.map +1 -1
- package/dist/modules/agents/json-config/from-json-config.d.ts +21 -0
- package/dist/modules/agents/json-config/from-json-config.js +16 -4
- package/dist/modules/agents/json-config/from-json-config.js.map +1 -1
- package/dist/modules/agents/json-config/mcp-client-factory.d.ts +4 -0
- package/dist/modules/agents/json-config/mcp-client-factory.js +6 -1
- package/dist/modules/agents/json-config/mcp-client-factory.js.map +1 -1
- package/dist/modules/agents/json-config/sanitize-unknown-agent-credentials.js +14 -1
- package/dist/modules/agents/json-config/sanitize-unknown-agent-credentials.js.map +1 -1
- package/dist/modules/agents/{builder/interactive/llm-provider-defaults.d.ts → llm-provider-defaults.d.ts} +1 -0
- package/dist/modules/agents/{builder/interactive/llm-provider-defaults.js → llm-provider-defaults.js} +14 -1
- package/dist/modules/agents/llm-provider-defaults.js.map +1 -0
- package/dist/modules/agents/repositories/agent-execution.repository.d.ts +4 -0
- package/dist/modules/agents/repositories/agent-execution.repository.js +31 -0
- package/dist/modules/agents/repositories/agent-execution.repository.js.map +1 -1
- package/dist/modules/agents/sub-agents/delegate-sub-agent-tool.js +1 -0
- package/dist/modules/agents/sub-agents/delegate-sub-agent-tool.js.map +1 -1
- package/dist/modules/agents/sub-agents/sub-agent-foreground-runner.d.ts +4 -1
- package/dist/modules/agents/sub-agents/sub-agent-foreground-runner.js +7 -1
- package/dist/modules/agents/sub-agents/sub-agent-foreground-runner.js.map +1 -1
- package/dist/modules/agents/tools/node-tool-factory.d.ts +2 -0
- package/dist/modules/agents/tools/node-tool-factory.js +8 -0
- package/dist/modules/agents/tools/node-tool-factory.js.map +1 -1
- package/dist/modules/agents/tools/workflow-tool-factory.d.ts +3 -1
- package/dist/modules/agents/tools/workflow-tool-factory.js +9 -3
- package/dist/modules/agents/tools/workflow-tool-factory.js.map +1 -1
- package/dist/modules/agents/utils/execution-to-message-mapper.js +4 -2
- package/dist/modules/agents/utils/execution-to-message-mapper.js.map +1 -1
- package/dist/modules/agents/utils/node-tool-validation.js +6 -0
- package/dist/modules/agents/utils/node-tool-validation.js.map +1 -1
- package/dist/modules/breaking-changes/rules/index.d.ts +3 -0
- package/dist/modules/breaking-changes/rules/index.js +3 -0
- package/dist/modules/breaking-changes/rules/index.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v3/chat-trigger-embedded-json.rule.d.ts +10 -0
- package/dist/modules/breaking-changes/rules/v3/chat-trigger-embedded-json.rule.js +58 -0
- package/dist/modules/breaking-changes/rules/v3/chat-trigger-embedded-json.rule.js.map +1 -0
- package/dist/modules/breaking-changes/rules/v3/removed-nodes-with-replacements.rule.d.ts +239 -0
- package/dist/modules/breaking-changes/rules/v3/removed-nodes-with-replacements.rule.js +445 -0
- package/dist/modules/breaking-changes/rules/v3/removed-nodes-with-replacements.rule.js.map +1 -0
- package/dist/modules/breaking-changes/rules/v3/removed-nodes.rule.d.ts +11 -0
- package/dist/modules/breaking-changes/rules/v3/removed-nodes.rule.js +61 -0
- package/dist/modules/breaking-changes/rules/v3/removed-nodes.rule.js.map +1 -0
- package/dist/modules/community-packages/installed-nodes.entity.js +1 -1
- package/dist/modules/community-packages/installed-nodes.entity.js.map +1 -1
- package/dist/modules/data-table/data-table-proxy.service.js +13 -0
- package/dist/modules/data-table/data-table-proxy.service.js.map +1 -1
- package/dist/modules/data-table/data-table.controller.js +1 -1
- package/dist/modules/data-table/data-table.controller.js.map +1 -1
- package/dist/modules/data-table/data-table.service.d.ts +1 -1
- package/dist/modules/data-table/data-table.service.js.map +1 -1
- package/dist/modules/dynamic-credentials.ee/database/repositories/dynamic-credential-user-entry.repository.js.map +1 -1
- package/dist/modules/dynamic-credentials.ee/services/credential-resolver-workflow.service.js.map +1 -1
- package/dist/modules/instance-ai/eval/agent-execution.service.d.ts +26 -0
- package/dist/modules/instance-ai/eval/agent-execution.service.js +508 -0
- package/dist/modules/instance-ai/eval/agent-execution.service.js.map +1 -0
- package/dist/modules/instance-ai/eval/agent-model-turn-recorder.d.ts +9 -0
- package/dist/modules/instance-ai/eval/agent-model-turn-recorder.js +110 -0
- package/dist/modules/instance-ai/eval/agent-model-turn-recorder.js.map +1 -0
- package/dist/modules/instance-ai/eval/agent-scenario-seed.d.ts +14 -0
- package/dist/modules/instance-ai/eval/agent-scenario-seed.js +98 -0
- package/dist/modules/instance-ai/eval/agent-scenario-seed.js.map +1 -0
- package/dist/modules/instance-ai/eval/execution.service.js +3 -3
- package/dist/modules/instance-ai/eval/execution.service.js.map +1 -1
- package/dist/modules/instance-ai/eval/mcp-mock-fetch.d.ts +28 -0
- package/dist/modules/instance-ai/eval/mcp-mock-fetch.js +265 -0
- package/dist/modules/instance-ai/eval/mcp-mock-fetch.js.map +1 -0
- package/dist/modules/instance-ai/eval/mock-utils.d.ts +4 -0
- package/dist/modules/instance-ai/eval/mock-utils.js +41 -0
- package/dist/modules/instance-ai/eval/mock-utils.js.map +1 -0
- package/dist/modules/instance-ai/eval/request-sanitizer.d.ts +1 -0
- package/dist/modules/instance-ai/eval/request-sanitizer.js +26 -0
- package/dist/modules/instance-ai/eval/request-sanitizer.js.map +1 -1
- package/dist/modules/instance-ai/eval/web-search-mock.d.ts +26 -0
- package/dist/modules/instance-ai/eval/web-search-mock.js +122 -0
- package/dist/modules/instance-ai/eval/web-search-mock.js.map +1 -0
- package/dist/modules/instance-ai/event-bus/interrupted-run-sweeper.d.ts +8 -0
- package/dist/modules/instance-ai/event-bus/interrupted-run-sweeper.js +85 -11
- package/dist/modules/instance-ai/event-bus/interrupted-run-sweeper.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-error-reporter.service.js +13 -0
- package/dist/modules/instance-ai/instance-ai-error-reporter.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-memory.service.d.ts +3 -3
- package/dist/modules/instance-ai/instance-ai-memory.service.js +5 -11
- package/dist/modules/instance-ai/instance-ai-memory.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-settings.service.d.ts +42 -14
- package/dist/modules/instance-ai/instance-ai-settings.service.js +650 -174
- package/dist/modules/instance-ai/instance-ai-settings.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-test.controller.js +4 -1
- package/dist/modules/instance-ai/instance-ai-test.controller.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.adapter.service.d.ts +2 -1
- package/dist/modules/instance-ai/instance-ai.adapter.service.js +26 -2
- package/dist/modules/instance-ai/instance-ai.adapter.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.controller.d.ts +14 -6
- package/dist/modules/instance-ai/instance-ai.controller.js +84 -29
- package/dist/modules/instance-ai/instance-ai.controller.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.module.js +9 -2
- package/dist/modules/instance-ai/instance-ai.module.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.service.d.ts +10 -1
- package/dist/modules/instance-ai/instance-ai.service.js +146 -45
- package/dist/modules/instance-ai/instance-ai.service.js.map +1 -1
- package/dist/modules/instance-ai/repositories/instance-ai-event-log.repository.d.ts +1 -1
- package/dist/modules/instance-ai/repositories/instance-ai-event-log.repository.js +6 -5
- package/dist/modules/instance-ai/repositories/instance-ai-event-log.repository.js.map +1 -1
- package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.d.ts +6 -2
- package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.js +55 -14
- package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.js.map +1 -1
- package/dist/modules/mcp/mcp-protected-resource.d.ts +1 -0
- package/dist/modules/mcp/mcp-protected-resource.js +4 -0
- package/dist/modules/mcp/mcp-protected-resource.js.map +1 -1
- package/dist/modules/mcp/mcp-server-middleware.service.js +2 -1
- package/dist/modules/mcp/mcp-server-middleware.service.js.map +1 -1
- package/dist/modules/mcp/mcp.controller.d.ts +3 -1
- package/dist/modules/mcp/mcp.controller.js +15 -11
- package/dist/modules/mcp/mcp.controller.js.map +1 -1
- package/dist/modules/mcp/mcp.service.d.ts +7 -2
- package/dist/modules/mcp/mcp.service.js +63 -43
- package/dist/modules/mcp/mcp.service.js.map +1 -1
- package/dist/modules/mcp/mcp.types.d.ts +1 -0
- package/dist/modules/mcp/tools/execution-utils.d.ts +3 -1
- package/dist/modules/mcp/tools/execution-utils.js +6 -4
- package/dist/modules/mcp/tools/execution-utils.js.map +1 -1
- package/dist/modules/mcp/tools/get-workflow-details.tool.d.ts +3 -2
- package/dist/modules/mcp/tools/get-workflow-details.tool.js +6 -6
- package/dist/modules/mcp/tools/get-workflow-details.tool.js.map +1 -1
- package/dist/modules/mcp/tools/get-workflow-version.tool.d.ts +3 -2
- package/dist/modules/mcp/tools/get-workflow-version.tool.js +1 -1
- package/dist/modules/mcp/tools/get-workflow-version.tool.js.map +1 -1
- package/dist/modules/mcp/tools/schemas.d.ts +34 -32
- package/dist/modules/mcp/tools/schemas.js +14 -2
- package/dist/modules/mcp/tools/schemas.js.map +1 -1
- package/dist/modules/mcp/tools/test-workflow.tool.d.ts +4 -1
- package/dist/modules/mcp/tools/test-workflow.tool.js +13 -5
- package/dist/modules/mcp/tools/test-workflow.tool.js.map +1 -1
- package/dist/modules/mcp/tools/webhook-utils.d.ts +3 -3
- package/dist/modules/mcp/tools/webhook-utils.js +17 -6
- package/dist/modules/mcp/tools/webhook-utils.js.map +1 -1
- package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.d.ts +4 -1
- package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.js +5 -1
- package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.js.map +1 -1
- package/dist/modules/mcp/tools/workflow-builder/get-workflow-best-practices.tool.d.ts +3 -1
- package/dist/modules/mcp/tools/workflow-builder/get-workflow-best-practices.tool.js +16 -3
- package/dist/modules/mcp/tools/workflow-builder/get-workflow-best-practices.tool.js.map +1 -1
- package/dist/modules/mcp/tools/workflow-builder/get-workflow-sdk-reference.tool.d.ts +5 -2
- package/dist/modules/mcp/tools/workflow-builder/get-workflow-sdk-reference.tool.js +17 -10
- package/dist/modules/mcp/tools/workflow-builder/get-workflow-sdk-reference.tool.js.map +1 -1
- package/dist/modules/mcp/tools/workflow-builder/mcp-instructions.d.ts +6 -1
- package/dist/modules/mcp/tools/workflow-builder/mcp-instructions.js +8 -2
- package/dist/modules/mcp/tools/workflow-builder/mcp-instructions.js.map +1 -1
- package/dist/modules/mcp/tools/workflow-builder/sdk-reference-content.d.ts +4 -2
- package/dist/modules/mcp/tools/workflow-builder/sdk-reference-content.js +8 -1
- package/dist/modules/mcp/tools/workflow-builder/sdk-reference-content.js.map +1 -1
- package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.d.ts +280 -2
- package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.js +54 -17
- package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.js.map +1 -1
- package/dist/modules/mcp/tools/workflow-builder/validate-workflow-code.tool.d.ts +4 -1
- package/dist/modules/mcp/tools/workflow-builder/validate-workflow-code.tool.js +58 -1
- package/dist/modules/mcp/tools/workflow-builder/validate-workflow-code.tool.js.map +1 -1
- package/dist/modules/mcp/tools/workflow-builder/workflow-operations.d.ts +51 -5
- package/dist/modules/mcp/tools/workflow-builder/workflow-operations.js +414 -233
- package/dist/modules/mcp/tools/workflow-builder/workflow-operations.js.map +1 -1
- package/dist/modules/mcp-registry/mcp-registry-test.controller.js +2 -2
- package/dist/modules/mcp-registry/mcp-registry-test.controller.js.map +1 -1
- package/dist/modules/mcp-registry/mcp-registry.module.js +1 -1
- package/dist/modules/mcp-registry/mcp-registry.module.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-orchestrator.d.ts +11 -1
- package/dist/modules/n8n-packages/engine/import-orchestrator.js +36 -7
- package/dist/modules/n8n-packages/engine/import-orchestrator.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-result.d.ts +3 -2
- package/dist/modules/n8n-packages/engine/import-result.js +2 -1
- package/dist/modules/n8n-packages/engine/import-result.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-telemetry.d.ts +2 -0
- package/dist/modules/n8n-packages/engine/import-telemetry.js +11 -0
- package/dist/modules/n8n-packages/engine/import-telemetry.js.map +1 -1
- package/dist/modules/n8n-packages/engine/project-package-importer.js +11 -0
- package/dist/modules/n8n-packages/engine/project-package-importer.js.map +1 -1
- package/dist/modules/n8n-packages/engine/workflow-package-importer.js +10 -1
- package/dist/modules/n8n-packages/engine/workflow-package-importer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/requirements.types.d.ts +2 -0
- package/dist/modules/n8n-packages/entities/requirements.types.js +1 -0
- package/dist/modules/n8n-packages/entities/requirements.types.js.map +1 -1
- package/dist/modules/n8n-packages/entities/variable/variable-importer.d.ts +9 -0
- package/dist/modules/n8n-packages/entities/variable/variable-importer.js +55 -0
- package/dist/modules/n8n-packages/entities/variable/variable-importer.js.map +1 -0
- package/dist/modules/n8n-packages/entities/variable/variable-missing-mode.d.ts +3 -0
- package/dist/modules/n8n-packages/entities/variable/variable-missing-mode.js +12 -0
- package/dist/modules/n8n-packages/entities/variable/variable-missing-mode.js.map +1 -0
- package/dist/modules/n8n-packages/entities/variable/variable.types.d.ts +14 -0
- package/dist/modules/n8n-packages/entities/variable/variable.types.js +7 -0
- package/dist/modules/n8n-packages/entities/variable/variable.types.js.map +1 -1
- package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow-resolver.d.ts +37 -0
- package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow-resolver.js +165 -0
- package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow-resolver.js.map +1 -0
- package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow.exporter.d.ts +39 -0
- package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow.exporter.js +198 -0
- package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow.exporter.js.map +1 -0
- package/dist/modules/n8n-packages/entities/workflow/missing-node-type-mode.d.ts +7 -0
- package/dist/modules/n8n-packages/entities/workflow/missing-node-type-mode.js +30 -0
- package/dist/modules/n8n-packages/entities/workflow/missing-node-type-mode.js.map +1 -0
- package/dist/modules/n8n-packages/entities/workflow/node-type-usage.d.ts +11 -0
- package/dist/modules/n8n-packages/entities/workflow/node-type-usage.js +27 -0
- package/dist/modules/n8n-packages/entities/workflow/node-type-usage.js.map +1 -0
- package/dist/modules/n8n-packages/entities/workflow/static-sub-workflow-id.d.ts +2 -0
- package/dist/modules/n8n-packages/entities/workflow/static-sub-workflow-id.js +23 -0
- package/dist/modules/n8n-packages/entities/workflow/static-sub-workflow-id.js.map +1 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-import.types.d.ts +2 -2
- package/dist/modules/n8n-packages/entities/workflow/workflow-importer.js +1 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow-importer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow-publisher.d.ts +2 -2
- package/dist/modules/n8n-packages/entities/workflow/workflow-publisher.js +5 -4
- package/dist/modules/n8n-packages/entities/workflow/workflow-publisher.js.map +1 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow-publishing-policy.types.d.ts +1 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow-requirements.extractor.js +2 -2
- package/dist/modules/n8n-packages/entities/workflow/workflow-requirements.extractor.js.map +1 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow.exporter.js +3 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow.exporter.js.map +1 -1
- package/dist/modules/n8n-packages/io/unique-filename-allocator.d.ts +1 -0
- package/dist/modules/n8n-packages/io/unique-filename-allocator.js +9 -0
- package/dist/modules/n8n-packages/io/unique-filename-allocator.js.map +1 -1
- package/dist/modules/n8n-packages/n8n-packages.service.d.ts +8 -4
- package/dist/modules/n8n-packages/n8n-packages.service.js +81 -36
- package/dist/modules/n8n-packages/n8n-packages.service.js.map +1 -1
- package/dist/modules/n8n-packages/n8n-packages.types.d.ts +40 -3
- package/dist/modules/n8n-packages/n8n-packages.types.js +9 -1
- package/dist/modules/n8n-packages/n8n-packages.types.js.map +1 -1
- package/dist/modules/n8n-packages/spec/manifest.schema.d.ts +51 -0
- package/dist/modules/n8n-packages/spec/requirements.schema.d.ts +45 -0
- package/dist/modules/n8n-packages/spec/requirements.schema.js +10 -1
- package/dist/modules/n8n-packages/spec/requirements.schema.js.map +1 -1
- package/dist/modules/n8n-packages/spec/serialized/workflow.schema.js +1 -1
- package/dist/modules/n8n-packages/spec/serialized/workflow.schema.js.map +1 -1
- package/dist/modules/oauth-server/database/repositories/oauth-access-token.repository.d.ts +10 -2
- package/dist/modules/oauth-server/database/repositories/oauth-access-token.repository.js +5 -1
- package/dist/modules/oauth-server/database/repositories/oauth-access-token.repository.js.map +1 -1
- package/dist/modules/oauth-server/database/repositories/oauth-refresh-token.repository.d.ts +14 -2
- package/dist/modules/oauth-server/database/repositories/oauth-refresh-token.repository.js +16 -1
- package/dist/modules/oauth-server/database/repositories/oauth-refresh-token.repository.js.map +1 -1
- package/dist/modules/oauth-server/oauth-token.service.d.ts +3 -2
- package/dist/modules/oauth-server/oauth-token.service.js +13 -33
- package/dist/modules/oauth-server/oauth-token.service.js.map +1 -1
- package/dist/modules/oauth-server/oauth.controller.d.ts +3 -0
- package/dist/modules/oauth-server/oauth.controller.js +45 -1
- package/dist/modules/oauth-server/oauth.controller.js.map +1 -1
- package/dist/modules/oauth-server/oauth.helpers.d.ts +1 -0
- package/dist/modules/oauth-server/oauth.helpers.js +7 -0
- package/dist/modules/oauth-server/oauth.helpers.js.map +1 -1
- package/dist/modules/otel/otel-settings.controller.d.ts +2 -2
- package/dist/modules/otel/otel-settings.controller.js +1 -1
- package/dist/modules/otel/otel-settings.controller.js.map +1 -1
- package/dist/modules/redaction/redaction-context-hook.js +4 -2
- package/dist/modules/redaction/redaction-context-hook.js.map +1 -1
- package/dist/modules/source-control.ee/source-control-export.service.ee.js +3 -3
- package/dist/modules/source-control.ee/source-control-export.service.ee.js.map +1 -1
- package/dist/modules/source-control.ee/source-control-import.service.ee.d.ts +1 -0
- package/dist/modules/source-control.ee/source-control-import.service.ee.js +51 -22
- package/dist/modules/source-control.ee/source-control-import.service.ee.js.map +1 -1
- package/dist/modules/source-control.ee/source-control-scoped.service.js +1 -1
- package/dist/modules/source-control.ee/source-control-scoped.service.js.map +1 -1
- package/dist/modules/source-control.ee/types/exportable-credential.d.ts +2 -0
- package/dist/modules/workflow-index/workflow-dependency-query.service.js +1 -1
- package/dist/modules/workflow-index/workflow-dependency-query.service.js.map +1 -1
- package/dist/modules/workflow-reviews.ee/workflow-review-request.service.d.ts +44 -0
- package/dist/modules/workflow-reviews.ee/workflow-review-request.service.js +373 -0
- package/dist/modules/workflow-reviews.ee/workflow-review-request.service.js.map +1 -0
- package/dist/modules/workflow-reviews.ee/workflow-review-requests.controller.d.ts +14 -0
- package/dist/modules/workflow-reviews.ee/workflow-review-requests.controller.js +97 -0
- package/dist/modules/workflow-reviews.ee/workflow-review-requests.controller.js.map +1 -0
- package/dist/modules/workflow-reviews.ee/workflow-reviews.module.d.ts +4 -0
- package/dist/modules/workflow-reviews.ee/workflow-reviews.module.js +24 -0
- package/dist/modules/workflow-reviews.ee/workflow-reviews.module.js.map +1 -0
- package/dist/node-execution/ephemeral-node-executor.d.ts +5 -1
- package/dist/node-execution/ephemeral-node-executor.js +7 -4
- package/dist/node-execution/ephemeral-node-executor.js.map +1 -1
- package/dist/node-execution/index.d.ts +1 -0
- package/dist/node-execution/index.js +4 -1
- package/dist/node-execution/index.js.map +1 -1
- package/dist/node-execution/node-tool-operation-support.d.ts +2 -0
- package/dist/node-execution/node-tool-operation-support.js +12 -0
- package/dist/node-execution/node-tool-operation-support.js.map +1 -0
- package/dist/node-types.d.ts +5 -1
- package/dist/node-types.js +53 -20
- package/dist/node-types.js.map +1 -1
- package/dist/oauth/oauth.service.d.ts +5 -1
- package/dist/oauth/oauth.service.js +57 -28
- package/dist/oauth/oauth.service.js.map +1 -1
- package/dist/permissions.ee/check-access.js +18 -0
- package/dist/permissions.ee/check-access.js.map +1 -1
- package/dist/posthog/index.js +6 -0
- package/dist/posthog/index.js.map +1 -1
- package/dist/public-api/index.d.ts +1 -1
- package/dist/public-api/index.js +40 -11
- package/dist/public-api/index.js.map +1 -1
- package/dist/public-api/types.d.ts +7 -1
- package/dist/public-api/v1/controllers/index.d.ts +2 -0
- package/dist/public-api/v1/controllers/index.js +5 -0
- package/dist/public-api/v1/controllers/index.js.map +1 -0
- package/dist/public-api/v1/controllers/workflows.public.controller.d.ts +9 -0
- package/dist/public-api/v1/controllers/workflows.public.controller.js +81 -0
- package/dist/public-api/v1/controllers/workflows.public.controller.js.map +1 -0
- package/dist/public-api/v1/handlers/credentials/credentials.handler.js +1 -0
- package/dist/public-api/v1/handlers/credentials/credentials.handler.js.map +1 -1
- package/dist/public-api/v1/handlers/credentials/credentials.service.d.ts +1 -0
- package/dist/public-api/v1/handlers/credentials/credentials.service.js +9 -2
- package/dist/public-api/v1/handlers/credentials/credentials.service.js.map +1 -1
- package/dist/public-api/v1/handlers/discover/discover.service.d.ts +1 -0
- package/dist/public-api/v1/handlers/discover/discover.service.js +39 -34
- package/dist/public-api/v1/handlers/discover/discover.service.js.map +1 -1
- package/dist/public-api/v1/handlers/executions/executions.handler.js.map +1 -1
- package/dist/public-api/v1/handlers/n8n-packages/n8n-packages.handler.js +8 -3
- package/dist/public-api/v1/handlers/n8n-packages/n8n-packages.handler.js.map +1 -1
- package/dist/public-api/v1/handlers/otel/otel.handler.d.ts +9 -0
- package/dist/public-api/v1/handlers/otel/otel.handler.js +57 -0
- package/dist/public-api/v1/handlers/otel/otel.handler.js.map +1 -0
- package/dist/public-api/v1/handlers/otel/otel.mapper.d.ts +3 -0
- package/dist/public-api/v1/handlers/otel/otel.mapper.js +18 -0
- package/dist/public-api/v1/handlers/otel/otel.mapper.js.map +1 -0
- package/dist/public-api/v1/handlers/tags/tags.handler.d.ts +0 -1
- package/dist/public-api/v1/handlers/tags/tags.handler.js +0 -8
- package/dist/public-api/v1/handlers/tags/tags.handler.js.map +1 -1
- package/dist/public-api/v1/handlers/users/users.service.ee.js.map +1 -1
- package/dist/public-api/v1/handlers/workflows/workflows.handler.d.ts +2 -0
- package/dist/public-api/v1/handlers/workflows/workflows.handler.js +47 -34
- package/dist/public-api/v1/handlers/workflows/workflows.handler.js.map +1 -1
- package/dist/public-api/v1/handlers/workflows/workflows.service.js +6 -0
- package/dist/public-api/v1/handlers/workflows/workflows.service.js.map +1 -1
- package/dist/public-api/v1/openapi.yml +491 -19
- package/dist/public-api/v1/shared/middlewares/global.middleware.d.ts +4 -0
- package/dist/public-api/v1/shared/middlewares/global.middleware.js +9 -1
- package/dist/public-api/v1/shared/middlewares/global.middleware.js.map +1 -1
- package/dist/public-api/v1/shared/public-api-scope-lookup.d.ts +5 -0
- package/dist/public-api/v1/shared/public-api-scope-lookup.js +60 -0
- package/dist/public-api/v1/shared/public-api-scope-lookup.js.map +1 -0
- package/dist/scaling/constants.d.ts +2 -2
- package/dist/scaling/pubsub/pubsub.event-map.d.ts +1 -0
- package/dist/scaling/pubsub/pubsub.types.d.ts +2 -1
- package/dist/scheduling/durable-job-provisioner.d.ts +1 -0
- package/dist/scheduling/durable-job-provisioner.js +2 -0
- package/dist/scheduling/durable-job-provisioner.js.map +1 -1
- package/dist/scheduling/durable-scheduler.d.ts +2 -1
- package/dist/scheduling/durable-scheduler.js +4 -2
- package/dist/scheduling/durable-scheduler.js.map +1 -1
- package/dist/scheduling/poll-trigger-node/poll-job-provider.d.ts +11 -0
- package/dist/scheduling/poll-trigger-node/poll-job-provider.js +41 -0
- package/dist/scheduling/poll-trigger-node/poll-job-provider.js.map +1 -0
- package/dist/scheduling/poll-trigger-node/poll-trigger-job-registrar.d.ts +19 -0
- package/dist/scheduling/poll-trigger-node/poll-trigger-job-registrar.js +111 -0
- package/dist/scheduling/poll-trigger-node/poll-trigger-job-registrar.js.map +1 -0
- package/dist/scheduling/poll-trigger-node/poll-trigger-task-handler.d.ts +16 -0
- package/dist/scheduling/poll-trigger-node/poll-trigger-task-handler.js +100 -0
- package/dist/scheduling/poll-trigger-node/poll-trigger-task-handler.js.map +1 -0
- package/dist/scheduling/poll-trigger-node/poll-trigger-task.d.ts +6 -0
- package/dist/scheduling/poll-trigger-node/poll-trigger-task.js +8 -0
- package/dist/scheduling/poll-trigger-node/poll-trigger-task.js.map +1 -0
- package/dist/scheduling/schedule-trigger-node/schedule-trigger-job-registrar.d.ts +1 -0
- package/dist/scheduling/schedule-trigger-node/schedule-trigger-job-registrar.js +7 -1
- package/dist/scheduling/schedule-trigger-node/schedule-trigger-job-registrar.js.map +1 -1
- package/dist/security-audit/risk-reporters/credentials-risk-reporter.d.ts +4 -6
- package/dist/security-audit/risk-reporters/credentials-risk-reporter.js +17 -23
- package/dist/security-audit/risk-reporters/credentials-risk-reporter.js.map +1 -1
- package/dist/security-audit/security-audit.repository.js.map +1 -1
- package/dist/services/export.service.js.map +1 -1
- package/dist/services/folder-finder.service.d.ts +1 -0
- package/dist/services/folder-finder.service.js +30 -0
- package/dist/services/folder-finder.service.js.map +1 -1
- package/dist/services/folder.service.js.map +1 -1
- package/dist/services/free-ai-credits.service.d.ts +32 -0
- package/dist/services/free-ai-credits.service.js +55 -0
- package/dist/services/free-ai-credits.service.js.map +1 -0
- package/dist/services/frontend.service.js +2 -0
- package/dist/services/frontend.service.js.map +1 -1
- package/dist/services/hooks.service.js.map +1 -1
- package/dist/services/import.service.js +3 -1
- package/dist/services/import.service.js.map +1 -1
- package/dist/services/ownership-transfer/ownership-transfer-handler.registry.js.map +1 -1
- package/dist/services/ownership-transfer/ownership-transfer.manifest.json +5 -0
- package/dist/services/project.service.ee.d.ts +1 -0
- package/dist/services/project.service.ee.js +6 -1
- package/dist/services/project.service.ee.js.map +1 -1
- package/dist/services/public-api-key.service.js.map +1 -1
- package/dist/services/role.service.d.ts +2 -1
- package/dist/services/role.service.js +21 -3
- package/dist/services/role.service.js.map +1 -1
- package/dist/services/tag.service.js.map +1 -1
- package/dist/telemetry/index.d.ts +3 -2
- package/dist/telemetry/index.js +7 -1
- package/dist/telemetry/index.js.map +1 -1
- package/dist/utils.d.ts +1 -0
- package/dist/utils.js +4 -0
- package/dist/utils.js.map +1 -1
- package/dist/webhooks/live-webhooks.js +1 -1
- package/dist/webhooks/live-webhooks.js.map +1 -1
- package/dist/webhooks/waiting-forms.js +2 -7
- package/dist/webhooks/waiting-forms.js.map +1 -1
- package/dist/webhooks/waiting-webhooks.d.ts +7 -2
- package/dist/webhooks/waiting-webhooks.js +32 -2
- package/dist/webhooks/waiting-webhooks.js.map +1 -1
- package/dist/workflow-helpers.js +8 -62
- package/dist/workflow-helpers.js.map +1 -1
- package/dist/workflow-hook-context.service.d.ts +4 -1
- package/dist/workflow-hook-context.service.js +14 -2
- package/dist/workflow-hook-context.service.js.map +1 -1
- package/dist/workflows/publication/workflow-publication-reconciler.service.d.ts +10 -3
- package/dist/workflows/publication/workflow-publication-reconciler.service.js +49 -13
- package/dist/workflows/publication/workflow-publication-reconciler.service.js.map +1 -1
- package/dist/workflows/triggers/non-webhook-trigger-registrar.d.ts +3 -1
- package/dist/workflows/triggers/non-webhook-trigger-registrar.js +5 -2
- package/dist/workflows/triggers/non-webhook-trigger-registrar.js.map +1 -1
- package/dist/workflows/triggers/trigger-execution-context.factory.d.ts +13 -4
- package/dist/workflows/triggers/trigger-execution-context.factory.js +62 -4
- package/dist/workflows/triggers/trigger-execution-context.factory.js.map +1 -1
- package/dist/workflows/workflow-creation.service.d.ts +3 -1
- package/dist/workflows/workflow-creation.service.js +14 -4
- package/dist/workflows/workflow-creation.service.js.map +1 -1
- package/dist/workflows/workflow-finder.service.js +1 -0
- package/dist/workflows/workflow-finder.service.js.map +1 -1
- package/dist/workflows/workflow-history/workflow-history.service.js.map +1 -1
- package/dist/workflows/workflow-sharing.service.js.map +1 -1
- package/dist/workflows/workflow-validation.service.js +1 -1
- package/dist/workflows/workflow-validation.service.js.map +1 -1
- package/dist/workflows/workflow.service.d.ts +7 -2
- package/dist/workflows/workflow.service.ee.js +1 -0
- package/dist/workflows/workflow.service.ee.js.map +1 -1
- package/dist/workflows/workflow.service.js +70 -15
- package/dist/workflows/workflow.service.js.map +1 -1
- package/dist/workflows/workflows.controller.js.map +1 -1
- package/package.json +34 -33
- package/dist/blob-storage/azure-byte-store.ee.d.ts +0 -10
- package/dist/blob-storage/azure-byte-store.ee.js +0 -42
- package/dist/blob-storage/azure-byte-store.ee.js.map +0 -1
- package/dist/blob-storage/fs-byte-store.d.ts +0 -14
- package/dist/blob-storage/fs-byte-store.js +0 -96
- package/dist/blob-storage/fs-byte-store.js.map +0 -1
- package/dist/blob-storage/json-store.d.ts +0 -18
- package/dist/blob-storage/json-store.js +0 -128
- package/dist/blob-storage/json-store.js.map +0 -1
- package/dist/blob-storage/s3-byte-store.ee.d.ts +0 -10
- package/dist/blob-storage/s3-byte-store.ee.js +0 -37
- package/dist/blob-storage/s3-byte-store.ee.js.map +0 -1
- package/dist/blob-storage/skipped-entry-deletion.error.d.ts +0 -5
- package/dist/blob-storage/skipped-entry-deletion.error.js +0 -13
- package/dist/blob-storage/skipped-entry-deletion.error.js.map +0 -1
- package/dist/blob-storage/types.d.ts +0 -23
- package/dist/blob-storage/types.js.map +0 -1
- package/dist/modules/agents/builder/interactive/llm-provider-defaults.js.map +0 -1
- package/dist/modules/agents/builder/skills/integrations.skill.d.ts +0 -2
- package/dist/modules/agents/builder/skills/integrations.skill.js +0 -128
- package/dist/modules/agents/builder/skills/integrations.skill.js.map +0 -1
- package/dist/modules/agents/builder/skills/mcp.skill.d.ts +0 -2
- package/dist/modules/agents/builder/skills/mcp.skill.js +0 -172
- package/dist/modules/agents/builder/skills/mcp.skill.js.map +0 -1
- package/dist/modules/agents/builder/skills/node-tools.skill.d.ts +0 -2
- package/dist/modules/agents/builder/skills/node-tools.skill.js +0 -90
- package/dist/modules/agents/builder/skills/node-tools.skill.js.map +0 -1
|
@@ -25,7 +25,10 @@ const package_export_errors_1 = require("./entities/package-export.errors");
|
|
|
25
25
|
const project_exporter_1 = require("./entities/project/project.exporter");
|
|
26
26
|
const requirements_types_1 = require("./entities/requirements.types");
|
|
27
27
|
const variable_exporter_1 = require("./entities/variable/variable.exporter");
|
|
28
|
+
const node_type_usage_1 = require("./entities/workflow/node-type-usage");
|
|
28
29
|
const static_sub_workflow_requirements_1 = require("./entities/workflow/static-sub-workflow-requirements");
|
|
30
|
+
const auto_included_workflow_resolver_1 = require("./entities/workflow/auto-included-workflow-resolver");
|
|
31
|
+
const auto_included_workflow_exporter_1 = require("./entities/workflow/auto-included-workflow.exporter");
|
|
29
32
|
const workflow_dependency_resolver_1 = require("./entities/workflow/workflow-dependency-resolver");
|
|
30
33
|
const workflow_requirement_exporter_1 = require("./entities/workflow/workflow-requirement.exporter");
|
|
31
34
|
const workflow_exporter_1 = require("./entities/workflow/workflow.exporter");
|
|
@@ -36,7 +39,7 @@ const n8n_packages_types_1 = require("./n8n-packages.types");
|
|
|
36
39
|
const constants_2 = require("./spec/constants");
|
|
37
40
|
const manifest_schema_1 = require("./spec/manifest.schema");
|
|
38
41
|
let N8nPackagesService = class N8nPackagesService {
|
|
39
|
-
constructor(projectExporter, workflowExporter, folderExporter, credentialExporter, dataTableExporter, variableExporter, instanceSettings, packageParser, packageImportConfig, projectPackageImporter, workflowPackageImporter, eventService, workflowRequirementExporter, workflowDependencyResolver) {
|
|
42
|
+
constructor(projectExporter, workflowExporter, folderExporter, credentialExporter, dataTableExporter, variableExporter, instanceSettings, packageParser, packageImportConfig, projectPackageImporter, workflowPackageImporter, eventService, workflowRequirementExporter, workflowDependencyResolver, autoIncludedWorkflowResolver, autoIncludedWorkflowExporter) {
|
|
40
43
|
this.projectExporter = projectExporter;
|
|
41
44
|
this.workflowExporter = workflowExporter;
|
|
42
45
|
this.folderExporter = folderExporter;
|
|
@@ -51,11 +54,13 @@ let N8nPackagesService = class N8nPackagesService {
|
|
|
51
54
|
this.eventService = eventService;
|
|
52
55
|
this.workflowRequirementExporter = workflowRequirementExporter;
|
|
53
56
|
this.workflowDependencyResolver = workflowDependencyResolver;
|
|
57
|
+
this.autoIncludedWorkflowResolver = autoIncludedWorkflowResolver;
|
|
58
|
+
this.autoIncludedWorkflowExporter = autoIncludedWorkflowExporter;
|
|
54
59
|
}
|
|
55
60
|
async exportPackage(request) {
|
|
56
|
-
const missingWorkflowDependencyPolicy = request
|
|
57
|
-
if (missingWorkflowDependencyPolicy
|
|
58
|
-
throw new package_export_errors_1.PackageExportBlockedError(
|
|
61
|
+
const { missingWorkflowDependencyPolicy } = request;
|
|
62
|
+
if (missingWorkflowDependencyPolicy === n8n_packages_types_1.MissingWorkflowDependencyPolicy.ReferenceOnly) {
|
|
63
|
+
throw new package_export_errors_1.PackageExportBlockedError('Reference-only static sub-workflow dependencies are not supported. Export aborted.');
|
|
59
64
|
}
|
|
60
65
|
const writer = new tar_package_writer_1.TarPackageWriter();
|
|
61
66
|
const workflowIds = request.workflowIds ?? [];
|
|
@@ -83,38 +88,70 @@ let N8nPackagesService = class N8nPackagesService {
|
|
|
83
88
|
writer,
|
|
84
89
|
})
|
|
85
90
|
: undefined;
|
|
86
|
-
const
|
|
87
|
-
const includeVariableValues = request.includeVariableValues ?? true;
|
|
88
|
-
if (includeVariableValues &&
|
|
89
|
-
requirements.variables.length > 0 &&
|
|
90
|
-
request.canExportVariableValues === false) {
|
|
91
|
-
throw new forbidden_error_1.ForbiddenError('The exported workflows reference variables, but the API key is missing the variable:list scope needed to bundle their values. Add the scope or set includeVariableValues to false.');
|
|
92
|
-
}
|
|
93
|
-
const allFolders = [
|
|
91
|
+
const allFoldersBeforeAutoInclude = [
|
|
94
92
|
...(folderExportResult?.entries ?? []),
|
|
95
93
|
...(projectExportResult?.folderEntries ?? []),
|
|
96
94
|
];
|
|
97
|
-
const
|
|
95
|
+
const allProjectsBeforeAutoInclude = [...(projectExportResult?.entries ?? [])];
|
|
96
|
+
const allWorkflowsBeforeAutoInclude = [
|
|
98
97
|
...(workflowExportResult?.entries ?? []),
|
|
99
98
|
...(folderExportResult?.workflowEntries ?? []),
|
|
100
99
|
...(projectExportResult?.workflowEntries ?? []),
|
|
101
100
|
];
|
|
102
101
|
const workflowRequirements = await this.workflowDependencyResolver.resolve({
|
|
103
102
|
user: request.user,
|
|
104
|
-
workflowIds:
|
|
103
|
+
workflowIds: allWorkflowsBeforeAutoInclude.map(({ id }) => id),
|
|
105
104
|
});
|
|
105
|
+
let autoIncludedExportResult;
|
|
106
|
+
if (missingWorkflowDependencyPolicy === n8n_packages_types_1.MissingWorkflowDependencyPolicy.IncludeInPackage) {
|
|
107
|
+
const autoIncludedWorkflowResolution = await this.autoIncludedWorkflowResolver.resolve({
|
|
108
|
+
user: request.user,
|
|
109
|
+
requirements: workflowRequirements,
|
|
110
|
+
topLevelWorkflowIds: workflowExportResult?.entries.map(({ id }) => id) ?? [],
|
|
111
|
+
folderWorkflowIds: folderExportResult?.workflowEntries.map(({ id }) => id) ?? [],
|
|
112
|
+
projectWorkflowIds: projectExportResult?.workflowEntries.map(({ id }) => id) ?? [],
|
|
113
|
+
});
|
|
114
|
+
autoIncludedExportResult = this.autoIncludedWorkflowExporter.export({
|
|
115
|
+
writer,
|
|
116
|
+
workflows: autoIncludedWorkflowResolution.autoIncludedWorkflows,
|
|
117
|
+
existingWorkflowEntries: allWorkflowsBeforeAutoInclude,
|
|
118
|
+
existingFolderEntries: allFoldersBeforeAutoInclude,
|
|
119
|
+
existingProjectEntries: allProjectsBeforeAutoInclude,
|
|
120
|
+
projectTargetsById: projectExportResult?.projectTargetsById,
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
const requirements = (0, requirements_types_1.mergeRequirements)(workflowExportResult?.requirements, folderExportResult?.requirements, projectExportResult?.requirements, autoIncludedExportResult?.requirements);
|
|
124
|
+
const includeVariableValues = request.includeVariableValues ?? true;
|
|
125
|
+
if (includeVariableValues &&
|
|
126
|
+
requirements.variables.length > 0 &&
|
|
127
|
+
request.canExportVariableValues === false) {
|
|
128
|
+
throw new forbidden_error_1.ForbiddenError('The exported workflows reference variables, but the API key is missing the variable:list scope needed to bundle their values. Add the scope or set includeVariableValues to false.');
|
|
129
|
+
}
|
|
130
|
+
const allFolders = this.dedupeManifestEntries([
|
|
131
|
+
...allFoldersBeforeAutoInclude,
|
|
132
|
+
...(autoIncludedExportResult?.folderEntries ?? []),
|
|
133
|
+
]);
|
|
134
|
+
const allProjects = this.dedupeManifestEntries([
|
|
135
|
+
...allProjectsBeforeAutoInclude,
|
|
136
|
+
...(autoIncludedExportResult?.projectEntries ?? []),
|
|
137
|
+
]);
|
|
138
|
+
const allWorkflowsInPackage = this.dedupeManifestEntries([
|
|
139
|
+
...allWorkflowsBeforeAutoInclude,
|
|
140
|
+
...(autoIncludedExportResult?.workflowEntries ?? []),
|
|
141
|
+
]);
|
|
106
142
|
(0, static_sub_workflow_requirements_1.assertStaticSubWorkflowsIncluded)(workflowRequirements, new Set(allWorkflowsInPackage.map(({ id }) => id)));
|
|
143
|
+
const projectTargetsById = autoIncludedExportResult?.projectTargetsById ?? projectExportResult?.projectTargetsById;
|
|
107
144
|
const credentialExportResult = await this.credentialExporter.export({
|
|
108
145
|
user: request.user,
|
|
109
146
|
requirements: requirements.credentials,
|
|
110
147
|
writer,
|
|
111
|
-
projectTargetsById
|
|
148
|
+
projectTargetsById,
|
|
112
149
|
});
|
|
113
150
|
const dataTableExportResult = await this.dataTableExporter.export({
|
|
114
151
|
user: request.user,
|
|
115
152
|
requirements: requirements.dataTables,
|
|
116
153
|
writer,
|
|
117
|
-
projectTargetsById
|
|
154
|
+
projectTargetsById,
|
|
118
155
|
});
|
|
119
156
|
const workflowRequirementExportResult = this.workflowRequirementExporter.export({
|
|
120
157
|
requirements: workflowRequirements,
|
|
@@ -125,13 +162,14 @@ let N8nPackagesService = class N8nPackagesService {
|
|
|
125
162
|
requirements: requirements.variables,
|
|
126
163
|
writer,
|
|
127
164
|
includeVariableValues,
|
|
128
|
-
projectTargetsById
|
|
165
|
+
projectTargetsById,
|
|
129
166
|
});
|
|
130
167
|
const manifestRequirements = this.buildManifestRequirements({
|
|
131
168
|
credentials: credentialExportResult.requirements,
|
|
132
169
|
dataTables: dataTableExportResult.requirements,
|
|
133
170
|
workflows: workflowRequirementExportResult.requirements,
|
|
134
171
|
variables: variableExportResult.requirements,
|
|
172
|
+
nodeTypes: (0, node_type_usage_1.collectNodeTypeUsage)(requirements.nodeTypes),
|
|
135
173
|
});
|
|
136
174
|
const manifest = manifest_schema_1.packageManifestSchema.parse({
|
|
137
175
|
packageFormatVersion: constants_2.FORMAT_VERSION,
|
|
@@ -150,30 +188,27 @@ let N8nPackagesService = class N8nPackagesService {
|
|
|
150
188
|
...(manifestRequirements ? { requirements: manifestRequirements } : {}),
|
|
151
189
|
...(allWorkflowsInPackage.length > 0 ? { workflows: allWorkflowsInPackage } : {}),
|
|
152
190
|
...(allFolders.length > 0 ? { folders: allFolders } : {}),
|
|
153
|
-
...(
|
|
191
|
+
...(allProjects.length > 0 ? { projects: allProjects } : {}),
|
|
154
192
|
});
|
|
155
193
|
writer.writeFile('manifest.json', JSON.stringify(manifest, null, '\t'));
|
|
156
194
|
const stream = writer.finalize();
|
|
195
|
+
const counts = {
|
|
196
|
+
workflows: allWorkflowsInPackage.length,
|
|
197
|
+
folders: allFolders.length,
|
|
198
|
+
credentials: credentialExportResult.entries.length,
|
|
199
|
+
dataTables: dataTableExportResult.entries.length,
|
|
200
|
+
variables: variableExportResult.entries.length,
|
|
201
|
+
};
|
|
157
202
|
this.eventService.emit('n8n-package-exported', {
|
|
158
203
|
user: request.user,
|
|
159
|
-
...(
|
|
160
|
-
? { workflowIds:
|
|
161
|
-
: {}),
|
|
162
|
-
...(folderExportResult?.entries.length
|
|
163
|
-
? { folderIds: folderExportResult.entries.map(({ id }) => id) }
|
|
164
|
-
: {}),
|
|
165
|
-
...(projectExportResult?.entries.length
|
|
166
|
-
? { projectIds: projectExportResult.entries.map(({ id }) => id) }
|
|
204
|
+
...(allWorkflowsInPackage.length
|
|
205
|
+
? { workflowIds: allWorkflowsInPackage.map(({ id }) => id) }
|
|
167
206
|
: {}),
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
credentials: credentialExportResult.entries.length,
|
|
172
|
-
dataTables: dataTableExportResult.entries.length,
|
|
173
|
-
variables: variableExportResult.entries.length,
|
|
174
|
-
},
|
|
207
|
+
...(allFolders.length ? { folderIds: allFolders.map(({ id }) => id) } : {}),
|
|
208
|
+
...(allProjects.length ? { projectIds: allProjects.map(({ id }) => id) } : {}),
|
|
209
|
+
counts,
|
|
175
210
|
});
|
|
176
|
-
return stream;
|
|
211
|
+
return { stream, counts };
|
|
177
212
|
}
|
|
178
213
|
async importPackage(request) {
|
|
179
214
|
const reader = new tar_package_reader_1.TarPackageReader(request.packageBuffer, this.packageImportConfig);
|
|
@@ -187,13 +222,23 @@ let N8nPackagesService = class N8nPackagesService {
|
|
|
187
222
|
const folderWorkflowIds = new Set(workflowsInFolders.map((entry) => entry.id) ?? []);
|
|
188
223
|
return workflowIds.filter((id) => !folderWorkflowIds.has(id));
|
|
189
224
|
}
|
|
225
|
+
dedupeManifestEntries(entries) {
|
|
226
|
+
const byId = new Map();
|
|
227
|
+
for (const entry of entries) {
|
|
228
|
+
if (!byId.has(entry.id)) {
|
|
229
|
+
byId.set(entry.id, entry);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
return [...byId.values()];
|
|
233
|
+
}
|
|
190
234
|
buildManifestRequirements(input) {
|
|
191
|
-
const { credentials, dataTables, workflows, variables } = input;
|
|
235
|
+
const { credentials, dataTables, workflows, variables, nodeTypes } = input;
|
|
192
236
|
const requirements = {
|
|
193
237
|
...(credentials?.length ? { credentials } : {}),
|
|
194
238
|
...(dataTables?.length ? { dataTables } : {}),
|
|
195
239
|
...(workflows?.length ? { workflows } : {}),
|
|
196
240
|
...(variables?.length ? { variables } : {}),
|
|
241
|
+
...(nodeTypes?.length ? { nodeTypes } : {}),
|
|
197
242
|
};
|
|
198
243
|
return Object.keys(requirements).length > 0 ? requirements : undefined;
|
|
199
244
|
}
|
|
@@ -201,7 +246,7 @@ let N8nPackagesService = class N8nPackagesService {
|
|
|
201
246
|
exports.N8nPackagesService = N8nPackagesService;
|
|
202
247
|
exports.N8nPackagesService = N8nPackagesService = __decorate([
|
|
203
248
|
(0, di_1.Service)(),
|
|
204
|
-
__metadata("design:paramtypes", [project_exporter_1.ProjectExporter, workflow_exporter_1.WorkflowExporter, folder_exporter_1.FolderExporter, credential_exporter_1.CredentialExporter, data_table_exporter_1.DataTableExporter, variable_exporter_1.VariableExporter, n8n_core_1.InstanceSettings, n8n_package_parser_1.N8nPackageParser, n8n_packages_config_1.PackageImportConfig, project_package_importer_1.ProjectPackageImporter, workflow_package_importer_1.WorkflowPackageImporter, event_service_1.EventService, workflow_requirement_exporter_1.WorkflowRequirementExporter, workflow_dependency_resolver_1.WorkflowDependencyResolver])
|
|
249
|
+
__metadata("design:paramtypes", [project_exporter_1.ProjectExporter, workflow_exporter_1.WorkflowExporter, folder_exporter_1.FolderExporter, credential_exporter_1.CredentialExporter, data_table_exporter_1.DataTableExporter, variable_exporter_1.VariableExporter, n8n_core_1.InstanceSettings, n8n_package_parser_1.N8nPackageParser, n8n_packages_config_1.PackageImportConfig, project_package_importer_1.ProjectPackageImporter, workflow_package_importer_1.WorkflowPackageImporter, event_service_1.EventService, workflow_requirement_exporter_1.WorkflowRequirementExporter, workflow_dependency_resolver_1.WorkflowDependencyResolver, auto_included_workflow_resolver_1.AutoIncludedWorkflowResolver, auto_included_workflow_exporter_1.AutoIncludedWorkflowExporter])
|
|
205
250
|
], N8nPackagesService);
|
|
206
251
|
function isProjectPackage(manifest) {
|
|
207
252
|
return (manifest.projects?.length ?? 0) > 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"n8n-packages.service.js","sourceRoot":"","sources":["../../../src/modules/n8n-packages/n8n-packages.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gCAAkC;AAClC,uCAA4C;
|
|
1
|
+
{"version":3,"file":"n8n-packages.service.js","sourceRoot":"","sources":["../../../src/modules/n8n-packages/n8n-packages.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gCAAkC;AAClC,uCAA4C;AAE5C,2CAA0C;AAC1C,8EAA0E;AAC1E,0DAAsD;AAEtD,oEAA+D;AAC/D,gFAA2E;AAC3E,kFAA6E;AAC7E,mFAA+E;AAC/E,mFAA8E;AAC9E,uEAAmE;AACnE,4EAA6E;AAC7E,0EAAsE;AACtE,sEAAkE;AAClE,6EAAyE;AACzE,yEAA2E;AAC3E,2GAAwG;AACxG,yGAAmG;AACnG,yGAG6D;AAC7D,mGAA8F;AAC9F,qGAAgG;AAChG,6EAAyE;AACzE,oEAA+D;AAC/D,oEAA+D;AAC/D,+DAA4D;AAC5D,6DAO8B;AAC9B,gDAAkD;AAClD,4DAIgC;AAIzB,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAC9B,YACkB,eAAgC,EAChC,gBAAkC,EAClC,cAA8B,EAC9B,kBAAsC,EACtC,iBAAoC,EACpC,gBAAkC,EAClC,gBAAkC,EAClC,aAA+B,EAC/B,mBAAwC,EACxC,sBAA8C,EAC9C,uBAAgD,EAChD,YAA0B,EAC1B,2BAAwD,EACxD,0BAAsD,EACtD,4BAA0D,EAC1D,4BAA0D;+BAf1D,eAAe;gCACf,gBAAgB;8BAChB,cAAc;kCACd,kBAAkB;iCAClB,iBAAiB;gCACjB,gBAAgB;gCAChB,gBAAgB;6BAChB,aAAa;mCACb,mBAAmB;sCACnB,sBAAsB;uCACtB,uBAAuB;4BACvB,YAAY;2CACZ,2BAA2B;0CAC3B,0BAA0B;4CAC1B,4BAA4B;4CAC5B,4BAA4B;IAC3C,CAAC;IAEJ,KAAK,CAAC,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{ DataTableResolutionFailure } from './entities/data-table/data-table.types';
|
|
4
|
+
import type { VariableResolutionFailure } from './entities/variable/variable.types';
|
|
3
5
|
import type { WorkflowIdConflict } from './entities/workflow/workflow-import-match.service';
|
|
4
6
|
import type { WorkflowConflict, WorkflowFolderConflict } from './entities/workflow/workflow-import.types';
|
|
5
7
|
import type { WorkflowPublishingOutcome, WorkflowPublishingPolicy } from './entities/workflow/workflow-publishing-policy.types';
|
|
@@ -22,6 +24,10 @@ export declare const FolderConflictPolicy: {
|
|
|
22
24
|
readonly Merge: 'merge';
|
|
23
25
|
readonly Fail: 'fail';
|
|
24
26
|
};
|
|
27
|
+
export declare const MissingNodeTypeMode: {
|
|
28
|
+
readonly Fail: 'fail';
|
|
29
|
+
readonly ImportAnyway: 'import-anyway';
|
|
30
|
+
};
|
|
25
31
|
export declare const MissingWorkflowDependencyPolicy: {
|
|
26
32
|
readonly Fail: 'fail';
|
|
27
33
|
readonly ReferenceOnly: 'reference-only';
|
|
@@ -39,13 +45,19 @@ export declare const DataTableSchemaConflictPolicy: {
|
|
|
39
45
|
readonly KeepExisting: 'keep-existing';
|
|
40
46
|
readonly Fail: 'fail';
|
|
41
47
|
};
|
|
48
|
+
export declare const VariableMissingMode: {
|
|
49
|
+
readonly DoNothing: 'do-nothing';
|
|
50
|
+
readonly MustPreexist: 'must-preexist';
|
|
51
|
+
};
|
|
42
52
|
export type WorkflowConflictPolicy = (typeof WorkflowConflictPolicy)[keyof typeof WorkflowConflictPolicy];
|
|
43
53
|
export type WorkflowIdPolicy = (typeof WorkflowIdPolicy)[keyof typeof WorkflowIdPolicy];
|
|
44
54
|
export type FolderConflictPolicy = (typeof FolderConflictPolicy)[keyof typeof FolderConflictPolicy];
|
|
55
|
+
export type MissingNodeTypeMode = (typeof MissingNodeTypeMode)[keyof typeof MissingNodeTypeMode];
|
|
45
56
|
export type MissingWorkflowDependencyPolicy = (typeof MissingWorkflowDependencyPolicy)[keyof typeof MissingWorkflowDependencyPolicy];
|
|
46
57
|
export type DataTableMatchingMode = (typeof DataTableMatchingMode)[keyof typeof DataTableMatchingMode];
|
|
47
58
|
export type DataTableMissingMode = (typeof DataTableMissingMode)[keyof typeof DataTableMissingMode];
|
|
48
59
|
export type DataTableSchemaConflictPolicy = (typeof DataTableSchemaConflictPolicy)[keyof typeof DataTableSchemaConflictPolicy];
|
|
60
|
+
export type VariableMissingMode = (typeof VariableMissingMode)[keyof typeof VariableMissingMode];
|
|
49
61
|
export interface ExportPackageRequest {
|
|
50
62
|
user: User;
|
|
51
63
|
workflowIds?: string[];
|
|
@@ -62,7 +74,7 @@ export type ImportPackageRequest = {
|
|
|
62
74
|
packageBuffer: Buffer;
|
|
63
75
|
bindings?: Partial<PackageImportBindings>;
|
|
64
76
|
apiKeyScopes?: string[];
|
|
65
|
-
} & ImportCredentialProperties & ImportWorkflowProperties & ImportFolderProperties & ImportDataTableProperties;
|
|
77
|
+
} & ImportCredentialProperties & ImportWorkflowProperties & ImportFolderProperties & ImportDataTableProperties & ImportVariableProperties;
|
|
66
78
|
export type ImportCredentialProperties = {
|
|
67
79
|
credentialMatchingMode: CredentialMatchingMode;
|
|
68
80
|
credentialMissingMode: CredentialMissingMode;
|
|
@@ -71,6 +83,7 @@ export type ImportWorkflowProperties = {
|
|
|
71
83
|
workflowConflictPolicy: WorkflowConflictPolicy;
|
|
72
84
|
workflowPublishingPolicy: WorkflowPublishingPolicy;
|
|
73
85
|
workflowIdPolicy: WorkflowIdPolicy;
|
|
86
|
+
missingNodeTypeMode: MissingNodeTypeMode;
|
|
74
87
|
};
|
|
75
88
|
export type ImportFolderProperties = {
|
|
76
89
|
folderConflictPolicy: FolderConflictPolicy;
|
|
@@ -80,12 +93,15 @@ export type ImportDataTableProperties = {
|
|
|
80
93
|
dataTableMissingMode: DataTableMissingMode;
|
|
81
94
|
dataTableSchemaConflictPolicy: DataTableSchemaConflictPolicy;
|
|
82
95
|
};
|
|
96
|
+
export type ImportVariableProperties = {
|
|
97
|
+
variableMissingMode: VariableMissingMode;
|
|
98
|
+
};
|
|
83
99
|
export interface ImportContext {
|
|
84
100
|
user: User;
|
|
85
101
|
projectId: string;
|
|
86
102
|
folderId: string | null;
|
|
87
103
|
}
|
|
88
|
-
export type ImportPackageEventOptions = ImportCredentialProperties & ImportWorkflowProperties & ImportDataTableProperties;
|
|
104
|
+
export type ImportPackageEventOptions = ImportCredentialProperties & ImportWorkflowProperties & ImportDataTableProperties & ImportVariableProperties;
|
|
89
105
|
export type ImportAuditCredentialIds = {
|
|
90
106
|
matched: string[];
|
|
91
107
|
created: string[];
|
|
@@ -107,6 +123,11 @@ export type ImportPackageEventCounts = {
|
|
|
107
123
|
created: number;
|
|
108
124
|
requirements: number;
|
|
109
125
|
};
|
|
126
|
+
variables: {
|
|
127
|
+
matched: number;
|
|
128
|
+
missing: number;
|
|
129
|
+
requirements: number;
|
|
130
|
+
};
|
|
110
131
|
};
|
|
111
132
|
export type ExportPackageEventCounts = {
|
|
112
133
|
workflows: number;
|
|
@@ -115,6 +136,10 @@ export type ExportPackageEventCounts = {
|
|
|
115
136
|
dataTables: number;
|
|
116
137
|
variables: number;
|
|
117
138
|
};
|
|
139
|
+
export interface ExportPackageResult {
|
|
140
|
+
stream: Readable;
|
|
141
|
+
counts: ExportPackageEventCounts;
|
|
142
|
+
}
|
|
118
143
|
export interface ImportedWorkflowSummary {
|
|
119
144
|
sourceWorkflowId: string;
|
|
120
145
|
localId: string;
|
|
@@ -156,7 +181,14 @@ export type BlockingIssue = ({
|
|
|
156
181
|
type: 'folder-conflict';
|
|
157
182
|
} & FolderConflict) | ({
|
|
158
183
|
type: 'data-table-unresolved';
|
|
159
|
-
} & DataTableResolutionFailure)
|
|
184
|
+
} & DataTableResolutionFailure) | ({
|
|
185
|
+
type: 'variable-unresolved';
|
|
186
|
+
} & VariableResolutionFailure) | {
|
|
187
|
+
type: 'missing-node-type';
|
|
188
|
+
nodeType: string;
|
|
189
|
+
typeVersion: number;
|
|
190
|
+
usedByWorkflows: string[];
|
|
191
|
+
};
|
|
160
192
|
export interface FolderConflict {
|
|
161
193
|
kind: 'parent-mismatch' | 'id-in-other-project' | 'fail-policy';
|
|
162
194
|
sourceFolderId: string;
|
|
@@ -183,6 +215,10 @@ export interface ImportCredentialSummary {
|
|
|
183
215
|
matched: string[];
|
|
184
216
|
stubbed: string[];
|
|
185
217
|
}
|
|
218
|
+
export interface ImportVariableSummary {
|
|
219
|
+
matched: string[];
|
|
220
|
+
missing: string[];
|
|
221
|
+
}
|
|
186
222
|
export interface ImportResult {
|
|
187
223
|
package: ImportPackageSummary;
|
|
188
224
|
workflows: ImportedWorkflowSummary[];
|
|
@@ -190,4 +226,5 @@ export interface ImportResult {
|
|
|
190
226
|
projects: ImportedProjectSummary[];
|
|
191
227
|
bindings: SerializedBindings;
|
|
192
228
|
credentials: ImportCredentialSummary;
|
|
229
|
+
variables: ImportVariableSummary;
|
|
193
230
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DataTableSchemaConflictPolicy = exports.DataTableMissingMode = exports.DataTableMatchingMode = exports.MissingWorkflowDependencyPolicy = exports.FolderConflictPolicy = exports.WorkflowIdPolicy = exports.WorkflowConflictPolicy = exports.WorkflowPublishingPolicy = void 0;
|
|
3
|
+
exports.VariableMissingMode = exports.DataTableSchemaConflictPolicy = exports.DataTableMissingMode = exports.DataTableMatchingMode = exports.MissingWorkflowDependencyPolicy = exports.MissingNodeTypeMode = exports.FolderConflictPolicy = exports.WorkflowIdPolicy = exports.WorkflowConflictPolicy = exports.WorkflowPublishingPolicy = void 0;
|
|
4
4
|
exports.createBindings = createBindings;
|
|
5
5
|
exports.mergeBindings = mergeBindings;
|
|
6
6
|
exports.serializeBindings = serializeBindings;
|
|
@@ -19,6 +19,10 @@ exports.FolderConflictPolicy = {
|
|
|
19
19
|
Merge: 'merge',
|
|
20
20
|
Fail: 'fail',
|
|
21
21
|
};
|
|
22
|
+
exports.MissingNodeTypeMode = {
|
|
23
|
+
Fail: 'fail',
|
|
24
|
+
ImportAnyway: 'import-anyway',
|
|
25
|
+
};
|
|
22
26
|
exports.MissingWorkflowDependencyPolicy = {
|
|
23
27
|
Fail: 'fail',
|
|
24
28
|
ReferenceOnly: 'reference-only',
|
|
@@ -36,6 +40,10 @@ exports.DataTableSchemaConflictPolicy = {
|
|
|
36
40
|
KeepExisting: 'keep-existing',
|
|
37
41
|
Fail: 'fail',
|
|
38
42
|
};
|
|
43
|
+
exports.VariableMissingMode = {
|
|
44
|
+
DoNothing: 'do-nothing',
|
|
45
|
+
MustPreexist: 'must-preexist',
|
|
46
|
+
};
|
|
39
47
|
function createBindings(seed = {}) {
|
|
40
48
|
return {
|
|
41
49
|
workflows: new Map(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"n8n-packages.types.js","sourceRoot":"","sources":["../../../src/modules/n8n-packages/n8n-packages.types.ts"],"names":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"n8n-packages.types.js","sourceRoot":"","sources":["../../../src/modules/n8n-packages/n8n-packages.types.ts"],"names":[],"mappings":";;;;;;AAgBA,yGAAgG;AAAvF,4IAAA,wBAAwB,OAAA;AASpB,QAAA,sBAAsB,GAAG;IAErC,UAAU,EAAE,aAAa;IAEzB,IAAI,EAAE,MAAM;IAEZ,IAAI,EAAE,MAAM;CACH,CAAC;AAEE,QAAA,gBAAgB,GAAG;IAE/B,GAAG,EAAE,KAAK;IAEV,MAAM,EAAE,QAAQ;CACP,CAAC;AAEE,QAAA,oBAAoB,GAAG;IAEnC,KAAK,EAAE,OAAO;IAEd,IAAI,EAAE,MAAM;CACH,CAAC;AAEE,QAAA,mBAAmB,GAAG;IAElC,IAAI,EAAE,MAAM;IAEZ,YAAY,EAAE,eAAe;CACpB,CAAC;AAEE,QAAA,+BAA+B,GAAG;IAE9C,IAAI,EAAE,MAAM;IAEZ,aAAa,EAAE,gBAAgB;IAE/B,gBAAgB,EAAE,oBAAoB;CAC7B,CAAC;AAEE,QAAA,qBAAqB,GAAG;IAEpC,IAAI,EAAE,OAAO;CACJ,CAAC;AAEE,QAAA,oBAAoB,GAAG;IAEnC,MAAM,EAAE,QAAQ;IAEhB,YAAY,EAAE,eAAe;IAE7B,SAAS,EAAE,YAAY;CACd,CAAC;AAEE,QAAA,6BAA6B,GAAG;IAE5C,YAAY,EAAE,eAAe;IAE7B,IAAI,EAAE,MAAM;CACH,CAAC;AAEE,QAAA,mBAAmB,GAAG;IAElC,SAAS,EAAE,YAAY;IAEvB,YAAY,EAAE,eAAe;CACpB,CAAC;AA+NX,wBAA+B,IAAI,GAAmC,EAAE;IACvE,OAAO;QACN,SAAS,EAAE,IAAI,GAAG,EAAE;QACpB,WAAW,EAAE,IAAI,GAAG,EAAE;QACtB,GAAG,IAAI;KACP,CAAC;AACH,CAAC;AAGD,uBAA8B,GAAG,QAAiC;IACjE,OAAO;QACN,SAAS,EAAE,IAAI,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC;QACvE,WAAW,EAAE,IAAI,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC;KAC7E,CAAC;AACH,CAAC;AAMD,2BAAkC,QAA+B;IAChE,OAAO;QACN,SAAS,EAAE,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,SAAS,CAAC;QACjD,WAAW,EAAE,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,WAAW,CAAC;KACrD,CAAC;AACH,CAAC"}
|
|
@@ -185,6 +185,27 @@ export declare const packageManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
185
185
|
value?: string | undefined;
|
|
186
186
|
usedByWorkflows: string[];
|
|
187
187
|
}[] | undefined>;
|
|
188
|
+
nodeTypes: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
189
|
+
type: z.ZodString;
|
|
190
|
+
typeVersion: z.ZodNumber;
|
|
191
|
+
usedByWorkflows: z.ZodArray<z.ZodString, "many">;
|
|
192
|
+
}, "strip", z.ZodTypeAny, {
|
|
193
|
+
type: string;
|
|
194
|
+
typeVersion: number;
|
|
195
|
+
usedByWorkflows: string[];
|
|
196
|
+
}, {
|
|
197
|
+
type: string;
|
|
198
|
+
typeVersion: number;
|
|
199
|
+
usedByWorkflows: string[];
|
|
200
|
+
}>, "many">>, {
|
|
201
|
+
type: string;
|
|
202
|
+
typeVersion: number;
|
|
203
|
+
usedByWorkflows: string[];
|
|
204
|
+
}[] | undefined, {
|
|
205
|
+
type: string;
|
|
206
|
+
typeVersion: number;
|
|
207
|
+
usedByWorkflows: string[];
|
|
208
|
+
}[] | undefined>;
|
|
188
209
|
}, "strip", z.ZodTypeAny, {
|
|
189
210
|
credentials?: {
|
|
190
211
|
id: string;
|
|
@@ -207,6 +228,11 @@ export declare const packageManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
207
228
|
value?: string | undefined;
|
|
208
229
|
usedByWorkflows: string[];
|
|
209
230
|
}[] | undefined;
|
|
231
|
+
nodeTypes?: {
|
|
232
|
+
type: string;
|
|
233
|
+
typeVersion: number;
|
|
234
|
+
usedByWorkflows: string[];
|
|
235
|
+
}[] | undefined;
|
|
210
236
|
}, {
|
|
211
237
|
credentials?: {
|
|
212
238
|
id: string;
|
|
@@ -229,6 +255,11 @@ export declare const packageManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
229
255
|
value?: string | undefined;
|
|
230
256
|
usedByWorkflows: string[];
|
|
231
257
|
}[] | undefined;
|
|
258
|
+
nodeTypes?: {
|
|
259
|
+
type: string;
|
|
260
|
+
typeVersion: number;
|
|
261
|
+
usedByWorkflows: string[];
|
|
262
|
+
}[] | undefined;
|
|
232
263
|
}>>;
|
|
233
264
|
}, "strip", z.ZodTypeAny, {
|
|
234
265
|
packageFormatVersion: "1";
|
|
@@ -287,6 +318,11 @@ export declare const packageManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
287
318
|
value?: string | undefined;
|
|
288
319
|
usedByWorkflows: string[];
|
|
289
320
|
}[] | undefined;
|
|
321
|
+
nodeTypes?: {
|
|
322
|
+
type: string;
|
|
323
|
+
typeVersion: number;
|
|
324
|
+
usedByWorkflows: string[];
|
|
325
|
+
}[] | undefined;
|
|
290
326
|
} | undefined;
|
|
291
327
|
}, {
|
|
292
328
|
packageFormatVersion: "1";
|
|
@@ -345,6 +381,11 @@ export declare const packageManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
345
381
|
value?: string | undefined;
|
|
346
382
|
usedByWorkflows: string[];
|
|
347
383
|
}[] | undefined;
|
|
384
|
+
nodeTypes?: {
|
|
385
|
+
type: string;
|
|
386
|
+
typeVersion: number;
|
|
387
|
+
usedByWorkflows: string[];
|
|
388
|
+
}[] | undefined;
|
|
348
389
|
} | undefined;
|
|
349
390
|
}>, {
|
|
350
391
|
packageFormatVersion: "1";
|
|
@@ -403,6 +444,11 @@ export declare const packageManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
403
444
|
value?: string | undefined;
|
|
404
445
|
usedByWorkflows: string[];
|
|
405
446
|
}[] | undefined;
|
|
447
|
+
nodeTypes?: {
|
|
448
|
+
type: string;
|
|
449
|
+
typeVersion: number;
|
|
450
|
+
usedByWorkflows: string[];
|
|
451
|
+
}[] | undefined;
|
|
406
452
|
} | undefined;
|
|
407
453
|
}, {
|
|
408
454
|
packageFormatVersion: "1";
|
|
@@ -461,6 +507,11 @@ export declare const packageManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
461
507
|
value?: string | undefined;
|
|
462
508
|
usedByWorkflows: string[];
|
|
463
509
|
}[] | undefined;
|
|
510
|
+
nodeTypes?: {
|
|
511
|
+
type: string;
|
|
512
|
+
typeVersion: number;
|
|
513
|
+
usedByWorkflows: string[];
|
|
514
|
+
}[] | undefined;
|
|
464
515
|
} | undefined;
|
|
465
516
|
}>;
|
|
466
517
|
export type ManifestEntry = z.infer<typeof manifestEntrySchema>;
|
|
@@ -41,6 +41,19 @@ export declare const packageWorkflowRequirementSchema: z.ZodObject<{
|
|
|
41
41
|
name: string;
|
|
42
42
|
usedByWorkflows: string[];
|
|
43
43
|
}>;
|
|
44
|
+
export declare const packageNodeTypeRequirementSchema: z.ZodObject<{
|
|
45
|
+
type: z.ZodString;
|
|
46
|
+
typeVersion: z.ZodNumber;
|
|
47
|
+
usedByWorkflows: z.ZodArray<z.ZodString, "many">;
|
|
48
|
+
}, "strip", z.ZodTypeAny, {
|
|
49
|
+
type: string;
|
|
50
|
+
typeVersion: number;
|
|
51
|
+
usedByWorkflows: string[];
|
|
52
|
+
}, {
|
|
53
|
+
type: string;
|
|
54
|
+
typeVersion: number;
|
|
55
|
+
usedByWorkflows: string[];
|
|
56
|
+
}>;
|
|
44
57
|
export declare const packageVariableRequirementSchema: z.ZodObject<{
|
|
45
58
|
name: z.ZodString;
|
|
46
59
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -144,6 +157,27 @@ export declare const packageRequirementsSchema: z.ZodObject<{
|
|
|
144
157
|
value?: string | undefined;
|
|
145
158
|
usedByWorkflows: string[];
|
|
146
159
|
}[] | undefined>;
|
|
160
|
+
nodeTypes: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
161
|
+
type: z.ZodString;
|
|
162
|
+
typeVersion: z.ZodNumber;
|
|
163
|
+
usedByWorkflows: z.ZodArray<z.ZodString, "many">;
|
|
164
|
+
}, "strip", z.ZodTypeAny, {
|
|
165
|
+
type: string;
|
|
166
|
+
typeVersion: number;
|
|
167
|
+
usedByWorkflows: string[];
|
|
168
|
+
}, {
|
|
169
|
+
type: string;
|
|
170
|
+
typeVersion: number;
|
|
171
|
+
usedByWorkflows: string[];
|
|
172
|
+
}>, "many">>, {
|
|
173
|
+
type: string;
|
|
174
|
+
typeVersion: number;
|
|
175
|
+
usedByWorkflows: string[];
|
|
176
|
+
}[] | undefined, {
|
|
177
|
+
type: string;
|
|
178
|
+
typeVersion: number;
|
|
179
|
+
usedByWorkflows: string[];
|
|
180
|
+
}[] | undefined>;
|
|
147
181
|
}, "strip", z.ZodTypeAny, {
|
|
148
182
|
credentials?: {
|
|
149
183
|
id: string;
|
|
@@ -166,6 +200,11 @@ export declare const packageRequirementsSchema: z.ZodObject<{
|
|
|
166
200
|
value?: string | undefined;
|
|
167
201
|
usedByWorkflows: string[];
|
|
168
202
|
}[] | undefined;
|
|
203
|
+
nodeTypes?: {
|
|
204
|
+
type: string;
|
|
205
|
+
typeVersion: number;
|
|
206
|
+
usedByWorkflows: string[];
|
|
207
|
+
}[] | undefined;
|
|
169
208
|
}, {
|
|
170
209
|
credentials?: {
|
|
171
210
|
id: string;
|
|
@@ -188,9 +227,15 @@ export declare const packageRequirementsSchema: z.ZodObject<{
|
|
|
188
227
|
value?: string | undefined;
|
|
189
228
|
usedByWorkflows: string[];
|
|
190
229
|
}[] | undefined;
|
|
230
|
+
nodeTypes?: {
|
|
231
|
+
type: string;
|
|
232
|
+
typeVersion: number;
|
|
233
|
+
usedByWorkflows: string[];
|
|
234
|
+
}[] | undefined;
|
|
191
235
|
}>;
|
|
192
236
|
export type PackageCredentialRequirement = z.infer<typeof packageCredentialRequirementSchema>;
|
|
193
237
|
export type PackageDataTableRequirement = z.infer<typeof packageDataTableRequirementSchema>;
|
|
194
238
|
export type PackageWorkflowRequirement = z.infer<typeof packageWorkflowRequirementSchema>;
|
|
195
239
|
export type PackageVariableRequirement = z.infer<typeof packageVariableRequirementSchema>;
|
|
240
|
+
export type PackageNodeTypeRequirement = z.infer<typeof packageNodeTypeRequirementSchema>;
|
|
196
241
|
export type PackageRequirements = z.infer<typeof packageRequirementsSchema>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.packageRequirementsSchema = exports.packageVariableRequirementSchema = exports.packageWorkflowRequirementSchema = exports.packageDataTableRequirementSchema = exports.packageCredentialRequirementSchema = void 0;
|
|
3
|
+
exports.packageRequirementsSchema = exports.packageVariableRequirementSchema = exports.packageNodeTypeRequirementSchema = exports.packageWorkflowRequirementSchema = exports.packageDataTableRequirementSchema = exports.packageCredentialRequirementSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.packageCredentialRequirementSchema = zod_1.z.object({
|
|
6
6
|
id: zod_1.z.string().min(1),
|
|
@@ -18,6 +18,11 @@ exports.packageWorkflowRequirementSchema = zod_1.z.object({
|
|
|
18
18
|
name: zod_1.z.string().min(1),
|
|
19
19
|
usedByWorkflows: zod_1.z.array(zod_1.z.string().min(1)).min(1),
|
|
20
20
|
});
|
|
21
|
+
exports.packageNodeTypeRequirementSchema = zod_1.z.object({
|
|
22
|
+
type: zod_1.z.string().min(1),
|
|
23
|
+
typeVersion: zod_1.z.number().finite(),
|
|
24
|
+
usedByWorkflows: zod_1.z.array(zod_1.z.string().min(1)).min(1),
|
|
25
|
+
});
|
|
21
26
|
exports.packageVariableRequirementSchema = zod_1.z.object({
|
|
22
27
|
name: zod_1.z.string().min(1),
|
|
23
28
|
value: zod_1.z.string().optional(),
|
|
@@ -55,5 +60,9 @@ exports.packageRequirementsSchema = zod_1.z.object({
|
|
|
55
60
|
.array(exports.packageVariableRequirementSchema)
|
|
56
61
|
.optional()
|
|
57
62
|
.superRefine((variables, ctx) => assertNoDuplicateKey(variables, ({ name }) => name, 'variable name', ctx)),
|
|
63
|
+
nodeTypes: zod_1.z
|
|
64
|
+
.array(exports.packageNodeTypeRequirementSchema)
|
|
65
|
+
.optional()
|
|
66
|
+
.superRefine((nodeTypes, ctx) => assertNoDuplicateKey(nodeTypes, ({ type, typeVersion }) => `${type}@${typeVersion}`, 'node type', ctx)),
|
|
58
67
|
});
|
|
59
68
|
//# sourceMappingURL=requirements.schema.js.map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ACX,KAAK,CAAC,QAAA,iCAAiC,CAAC;SACxC,QAAQ,EAAE;SACV,WAAW,CAAC,CAAC,UAAU,EAAE,GAAG,EAAE,EAAE,CAChC,oBAAoB,CAAC,UAAU,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,eAAe,EAAE,GAAG,CAAC,CACtE;IACF,SAAS,EAAE,OAAC;SACV,KAAK,CAAC,QAAA,gCAAgC,CAAC;SACvC,QAAQ,EAAE;SACV,WAAW,CAAC,CAAC,SAAS,EAAE,GAAG,EAAE,EAAE,CAC/B,oBAAoB,CAAC,SAAS,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,aAAa,EAAE,GAAG,CAAC,CACnE;IACF,SAAS,EAAE,OAAC;SACV,KAAK,CAAC,QAAA,gCAAgC,CAAC;SACvC,QAAQ,EAAE;SACV,WAAW,CAAC,CAAC,SAAS,EAAE,GAAG,EAAE,EAAE,CAC/B,oBAAoB,CAAC,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,EAAE,eAAe,EAAE,GAAG,CAAC,CACzE;CACF,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"requirements.schema.js","sourceRoot":"","sources":["../../../../src/modules/n8n-packages/spec/requirements.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,kCAAkC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1D,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACrB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,eAAe,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,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