n8n 2.44.3 → 2.45.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.
- package/dist/activation-errors.service.d.ts +1 -1
- package/dist/active-executions.js +1 -1
- package/dist/active-executions.js.map +1 -1
- package/dist/active-workflow-manager.d.ts +1 -1
- package/dist/agent-library-bundle.js +5 -0
- package/dist/auth/auth.service.d.ts +1 -2
- package/dist/auth/auth.service.js +1 -2
- package/dist/auth/auth.service.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/dist/commands/execute-batch.js +1 -1
- package/dist/commands/execute-batch.js.map +1 -1
- package/dist/commands/execute.js +1 -1
- package/dist/commands/execute.js.map +1 -1
- package/dist/commands/start.js +1 -4
- package/dist/commands/start.js.map +1 -1
- package/dist/commands/webhook.js +2 -2
- package/dist/commands/webhook.js.map +1 -1
- package/dist/commands/worker.js +2 -2
- package/dist/commands/worker.js.map +1 -1
- package/dist/controllers/debug.controller.d.ts +1 -1
- package/dist/controllers/e2e.controller.js +1 -0
- package/dist/controllers/e2e.controller.js.map +1 -1
- package/dist/controllers/oauth/oauth2-credential.controller.d.ts +1 -1
- package/dist/controllers/oauth/oauth2-credential.controller.js +15 -3
- package/dist/controllers/oauth/oauth2-credential.controller.js.map +1 -1
- package/dist/controllers/users.controller.d.ts +1 -2
- package/dist/controllers/users.controller.js +1 -2
- package/dist/controllers/users.controller.js.map +1 -1
- package/dist/credentials/credential-data-merge.d.ts +7 -0
- package/dist/credentials/credential-data-merge.js +55 -0
- package/dist/credentials/credential-data-merge.js.map +1 -0
- package/dist/credentials/credential-dependency.service.d.ts +1 -1
- package/dist/credentials/credential-dependency.service.js +4 -4
- package/dist/credentials/credential-dependency.service.js.map +1 -1
- package/dist/credentials/credentials.controller.js +6 -2
- package/dist/credentials/credentials.controller.js.map +1 -1
- package/dist/credentials/credentials.service.d.ts +5 -1
- package/dist/credentials/credentials.service.js +11 -3
- package/dist/credentials/credentials.service.js.map +1 -1
- package/dist/credentials/pending-authorization-cleanup.task.d.ts +2 -3
- package/dist/credentials/pending-authorization-cleanup.task.js +6 -6
- package/dist/credentials/pending-authorization-cleanup.task.js.map +1 -1
- package/dist/deprecation/deprecation.service.js +24 -0
- package/dist/deprecation/deprecation.service.js.map +1 -1
- package/dist/evaluation.ee/evaluation-dataset.service.d.ts +2 -5
- package/dist/evaluation.ee/evaluation-dataset.service.js +3 -11
- package/dist/evaluation.ee/evaluation-dataset.service.js.map +1 -1
- package/dist/eventbus/event-message-classes/event-message-mcp.d.ts +1 -1
- package/dist/eventbus/event-message-classes/index.d.ts +2 -2
- package/dist/eventbus/event-message-classes/index.js +3 -0
- package/dist/eventbus/event-message-classes/index.js.map +1 -1
- package/dist/eventbus/message-event-bus/event-bus-unsent-message-flush.task.d.ts +2 -3
- package/dist/eventbus/message-event-bus/event-bus-unsent-message-flush.task.js +1 -5
- package/dist/eventbus/message-event-bus/event-bus-unsent-message-flush.task.js.map +1 -1
- package/dist/events/maps/relay.event-map.d.ts +18 -2
- package/dist/events/relays/log-streaming.event-relay.d.ts +3 -0
- package/dist/events/relays/log-streaming.event-relay.js +39 -0
- package/dist/events/relays/log-streaming.event-relay.js.map +1 -1
- package/dist/events/relays/telemetry.event-relay.js +15 -3
- package/dist/events/relays/telemetry.event-relay.js.map +1 -1
- package/dist/execution-lifecycle/execution-lifecycle-hooks.js +1 -2
- package/dist/execution-lifecycle/execution-lifecycle-hooks.js.map +1 -1
- package/dist/executions/execution.service.d.ts +1 -2
- package/dist/executions/execution.service.js +1 -2
- package/dist/executions/execution.service.js.map +1 -1
- package/dist/idempotency/idempotency-request.d.ts +29 -0
- package/dist/idempotency/idempotency-request.js +125 -0
- package/dist/idempotency/idempotency-request.js.map +1 -0
- package/dist/idempotency/idempotency.middleware.d.ts +7 -0
- package/dist/idempotency/idempotency.middleware.js +80 -0
- package/dist/idempotency/idempotency.middleware.js.map +1 -0
- package/dist/idempotency/idempotency.types.d.ts +21 -0
- package/dist/{modules/quick-connect/handlers/handler.interface.js → idempotency/idempotency.types.js} +1 -1
- package/dist/idempotency/idempotency.types.js.map +1 -0
- package/dist/instance-settings-loader/loaders/log-streaming.instance-settings-loader.js +3 -0
- package/dist/instance-settings-loader/loaders/log-streaming.instance-settings-loader.js.map +1 -1
- package/dist/jwks/jwks.controller.d.ts +1 -1
- package/dist/jwks/jwks.controller.js +4 -4
- package/dist/jwks/jwks.controller.js.map +1 -1
- package/dist/license/license-renewal.task.d.ts +2 -6
- package/dist/license/license-renewal.task.js +10 -8
- package/dist/license/license-renewal.task.js.map +1 -1
- package/dist/load-nodes-and-credentials.d.ts +1 -0
- package/dist/load-nodes-and-credentials.js +16 -1
- package/dist/load-nodes-and-credentials.js.map +1 -1
- package/dist/modules/agents/adapters/agents-credential-provider.js +1 -0
- package/dist/modules/agents/adapters/agents-credential-provider.js.map +1 -1
- package/dist/modules/agents/agent-channel-media-retention.task.d.ts +15 -0
- package/dist/modules/agents/agent-channel-media-retention.task.js +64 -0
- package/dist/modules/agents/agent-channel-media-retention.task.js.map +1 -0
- package/dist/modules/agents/agent-chat-attachment.service.d.ts +4 -0
- package/dist/modules/agents/agent-chat-attachment.service.js +15 -0
- package/dist/modules/agents/agent-chat-attachment.service.js.map +1 -1
- package/dist/modules/agents/agent-chat-execution.service.d.ts +2 -1
- package/dist/modules/agents/agent-chat-execution.service.js +19 -10
- package/dist/modules/agents/agent-chat-execution.service.js.map +1 -1
- package/dist/modules/agents/agent-chat-relay.service.d.ts +31 -0
- package/dist/modules/agents/agent-chat-relay.service.js +164 -0
- package/dist/modules/agents/agent-chat-relay.service.js.map +1 -0
- package/dist/modules/agents/agent-chat.controller.d.ts +5 -9
- package/dist/modules/agents/agent-chat.controller.js +18 -150
- package/dist/modules/agents/agent-chat.controller.js.map +1 -1
- package/dist/modules/agents/agent-checkpoint-pruning.task.d.ts +2 -5
- package/dist/modules/agents/agent-checkpoint-pruning.task.js +10 -8
- package/dist/modules/agents/agent-checkpoint-pruning.task.js.map +1 -1
- package/dist/modules/agents/agent-config-preparation.service.d.ts +10 -13
- package/dist/modules/agents/agent-config.service.d.ts +1 -3
- package/dist/modules/agents/agent-config.service.js +8 -7
- package/dist/modules/agents/agent-config.service.js.map +1 -1
- package/dist/modules/agents/agent-definition.service.d.ts +1 -1
- package/dist/modules/agents/agent-definition.service.js +11 -6
- package/dist/modules/agents/agent-definition.service.js.map +1 -1
- package/dist/modules/agents/agent-dependency-index.listener.js +5 -0
- package/dist/modules/agents/agent-dependency-index.listener.js.map +1 -1
- package/dist/modules/agents/agent-dependency-index.service.d.ts +1 -0
- package/dist/modules/agents/agent-dependency-index.service.js +7 -0
- package/dist/modules/agents/agent-dependency-index.service.js.map +1 -1
- package/dist/modules/agents/agent-execution-orchestrator.service.d.ts +4 -4
- package/dist/modules/agents/agent-execution-orchestrator.service.js.map +1 -1
- package/dist/modules/agents/agent-execution.service.js +4 -0
- package/dist/modules/agents/agent-execution.service.js.map +1 -1
- package/dist/modules/agents/agent-integration-management.service.d.ts +5 -5
- package/dist/modules/agents/agent-integration-management.service.js +1 -1
- package/dist/modules/agents/agent-integration-management.service.js.map +1 -1
- package/dist/modules/agents/agent-integration-persistence.service.d.ts +3 -3
- package/dist/modules/agents/agent-integration-persistence.service.js.map +1 -1
- package/dist/modules/agents/agent-interrupted-execution-sweep.task.d.ts +2 -3
- package/dist/modules/agents/agent-interrupted-execution-sweep.task.js +4 -6
- package/dist/modules/agents/agent-interrupted-execution-sweep.task.js.map +1 -1
- package/dist/modules/agents/agent-message-queue-consumer.service.js +1 -1
- package/dist/modules/agents/agent-message-queue-consumer.service.js.map +1 -1
- package/dist/modules/agents/agent-message-queue.service.js +14 -6
- package/dist/modules/agents/agent-message-queue.service.js.map +1 -1
- package/dist/modules/agents/agent-modification-telemetry.service.d.ts +13 -13
- package/dist/modules/agents/agent-publish.controller.d.ts +8 -0
- package/dist/modules/agents/agent-publish.service.d.ts +6 -7
- package/dist/modules/agents/agent-publish.service.js +17 -28
- package/dist/modules/agents/agent-publish.service.js.map +1 -1
- package/dist/modules/agents/agent-runnable-state.service.d.ts +3 -0
- package/dist/modules/agents/agent-runnable-state.service.js +8 -2
- package/dist/modules/agents/agent-runnable-state.service.js.map +1 -1
- package/dist/modules/agents/agent-runtime-reconstruction.service.d.ts +5 -2
- package/dist/modules/agents/agent-runtime-reconstruction.service.js +35 -8
- package/dist/modules/agents/agent-runtime-reconstruction.service.js.map +1 -1
- package/dist/modules/agents/agent-skill-refs.service.d.ts +38 -6
- package/dist/modules/agents/agent-skill-refs.service.js +245 -18
- package/dist/modules/agents/agent-skill-refs.service.js.map +1 -1
- package/dist/modules/agents/agent-skills.service.d.ts +12 -13
- package/dist/modules/agents/agent-skills.service.js +211 -123
- package/dist/modules/agents/agent-skills.service.js.map +1 -1
- package/dist/modules/agents/agent-task.service.js +6 -5
- package/dist/modules/agents/agent-task.service.js.map +1 -1
- package/dist/modules/agents/agent-teams-integrations.controller.d.ts +47 -3
- package/dist/modules/agents/agent-teams-integrations.controller.js +225 -3
- package/dist/modules/agents/agent-teams-integrations.controller.js.map +1 -1
- package/dist/modules/agents/agent-validation.service.d.ts +1 -0
- package/dist/modules/agents/agent-validation.service.js +17 -2
- package/dist/modules/agents/agent-validation.service.js.map +1 -1
- package/dist/modules/agents/agent-whatsapp-integrations.controller.d.ts +22 -0
- package/dist/modules/agents/agent-whatsapp-integrations.controller.js +74 -0
- package/dist/modules/agents/agent-whatsapp-integrations.controller.js.map +1 -0
- package/dist/modules/agents/agent-workflow-execution.service.d.ts +1 -0
- package/dist/modules/agents/agent-workflow-execution.service.js +56 -23
- package/dist/modules/agents/agent-workflow-execution.service.js.map +1 -1
- package/dist/modules/agents/agents-config.controller.d.ts +10 -13
- package/dist/modules/agents/agents-skills.controller.d.ts +2 -2
- package/dist/modules/agents/agents-skills.controller.js +6 -5
- package/dist/modules/agents/agents-skills.controller.js.map +1 -1
- package/dist/modules/agents/agents-tools.service.js +12 -8
- package/dist/modules/agents/agents-tools.service.js.map +1 -1
- package/dist/modules/agents/agents.controller.d.ts +4 -0
- package/dist/modules/agents/agents.module.d.ts +3 -2
- package/dist/modules/agents/agents.module.js +25 -2
- package/dist/modules/agents/agents.module.js.map +1 -1
- package/dist/modules/agents/agents.service.d.ts +7 -6
- package/dist/modules/agents/agents.service.js +10 -8
- package/dist/modules/agents/agents.service.js.map +1 -1
- package/dist/modules/agents/background/agent-wake.service.js.map +1 -1
- package/dist/modules/agents/budget-guardrail.d.ts +2 -4
- package/dist/modules/agents/budget-guardrail.js +29 -10
- package/dist/modules/agents/budget-guardrail.js.map +1 -1
- package/dist/modules/agents/builder/agent-builder-session-context.d.ts +1 -0
- package/dist/modules/agents/builder/agent-builder-session-context.js +16 -0
- package/dist/modules/agents/builder/agent-builder-session-context.js.map +1 -0
- package/dist/modules/agents/builder/agents-builder-model-recommendations.js +4 -4
- package/dist/modules/agents/builder/agents-builder-tools.service.d.ts +4 -0
- package/dist/modules/agents/builder/agents-builder-tools.service.js +166 -33
- package/dist/modules/agents/builder/agents-builder-tools.service.js.map +1 -1
- package/dist/modules/agents/builder/builder-model-live-lookup.service.js +1 -1
- package/dist/modules/agents/builder/builder-model-live-lookup.service.js.map +1 -1
- package/dist/modules/agents/builder/builder-tool-names.d.ts +17 -14
- package/dist/modules/agents/builder/builder-tool-names.js +18 -14
- package/dist/modules/agents/builder/builder-tool-names.js.map +1 -1
- package/dist/modules/agents/builder/call-agent-failure.js +2 -2
- package/dist/modules/agents/builder/call-agent-failure.js.map +1 -1
- package/dist/modules/agents/builder/get-resource-locator-options.tool.js +7 -5
- package/dist/modules/agents/builder/get-resource-locator-options.tool.js.map +1 -1
- package/dist/modules/agents/builder/interactive/ask-credential.tool.js +5 -3
- package/dist/modules/agents/builder/interactive/ask-credential.tool.js.map +1 -1
- package/dist/modules/agents/builder/interactive/ask-questions.tool.js +2 -1
- package/dist/modules/agents/builder/interactive/ask-questions.tool.js.map +1 -1
- package/dist/modules/agents/builder/interactive/configure-channel.tool.js +1 -0
- package/dist/modules/agents/builder/interactive/configure-channel.tool.js.map +1 -1
- package/dist/modules/agents/builder/interactive/finish-setup.tool.d.ts +21 -0
- package/dist/modules/agents/builder/interactive/finish-setup.tool.js +81 -12
- package/dist/modules/agents/builder/interactive/finish-setup.tool.js.map +1 -1
- package/dist/modules/agents/builder/interactive/resolve-llm.tool.js +6 -5
- package/dist/modules/agents/builder/interactive/resolve-llm.tool.js.map +1 -1
- package/dist/modules/agents/builder/prompts/config-mutation.prompt.js +27 -18
- package/dist/modules/agents/builder/prompts/config-mutation.prompt.js.map +1 -1
- package/dist/modules/agents/builder/prompts/config-rules.prompt.js +2 -2
- package/dist/modules/agents/builder/prompts/config-rules.prompt.js.map +1 -1
- package/dist/modules/agents/builder/prompts/initial-build.prompt.d.ts +1 -2
- package/dist/modules/agents/builder/prompts/initial-build.prompt.js +2 -70
- package/dist/modules/agents/builder/prompts/initial-build.prompt.js.map +1 -1
- package/dist/modules/agents/builder/skills/config.skill.d.ts +2 -0
- package/dist/modules/agents/builder/skills/config.skill.js +14 -0
- package/dist/modules/agents/builder/skills/config.skill.js.map +1 -0
- package/dist/modules/agents/builder/skills/custom-tools.skill.js +14 -10
- package/dist/modules/agents/builder/skills/custom-tools.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/external-services.skill.js +81 -63
- package/dist/modules/agents/builder/skills/external-services.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/index.js +11 -1
- package/dist/modules/agents/builder/skills/index.js.map +1 -1
- package/dist/modules/agents/builder/skills/memory.skill.js +14 -14
- package/dist/modules/agents/builder/skills/memory.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/node-tools.skill.js +25 -22
- package/dist/modules/agents/builder/skills/node-tools.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/resource-locators.skill.js +32 -30
- package/dist/modules/agents/builder/skills/resource-locators.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/sub-agents.skill.js +14 -5
- package/dist/modules/agents/builder/skills/sub-agents.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/target-skills.skill.js +46 -41
- package/dist/modules/agents/builder/skills/target-skills.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/target-tasks.skill.js +33 -33
- package/dist/modules/agents/builder/skills/target-tasks.skill.js.map +1 -1
- package/dist/modules/agents/builder/verify-mcp-server.tool.js +13 -4
- package/dist/modules/agents/builder/verify-mcp-server.tool.js.map +1 -1
- package/dist/modules/agents/entities/agent-skill-dependency.entity.d.ts +6 -0
- package/dist/modules/agents/entities/agent-skill-dependency.entity.js +34 -0
- package/dist/modules/agents/entities/agent-skill-dependency.entity.js.map +1 -0
- package/dist/modules/agents/entities/agent-version-skill-dependency.entity.d.ts +6 -0
- package/dist/modules/agents/entities/agent-version-skill-dependency.entity.js +35 -0
- package/dist/modules/agents/entities/agent-version-skill-dependency.entity.js.map +1 -0
- package/dist/modules/agents/entities/agent.entity.d.ts +9 -2
- package/dist/modules/agents/entities/agent.entity.js +14 -4
- package/dist/modules/agents/entities/agent.entity.js.map +1 -1
- package/dist/modules/agents/entities/skill-file.entity.d.ts +6 -0
- package/dist/modules/agents/entities/skill-file.entity.js +33 -0
- package/dist/modules/agents/entities/skill-file.entity.js.map +1 -0
- package/dist/modules/agents/entities/skill-version.entity.d.ts +13 -0
- package/dist/modules/agents/entities/skill-version.entity.js +59 -0
- package/dist/modules/agents/entities/skill-version.entity.js.map +1 -0
- package/dist/modules/agents/entities/skill.entity.d.ts +9 -0
- package/dist/modules/agents/entities/skill.entity.js +43 -0
- package/dist/modules/agents/entities/skill.entity.js.map +1 -0
- package/dist/modules/agents/instance-ai-agent-context.adapter.d.ts +3 -1
- package/dist/modules/agents/instance-ai-agent-context.adapter.js +12 -5
- package/dist/modules/agents/instance-ai-agent-context.adapter.js.map +1 -1
- package/dist/modules/agents/instance-ai-builder-delegate.adapter.d.ts +7 -5
- package/dist/modules/agents/instance-ai-builder-delegate.adapter.js +55 -92
- package/dist/modules/agents/instance-ai-builder-delegate.adapter.js.map +1 -1
- package/dist/modules/agents/integrations/agent-channel-reconciler.service.js.map +1 -1
- package/dist/modules/agents/integrations/agent-chat-bridge.d.ts +1 -0
- package/dist/modules/agents/integrations/agent-chat-bridge.js +29 -4
- package/dist/modules/agents/integrations/agent-chat-bridge.js.map +1 -1
- package/dist/modules/agents/integrations/agent-chat-integration.d.ts +16 -2
- package/dist/modules/agents/integrations/agent-chat-integration.js +9 -1
- package/dist/modules/agents/integrations/agent-chat-integration.js.map +1 -1
- package/dist/modules/agents/integrations/agent-credential-lookup.service.js +1 -0
- package/dist/modules/agents/integrations/agent-credential-lookup.service.js.map +1 -1
- package/dist/modules/agents/integrations/chat-integration.service.d.ts +3 -3
- package/dist/modules/agents/integrations/chat-integration.service.js +4 -2
- package/dist/modules/agents/integrations/chat-integration.service.js.map +1 -1
- package/dist/modules/agents/integrations/integration-action-executor.js +15 -2
- package/dist/modules/agents/integrations/integration-action-executor.js.map +1 -1
- package/dist/modules/agents/integrations/integration-error-codes.d.ts +1 -0
- package/dist/modules/agents/integrations/integration-error-codes.js +1 -0
- package/dist/modules/agents/integrations/integration-error-codes.js.map +1 -1
- package/dist/modules/agents/integrations/integrations-sync.d.ts +2 -2
- package/dist/modules/agents/integrations/integrations-sync.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/slack/assets/n8n-bot-icon.png +0 -0
- package/dist/modules/agents/integrations/platforms/slack/slack-managed-setup.service.d.ts +2 -2
- package/dist/modules/agents/integrations/platforms/slack/slack-managed-setup.service.js +2 -2
- package/dist/modules/agents/integrations/platforms/slack/slack-managed-setup.service.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/slack/slack-methods.service.d.ts +3 -3
- package/dist/modules/agents/integrations/platforms/slack/slack-methods.service.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-admin-consent.d.ts +5 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-admin-consent.js +23 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-admin-consent.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-app-icons.d.ts +15 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-app-icons.js +136 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-app-icons.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-arm-template.service.d.ts +2 -3
- package/dist/modules/agents/integrations/platforms/teams/teams-arm-template.service.js +3 -4
- package/dist/modules/agents/integrations/platforms/teams/teams-arm-template.service.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-arm.service.d.ts +14 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-arm.service.js +83 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-arm.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-bot-provisioning.service.d.ts +39 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-bot-provisioning.service.js +202 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-bot-provisioning.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-catalog.service.d.ts +51 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-catalog.service.js +241 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-catalog.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-cleanup.service.d.ts +13 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-cleanup.service.js +43 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-cleanup.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-credential-check.service.d.ts +3 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-credential-check.service.js +65 -24
- package/dist/modules/agents/integrations/platforms/teams/teams-credential-check.service.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-credential-notes.service.d.ts +11 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-credential-notes.service.js +58 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-credential-notes.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-entra-provisioning.service.d.ts +36 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-entra-provisioning.service.js +318 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-entra-provisioning.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-graph-permissions.d.ts +4 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-graph-permissions.js +10 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-graph-permissions.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-graph.service.d.ts +19 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-graph.service.js +128 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-graph.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-integration.d.ts +17 -3
- package/dist/modules/agents/integrations/platforms/teams/teams-integration.js +63 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-integration.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-managed-setup.service.d.ts +28 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-managed-setup.service.js +146 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-managed-setup.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-manager-token.service.d.ts +23 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-manager-token.service.js +155 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-manager-token.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-manifest.service.d.ts +3 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-manifest.service.js +18 -8
- package/dist/modules/agents/integrations/platforms/teams/teams-manifest.service.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-message-files.d.ts +18 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-message-files.js +174 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-message-files.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-operations.d.ts +7 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-operations.js +175 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-operations.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-setup-telemetry.service.d.ts +20 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-setup-telemetry.service.js +68 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-setup-telemetry.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-setup.service.d.ts +15 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-setup.service.js +77 -3
- package/dist/modules/agents/integrations/platforms/teams/teams-setup.service.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-credential-check.service.d.ts +17 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-credential-check.service.js +148 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-credential-check.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/{whatsapp-integration.d.ts → whatsapp/whatsapp-integration.d.ts} +17 -7
- package/dist/modules/agents/integrations/platforms/{whatsapp-integration.js → whatsapp/whatsapp-integration.js} +48 -12
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-integration.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-webhook-verification.store.d.ts +11 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-webhook-verification.store.js +58 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-webhook-verification.store.js.map +1 -0
- package/dist/modules/agents/json-config/agent-document.d.ts +1 -0
- package/dist/modules/agents/json-config/agent-document.js +5 -0
- package/dist/modules/agents/json-config/agent-document.js.map +1 -1
- package/dist/modules/agents/json-config/credential-field-mapping.js +11 -2
- package/dist/modules/agents/json-config/credential-field-mapping.js.map +1 -1
- package/dist/modules/agents/json-config/from-json-config.js +5 -6
- package/dist/modules/agents/json-config/from-json-config.js.map +1 -1
- package/dist/modules/agents/json-config/mcp-client-factory.d.ts +1 -1
- package/dist/modules/agents/json-config/mcp-client-factory.js +16 -69
- package/dist/modules/agents/json-config/mcp-client-factory.js.map +1 -1
- package/dist/modules/agents/json-config/model-config.js.map +1 -1
- package/dist/modules/agents/json-config/prune-missing-config-references.d.ts +1 -1
- package/dist/modules/agents/json-config/prune-missing-config-references.js +0 -4
- package/dist/modules/agents/json-config/prune-missing-config-references.js.map +1 -1
- package/dist/modules/agents/json-config/reconcile-node-tool-gateway-credentials.d.ts +4 -0
- package/dist/modules/agents/json-config/reconcile-node-tool-gateway-credentials.js +31 -4
- package/dist/modules/agents/json-config/reconcile-node-tool-gateway-credentials.js.map +1 -1
- package/dist/modules/agents/plans/agent-plan-tools.d.ts +50 -1
- package/dist/modules/agents/plans/agent-plan-tools.js +122 -9
- package/dist/modules/agents/plans/agent-plan-tools.js.map +1 -1
- package/dist/modules/agents/plans/agent-plan-work-state.d.ts +36 -0
- package/dist/modules/agents/plans/agent-plan-work-state.js +13 -0
- package/dist/modules/agents/plans/agent-plan-work-state.js.map +1 -0
- package/dist/modules/agents/plans/agent-plan.validation.d.ts +2 -1
- package/dist/modules/agents/plans/agent-plan.validation.js +6 -4
- package/dist/modules/agents/plans/agent-plan.validation.js.map +1 -1
- package/dist/modules/agents/register-favorite-resolver.js +1 -1
- package/dist/modules/agents/register-favorite-resolver.js.map +1 -1
- package/dist/modules/agents/repositories/agent-chat-attachment.repository.d.ts +4 -0
- package/dist/modules/agents/repositories/agent-chat-attachment.repository.js +7 -0
- package/dist/modules/agents/repositories/agent-chat-attachment.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-execution-thread.repository.d.ts +16 -0
- package/dist/modules/agents/repositories/agent-execution-thread.repository.js +63 -0
- package/dist/modules/agents/repositories/agent-execution-thread.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-history.repository.d.ts +1 -1
- package/dist/modules/agents/repositories/agent-history.repository.js +1 -1
- package/dist/modules/agents/repositories/agent-history.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-message-queue.repository.d.ts +4 -0
- package/dist/modules/agents/repositories/agent-message-queue.repository.js +6 -1
- package/dist/modules/agents/repositories/agent-message-queue.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-thread-grant.repository.d.ts +1 -0
- package/dist/modules/agents/repositories/agent-thread-grant.repository.js +3 -0
- package/dist/modules/agents/repositories/agent-thread-grant.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-workflow-dependency.repository.js +1 -1
- package/dist/modules/agents/repositories/agent-workflow-dependency.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent.repository.d.ts +22 -14
- package/dist/modules/agents/repositories/agent.repository.js +159 -40
- package/dist/modules/agents/repositories/agent.repository.js.map +1 -1
- package/dist/modules/agents/repositories/skill.repository.d.ts +98 -0
- package/dist/modules/agents/repositories/skill.repository.js +569 -0
- package/dist/modules/agents/repositories/skill.repository.js.map +1 -0
- package/dist/modules/agents/scheduling/agent-task-job-registrar.js.map +1 -1
- package/dist/modules/agents/skills/skill-content-hash.d.ts +13 -0
- package/dist/modules/agents/skills/skill-content-hash.js +31 -0
- package/dist/modules/agents/skills/skill-content-hash.js.map +1 -0
- package/dist/modules/agents/skills/skill-name-taken.error.d.ts +6 -0
- package/dist/modules/agents/skills/skill-name-taken.error.js +18 -0
- package/dist/modules/agents/skills/skill-name-taken.error.js.map +1 -0
- package/dist/modules/agents/skills/skill-names.d.ts +3 -0
- package/dist/modules/agents/skills/skill-names.js +32 -0
- package/dist/modules/agents/skills/skill-names.js.map +1 -0
- package/dist/modules/agents/skills/skill.service.d.ts +82 -0
- package/dist/modules/agents/skills/skill.service.js +368 -0
- package/dist/modules/agents/skills/skill.service.js.map +1 -0
- package/dist/modules/agents/skills/skills-api.service.d.ts +28 -0
- package/dist/modules/agents/skills/skills-api.service.js +249 -0
- package/dist/modules/agents/skills/skills-api.service.js.map +1 -0
- package/dist/modules/agents/skills/skills-hub-rollout.d.ts +10 -0
- package/dist/modules/agents/skills/skills-hub-rollout.js +35 -0
- package/dist/modules/agents/skills/skills-hub-rollout.js.map +1 -0
- package/dist/modules/agents/skills/skills-hub-startup-copy.d.ts +40 -0
- package/dist/modules/agents/skills/skills-hub-startup-copy.js +402 -0
- package/dist/modules/agents/skills/skills-hub-startup-copy.js.map +1 -0
- package/dist/modules/agents/skills/skills-telemetry.d.ts +21 -0
- package/dist/modules/agents/skills/skills-telemetry.js +98 -0
- package/dist/modules/agents/skills/skills-telemetry.js.map +1 -0
- package/dist/modules/agents/skills.controller.d.ts +19 -0
- package/dist/modules/agents/skills.controller.js +106 -0
- package/dist/modules/agents/skills.controller.js.map +1 -0
- package/dist/modules/agents/sub-agents/delegate-sub-agent-tool.js +6 -0
- package/dist/modules/agents/sub-agents/delegate-sub-agent-tool.js.map +1 -1
- package/dist/modules/agents/sub-agents/sub-agent-runner.d.ts +2 -1
- package/dist/modules/agents/sub-agents/sub-agent-runner.js +23 -4
- package/dist/modules/agents/sub-agents/sub-agent-runner.js.map +1 -1
- package/dist/modules/agents/sub-agents/sub-agent-source-resolver.js +9 -6
- package/dist/modules/agents/sub-agents/sub-agent-source-resolver.js.map +1 -1
- package/dist/modules/agents/tools/node-tool-factory.js +4 -0
- package/dist/modules/agents/tools/node-tool-factory.js.map +1 -1
- package/dist/modules/agents/tools/policy-refusal.d.ts +8 -0
- package/dist/modules/agents/tools/policy-refusal.js +9 -0
- package/dist/modules/agents/tools/policy-refusal.js.map +1 -0
- package/dist/modules/agents/tools/workflow-tool-factory.d.ts +1 -0
- package/dist/modules/agents/tools/workflow-tool-factory.js +106 -52
- package/dist/modules/agents/tools/workflow-tool-factory.js.map +1 -1
- package/dist/modules/agents/tools/workflow-tool-workflow-loader.service.d.ts +1 -1
- package/dist/modules/agents/tools/workflow-tool-workflow-loader.service.js +2 -2
- package/dist/modules/agents/tools/workflow-tool-workflow-loader.service.js.map +1 -1
- package/dist/modules/agents/types/agent-queued-message.d.ts +4 -1
- package/dist/modules/agents/types/agent-queued-message.js +1 -1
- package/dist/modules/agents/types/agent-queued-message.js.map +1 -1
- package/dist/modules/agents/utils/agent-definition.d.ts +15 -17
- package/dist/modules/agents/utils/agent-definition.js +2 -2
- package/dist/modules/agents/utils/agent-definition.js.map +1 -1
- package/dist/modules/agents/utils/agent-memory-scope.d.ts +2 -0
- package/dist/modules/agents/utils/agent-memory-scope.js +12 -0
- package/dist/modules/agents/utils/agent-memory-scope.js.map +1 -1
- package/dist/modules/agents/utils/agent-missing-skill-ids.js +0 -2
- package/dist/modules/agents/utils/agent-missing-skill-ids.js.map +1 -1
- package/dist/modules/agents/utils/agent-published-snapshot.d.ts +6 -4
- package/dist/modules/agents/utils/agent-published-snapshot.js +2 -3
- package/dist/modules/agents/utils/agent-published-snapshot.js.map +1 -1
- package/dist/modules/agents/utils/agent-runtime-assets.d.ts +3 -2
- package/dist/modules/agents/utils/agent-runtime-assets.js +2 -2
- package/dist/modules/agents/utils/agent-runtime-assets.js.map +1 -1
- package/dist/modules/agents/utils/agent-thread-access.d.ts +3 -1
- package/dist/modules/agents/utils/agent-thread-access.js +16 -4
- package/dist/modules/agents/utils/agent-thread-access.js.map +1 -1
- package/dist/modules/agents/utils/get-agent-or-throw.d.ts +2 -2
- package/dist/modules/breaking-changes/breaking-changes.controller.d.ts +5 -2
- package/dist/modules/breaking-changes/breaking-changes.controller.js +16 -2
- package/dist/modules/breaking-changes/breaking-changes.controller.js.map +1 -1
- package/dist/modules/breaking-changes/breaking-changes.module.d.ts +1 -1
- package/dist/modules/breaking-changes/database/repositories/migration-finding.repository.d.ts +6 -6
- package/dist/modules/breaking-changes/database/repositories/migration-finding.repository.js +31 -21
- package/dist/modules/breaking-changes/database/repositories/migration-finding.repository.js.map +1 -1
- package/dist/modules/breaking-changes/migrations/index.js +2 -2
- package/dist/modules/breaking-changes/migrations/index.js.map +1 -1
- package/dist/modules/breaking-changes/migrations/node-migration.d.ts +1 -0
- package/dist/modules/breaking-changes/migrations/node-migration.js +17 -0
- package/dist/modules/breaking-changes/migrations/node-migration.js.map +1 -1
- package/dist/modules/breaking-changes/migrations/node-removals/ai-transform-to-code.migration.d.ts +2 -0
- package/dist/modules/breaking-changes/migrations/node-removals/ai-transform-to-code.migration.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/document-loaders.migration.d.ts +3 -0
- package/dist/modules/breaking-changes/migrations/node-removals/document-loaders.migration.js +79 -0
- package/dist/modules/breaking-changes/migrations/node-removals/document-loaders.migration.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/html-extract-to-html.migration.d.ts +2 -0
- package/dist/modules/breaking-changes/migrations/node-removals/html-extract-to-html.migration.js +40 -0
- package/dist/modules/breaking-changes/migrations/node-removals/html-extract-to-html.migration.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/ical-to-convert-to-file.migration.d.ts +2 -0
- package/dist/modules/breaking-changes/migrations/node-removals/ical-to-convert-to-file.migration.js +17 -0
- package/dist/modules/breaking-changes/migrations/node-removals/ical-to-convert-to-file.migration.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/index.d.ts +2 -0
- package/dist/modules/breaking-changes/migrations/node-removals/index.js +32 -0
- package/dist/modules/breaking-changes/migrations/node-removals/index.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/item-lists-checks.d.ts +4 -0
- package/dist/modules/breaking-changes/migrations/node-removals/item-lists-checks.js +46 -0
- package/dist/modules/breaking-changes/migrations/node-removals/item-lists-checks.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/item-lists-legacy.d.ts +10 -0
- package/dist/modules/breaking-changes/migrations/node-removals/item-lists-legacy.js +252 -0
- package/dist/modules/breaking-changes/migrations/node-removals/item-lists-legacy.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/item-lists.migration.d.ts +2 -0
- package/dist/modules/breaking-changes/migrations/node-removals/item-lists.migration.js +85 -0
- package/dist/modules/breaking-changes/migrations/node-removals/item-lists.migration.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/read-pdf-to-extract-from-file.migration.d.ts +2 -0
- package/dist/modules/breaking-changes/migrations/node-removals/read-pdf-to-extract-from-file.migration.js +28 -0
- package/dist/modules/breaking-changes/migrations/node-removals/read-pdf-to-extract-from-file.migration.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/schedule-trigger.migration.d.ts +2 -0
- package/dist/modules/breaking-changes/migrations/node-removals/schedule-trigger.migration.js +91 -0
- package/dist/modules/breaking-changes/migrations/node-removals/schedule-trigger.migration.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/vector-stores.migration.d.ts +7 -0
- package/dist/modules/breaking-changes/migrations/node-removals/vector-stores.migration.js +133 -0
- package/dist/modules/breaking-changes/migrations/node-removals/vector-stores.migration.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/workflow-trigger-to-n8n-trigger.migration.d.ts +2 -0
- package/dist/modules/breaking-changes/migrations/node-removals/workflow-trigger-to-n8n-trigger.migration.js +26 -0
- package/dist/modules/breaking-changes/migrations/node-removals/workflow-trigger-to-n8n-trigger.migration.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/write-binary-file-to-read-write-file.migration.d.ts +2 -0
- package/dist/modules/breaking-changes/migrations/node-removals/write-binary-file-to-read-write-file.migration.js +27 -0
- package/dist/modules/breaking-changes/migrations/node-removals/write-binary-file-to-read-write-file.migration.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/parameter-readers.d.ts +10 -0
- package/dist/modules/breaking-changes/migrations/parameter-readers.js +51 -0
- package/dist/modules/breaking-changes/migrations/parameter-readers.js.map +1 -0
- package/dist/modules/breaking-changes/notifications/migration-finding-notification.service.d.ts +20 -0
- package/dist/modules/breaking-changes/notifications/migration-finding-notification.service.js +136 -0
- package/dist/modules/breaking-changes/notifications/migration-finding-notification.service.js.map +1 -0
- package/dist/modules/breaking-changes/query/migration-finding-query.service.js +3 -2
- package/dist/modules/breaking-changes/query/migration-finding-query.service.js.map +1 -1
- package/dist/modules/breaking-changes/sync/migration-finding-diff.js +2 -2
- package/dist/modules/breaking-changes/sync/migration-finding-diff.js.map +1 -1
- package/dist/modules/breaking-changes/sync/migration-finding-sync.service.js +1 -1
- package/dist/modules/breaking-changes/sync/migration-finding-sync.service.js.map +1 -1
- package/dist/modules/chat-hub/chat-hub-extractor.d.ts +1 -1
- package/dist/modules/chat-hub/chat-hub-extractor.js +2 -2
- package/dist/modules/chat-hub/chat-hub-extractor.js.map +1 -1
- package/dist/modules/data-table/data-table-file-cleanup.task.d.ts +2 -3
- package/dist/modules/data-table/data-table-file-cleanup.task.js +1 -5
- package/dist/modules/data-table/data-table-file-cleanup.task.js.map +1 -1
- package/dist/modules/data-table/data-table-permissions.d.ts +2 -0
- package/dist/modules/data-table/data-table-permissions.js +6 -0
- package/dist/modules/data-table/data-table-permissions.js.map +1 -1
- package/dist/modules/data-table/data-table-proxy.service.d.ts +0 -1
- package/dist/modules/data-table/data-table-proxy.service.js +8 -17
- package/dist/modules/data-table/data-table-proxy.service.js.map +1 -1
- package/dist/modules/data-table/data-table.controller.d.ts +0 -1
- package/dist/modules/data-table/data-table.controller.js +7 -17
- package/dist/modules/data-table/data-table.controller.js.map +1 -1
- package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/n8n-identifier.d.ts +1 -1
- package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/n8n-identifier.js +2 -2
- package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/n8n-identifier.js.map +1 -1
- package/dist/modules/dynamic-credentials.ee/dynamic-credentials.module.js +1 -1
- package/dist/modules/dynamic-credentials.ee/dynamic-credentials.module.js.map +1 -1
- package/dist/modules/external-secrets.ee/external-secrets-refresh.task.d.ts +2 -3
- package/dist/modules/external-secrets.ee/external-secrets-refresh.task.js +1 -5
- package/dist/modules/external-secrets.ee/external-secrets-refresh.task.js.map +1 -1
- package/dist/modules/inbound-auth-core/authentication-pipeline.js +7 -0
- package/dist/modules/inbound-auth-core/authentication-pipeline.js.map +1 -1
- package/dist/modules/inbound-auth-core/constants.d.ts +42 -0
- package/dist/modules/inbound-auth-core/constants.js +24 -0
- package/dist/modules/inbound-auth-core/constants.js.map +1 -0
- package/dist/modules/inbound-auth-core/grant-authorization.d.ts +2 -2
- package/dist/modules/inbound-auth-core/grant-authorization.js.map +1 -1
- package/dist/modules/inbound-auth-core/identity/trusted-source-identity.service.d.ts +1 -1
- package/dist/modules/inbound-auth-core/identity/trusted-source-identity.service.js +2 -2
- package/dist/modules/inbound-auth-core/identity/trusted-source-identity.service.js.map +1 -1
- package/dist/modules/inbound-auth-core/inbound-auth-core.module.d.ts +3 -0
- package/dist/modules/inbound-auth-core/inbound-auth-core.module.js +32 -10
- package/dist/modules/inbound-auth-core/inbound-auth-core.module.js.map +1 -1
- package/dist/modules/inbound-auth-core/local-authorization-server.proxy.d.ts +15 -0
- package/dist/modules/inbound-auth-core/local-authorization-server.proxy.js +47 -0
- package/dist/modules/inbound-auth-core/local-authorization-server.proxy.js.map +1 -0
- package/dist/modules/inbound-auth-core/oauth2-bearer.driver.d.ts +3 -2
- package/dist/modules/inbound-auth-core/oauth2-bearer.driver.js +7 -2
- package/dist/modules/inbound-auth-core/oauth2-bearer.driver.js.map +1 -1
- package/dist/modules/inbound-auth-core/public-api-oauth.strategy.d.ts +16 -0
- package/dist/modules/inbound-auth-core/public-api-oauth.strategy.js +71 -0
- package/dist/modules/inbound-auth-core/public-api-oauth.strategy.js.map +1 -0
- package/dist/modules/inbound-auth-core/public-api-protected-resource.d.ts +21 -0
- package/dist/modules/inbound-auth-core/public-api-protected-resource.js +51 -0
- package/dist/modules/inbound-auth-core/public-api-protected-resource.js.map +1 -0
- package/dist/modules/inbound-auth-core/resource-admission.d.ts +12 -0
- package/dist/modules/inbound-auth-core/resource-admission.js +65 -0
- package/dist/modules/inbound-auth-core/resource-admission.js.map +1 -0
- package/dist/modules/inbound-auth-core/system-trusted-source.seeder.d.ts +0 -42
- package/dist/modules/inbound-auth-core/system-trusted-source.seeder.js +7 -26
- package/dist/modules/inbound-auth-core/system-trusted-source.seeder.js.map +1 -1
- package/dist/modules/inbound-auth-core/trusted-source-directory.service.d.ts +7 -0
- package/dist/modules/inbound-auth-core/trusted-source-directory.service.js +32 -0
- package/dist/modules/inbound-auth-core/trusted-source-directory.service.js.map +1 -0
- package/dist/modules/inbound-auth-core/trusted-source-discovery.task.d.ts +2 -3
- package/dist/modules/inbound-auth-core/trusted-source-discovery.task.js +1 -2
- package/dist/modules/inbound-auth-core/trusted-source-discovery.task.js.map +1 -1
- package/dist/modules/inbound-auth-core/trusted-source.controller.d.ts +27 -0
- package/dist/modules/inbound-auth-core/trusted-source.controller.js +190 -0
- package/dist/modules/inbound-auth-core/trusted-source.controller.js.map +1 -0
- package/dist/modules/inbound-auth-core/trusted-source.store.d.ts +1 -0
- package/dist/modules/inbound-auth-core/trusted-source.store.js +6 -3
- package/dist/modules/inbound-auth-core/trusted-source.store.js.map +1 -1
- package/dist/modules/inbox/inbox-source.registry.d.ts +39 -0
- package/dist/modules/inbox/inbox-source.registry.js +64 -0
- package/dist/modules/inbox/inbox-source.registry.js.map +1 -0
- package/dist/modules/inbox/inbox.controller.d.ts +10 -0
- package/dist/modules/{quick-connect/quick-connect.controller.js → inbox/inbox.controller.js} +26 -17
- package/dist/modules/inbox/inbox.controller.js.map +1 -0
- package/dist/modules/inbox/inbox.module.d.ts +4 -0
- package/dist/modules/{workflow-builder/workflow-builder.module.js → inbox/inbox.module.js} +9 -10
- package/dist/modules/inbox/inbox.module.js.map +1 -0
- package/dist/modules/inbox/inbox.service.d.ts +17 -0
- package/dist/modules/inbox/inbox.service.js +184 -0
- package/dist/modules/inbox/inbox.service.js.map +1 -0
- package/dist/modules/instance-ai/agent-preview-handoff.js +1 -1
- package/dist/modules/instance-ai/agent-preview-handoff.js.map +1 -1
- package/dist/modules/instance-ai/agents-access.d.ts +2 -0
- package/dist/modules/instance-ai/agents-access.js +9 -0
- package/dist/modules/instance-ai/agents-access.js.map +1 -0
- package/dist/modules/instance-ai/conversation-history-content.d.ts +3 -2
- package/dist/modules/instance-ai/conversation-history-content.js +8 -2
- package/dist/modules/instance-ai/conversation-history-content.js.map +1 -1
- package/dist/modules/instance-ai/eval/agent-execution.service.js +14 -7
- package/dist/modules/instance-ai/eval/agent-execution.service.js.map +1 -1
- package/dist/modules/instance-ai/eval/mock-handler.js +11 -10
- package/dist/modules/instance-ai/eval/mock-handler.js.map +1 -1
- package/dist/modules/instance-ai/eval/mock-utils.js +2 -0
- package/dist/modules/instance-ai/eval/mock-utils.js.map +1 -1
- package/dist/modules/instance-ai/eval/thread-credential-allowlist.service.d.ts +8 -0
- package/dist/modules/instance-ai/eval/thread-credential-allowlist.service.js +10 -0
- package/dist/modules/instance-ai/eval/thread-credential-allowlist.service.js.map +1 -1
- package/dist/modules/instance-ai/eval/thread-restore.service.js +1 -1
- package/dist/modules/instance-ai/eval/thread-restore.service.js.map +1 -1
- package/dist/modules/instance-ai/eval/workflow-analysis.js +6 -6
- package/dist/modules/instance-ai/eval/workflow-analysis.js.map +1 -1
- package/dist/modules/instance-ai/event-bus/durable-event-log.d.ts +1 -0
- package/dist/modules/instance-ai/event-bus/durable-event-log.js +65 -7
- package/dist/modules/instance-ai/event-bus/durable-event-log.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-checkpoint-pruning.task.d.ts +2 -5
- package/dist/modules/instance-ai/instance-ai-checkpoint-pruning.task.js +10 -8
- package/dist/modules/instance-ai/instance-ai-checkpoint-pruning.task.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-conversation-history.service.js +1 -1
- package/dist/modules/instance-ai/instance-ai-conversation-history.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-credit.service.d.ts +1 -11
- package/dist/modules/instance-ai/instance-ai-credit.service.js +9 -52
- package/dist/modules/instance-ai/instance-ai-credit.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-model.service.d.ts +9 -2
- package/dist/modules/instance-ai/instance-ai-model.service.js +35 -6
- package/dist/modules/instance-ai/instance-ai-model.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-pending-agent.service.d.ts +2 -0
- package/dist/modules/instance-ai/instance-ai-pending-agent.service.js +2 -1
- package/dist/modules/instance-ai/instance-ai-pending-agent.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-run-pin-data.js +1 -1
- package/dist/modules/instance-ai/instance-ai-run-pin-data.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-settings.service.d.ts +1 -2
- package/dist/modules/instance-ai/instance-ai-settings.service.js +5 -18
- package/dist/modules/instance-ai/instance-ai-settings.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-skills.service.d.ts +26 -0
- package/dist/modules/instance-ai/instance-ai-skills.service.js +63 -0
- package/dist/modules/instance-ai/instance-ai-skills.service.js.map +1 -0
- package/dist/modules/instance-ai/instance-ai.adapter.service.d.ts +17 -15
- package/dist/modules/instance-ai/instance-ai.adapter.service.js +13 -15
- package/dist/modules/instance-ai/instance-ai.adapter.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.controller.d.ts +7 -1
- package/dist/modules/instance-ai/instance-ai.controller.js +19 -0
- package/dist/modules/instance-ai/instance-ai.controller.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.module.d.ts +1 -2
- package/dist/modules/instance-ai/instance-ai.module.js +9 -1
- package/dist/modules/instance-ai/instance-ai.module.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.service.d.ts +3 -3
- package/dist/modules/instance-ai/instance-ai.service.js +52 -73
- package/dist/modules/instance-ai/instance-ai.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-context.service.js +3 -3
- package/dist/modules/instance-ai/instance-context.service.js.map +1 -1
- package/dist/modules/instance-ai/internal-messages.js +5 -5
- package/dist/modules/instance-ai/internal-messages.js.map +1 -1
- package/dist/modules/instance-ai/mcp/instance-ai-mcp-registry.service.d.ts +2 -5
- package/dist/modules/instance-ai/mcp/instance-ai-mcp-registry.service.js +8 -26
- package/dist/modules/instance-ai/mcp/instance-ai-mcp-registry.service.js.map +1 -1
- package/dist/modules/instance-ai/model-config-name.d.ts +5 -0
- package/dist/modules/instance-ai/model-config-name.js +25 -0
- package/dist/modules/instance-ai/model-config-name.js.map +1 -0
- package/dist/modules/instance-ai/onboarding.d.ts +0 -2
- package/dist/modules/instance-ai/onboarding.js +1 -14
- package/dist/modules/instance-ai/onboarding.js.map +1 -1
- package/dist/modules/instance-ai/repositories/conversation-history-search.d.ts +5 -1
- package/dist/modules/instance-ai/repositories/conversation-history-search.js +10 -5
- package/dist/modules/instance-ai/repositories/conversation-history-search.js.map +1 -1
- package/dist/modules/instance-ai/repositories/instance-ai-conversation-history.repository.js +2 -2
- package/dist/modules/instance-ai/repositories/instance-ai-conversation-history.repository.js.map +1 -1
- package/dist/modules/instance-ai/repositories/instance-ai-event-log.repository.d.ts +1 -0
- package/dist/modules/instance-ai/repositories/instance-ai-event-log.repository.js +11 -0
- package/dist/modules/instance-ai/repositories/instance-ai-event-log.repository.js.map +1 -1
- package/dist/modules/instance-ai/repositories/instance-ai-message.repository.d.ts +0 -1
- package/dist/modules/instance-ai/repositories/instance-ai-message.repository.js +0 -10
- package/dist/modules/instance-ai/repositories/instance-ai-message.repository.js.map +1 -1
- package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.d.ts +2 -1
- package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.js +4 -1
- package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.js.map +1 -1
- package/dist/modules/instance-ai/self-healing/database/self-healing-result.repository.d.ts +42 -2
- package/dist/modules/instance-ai/self-healing/database/self-healing-result.repository.js +63 -2
- package/dist/modules/instance-ai/self-healing/database/self-healing-result.repository.js.map +1 -1
- package/dist/modules/instance-ai/self-healing/self-healing-result.service.d.ts +10 -3
- package/dist/modules/instance-ai/self-healing/self-healing-result.service.js +30 -2
- package/dist/modules/instance-ai/self-healing/self-healing-result.service.js.map +1 -1
- package/dist/modules/instance-registry/checks/instance-registry-reconciliation.task.d.ts +2 -4
- package/dist/modules/instance-registry/checks/instance-registry-reconciliation.task.js +4 -7
- package/dist/modules/instance-registry/checks/instance-registry-reconciliation.task.js.map +1 -1
- package/dist/modules/instance-registry/instance-registry-heartbeat.task.d.ts +2 -3
- package/dist/modules/instance-registry/instance-registry-heartbeat.task.js +1 -5
- package/dist/modules/instance-registry/instance-registry-heartbeat.task.js.map +1 -1
- package/dist/modules/instance-registry/instance-registry.module.js +1 -1
- package/dist/modules/instance-registry/instance-registry.module.js.map +1 -1
- package/dist/modules/instance-registry/stale-member-cleanup.task.d.ts +2 -3
- package/dist/modules/instance-registry/stale-member-cleanup.task.js +1 -2
- package/dist/modules/instance-registry/stale-member-cleanup.task.js.map +1 -1
- package/dist/modules/instance-reporting.ee/instance-reporting.task.d.ts +2 -4
- package/dist/modules/instance-reporting.ee/instance-reporting.task.js +4 -7
- package/dist/modules/instance-reporting.ee/instance-reporting.task.js.map +1 -1
- package/dist/modules/log-streaming.ee/destinations/message-event-bus-destination-webhook.ee.d.ts +4 -0
- package/dist/modules/log-streaming.ee/destinations/message-event-bus-destination-webhook.ee.js +20 -11
- package/dist/modules/log-streaming.ee/destinations/message-event-bus-destination-webhook.ee.js.map +1 -1
- package/dist/modules/log-streaming.ee/log-streaming.controller.js +12 -1
- package/dist/modules/log-streaming.ee/log-streaming.controller.js.map +1 -1
- package/dist/modules/mcp/mcp-api-key.service.d.ts +2 -3
- package/dist/modules/mcp/mcp-api-key.service.js +3 -3
- package/dist/modules/mcp/mcp-api-key.service.js.map +1 -1
- package/dist/modules/mcp/mcp-protected-resource.d.ts +2 -2
- package/dist/modules/mcp/mcp-protected-resource.js +5 -3
- package/dist/modules/mcp/mcp-protected-resource.js.map +1 -1
- package/dist/modules/mcp/mcp-scopes.d.ts +1 -0
- package/dist/modules/mcp/mcp-scopes.js +7 -1
- package/dist/modules/mcp/mcp-scopes.js.map +1 -1
- package/dist/modules/mcp/mcp-server-middleware.service.d.ts +2 -2
- package/dist/modules/mcp/mcp-server-middleware.service.js +3 -3
- package/dist/modules/mcp/mcp-server-middleware.service.js.map +1 -1
- package/dist/modules/mcp/mcp-tool-availability.d.ts +1 -0
- package/dist/modules/mcp/mcp-tool-availability.js +4 -0
- package/dist/modules/mcp/mcp-tool-availability.js.map +1 -1
- package/dist/modules/mcp/mcp.module.js +1 -1
- package/dist/modules/mcp/mcp.module.js.map +1 -1
- package/dist/modules/mcp/mcp.service.d.ts +1 -3
- package/dist/modules/mcp/mcp.service.js +5 -3
- package/dist/modules/mcp/mcp.service.js.map +1 -1
- package/dist/modules/mcp/mcp.types.d.ts +1 -1
- package/dist/modules/mcp/tools/agents/agent-reference.js +12 -8
- package/dist/modules/mcp/tools/agents/agent-reference.js.map +1 -1
- package/dist/modules/mcp/tools/agents/agent-slack-setup.d.ts +5 -5
- package/dist/modules/mcp/tools/agents/agent-slack-setup.js.map +1 -1
- package/dist/modules/mcp/tools/agents/agent-tools.service.js +24 -9
- package/dist/modules/mcp/tools/agents/agent-tools.service.js.map +1 -1
- package/dist/modules/mcp/tools/execute-workflow.tool.d.ts +1 -1
- package/dist/modules/mcp/tools/get-execution.tool.d.ts +1 -1
- package/dist/modules/mcp/tools/skills/skill-tools.service.d.ts +11 -0
- package/dist/modules/mcp/tools/skills/skill-tools.service.js +242 -0
- package/dist/modules/mcp/tools/skills/skill-tools.service.js.map +1 -0
- package/dist/modules/mcp/tools/tool-result.utils.d.ts +8 -0
- package/dist/modules/mcp/tools/tool-result.utils.js +11 -0
- package/dist/modules/mcp/tools/tool-result.utils.js.map +1 -0
- package/dist/modules/mcp-registry/mcp-auth-fetch.d.ts +15 -0
- package/dist/modules/mcp-registry/mcp-auth-fetch.js +64 -0
- package/dist/modules/mcp-registry/mcp-auth-fetch.js.map +1 -0
- package/dist/modules/mcp-registry/mcp-connection-discovery.service.d.ts +23 -0
- package/dist/modules/mcp-registry/mcp-connection-discovery.service.js +219 -0
- package/dist/modules/mcp-registry/mcp-connection-discovery.service.js.map +1 -0
- package/dist/modules/mcp-registry/mcp-registry-refresh.task.d.ts +2 -3
- package/dist/modules/mcp-registry/mcp-registry-refresh.task.js +4 -6
- package/dist/modules/mcp-registry/mcp-registry-refresh.task.js.map +1 -1
- package/dist/modules/mcp-registry/mcp-registry-response.d.ts +3 -0
- package/dist/modules/mcp-registry/mcp-registry-response.js +35 -0
- package/dist/modules/mcp-registry/mcp-registry-response.js.map +1 -0
- package/dist/modules/mcp-registry/mcp-registry.controller.d.ts +6 -2
- package/dist/modules/mcp-registry/mcp-registry.controller.js +25 -28
- package/dist/modules/mcp-registry/mcp-registry.controller.js.map +1 -1
- package/dist/modules/mcp-registry/registry/mock-servers.js +3 -3
- package/dist/modules/mcp-registry/registry/mock-servers.js.map +1 -1
- package/dist/modules/modules.manifest.js +2 -0
- package/dist/modules/modules.manifest.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-blocked.error.js +1 -0
- package/dist/modules/n8n-packages/engine/import-blocked.error.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-gates.d.ts +6 -0
- package/dist/modules/n8n-packages/engine/import-gates.js +8 -0
- package/dist/modules/n8n-packages/engine/import-gates.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-orchestrator.d.ts +2 -2
- package/dist/modules/n8n-packages/engine/import-orchestrator.js +20 -1
- package/dist/modules/n8n-packages/engine/import-orchestrator.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-telemetry.js +3 -1
- package/dist/modules/n8n-packages/engine/import-telemetry.js.map +1 -1
- package/dist/modules/n8n-packages/engine/n8n-package-parser.d.ts +3 -0
- package/dist/modules/n8n-packages/engine/n8n-package-parser.js +38 -0
- package/dist/modules/n8n-packages/engine/n8n-package-parser.js.map +1 -1
- package/dist/modules/n8n-packages/engine/package-layout.d.ts +10 -2
- package/dist/modules/n8n-packages/engine/package-layout.js +26 -0
- package/dist/modules/n8n-packages/engine/package-layout.js.map +1 -1
- package/dist/modules/n8n-packages/engine/project-package-importer.js +29 -4
- package/dist/modules/n8n-packages/engine/project-package-importer.js.map +1 -1
- package/dist/modules/n8n-packages/engine/workflow-package-importer.js +19 -1
- package/dist/modules/n8n-packages/engine/workflow-package-importer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/agent/agent.exporter.d.ts +1 -1
- package/dist/modules/n8n-packages/entities/agent/agent.exporter.js +6 -0
- package/dist/modules/n8n-packages/entities/agent/agent.exporter.js.map +1 -1
- package/dist/modules/n8n-packages/entities/agent/agent.serializer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/credential/credential-conflict-policy.d.ts +20 -0
- package/dist/modules/n8n-packages/entities/credential/credential-conflict-policy.js +98 -0
- package/dist/modules/n8n-packages/entities/credential/credential-conflict-policy.js.map +1 -0
- package/dist/modules/n8n-packages/entities/credential/credential-export-policy.js +16 -2
- package/dist/modules/n8n-packages/entities/credential/credential-export-policy.js.map +1 -1
- package/dist/modules/n8n-packages/entities/credential/credential-importer.d.ts +7 -3
- package/dist/modules/n8n-packages/entities/credential/credential-importer.js +95 -5
- package/dist/modules/n8n-packages/entities/credential/credential-importer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/credential/credential-missing-mode.d.ts +3 -1
- package/dist/modules/n8n-packages/entities/credential/credential-missing-mode.js +14 -4
- package/dist/modules/n8n-packages/entities/credential/credential-missing-mode.js.map +1 -1
- package/dist/modules/n8n-packages/entities/credential/credential.exporter.js +13 -2
- package/dist/modules/n8n-packages/entities/credential/credential.exporter.js.map +1 -1
- package/dist/modules/n8n-packages/entities/credential/credential.serializer.d.ts +2 -1
- package/dist/modules/n8n-packages/entities/credential/credential.serializer.js +2 -1
- package/dist/modules/n8n-packages/entities/credential/credential.serializer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/credential/credential.types.d.ts +39 -3
- package/dist/modules/n8n-packages/entities/credential/credential.types.js.map +1 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow-publishing-policy.types.d.ts +1 -1
- package/dist/modules/n8n-packages/n8n-packages.service.js +2 -1
- package/dist/modules/n8n-packages/n8n-packages.service.js.map +1 -1
- package/dist/modules/n8n-packages/n8n-packages.types.d.ts +16 -2
- package/dist/modules/n8n-packages/n8n-packages.types.js +6 -1
- package/dist/modules/n8n-packages/n8n-packages.types.js.map +1 -1
- package/dist/modules/n8n-packages/spec/serialized/agent.schema.d.ts +133 -164
- package/dist/modules/n8n-packages/spec/serialized/credential.schema.d.ts +3 -0
- package/dist/modules/n8n-packages/spec/serialized/credential.schema.js +1 -0
- package/dist/modules/n8n-packages/spec/serialized/credential.schema.js.map +1 -1
- package/dist/modules/oauth-jwe/oauth-jwe-decrypt.service.d.ts +1 -1
- package/dist/modules/oauth-jwe/oauth-jwe-decrypt.service.js.map +1 -1
- package/dist/modules/oauth-jwe/oauth-jwe-jwks.provider.d.ts +1 -1
- package/dist/modules/oauth-jwe/oauth-jwe.module.d.ts +1 -1
- package/dist/modules/oauth-jwe/oauth-jwe.module.js +4 -5
- package/dist/modules/oauth-jwe/oauth-jwe.module.js.map +1 -1
- package/dist/modules/oauth-jwe/oauth-jwe.schemas.js +3 -3
- package/dist/modules/oauth-jwe/oauth-jwe.schemas.js.map +1 -1
- package/dist/modules/oauth-server/database/repositories/oauth-access-token.repository.d.ts +1 -0
- package/dist/modules/oauth-server/database/repositories/oauth-access-token.repository.js +3 -0
- package/dist/modules/oauth-server/database/repositories/oauth-access-token.repository.js.map +1 -1
- package/dist/modules/oauth-server/dto/approve-consent-request.dto.d.ts +3 -1
- package/dist/modules/oauth-server/dto/approve-consent-request.dto.js +8 -1
- package/dist/modules/oauth-server/dto/approve-consent-request.dto.js.map +1 -1
- package/dist/modules/oauth-server/oauth-consent.controller.d.ts +5 -1
- package/dist/modules/oauth-server/oauth-consent.controller.js +15 -14
- package/dist/modules/oauth-server/oauth-consent.controller.js.map +1 -1
- package/dist/modules/oauth-server/oauth-consent.service.d.ts +1 -1
- package/dist/modules/oauth-server/oauth-consent.service.js +2 -2
- package/dist/modules/oauth-server/oauth-consent.service.js.map +1 -1
- package/dist/modules/oauth-server/oauth-flow.service.d.ts +23 -9
- package/dist/modules/oauth-server/oauth-flow.service.js +279 -43
- package/dist/modules/oauth-server/oauth-flow.service.js.map +1 -1
- package/dist/modules/oauth-server/oauth-local-authorization-server.d.ts +5 -2
- package/dist/modules/oauth-server/oauth-local-authorization-server.js +8 -3
- package/dist/modules/oauth-server/oauth-local-authorization-server.js.map +1 -1
- package/dist/modules/oauth-server/oauth-server.module.js +6 -6
- package/dist/modules/oauth-server/oauth-server.module.js.map +1 -1
- package/dist/modules/oauth-server/oauth-server.service.d.ts +1 -1
- package/dist/modules/oauth-server/oauth-server.service.js +8 -6
- package/dist/modules/oauth-server/oauth-server.service.js.map +1 -1
- package/dist/modules/oauth-server/oauth-session.service.d.ts +13 -7
- package/dist/modules/oauth-server/oauth-session.service.js +48 -13
- package/dist/modules/oauth-server/oauth-session.service.js.map +1 -1
- package/dist/modules/oauth-server/oauth-signing-jwks.provider.d.ts +1 -1
- package/dist/modules/oauth-server/oauth-signing-key.schemas.js +2 -2
- package/dist/modules/oauth-server/oauth-signing-key.schemas.js.map +1 -1
- package/dist/modules/oauth-server/oauth-signing-key.service.d.ts +1 -1
- package/dist/modules/oauth-server/oauth-signing-key.service.js +2 -2
- package/dist/modules/oauth-server/oauth-signing-key.service.js.map +1 -1
- package/dist/modules/oauth-server/oauth-token.service.d.ts +2 -4
- package/dist/modules/oauth-server/oauth-token.service.js +2 -3
- package/dist/modules/oauth-server/oauth-token.service.js.map +1 -1
- package/dist/modules/oauth-server/oauth.controller.d.ts +4 -2
- package/dist/modules/oauth-server/oauth.controller.js +41 -8
- 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 +14 -0
- package/dist/modules/oauth-server/oauth.helpers.js.map +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/chat-trigger-resource.base.d.ts +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/chat-trigger-resource.base.js +1 -0
- package/dist/modules/oauth-server/protected-resource-resolvers/chat-trigger-resource.base.js.map +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-resource.resolver.d.ts +7 -5
- package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-resource.resolver.js +1 -0
- package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-resource.resolver.js.map +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-test-resource.resolver.d.ts +7 -5
- package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-test-resource.resolver.js +1 -0
- package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-test-resource.resolver.js.map +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/index.js +9 -9
- package/dist/modules/oauth-server/protected-resource-resolvers/index.js.map +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/utils.d.ts +1 -0
- package/dist/modules/oauth-server/protected-resource-resolvers/utils.js +8 -0
- package/dist/modules/oauth-server/protected-resource-resolvers/utils.js.map +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/workflow-mcp-test-trigger-resource.resolver.d.ts +3 -3
- package/dist/modules/oauth-server/protected-resource-resolvers/workflow-mcp-test-trigger-resource.resolver.js.map +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/workflow-mcp-trigger-resource.resolver.d.ts +3 -3
- package/dist/modules/oauth-server/protected-resource-resolvers/workflow-mcp-trigger-resource.resolver.js.map +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/workflow-webhook-test-trigger-resource.resolver.d.ts +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/workflow-webhook-test-trigger-resource.resolver.js +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/workflow-webhook-test-trigger-resource.resolver.js.map +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/workflow-webhook-trigger-resource.resolver.d.ts +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/workflow-webhook-trigger-resource.resolver.js.map +1 -1
- package/dist/modules/oauth-server/resource-gate.d.ts +1 -1
- package/dist/modules/oauth-server/resource-gate.js.map +1 -1
- package/dist/modules/oauth-server/resource-identity.d.ts +1 -1
- package/dist/modules/promotions.ee/constants.d.ts +1 -1
- package/dist/modules/promotions.ee/constants.js +1 -1
- package/dist/modules/promotions.ee/constants.js.map +1 -1
- package/dist/modules/promotions.ee/database/entities/promotion-connection.entity.d.ts +3 -2
- package/dist/modules/promotions.ee/database/entities/promotion-connection.entity.js.map +1 -1
- package/dist/modules/promotions.ee/database/entities/promotion-review.entity.d.ts +21 -0
- package/dist/modules/promotions.ee/database/entities/promotion-review.entity.js +95 -0
- package/dist/modules/promotions.ee/database/entities/promotion-review.entity.js.map +1 -0
- package/dist/modules/promotions.ee/database/entities/promotion-run.entity.d.ts +18 -0
- package/dist/modules/promotions.ee/database/entities/promotion-run.entity.js +82 -0
- package/dist/modules/promotions.ee/database/entities/promotion-run.entity.js.map +1 -0
- package/dist/modules/promotions.ee/database/repositories/promotion-connection.repository.d.ts +2 -1
- package/dist/modules/promotions.ee/database/repositories/promotion-connection.repository.js +6 -2
- package/dist/modules/promotions.ee/database/repositories/promotion-connection.repository.js.map +1 -1
- package/dist/modules/promotions.ee/database/repositories/promotion-review.repository.d.ts +18 -0
- package/dist/modules/promotions.ee/database/repositories/promotion-review.repository.js +61 -0
- package/dist/modules/promotions.ee/database/repositories/promotion-review.repository.js.map +1 -0
- package/dist/modules/promotions.ee/database/repositories/promotion-run.repository.d.ts +9 -0
- package/dist/modules/promotions.ee/database/repositories/promotion-run.repository.js +33 -0
- package/dist/modules/promotions.ee/database/repositories/promotion-run.repository.js.map +1 -0
- package/dist/modules/promotions.ee/git-hosts/git-host-target.d.ts +30 -0
- package/dist/modules/promotions.ee/git-hosts/git-host-target.js +97 -0
- package/dist/modules/promotions.ee/git-hosts/git-host-target.js.map +1 -0
- package/dist/modules/promotions.ee/git-hosts/git-host.types.d.ts +12 -0
- package/dist/modules/promotions.ee/git-hosts/gitlab-host.client.d.ts +4 -1
- package/dist/modules/promotions.ee/git-hosts/gitlab-host.client.js +73 -6
- package/dist/modules/promotions.ee/git-hosts/gitlab-host.client.js.map +1 -1
- package/dist/modules/promotions.ee/promotion-binding-preflight.service.d.ts +1 -0
- package/dist/modules/promotions.ee/promotion-binding-preflight.service.js +12 -0
- package/dist/modules/promotions.ee/promotion-binding-preflight.service.js.map +1 -1
- package/dist/modules/promotions.ee/promotion-config.resolver.js +3 -5
- package/dist/modules/promotions.ee/promotion-config.resolver.js.map +1 -1
- package/dist/modules/promotions.ee/promotion-connections.service.d.ts +1 -0
- package/dist/modules/promotions.ee/promotion-connections.service.js +39 -12
- package/dist/modules/promotions.ee/promotion-connections.service.js.map +1 -1
- package/dist/modules/promotions.ee/promotion-providers.service.d.ts +13 -0
- package/dist/modules/promotions.ee/promotion-providers.service.js +28 -0
- package/dist/modules/promotions.ee/promotion-providers.service.js.map +1 -1
- package/dist/modules/promotions.ee/promotions-git.service.d.ts +3 -0
- package/dist/modules/promotions.ee/promotions-git.service.js +30 -4
- package/dist/modules/promotions.ee/promotions-git.service.js.map +1 -1
- package/dist/modules/promotions.ee/promotions.module.d.ts +1 -1
- package/dist/modules/promotions.ee/promotions.module.js +10 -1
- package/dist/modules/promotions.ee/promotions.module.js.map +1 -1
- package/dist/modules/promotions.ee/promotions.service.d.ts +0 -1
- package/dist/modules/promotions.ee/promotions.service.js +45 -19
- package/dist/modules/promotions.ee/promotions.service.js.map +1 -1
- package/dist/modules/provisioning.ee/provisioning.module.js +1 -1
- package/dist/modules/provisioning.ee/provisioning.module.js.map +1 -1
- package/dist/modules/provisioning.ee/provisioning.service.ee.d.ts +1 -0
- package/dist/modules/provisioning.ee/provisioning.service.ee.js +14 -2
- package/dist/modules/provisioning.ee/provisioning.service.ee.js.map +1 -1
- package/dist/modules/provisioning.ee/role-mapping-provider.ee.d.ts +1 -1
- package/dist/modules/provisioning.ee/role-resolver-types.d.ts +1 -1
- package/dist/modules/redaction/dynamic-credentials-context-hook.d.ts +1 -1
- package/dist/modules/redaction/dynamic-credentials-context-hook.js +2 -2
- package/dist/modules/redaction/dynamic-credentials-context-hook.js.map +1 -1
- package/dist/modules/redaction/executions/execution-redaction.interfaces.d.ts +3 -1
- package/dist/modules/redaction/executions/execution-redaction.service.d.ts +4 -2
- package/dist/modules/redaction/executions/execution-redaction.service.js +35 -11
- package/dist/modules/redaction/executions/execution-redaction.service.js.map +1 -1
- package/dist/modules/redaction/executions/strategies/full-item-redaction.strategy.d.ts +1 -1
- package/dist/modules/redaction/executions/strategies/full-item-redaction.strategy.js +6 -1
- package/dist/modules/redaction/executions/strategies/full-item-redaction.strategy.js.map +1 -1
- package/dist/modules/redaction/executions/strategies/node-defined-field-redaction.strategy.d.ts +1 -1
- package/dist/modules/redaction/redaction.module.js +2 -2
- package/dist/modules/redaction/redaction.module.js.map +1 -1
- package/dist/modules/runtime-credentials/runtime-credentials-access.service.d.ts +1 -1
- package/dist/modules/runtime-credentials/runtime-credentials.module.js +2 -2
- package/dist/modules/runtime-credentials/runtime-credentials.module.js.map +1 -1
- package/dist/modules/scim/database/scim-api-key.repository.js +2 -2
- package/dist/modules/scim/database/scim-api-key.repository.js.map +1 -1
- package/dist/modules/scim/database/scim-user.repository.d.ts +23 -0
- package/dist/modules/scim/database/scim-user.repository.js +53 -0
- package/dist/modules/scim/database/scim-user.repository.js.map +1 -0
- package/dist/modules/scim/scim-body-parser.d.ts +2 -0
- package/dist/modules/scim/scim-body-parser.js +19 -0
- package/dist/modules/scim/scim-body-parser.js.map +1 -0
- package/dist/modules/scim/scim-discovery.controller.js +84 -7
- package/dist/modules/scim/scim-discovery.controller.js.map +1 -1
- package/dist/modules/scim/scim-route.js +2 -1
- package/dist/modules/scim/scim-route.js.map +1 -1
- package/dist/modules/scim/scim-token.service.d.ts +1 -2
- package/dist/modules/scim/scim-token.service.js +1 -2
- package/dist/modules/scim/scim-token.service.js.map +1 -1
- package/dist/modules/scim/scim.controller.d.ts +19 -0
- package/dist/modules/scim/scim.controller.js +163 -0
- package/dist/modules/scim/scim.controller.js.map +1 -0
- package/dist/modules/scim/scim.errors.d.ts +13 -0
- package/dist/modules/scim/scim.errors.js +29 -0
- package/dist/modules/scim/scim.errors.js.map +1 -0
- package/dist/modules/scim/scim.module.js +1 -0
- package/dist/modules/scim/scim.module.js.map +1 -1
- package/dist/modules/scim/scim.service.d.ts +38 -0
- package/dist/modules/scim/scim.service.js +329 -0
- package/dist/modules/scim/scim.service.js.map +1 -0
- package/dist/modules/source-control.ee/source-control-git.service.ee.js +2 -0
- package/dist/modules/source-control.ee/source-control-git.service.ee.js.map +1 -1
- package/dist/modules/source-control.ee/source-control-helper.ee.js +6 -51
- package/dist/modules/source-control.ee/source-control-helper.ee.js.map +1 -1
- package/dist/modules/source-control.ee/source-control-import.service.ee.d.ts +3 -2
- package/dist/modules/source-control.ee/source-control-import.service.ee.js +59 -13
- package/dist/modules/source-control.ee/source-control-import.service.ee.js.map +1 -1
- package/dist/modules/source-control.ee/source-control.controller.ee.d.ts +4 -0
- package/dist/modules/source-control.ee/source-control.service.ee.d.ts +2 -0
- package/dist/modules/source-control.ee/source-control.service.ee.js +6 -1
- package/dist/modules/source-control.ee/source-control.service.ee.js.map +1 -1
- package/dist/modules/sso-oidc/oidc.service.ee.d.ts +1 -2
- package/dist/modules/sso-oidc/oidc.service.ee.js +1 -2
- package/dist/modules/sso-oidc/oidc.service.ee.js.map +1 -1
- package/dist/modules/token-exchange/services/jti-cleanup.task.d.ts +2 -3
- package/dist/modules/token-exchange/services/jti-cleanup.task.js +1 -2
- package/dist/modules/token-exchange/services/jti-cleanup.task.js.map +1 -1
- package/dist/modules/token-exchange/services/scoped-jwt.strategy.d.ts +2 -2
- package/dist/modules/token-exchange/services/scoped-jwt.strategy.js +2 -2
- package/dist/modules/token-exchange/services/scoped-jwt.strategy.js.map +1 -1
- package/dist/modules/token-exchange/services/token-exchange.service.d.ts +1 -1
- package/dist/modules/token-exchange/services/token-exchange.service.js +2 -2
- package/dist/modules/token-exchange/services/token-exchange.service.js.map +1 -1
- package/dist/modules/token-exchange/services/trusted-key-refresh.task.d.ts +2 -3
- package/dist/modules/token-exchange/services/trusted-key-refresh.task.js +1 -2
- package/dist/modules/token-exchange/services/trusted-key-refresh.task.js.map +1 -1
- package/dist/modules/token-exchange/token-exchange.module.js +1 -1
- package/dist/modules/token-exchange/token-exchange.module.js.map +1 -1
- package/dist/modules/type-availability-policies/credential-type-policy-instance.controller.d.ts +5 -7
- package/dist/modules/type-availability-policies/credential-type-policy-instance.controller.js +13 -1
- package/dist/modules/type-availability-policies/credential-type-policy-instance.controller.js.map +1 -1
- package/dist/modules/type-availability-policies/credential-type-policy-project.controller.d.ts +1 -1
- package/dist/modules/type-availability-policies/credential-type-policy.check.js +3 -14
- package/dist/modules/type-availability-policies/credential-type-policy.check.js.map +1 -1
- package/dist/modules/type-availability-policies/node-type-policy.check.js +2 -13
- package/dist/modules/type-availability-policies/node-type-policy.check.js.map +1 -1
- package/dist/modules/type-availability-policies/package-resolver.d.ts +2 -0
- package/dist/modules/type-availability-policies/package-resolver.js +17 -0
- package/dist/modules/type-availability-policies/package-resolver.js.map +1 -1
- package/dist/modules/type-availability-policies/policy-rule-lint.d.ts +14 -0
- package/dist/modules/type-availability-policies/policy-rule-lint.js +19 -0
- package/dist/modules/type-availability-policies/policy-rule-lint.js.map +1 -0
- package/dist/modules/type-availability-policies/policy-shadow-lint.d.ts +1 -0
- package/dist/modules/type-availability-policies/policy-shadow-lint.js +1 -1
- package/dist/modules/type-availability-policies/policy-shadow-lint.js.map +1 -1
- package/dist/modules/type-availability-policies/restricted-node-types.provider.d.ts +1 -1
- package/dist/modules/type-availability-policies/type-availability-policies.module.js +2 -2
- package/dist/modules/type-availability-policies/type-availability-policies.module.js.map +1 -1
- package/dist/modules/type-availability-policies/type-availability-policy-instance.controller.d.ts +5 -7
- package/dist/modules/type-availability-policies/type-availability-policy-instance.controller.js +13 -1
- package/dist/modules/type-availability-policies/type-availability-policy-instance.controller.js.map +1 -1
- package/dist/modules/type-availability-policies/type-availability-policy-project.controller.d.ts +1 -1
- package/dist/modules/type-availability-policies/type-availability-policy.service.d.ts +10 -7
- package/dist/modules/type-availability-policies/type-availability-policy.service.js +39 -36
- package/dist/modules/type-availability-policies/type-availability-policy.service.js.map +1 -1
- package/dist/modules/type-availability-policies/type-violation.d.ts +10 -0
- package/dist/modules/type-availability-policies/type-violation.js +29 -0
- package/dist/modules/type-availability-policies/type-violation.js.map +1 -0
- package/dist/modules/workflow-reviews.ee/workflow-review-inbox.service.d.ts +5 -5
- package/dist/modules/workflow-reviews.ee/workflow-review-inbox.service.js +12 -32
- package/dist/modules/workflow-reviews.ee/workflow-review-inbox.service.js.map +1 -1
- package/dist/modules/workflow-reviews.ee/workflow-review-lifecycle.service.d.ts +1 -2
- package/dist/modules/workflow-reviews.ee/workflow-review-lifecycle.service.js.map +1 -1
- package/dist/modules/workflow-reviews.ee/workflow-review-publish-guard.service.d.ts +1 -1
- package/dist/modules/workflow-reviews.ee/workflow-review-requests.controller.d.ts +1 -3
- package/dist/modules/workflow-reviews.ee/workflow-review-requests.controller.js +0 -21
- package/dist/modules/workflow-reviews.ee/workflow-review-requests.controller.js.map +1 -1
- package/dist/modules/workflow-reviews.ee/workflow-reviews.module.js +12 -4
- package/dist/modules/workflow-reviews.ee/workflow-reviews.module.js.map +1 -1
- package/dist/node-execution/ephemeral-node-executor.d.ts +2 -0
- package/dist/node-execution/ephemeral-node-executor.js +21 -6
- package/dist/node-execution/ephemeral-node-executor.js.map +1 -1
- package/dist/oauth/oauth.service.d.ts +3 -1
- package/dist/oauth/oauth.service.js +30 -3
- package/dist/oauth/oauth.service.js.map +1 -1
- package/dist/output-schema-parameter-defaults.d.ts +7 -0
- package/dist/output-schema-parameter-defaults.js +23 -0
- package/dist/output-schema-parameter-defaults.js.map +1 -0
- package/dist/policy/policy-violation.error.d.ts +1 -0
- package/dist/policy/policy-violation.error.js +12 -0
- package/dist/policy/policy-violation.error.js.map +1 -1
- package/dist/public-api/idempotency-key-cleanup.task.d.ts +2 -3
- package/dist/public-api/idempotency-key-cleanup.task.js +6 -6
- package/dist/public-api/idempotency-key-cleanup.task.js.map +1 -1
- package/dist/public-api/idempotency-key.service.d.ts +9 -1
- package/dist/public-api/idempotency-key.service.js +41 -0
- package/dist/public-api/idempotency-key.service.js.map +1 -1
- package/dist/public-api/index.js +14 -138
- package/dist/public-api/index.js.map +1 -1
- package/dist/public-api/media-types/request-body/multipart-parser.js.map +1 -1
- package/dist/public-api/public-api-controller.registry.d.ts +12 -2
- package/dist/public-api/public-api-controller.registry.js +98 -12
- package/dist/public-api/public-api-controller.registry.js.map +1 -1
- package/dist/public-api/public-api-rate-limit.service.d.ts +17 -0
- package/dist/public-api/public-api-rate-limit.service.js +127 -0
- package/dist/public-api/public-api-rate-limit.service.js.map +1 -0
- package/dist/public-api/public-api-route-resolver.d.ts +0 -3
- package/dist/public-api/public-api-route-resolver.js +0 -19
- package/dist/public-api/public-api-route-resolver.js.map +1 -1
- package/dist/public-api/types.d.ts +1 -66
- package/dist/public-api/v1/controllers/credential-type-policies.public.controller.d.ts +1 -0
- package/dist/public-api/v1/controllers/credential-type-policies.public.controller.js +54 -29
- package/dist/public-api/v1/controllers/credential-type-policies.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/credentials.public.controller.d.ts +3 -1
- package/dist/public-api/v1/controllers/credentials.public.controller.js +22 -3
- package/dist/public-api/v1/controllers/credentials.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/executions.public.controller.d.ts +1 -2
- package/dist/public-api/v1/controllers/executions.public.controller.js +3 -5
- package/dist/public-api/v1/controllers/executions.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/log-streaming.mapper.d.ts +3 -3
- package/dist/public-api/v1/controllers/n8n-packages.public.controller.d.ts +3 -1
- package/dist/public-api/v1/controllers/n8n-packages.public.controller.js +95 -2
- package/dist/public-api/v1/controllers/n8n-packages.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/node-type-policies.public.controller.d.ts +1 -0
- package/dist/public-api/v1/controllers/node-type-policies.public.controller.js +54 -29
- package/dist/public-api/v1/controllers/node-type-policies.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/openapi/n8n-packages.openapi.d.ts +5 -1
- package/dist/public-api/v1/controllers/openapi/n8n-packages.openapi.js +29 -2
- package/dist/public-api/v1/controllers/openapi/n8n-packages.openapi.js.map +1 -1
- package/dist/public-api/v1/controllers/promotions.public.controller.d.ts +4 -1
- package/dist/public-api/v1/controllers/promotions.public.controller.js +70 -4
- package/dist/public-api/v1/controllers/promotions.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/source-control.public.controller.d.ts +2 -2
- package/dist/public-api/v1/controllers/source-control.public.controller.js +3 -2
- package/dist/public-api/v1/controllers/source-control.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/workflows.public.controller.d.ts +2 -2
- package/dist/public-api/v1/controllers/workflows.public.controller.js +13 -2
- package/dist/public-api/v1/controllers/workflows.public.controller.js.map +1 -1
- package/dist/public-api/v1/handlers/discover/discover.service.js +7 -86
- package/dist/public-api/v1/handlers/discover/discover.service.js.map +1 -1
- package/dist/public-api/v1/openapi-gen/decorator-routes.js +15 -5
- package/dist/public-api/v1/openapi-gen/decorator-routes.js.map +1 -1
- package/dist/public-api/v1/openapi-gen/generate.d.ts +1 -1
- package/dist/public-api/v1/openapi-gen/generate.js +28 -47
- package/dist/public-api/v1/openapi-gen/generate.js.map +1 -1
- package/dist/public-api/v1/openapi.yml +3915 -3646
- package/dist/public-api/v1/public-api-error-response.d.ts +1 -2
- package/dist/public-api/v1/public-api-error-response.js +46 -2
- package/dist/public-api/v1/public-api-error-response.js.map +1 -1
- package/dist/requests.d.ts +6 -1
- package/dist/scaling/job-outcome-tracker.d.ts +7 -6
- package/dist/scaling/job-outcome-tracker.js +59 -38
- package/dist/scaling/job-outcome-tracker.js.map +1 -1
- package/dist/scaling/job-processor.d.ts +3 -0
- package/dist/scaling/job-processor.js +39 -0
- package/dist/scaling/job-processor.js.map +1 -1
- package/dist/scaling/pubsub/pubsub.event-map.d.ts +1 -0
- package/dist/scaling/scaling.service.d.ts +1 -1
- package/dist/scaling/scaling.service.js +8 -5
- package/dist/scaling/scaling.service.js.map +1 -1
- package/dist/scaling/scaling.types.d.ts +1 -0
- package/dist/scaling/worker-status.service.ee.js +2 -2
- package/dist/scaling/worker-status.service.ee.js.map +1 -1
- package/dist/scheduling/durable-scheduler.js +3 -4
- package/dist/scheduling/durable-scheduler.js.map +1 -1
- package/dist/scheduling/poll-trigger-node/durable-poller-chain.js.map +1 -1
- package/dist/scheduling/poll-trigger-node/poll-job-provider.js.map +1 -1
- package/dist/scheduling/schedule-trigger-node/schedule-trigger-job-registrar.d.ts +0 -1
- package/dist/scheduling/schedule-trigger-node/schedule-trigger-job-registrar.js +1 -3
- package/dist/scheduling/schedule-trigger-node/schedule-trigger-job-registrar.js.map +1 -1
- package/dist/scheduling/system-tasks/in-memory-system-task-runner.d.ts +1 -0
- package/dist/scheduling/system-tasks/in-memory-system-task-runner.js +2 -2
- package/dist/scheduling/system-tasks/in-memory-system-task-runner.js.map +1 -1
- package/dist/scheduling/system-tasks/system-task-job-registrar.d.ts +9 -3
- package/dist/scheduling/system-tasks/system-task-job-registrar.js +16 -5
- package/dist/scheduling/system-tasks/system-task-job-registrar.js.map +1 -1
- package/dist/scheduling/system-tasks/system-task-run-observer.js +3 -3
- package/dist/scheduling/system-tasks/system-task-run-observer.js.map +1 -1
- package/dist/scheduling/system-tasks/system-task-runner.d.ts +1 -1
- package/dist/scheduling/system-tasks/system-task-runner.js +21 -21
- package/dist/scheduling/system-tasks/system-task-runner.js.map +1 -1
- package/dist/server.js +2 -2
- package/dist/server.js.map +1 -1
- package/dist/services/active-workflows.service.d.ts +6 -1
- package/dist/services/active-workflows.service.js +22 -8
- package/dist/services/active-workflows.service.js.map +1 -1
- package/dist/services/ai-workflow-builder.service.d.ts +1 -1
- package/dist/services/ai-workflow-builder.service.js +2 -2
- package/dist/services/ai-workflow-builder.service.js.map +1 -1
- package/dist/services/ai.service.d.ts +0 -1
- package/dist/services/ai.service.js +0 -4
- package/dist/services/ai.service.js.map +1 -1
- package/dist/services/api-key-auth.strategy.d.ts +2 -2
- package/dist/services/api-key-auth.strategy.js +4 -4
- package/dist/services/api-key-auth.strategy.js.map +1 -1
- package/dist/services/frontend.service.d.ts +3 -1
- package/dist/services/frontend.service.js +7 -2
- package/dist/services/frontend.service.js.map +1 -1
- package/dist/services/ownership-transfer/ownership-transfer.manifest.json +5 -0
- package/dist/services/pruning/activity-pruning.task.d.ts +2 -3
- package/dist/services/pruning/activity-pruning.task.js +8 -6
- package/dist/services/pruning/activity-pruning.task.js.map +1 -1
- package/dist/services/pruning/execution-pruning-hard-delete.task.d.ts +2 -5
- package/dist/services/pruning/execution-pruning-hard-delete.task.js +9 -4
- package/dist/services/pruning/execution-pruning-hard-delete.task.js.map +1 -1
- package/dist/services/pruning/execution-pruning-soft-delete.task.d.ts +2 -4
- package/dist/services/pruning/execution-pruning-soft-delete.task.js +6 -3
- package/dist/services/pruning/execution-pruning-soft-delete.task.js.map +1 -1
- package/dist/services/pruning/workflow-history-compaction-optimize.task.d.ts +2 -4
- package/dist/services/pruning/workflow-history-compaction-optimize.task.js +6 -3
- package/dist/services/pruning/workflow-history-compaction-optimize.task.js.map +1 -1
- package/dist/services/pruning/workflow-history-compaction-trim.task.d.ts +2 -5
- package/dist/services/pruning/workflow-history-compaction-trim.task.js +7 -4
- package/dist/services/pruning/workflow-history-compaction-trim.task.js.map +1 -1
- package/dist/services/pruning/workflow-history-compaction.service.d.ts +2 -10
- package/dist/services/pruning/workflow-history-compaction.service.js +2 -46
- package/dist/services/pruning/workflow-history-compaction.service.js.map +1 -1
- package/dist/services/pruning/workflow-history-pruning.task.d.ts +2 -4
- package/dist/services/pruning/workflow-history-pruning.task.js +9 -7
- package/dist/services/pruning/workflow-history-pruning.task.js.map +1 -1
- package/dist/services/public-api-key.service.d.ts +1 -1
- package/dist/services/public-api-key.service.js +2 -2
- package/dist/services/public-api-key.service.js.map +1 -1
- package/dist/services/rate-limit.service.d.ts +5 -0
- package/dist/services/rate-limit.service.js +14 -0
- package/dist/services/rate-limit.service.js.map +1 -1
- package/dist/services/session-cookie-auth.strategy.d.ts +1 -1
- package/dist/services/user.service.d.ts +1 -2
- package/dist/services/user.service.js +1 -2
- package/dist/services/user.service.js.map +1 -1
- package/dist/services/workflow-statistics-rollup.task.d.ts +4 -5
- package/dist/services/workflow-statistics-rollup.task.js +9 -10
- package/dist/services/workflow-statistics-rollup.task.js.map +1 -1
- package/dist/services/workflow-statistics.service.d.ts +0 -1
- package/dist/services/workflow-statistics.service.js +0 -5
- package/dist/services/workflow-statistics.service.js.map +1 -1
- package/dist/telemetry/telemetry-buffer-flush.task.d.ts +2 -3
- package/dist/telemetry/telemetry-buffer-flush.task.js +1 -5
- package/dist/telemetry/telemetry-buffer-flush.task.js.map +1 -1
- package/dist/telemetry/telemetry-pulse.task.d.ts +2 -5
- package/dist/telemetry/telemetry-pulse.task.js +7 -4
- package/dist/telemetry/telemetry-pulse.task.js.map +1 -1
- package/dist/user-management/email/node-mailer.js.map +1 -1
- package/dist/user-management/email/templates/migration-findings.handlebars +212 -0
- package/dist/user-management/email/user-management-mailer.d.ts +13 -1
- package/dist/user-management/email/user-management-mailer.js +22 -0
- package/dist/user-management/email/user-management-mailer.js.map +1 -1
- package/dist/utils/container-limits.d.ts +9 -0
- package/dist/utils/container-limits.js +59 -0
- package/dist/utils/container-limits.js.map +1 -0
- package/dist/utils/detect-runtime.d.ts +4 -0
- package/dist/utils/detect-runtime.js +27 -0
- package/dist/utils/detect-runtime.js.map +1 -0
- package/dist/utils/object-to-error.js +1 -1
- package/dist/utils/object-to-error.js.map +1 -1
- package/dist/utils.js +8 -3
- package/dist/utils.js.map +1 -1
- package/dist/wait-tracker.js +8 -0
- package/dist/wait-tracker.js.map +1 -1
- package/dist/webhooks/hitl-interaction-webhooks.js +4 -1
- package/dist/webhooks/hitl-interaction-webhooks.js.map +1 -1
- package/dist/webhooks/live-webhooks.d.ts +1 -1
- package/dist/webhooks/live-webhooks.js +2 -2
- package/dist/webhooks/live-webhooks.js.map +1 -1
- package/dist/webhooks/test-webhook-registrations.service.d.ts +1 -1
- package/dist/webhooks/waiting-forms.js +3 -2
- package/dist/webhooks/waiting-forms.js.map +1 -1
- package/dist/webhooks/waiting-webhooks.js +3 -0
- package/dist/webhooks/waiting-webhooks.js.map +1 -1
- package/dist/webhooks/webhook-helpers.js +43 -27
- package/dist/webhooks/webhook-helpers.js.map +1 -1
- package/dist/webhooks/webhook-request-sanitizer.js +4 -2
- package/dist/webhooks/webhook-request-sanitizer.js.map +1 -1
- package/dist/webhooks/webhook.types.d.ts +2 -0
- package/dist/workflow-execute-additional-data.js +12 -9
- package/dist/workflow-execute-additional-data.js.map +1 -1
- package/dist/workflow-helpers.js +19 -3
- package/dist/workflow-helpers.js.map +1 -1
- package/dist/workflow-runner.js +6 -5
- package/dist/workflow-runner.js.map +1 -1
- package/dist/workflows/error-workflow-validation.service.d.ts +1 -1
- package/dist/workflows/error-workflow-validation.service.js +2 -2
- package/dist/workflows/error-workflow-validation.service.js.map +1 -1
- package/dist/workflows/publication/format-node-failures.d.ts +4 -0
- package/dist/workflows/publication/format-node-failures.js +6 -0
- package/dist/workflows/publication/format-node-failures.js.map +1 -1
- package/dist/workflows/publication/publication-status-reporter.d.ts +1 -1
- package/dist/workflows/publication/publication-status-reporter.js +9 -6
- package/dist/workflows/publication/publication-status-reporter.js.map +1 -1
- package/dist/workflows/publication/workflow-publication-applier.d.ts +1 -1
- package/dist/workflows/publication/workflow-publication-applier.js +3 -4
- package/dist/workflows/publication/workflow-publication-applier.js.map +1 -1
- package/dist/workflows/publication/workflow-publication-outbox-cleanup.task.d.ts +2 -4
- package/dist/workflows/publication/workflow-publication-outbox-cleanup.task.js +7 -7
- package/dist/workflows/publication/workflow-publication-outbox-cleanup.task.js.map +1 -1
- package/dist/workflows/publication/workflow-publication-status.service.d.ts +2 -0
- package/dist/workflows/publication/workflow-publication-status.service.js +14 -0
- package/dist/workflows/publication/workflow-publication-status.service.js.map +1 -1
- package/dist/workflows/triggers/trigger-execution-context.factory.d.ts +1 -2
- package/dist/workflows/triggers/trigger-execution-context.factory.js +1 -2
- package/dist/workflows/triggers/trigger-execution-context.factory.js.map +1 -1
- package/dist/workflows/workflow-execution.service.d.ts +1 -2
- package/dist/workflows/workflow-execution.service.js +1 -2
- package/dist/workflows/workflow-execution.service.js.map +1 -1
- package/dist/workflows/workflow-finder.service.d.ts +1 -0
- package/dist/workflows/workflow-finder.service.js +2 -1
- package/dist/workflows/workflow-finder.service.js.map +1 -1
- package/dist/workflows/workflow.service.d.ts +1 -4
- package/dist/workflows/workflow.service.ee.d.ts +8 -5
- package/dist/workflows/workflow.service.ee.js +57 -12
- package/dist/workflows/workflow.service.ee.js.map +1 -1
- package/dist/workflows/workflow.service.js +1 -4
- package/dist/workflows/workflow.service.js.map +1 -1
- package/package.json +45 -44
- package/templates/admin-consent-callback.handlebars +19 -0
- package/dist/credentials/executing-user-identifier-proxy.d.ts +0 -7
- package/dist/credentials/executing-user-identifier-proxy.js +0 -25
- package/dist/credentials/executing-user-identifier-proxy.js.map +0 -1
- package/dist/credentials/executing-user-identifier.interface.d.ts +0 -4
- package/dist/credentials/executing-user-identifier.interface.js +0 -3
- package/dist/credentials/executing-user-identifier.interface.js.map +0 -1
- package/dist/executions/execution-redaction-proxy.service.d.ts +0 -7
- package/dist/executions/execution-redaction-proxy.service.js +0 -31
- package/dist/executions/execution-redaction-proxy.service.js.map +0 -1
- package/dist/executions/execution-redaction.d.ts +0 -21
- package/dist/executions/execution-redaction.js +0 -7
- package/dist/executions/execution-redaction.js.map +0 -1
- package/dist/jwks/jwks.registry.d.ts +0 -10
- package/dist/jwks/jwks.registry.js +0 -31
- package/dist/jwks/jwks.registry.js.map +0 -1
- package/dist/jwks/jwks.schemas.d.ts +0 -178
- package/dist/jwks/jwks.schemas.js +0 -31
- package/dist/jwks/jwks.schemas.js.map +0 -1
- package/dist/modules/agents/builder/agents-builder-prompts.d.ts +0 -16
- package/dist/modules/agents/builder/agents-builder-prompts.js +0 -425
- package/dist/modules/agents/builder/agents-builder-prompts.js.map +0 -1
- package/dist/modules/agents/builder/agents-builder.service.d.ts +0 -47
- package/dist/modules/agents/builder/agents-builder.service.js +0 -222
- package/dist/modules/agents/builder/agents-builder.service.js.map +0 -1
- package/dist/modules/agents/builder/errors.d.ts +0 -9
- package/dist/modules/agents/builder/errors.js +0 -22
- package/dist/modules/agents/builder/errors.js.map +0 -1
- package/dist/modules/agents/builder/prompts/llm-selection.prompt.d.ts +0 -1
- package/dist/modules/agents/builder/prompts/llm-selection.prompt.js +0 -62
- package/dist/modules/agents/builder/prompts/llm-selection.prompt.js.map +0 -1
- package/dist/modules/agents/builder/prompts/memory.prompt.d.ts +0 -1
- package/dist/modules/agents/builder/prompts/memory.prompt.js +0 -43
- package/dist/modules/agents/builder/prompts/memory.prompt.js.map +0 -1
- package/dist/modules/agents/builder/prompts/planner-todos.prompt.d.ts +0 -2
- package/dist/modules/agents/builder/prompts/planner-todos.prompt.js +0 -22
- package/dist/modules/agents/builder/prompts/planner-todos.prompt.js.map +0 -1
- package/dist/modules/agents/builder/prompts/tools.prompt.d.ts +0 -1
- package/dist/modules/agents/builder/prompts/tools.prompt.js +0 -102
- package/dist/modules/agents/builder/prompts/tools.prompt.js.map +0 -1
- package/dist/modules/agents/integrations/platforms/whatsapp-integration.js.map +0 -1
- package/dist/modules/breaking-changes/migrations/ai-transform-to-code.migration.d.ts +0 -2
- package/dist/modules/breaking-changes/migrations/ai-transform-to-code.migration.js.map +0 -1
- package/dist/modules/data-table/middleware/branch-write-access-middleware.d.ts +0 -2
- package/dist/modules/data-table/middleware/branch-write-access-middleware.js +0 -14
- package/dist/modules/data-table/middleware/branch-write-access-middleware.js.map +0 -1
- package/dist/modules/instance-ai/eval/api-docs.d.ts +0 -1
- package/dist/modules/instance-ai/eval/api-docs.js +0 -78
- package/dist/modules/instance-ai/eval/api-docs.js.map +0 -1
- package/dist/modules/instance-ai/instance-ai-credit-display.d.ts +0 -9
- package/dist/modules/instance-ai/instance-ai-credit-display.js +0 -15
- package/dist/modules/instance-ai/instance-ai-credit-display.js.map +0 -1
- package/dist/modules/quick-connect/handlers/firecrawl.handler.d.ts +0 -13
- package/dist/modules/quick-connect/handlers/firecrawl.handler.js +0 -50
- package/dist/modules/quick-connect/handlers/firecrawl.handler.js.map +0 -1
- package/dist/modules/quick-connect/handlers/handler.interface.d.ts +0 -9
- package/dist/modules/quick-connect/handlers/handler.interface.js.map +0 -1
- package/dist/modules/quick-connect/quick-connect.config.d.ts +0 -462
- package/dist/modules/quick-connect/quick-connect.config.js +0 -72
- package/dist/modules/quick-connect/quick-connect.config.js.map +0 -1
- package/dist/modules/quick-connect/quick-connect.controller.d.ts +0 -10
- package/dist/modules/quick-connect/quick-connect.controller.js.map +0 -1
- package/dist/modules/quick-connect/quick-connect.errors.d.ts +0 -5
- package/dist/modules/quick-connect/quick-connect.errors.js +0 -12
- package/dist/modules/quick-connect/quick-connect.errors.js.map +0 -1
- package/dist/modules/quick-connect/quick-connect.module.d.ts +0 -49
- package/dist/modules/quick-connect/quick-connect.module.js +0 -36
- package/dist/modules/quick-connect/quick-connect.module.js.map +0 -1
- package/dist/modules/quick-connect/quick-connect.service.d.ts +0 -13
- package/dist/modules/quick-connect/quick-connect.service.js +0 -61
- package/dist/modules/quick-connect/quick-connect.service.js.map +0 -1
- package/dist/modules/workflow-builder/index.d.ts +0 -3
- package/dist/modules/workflow-builder/index.js +0 -10
- package/dist/modules/workflow-builder/index.js.map +0 -1
- package/dist/modules/workflow-builder/workflow-builder-session.entity.d.ts +0 -26
- package/dist/modules/workflow-builder/workflow-builder-session.entity.js +0 -72
- package/dist/modules/workflow-builder/workflow-builder-session.entity.js.map +0 -1
- package/dist/modules/workflow-builder/workflow-builder-session.repository.d.ts +0 -10
- package/dist/modules/workflow-builder/workflow-builder-session.repository.js +0 -79
- package/dist/modules/workflow-builder/workflow-builder-session.repository.js.map +0 -1
- package/dist/modules/workflow-builder/workflow-builder.module.d.ts +0 -4
- package/dist/modules/workflow-builder/workflow-builder.module.js.map +0 -1
- package/dist/oauth/oauth-jwe-service.proxy.d.ts +0 -19
- package/dist/oauth/oauth-jwe-service.proxy.js +0 -32
- package/dist/oauth/oauth-jwe-service.proxy.js.map +0 -1
- package/dist/public-api/v1/handlers/decorator-routed.handler.d.ts +0 -2
- package/dist/public-api/v1/handlers/decorator-routed.handler.js +0 -10
- package/dist/public-api/v1/handlers/decorator-routed.handler.js.map +0 -1
- package/dist/public-api/v1/handlers/n8n-packages/n8n-packages.handler.d.ts +0 -9
- package/dist/public-api/v1/handlers/n8n-packages/n8n-packages.handler.js +0 -113
- package/dist/public-api/v1/handlers/n8n-packages/n8n-packages.handler.js.map +0 -1
- package/dist/public-api/v1/shared/handler.types.d.ts +0 -9
- package/dist/public-api/v1/shared/handler.types.js +0 -3
- package/dist/public-api/v1/shared/handler.types.js.map +0 -1
- package/dist/public-api/v1/shared/middlewares/global.middleware.d.ts +0 -31
- package/dist/public-api/v1/shared/middlewares/global.middleware.js +0 -126
- package/dist/public-api/v1/shared/middlewares/global.middleware.js.map +0 -1
- package/dist/public-api/v1/shared/public-api-scope-lookup.d.ts +0 -5
- package/dist/public-api/v1/shared/public-api-scope-lookup.js +0 -60
- package/dist/public-api/v1/shared/public-api-scope-lookup.js.map +0 -1
- package/dist/services/auth-strategy.registry.d.ts +0 -8
- package/dist/services/auth-strategy.registry.js +0 -44
- package/dist/services/auth-strategy.registry.js.map +0 -1
- package/dist/services/auth-strategy.types.d.ts +0 -10
- package/dist/services/auth-strategy.types.js +0 -3
- package/dist/services/auth-strategy.types.js.map +0 -1
- package/dist/services/instance-activation.service.d.ts +0 -10
- package/dist/services/instance-activation.service.js +0 -48
- package/dist/services/instance-activation.service.js.map +0 -1
- package/dist/services/instance-registry-proxy.service.d.ts +0 -11
- package/dist/services/instance-registry-proxy.service.js +0 -33
- package/dist/services/instance-registry-proxy.service.js.map +0 -1
- package/dist/services/jwt.service.d.ts +0 -24
- package/dist/services/jwt.service.js +0 -104
- package/dist/services/jwt.service.js.map +0 -1
- package/dist/services/oauth-token-verifier-proxy.service.d.ts +0 -33
- package/dist/services/oauth-token-verifier-proxy.service.js +0 -36
- package/dist/services/oauth-token-verifier-proxy.service.js.map +0 -1
- package/dist/services/oauth2-flow-proxy.service.d.ts +0 -13
- package/dist/services/oauth2-flow-proxy.service.js +0 -39
- package/dist/services/oauth2-flow-proxy.service.js.map +0 -1
- package/dist/services/protected-resource.registry.d.ts +0 -25
- package/dist/services/protected-resource.registry.js +0 -124
- package/dist/services/protected-resource.registry.js.map +0 -1
- package/dist/services/role-mapping-proxy.service.d.ts +0 -53
- package/dist/services/role-mapping-proxy.service.js +0 -26
- package/dist/services/role-mapping-proxy.service.js.map +0 -1
- package/dist/services/runtime-credential-proxy.service.d.ts +0 -9
- package/dist/services/runtime-credential-proxy.service.js +0 -29
- package/dist/services/runtime-credential-proxy.service.js.map +0 -1
- package/dist/services/token-purposes.d.ts +0 -21
- package/dist/services/token-purposes.js +0 -27
- package/dist/services/token-purposes.js.map +0 -1
- package/dist/workflows/restricted-node-types-provider-proxy.service.d.ts +0 -9
- package/dist/workflows/restricted-node-types-provider-proxy.service.js +0 -26
- package/dist/workflows/restricted-node-types-provider-proxy.service.js.map +0 -1
- package/dist/workflows/workflow-mutation-hooks-proxy.service.d.ts +0 -24
- package/dist/workflows/workflow-mutation-hooks-proxy.service.js +0 -38
- package/dist/workflows/workflow-mutation-hooks-proxy.service.js.map +0 -1
- package/dist/workflows/workflow-publish-guard-proxy.service.d.ts +0 -8
- package/dist/workflows/workflow-publish-guard-proxy.service.js +0 -26
- package/dist/workflows/workflow-publish-guard-proxy.service.js.map +0 -1
- package/dist/workflows/workflow-published-data.service.d.ts +0 -19
- package/dist/workflows/workflow-published-data.service.js +0 -70
- package/dist/workflows/workflow-published-data.service.js.map +0 -1
- /package/dist/modules/breaking-changes/migrations/{ai-transform-to-code.migration.js → node-removals/ai-transform-to-code.migration.js} +0 -0
package/dist/modules/breaking-changes/migrations/node-removals/html-extract-to-html.migration.js
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.htmlExtractToHtml = void 0;
|
|
4
|
+
const parameter_readers_1 = require("../parameter-readers");
|
|
5
|
+
const EMPTY_TEXT_NOTE = 'A value that returns "Text" now has no value, not an empty text, when its selector finds nothing or the element has no text. Check the nodes that read these values.';
|
|
6
|
+
function mayReturnText(extractionValues) {
|
|
7
|
+
const values = (0, parameter_readers_1.asParameters)(extractionValues)?.values;
|
|
8
|
+
if (!Array.isArray(values))
|
|
9
|
+
return false;
|
|
10
|
+
return values.some((value) => {
|
|
11
|
+
const { returnValue = 'text' } = (0, parameter_readers_1.asParameters)(value) ?? {};
|
|
12
|
+
return returnValue === 'text' || (0, parameter_readers_1.isExpression)(returnValue);
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
exports.htmlExtractToHtml = {
|
|
16
|
+
ruleId: 'html-extract-removed-v3',
|
|
17
|
+
migrate: (node) => {
|
|
18
|
+
const options = node.parameters.options === undefined ? {} : (0, parameter_readers_1.asParameters)(node.parameters.options);
|
|
19
|
+
if (!options) {
|
|
20
|
+
throw new Error('The options of this node are not in a supported format.');
|
|
21
|
+
}
|
|
22
|
+
if ((0, parameter_readers_1.isExpression)(options.trimValues)) {
|
|
23
|
+
throw new Error('"Trim Values" is an expression, so the node cannot be migrated automatically.');
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
node: {
|
|
27
|
+
type: 'n8n-nodes-base.html',
|
|
28
|
+
typeVersion: 1.1,
|
|
29
|
+
parameters: {
|
|
30
|
+
operation: 'extractHtmlContent',
|
|
31
|
+
...(0, parameter_readers_1.pickDefined)(node.parameters, ['sourceData', 'dataPropertyName']),
|
|
32
|
+
extractionValues: node.parameters.extractionValues ?? {},
|
|
33
|
+
options: { trimValues: options.trimValues ?? true, cleanUpText: false },
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
notes: mayReturnText(node.parameters.extractionValues) ? [EMPTY_TEXT_NOTE] : undefined,
|
|
37
|
+
};
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=html-extract-to-html.migration.js.map
|
package/dist/modules/breaking-changes/migrations/node-removals/html-extract-to-html.migration.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"html-extract-to-html.migration.js","sourceRoot":"","sources":["../../../../../src/modules/breaking-changes/migrations/node-removals/html-extract-to-html.migration.ts"],"names":[],"mappings":";;;AACA,4DAA+E;AAE/E,MAAM,eAAe,GACpB,sKAAsK,CAAC;AAIxK,SAAS,aAAa,CAAC,gBAAyB;IAC/C,MAAM,MAAM,GAAG,IAAA,gCAAY,EAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACtD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC;QAAE,OAAO,KAAK,CAAC;IAEzC,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE;QAC5B,MAAM,EAAE,WAAW,GAAG,MAAM,EAAE,GAAG,IAAA,gCAAY,EAAC,KAAK,CAAC,IAAI,EAAE,CAAC;QAC3D,OAAO,WAAW,KAAK,MAAM,IAAI,IAAA,gCAAY,EAAC,WAAW,CAAC,CAAC;IAC5D,CAAC,CAAC,CAAC;AACJ,CAAC;AA0BY,QAAA,iBAAiB,GAAkB;IAC/C,MAAM,EAAE,yBAAyB;IACjC,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE;QACjB,MAAM,OAAO,GACZ,IAAI,CAAC,UAAU,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAA,gCAAY,EAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;QACpF,IAAI,CAAC,OAAO,EAAE,CAAC;YACd,MAAM,IAAI,KAAK,CAAC,yDAAyD,CAAC,CAAC;QAC5E,CAAC;QACD,IAAI,IAAA,gCAAY,EAAC,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC;YACtC,MAAM,IAAI,KAAK,CACd,+EAA+E,CAC/E,CAAC;QACH,CAAC;QAED,OAAO;YACN,IAAI,EAAE;gBACL,IAAI,EAAE,qBAAqB;gBAC3B,WAAW,EAAE,GAAG;gBAChB,UAAU,EAAE;oBACX,SAAS,EAAE,oBAAoB;oBAC/B,GAAG,IAAA,+BAAW,EAAC,IAAI,CAAC,UAAU,EAAE,CAAC,YAAY,EAAE,kBAAkB,CAAC,CAAC;oBAEnE,gBAAgB,EAAE,IAAI,CAAC,UAAU,CAAC,gBAAgB,IAAI,EAAE;oBACxD,OAAO,EAAE,EAAE,UAAU,EAAE,OAAO,CAAC,UAAU,IAAI,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE;iBACvE;aACD;YACD,KAAK,EAAE,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS;SACtF,CAAC;IACH,CAAC;CACD,CAAC"}
|
package/dist/modules/breaking-changes/migrations/node-removals/ical-to-convert-to-file.migration.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.icalToConvertToFile = void 0;
|
|
4
|
+
exports.icalToConvertToFile = {
|
|
5
|
+
ruleId: 'i-calendar-removed-v3',
|
|
6
|
+
migrate: (node) => {
|
|
7
|
+
const { operation: _operation, ...parameters } = node.parameters;
|
|
8
|
+
return {
|
|
9
|
+
node: {
|
|
10
|
+
type: 'n8n-nodes-base.convertToFile',
|
|
11
|
+
typeVersion: 1.1,
|
|
12
|
+
parameters: { ...parameters, operation: 'iCal' },
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=ical-to-convert-to-file.migration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ical-to-convert-to-file.migration.js","sourceRoot":"","sources":["../../../../../src/modules/breaking-changes/migrations/node-removals/ical-to-convert-to-file.migration.ts"],"names":[],"mappings":";;;AAiBa,QAAA,mBAAmB,GAAkB;IACjD,MAAM,EAAE,uBAAuB;IAC/B,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE;QACjB,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,UAAU,EAAE,GAAG,IAAI,CAAC,UAAU,CAAC;QAEjE,OAAO;YACN,IAAI,EAAE;gBACL,IAAI,EAAE,8BAA8B;gBACpC,WAAW,EAAE,GAAG;gBAChB,UAAU,EAAE,EAAE,GAAG,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE;aAChD;SACD,CAAC;IACH,CAAC;CACD,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.nodeRemovalMigrations = void 0;
|
|
4
|
+
const ai_transform_to_code_migration_1 = require("./ai-transform-to-code.migration");
|
|
5
|
+
const document_loaders_migration_1 = require("./document-loaders.migration");
|
|
6
|
+
const html_extract_to_html_migration_1 = require("./html-extract-to-html.migration");
|
|
7
|
+
const ical_to_convert_to_file_migration_1 = require("./ical-to-convert-to-file.migration");
|
|
8
|
+
const item_lists_migration_1 = require("./item-lists.migration");
|
|
9
|
+
const read_pdf_to_extract_from_file_migration_1 = require("./read-pdf-to-extract-from-file.migration");
|
|
10
|
+
const schedule_trigger_migration_1 = require("./schedule-trigger.migration");
|
|
11
|
+
const vector_stores_migration_1 = require("./vector-stores.migration");
|
|
12
|
+
const workflow_trigger_to_n8n_trigger_migration_1 = require("./workflow-trigger-to-n8n-trigger.migration");
|
|
13
|
+
const write_binary_file_to_read_write_file_migration_1 = require("./write-binary-file-to-read-write-file.migration");
|
|
14
|
+
exports.nodeRemovalMigrations = [
|
|
15
|
+
ai_transform_to_code_migration_1.aiTransformToCode,
|
|
16
|
+
document_loaders_migration_1.binaryInputLoaderToDefaultDataLoader,
|
|
17
|
+
schedule_trigger_migration_1.cronToScheduleTrigger,
|
|
18
|
+
html_extract_to_html_migration_1.htmlExtractToHtml,
|
|
19
|
+
ical_to_convert_to_file_migration_1.icalToConvertToFile,
|
|
20
|
+
vector_stores_migration_1.inMemoryInsertToVectorStore,
|
|
21
|
+
vector_stores_migration_1.inMemoryLoadToVectorStore,
|
|
22
|
+
item_lists_migration_1.itemListsToTransformNodes,
|
|
23
|
+
document_loaders_migration_1.jsonInputLoaderToDefaultDataLoader,
|
|
24
|
+
vector_stores_migration_1.pineconeInsertToVectorStore,
|
|
25
|
+
vector_stores_migration_1.pineconeLoadToVectorStore,
|
|
26
|
+
read_pdf_to_extract_from_file_migration_1.readPdfToExtractFromFile,
|
|
27
|
+
vector_stores_migration_1.supabaseInsertToVectorStore,
|
|
28
|
+
vector_stores_migration_1.supabaseLoadToVectorStore,
|
|
29
|
+
workflow_trigger_to_n8n_trigger_migration_1.workflowTriggerToN8nTrigger,
|
|
30
|
+
write_binary_file_to_read_write_file_migration_1.writeBinaryFileToReadWriteFile,
|
|
31
|
+
];
|
|
32
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/breaking-changes/migrations/node-removals/index.ts"],"names":[],"mappings":";;;AAAA,qFAAqE;AACrE,6EAGsC;AACtC,qFAAqE;AACrE,2FAA0E;AAC1E,iEAAmE;AACnE,uGAAqF;AACrF,6EAAqE;AACrE,uEAOmC;AACnC,2GAA0F;AAC1F,qHAAkG;AAGrF,QAAA,qBAAqB,GAAgB;IACjD,kDAAiB;IACjB,iEAAoC;IACpC,kDAAqB;IACrB,kDAAiB;IACjB,uDAAmB;IACnB,qDAA2B;IAC3B,mDAAyB;IACzB,gDAAyB;IACzB,+DAAkC;IAClC,qDAA2B;IAC3B,mDAAyB;IACzB,kEAAwB;IACxB,qDAA2B;IAC3B,mDAAyB;IACzB,uEAA2B;IAC3B,+EAA8B;CAC9B,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.assertIncludeEmptyIsInert = assertIncludeEmptyIsInert;
|
|
4
|
+
exports.assertNoSplitBy = assertNoSplitBy;
|
|
5
|
+
exports.assertNoEmptyFieldToSplitOut = assertNoEmptyFieldToSplitOut;
|
|
6
|
+
const parameter_readers_1 = require("../parameter-readers");
|
|
7
|
+
function assertIncludeEmptyIsInert(node) {
|
|
8
|
+
const { fieldsToSummarize } = node.parameters;
|
|
9
|
+
const entries = (0, parameter_readers_1.asParameters)(fieldsToSummarize)?.values;
|
|
10
|
+
if (!Array.isArray(entries))
|
|
11
|
+
return;
|
|
12
|
+
for (const entry of entries.map(parameter_readers_1.asParameters)) {
|
|
13
|
+
if (!entry)
|
|
14
|
+
continue;
|
|
15
|
+
const aggregation = entry.aggregation ?? 'count';
|
|
16
|
+
const ignoredByItemLists = aggregation === 'count' || aggregation === 'countUnique' || (0, parameter_readers_1.isExpression)(aggregation);
|
|
17
|
+
if (!ignoredByItemLists)
|
|
18
|
+
continue;
|
|
19
|
+
if (entry.includeEmpty !== undefined && entry.includeEmpty !== false) {
|
|
20
|
+
throw new Error('"Include Empty Values" is turned on for a field. The old node ignored this setting for Count and Count Unique, but the new node uses it, so your results could change. Turn it off or replace this node by hand.');
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
function assertNoSplitBy(node) {
|
|
25
|
+
const { fieldsToSplitBy } = node.parameters;
|
|
26
|
+
if (fieldsToSplitBy === undefined)
|
|
27
|
+
return;
|
|
28
|
+
if (typeof fieldsToSplitBy !== 'string' || (0, parameter_readers_1.isExpression)(fieldsToSplitBy)) {
|
|
29
|
+
throw new Error('"Fields to Split By" is an expression or has an unsupported value. Replace this node by hand.');
|
|
30
|
+
}
|
|
31
|
+
if (fieldsToSplitBy.split(',').some((field) => field.trim() !== '')) {
|
|
32
|
+
throw new Error('"Fields to Split By" is set. The new Summarize node can return the groups in a different order, and numbers stay numbers where the old node returned text. Replace this node by hand.');
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
function assertNoEmptyFieldToSplitOut(node) {
|
|
36
|
+
const { fieldToSplitOut = '' } = node.parameters;
|
|
37
|
+
if (typeof fieldToSplitOut !== 'string') {
|
|
38
|
+
throw new Error('"Field to Split Out" could not be read. Open the node, check this field and migrate again.');
|
|
39
|
+
}
|
|
40
|
+
if ((0, parameter_readers_1.isExpression)(fieldToSplitOut))
|
|
41
|
+
return;
|
|
42
|
+
if (fieldToSplitOut.split(',').some((field) => field.trim() === '')) {
|
|
43
|
+
throw new Error('"Field to Split Out" is empty or has an empty name in the list, for example "a,,b". The new node ignores empty names, so the result could change. Remove the empty name or replace this node by hand.');
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=item-lists-checks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-lists-checks.js","sourceRoot":"","sources":["../../../../../src/modules/breaking-changes/migrations/node-removals/item-lists-checks.ts"],"names":[],"mappings":";;;;;AAEA,4DAAkE;AASlE,mCAA0C,IAAW;IACpD,MAAM,EAAE,iBAAiB,EAAE,GAAG,IAAI,CAAC,UAAU,CAAC;IAC9C,MAAM,OAAO,GAAG,IAAA,gCAAY,EAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACxD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC;QAAE,OAAO;IAEpC,KAAK,MAAM,KAAK,IAAI,OAAO,CA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CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;QACrE,MAAM,IAAI,KAAK,CACd,uMAAuM,CACvM,CAAC;IACH,CAAC;AACF,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { INode, INodeParameters } from 'n8n-workflow';
|
|
2
|
+
export interface LegacyResult {
|
|
3
|
+
typeVersion?: number;
|
|
4
|
+
parameters: INodeParameters;
|
|
5
|
+
notes?: string[];
|
|
6
|
+
}
|
|
7
|
+
export declare function legacyAggregate(node: INode): LegacyResult;
|
|
8
|
+
export declare function legacyRemoveDuplicates(node: INode): LegacyResult;
|
|
9
|
+
export declare function legacySplitOut(node: INode): LegacyResult;
|
|
10
|
+
export declare function legacySummarize(node: INode): LegacyResult;
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.legacyAggregate = legacyAggregate;
|
|
4
|
+
exports.legacyRemoveDuplicates = legacyRemoveDuplicates;
|
|
5
|
+
exports.legacySplitOut = legacySplitOut;
|
|
6
|
+
exports.legacySummarize = legacySummarize;
|
|
7
|
+
const item_lists_checks_1 = require("./item-lists-checks");
|
|
8
|
+
const parameter_readers_1 = require("../parameter-readers");
|
|
9
|
+
const MISSING_FIELD_NOTE = 'This node used to stop with an error when a field was missing in all items. The new node continues. Check the workflow if it relies on that error.';
|
|
10
|
+
function canStopForMissingField(node, options) {
|
|
11
|
+
return node.typeVersion < 2.1 && options.keepMissing !== true;
|
|
12
|
+
}
|
|
13
|
+
function splitOutNote(typeVersion) {
|
|
14
|
+
if (typeVersion >= 2.2)
|
|
15
|
+
return undefined;
|
|
16
|
+
const cause = typeVersion < 2.1
|
|
17
|
+
? 'the field was missing, or when its value was not a list or an object'
|
|
18
|
+
: 'the value of the field was not a list or an object';
|
|
19
|
+
return [
|
|
20
|
+
`This node used to stop with an error when ${cause}. The new node continues. Check the workflow if it relies on that error.`,
|
|
21
|
+
];
|
|
22
|
+
}
|
|
23
|
+
const unreadable = (label) => new Error(`"${label}" could not be read. Open the node, check this field and migrate again.`);
|
|
24
|
+
function readChoice(parameters, key, fallback, label, allowed) {
|
|
25
|
+
const value = (0, parameter_readers_1.readString)(parameters, key, fallback, label);
|
|
26
|
+
if (!allowed.includes(value)) {
|
|
27
|
+
throw new Error(`"${label}" has an unsupported value. Replace this node by hand.`);
|
|
28
|
+
}
|
|
29
|
+
return value;
|
|
30
|
+
}
|
|
31
|
+
function readOptions(node, keys) {
|
|
32
|
+
const { options } = node.parameters;
|
|
33
|
+
if (options === undefined)
|
|
34
|
+
return {};
|
|
35
|
+
const parsed = (0, parameter_readers_1.asParameters)(options);
|
|
36
|
+
if (!parsed)
|
|
37
|
+
throw new Error('The options of this node are not in a supported format.');
|
|
38
|
+
return (0, parameter_readers_1.pickDefined)(parsed, keys);
|
|
39
|
+
}
|
|
40
|
+
const withOptions = (options) => Object.keys(options).length > 0 ? { options } : {};
|
|
41
|
+
function readFieldNames(value, label, { trim = false } = {}) {
|
|
42
|
+
if (value === undefined)
|
|
43
|
+
return [];
|
|
44
|
+
const list = (0, parameter_readers_1.asParameters)(value)?.fields;
|
|
45
|
+
if (list === undefined)
|
|
46
|
+
return [];
|
|
47
|
+
if (!Array.isArray(list))
|
|
48
|
+
throw unreadable(label);
|
|
49
|
+
const names = [];
|
|
50
|
+
for (const entry of list) {
|
|
51
|
+
const name = (0, parameter_readers_1.asParameters)(entry)?.fieldName;
|
|
52
|
+
if (name === undefined) {
|
|
53
|
+
throw new Error(`"${label}" has an empty field name. Remove it or replace this node by hand.`);
|
|
54
|
+
}
|
|
55
|
+
if (typeof name !== 'string')
|
|
56
|
+
throw unreadable(label);
|
|
57
|
+
if ((0, parameter_readers_1.isExpression)(name)) {
|
|
58
|
+
throw new Error(`"${label}" has a field name that is an expression. Replace this node by hand.`);
|
|
59
|
+
}
|
|
60
|
+
if (name.includes(',')) {
|
|
61
|
+
throw new Error(`"${label}" has the field name "${name}" with a comma. The new node would split it into two names. Replace this node by hand.`);
|
|
62
|
+
}
|
|
63
|
+
if (trim) {
|
|
64
|
+
if (name.trim() !== '')
|
|
65
|
+
names.push(name.trim());
|
|
66
|
+
continue;
|
|
67
|
+
}
|
|
68
|
+
if (name === '') {
|
|
69
|
+
throw new Error(`"${label}" has an empty field name. Remove it or replace this node by hand.`);
|
|
70
|
+
}
|
|
71
|
+
if (name !== name.trim()) {
|
|
72
|
+
throw new Error(`"${label}" has the field name "${name}" with a space at the start or end. The new node removes it, so the name would change. Replace this node by hand.`);
|
|
73
|
+
}
|
|
74
|
+
names.push(name);
|
|
75
|
+
}
|
|
76
|
+
return names;
|
|
77
|
+
}
|
|
78
|
+
function assertPlainName(value, label, { allowEmpty = false } = {}) {
|
|
79
|
+
if ((0, parameter_readers_1.isExpression)(value)) {
|
|
80
|
+
throw new Error(`"${label}" is an expression, and the migration cannot check it. Replace this node by hand.`);
|
|
81
|
+
}
|
|
82
|
+
if (value.includes(',') || value !== value.trim() || (value === '' && !allowEmpty)) {
|
|
83
|
+
throw new Error(`"${label}" is empty or has a comma or a space at the start or end. The old version of the node reads it as one name, so the result could change. Replace this node by hand.`);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
function legacyAggregate(node) {
|
|
87
|
+
const { parameters } = node;
|
|
88
|
+
const aggregate = readChoice(parameters, 'aggregate', 'aggregateIndividualFields', 'Aggregate', [
|
|
89
|
+
'aggregateIndividualFields',
|
|
90
|
+
'aggregateAllItemData',
|
|
91
|
+
]);
|
|
92
|
+
if (aggregate === 'aggregateIndividualFields') {
|
|
93
|
+
const options = readOptions(node, ['disableDotNotation', 'mergeLists', 'keepMissing']);
|
|
94
|
+
return {
|
|
95
|
+
parameters: {
|
|
96
|
+
...(0, parameter_readers_1.pickDefined)(parameters, ['aggregate', 'fieldsToAggregate']),
|
|
97
|
+
...withOptions(options),
|
|
98
|
+
},
|
|
99
|
+
notes: canStopForMissingField(node, options) ? [MISSING_FIELD_NOTE] : undefined,
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
const include = readChoice(parameters, 'include', 'allFields', 'Include', [
|
|
103
|
+
'allFields',
|
|
104
|
+
'specifiedFields',
|
|
105
|
+
'allFieldsExcept',
|
|
106
|
+
]);
|
|
107
|
+
const result = (0, parameter_readers_1.pickDefined)(parameters, ['aggregate', 'destinationFieldName', 'include']);
|
|
108
|
+
if (include === 'allFieldsExcept') {
|
|
109
|
+
const names = readFieldNames(parameters.fieldsToExclude, 'Fields to Exclude');
|
|
110
|
+
if (names.length > 0)
|
|
111
|
+
result.fieldsToExclude = names.join(', ');
|
|
112
|
+
}
|
|
113
|
+
if (include === 'specifiedFields') {
|
|
114
|
+
const names = readFieldNames(parameters.fieldsToInclude, 'Fields to Include');
|
|
115
|
+
if (names.length > 0)
|
|
116
|
+
result.fieldsToInclude = names.join(', ');
|
|
117
|
+
}
|
|
118
|
+
return { parameters: result };
|
|
119
|
+
}
|
|
120
|
+
function legacyRemoveDuplicates(node) {
|
|
121
|
+
const { parameters } = node;
|
|
122
|
+
const compare = readChoice(parameters, 'compare', 'allFields', 'Compare', [
|
|
123
|
+
'allFields',
|
|
124
|
+
'allFieldsExcept',
|
|
125
|
+
'selectedFields',
|
|
126
|
+
]);
|
|
127
|
+
const result = (0, parameter_readers_1.pickDefined)(parameters, ['compare']);
|
|
128
|
+
if (compare === 'allFields')
|
|
129
|
+
return { parameters: result };
|
|
130
|
+
const options = readOptions(node, ['disableDotNotation', 'removeOtherFields']);
|
|
131
|
+
if (Object.values(options).some((value) => typeof value !== 'boolean')) {
|
|
132
|
+
throw new Error('An option of this node is an expression or has an unsupported value. Replace this node by hand.');
|
|
133
|
+
}
|
|
134
|
+
if (compare === 'allFieldsExcept') {
|
|
135
|
+
const names = readFieldNames(parameters.fieldsToExclude, 'Fields to Exclude');
|
|
136
|
+
if (names.length > 0)
|
|
137
|
+
result.fieldsToExclude = names.join(', ');
|
|
138
|
+
}
|
|
139
|
+
else {
|
|
140
|
+
const names = readFieldNames(parameters.fieldsToCompare, 'Fields to Compare', { trim: true });
|
|
141
|
+
if (names.length > 0)
|
|
142
|
+
result.fieldsToCompare = names.join(', ');
|
|
143
|
+
}
|
|
144
|
+
return { parameters: { ...result, ...withOptions(options) } };
|
|
145
|
+
}
|
|
146
|
+
const INCLUDE_MODES = ['noOtherFields', 'allOtherFields', 'selectedOtherFields'];
|
|
147
|
+
function legacySplitOut(node) {
|
|
148
|
+
const { parameters } = node;
|
|
149
|
+
const isVersion1 = node.typeVersion < 2;
|
|
150
|
+
const fieldToSplitOut = parameters.fieldToSplitOut ?? '';
|
|
151
|
+
if (typeof fieldToSplitOut !== 'string')
|
|
152
|
+
throw unreadable('Field to Split Out');
|
|
153
|
+
if (isVersion1)
|
|
154
|
+
assertPlainName(fieldToSplitOut, 'Field to Split Out');
|
|
155
|
+
else
|
|
156
|
+
(0, item_lists_checks_1.assertNoEmptyFieldToSplitOut)(node);
|
|
157
|
+
if (!(0, parameter_readers_1.isExpression)(fieldToSplitOut)) {
|
|
158
|
+
for (const name of fieldToSplitOut.split(',').map((entry) => entry.trim())) {
|
|
159
|
+
if (name.startsWith('$json.') || name === '$binary') {
|
|
160
|
+
throw new Error('"Field to Split Out" starts with "$json." or is "$binary". The new node reads these names in a special way, so the result could change. Replace this node by hand.');
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
const include = readChoice(parameters, 'include', 'noOtherFields', 'Include', INCLUDE_MODES);
|
|
165
|
+
const options = readOptions(node, ['disableDotNotation', 'destinationFieldName']);
|
|
166
|
+
const { disableDotNotation, destinationFieldName } = options;
|
|
167
|
+
if (disableDotNotation !== undefined && typeof disableDotNotation !== 'boolean') {
|
|
168
|
+
throw new Error('"Disable Dot Notation" is an expression. The old node reads it once and the new node reads it for each item, so the results could differ. Replace this node by hand.');
|
|
169
|
+
}
|
|
170
|
+
if (destinationFieldName !== undefined && typeof destinationFieldName !== 'string') {
|
|
171
|
+
throw unreadable('Destination Field Name');
|
|
172
|
+
}
|
|
173
|
+
if (isVersion1 && destinationFieldName !== undefined) {
|
|
174
|
+
assertPlainName(destinationFieldName, 'Destination Field Name', { allowEmpty: true });
|
|
175
|
+
}
|
|
176
|
+
const result = (0, parameter_readers_1.pickDefined)(parameters, ['fieldToSplitOut', 'include']);
|
|
177
|
+
if (include === 'selectedOtherFields') {
|
|
178
|
+
const names = readFieldNames(parameters.fieldsToInclude, 'Fields to Include');
|
|
179
|
+
if (names.length > 0)
|
|
180
|
+
result.fieldsToInclude = names.join(',');
|
|
181
|
+
if (isVersion1 &&
|
|
182
|
+
names.some((name) => name === fieldToSplitOut || name === destinationFieldName)) {
|
|
183
|
+
throw new Error('"Fields to Include" has the same name as the field to split out or its destination field. The new node orders these in a different way. Replace this node by hand.');
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
if (isVersion1 &&
|
|
187
|
+
include === 'allOtherFields' &&
|
|
188
|
+
disableDotNotation === true &&
|
|
189
|
+
/[.[]/.test(fieldToSplitOut)) {
|
|
190
|
+
throw new Error('"Field to Split Out" has a dot or a bracket while "Disable Dot Notation" is on. The new node removes this field in a different way. Replace this node by hand.');
|
|
191
|
+
}
|
|
192
|
+
return {
|
|
193
|
+
parameters: { ...result, ...withOptions(options) },
|
|
194
|
+
notes: splitOutNote(node.typeVersion),
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
const SUMMARIZE_KEY_PREFIXES = {
|
|
198
|
+
append: 'appended_',
|
|
199
|
+
average: 'average_',
|
|
200
|
+
concatenate: 'concatenated_',
|
|
201
|
+
count: 'count_',
|
|
202
|
+
countUnique: 'unique_count_',
|
|
203
|
+
sum: 'sum_',
|
|
204
|
+
};
|
|
205
|
+
const normalizeKey = (key) => key.replace(/[\]["]/g, '').replace(/[ .]/g, '_');
|
|
206
|
+
function legacySummarize(node) {
|
|
207
|
+
(0, item_lists_checks_1.assertNoSplitBy)(node);
|
|
208
|
+
(0, item_lists_checks_1.assertIncludeEmptyIsInert)(node);
|
|
209
|
+
const isVersion1 = node.typeVersion < 2;
|
|
210
|
+
const entries = (0, parameter_readers_1.asParameters)(node.parameters.fieldsToSummarize)?.values;
|
|
211
|
+
const normalizedToRaw = new Map();
|
|
212
|
+
for (const entry of Array.isArray(entries) ? entries.map(parameter_readers_1.asParameters) : []) {
|
|
213
|
+
const aggregation = entry?.aggregation ?? 'count';
|
|
214
|
+
if (typeof aggregation !== 'string' || (0, parameter_readers_1.isExpression)(aggregation)) {
|
|
215
|
+
throw new Error('A field to summarize has an aggregation that is an expression. Replace this node by hand.');
|
|
216
|
+
}
|
|
217
|
+
if (aggregation === 'min' || aggregation === 'max') {
|
|
218
|
+
throw new Error('A field uses Minimum or Maximum. The old node compared only numbers, and the new node also compares text and dates, so the results could change. Replace this node by hand.');
|
|
219
|
+
}
|
|
220
|
+
const prefix = SUMMARIZE_KEY_PREFIXES[aggregation];
|
|
221
|
+
if (prefix === undefined) {
|
|
222
|
+
throw new Error('A field to summarize has an unsupported aggregation. Replace this node by hand.');
|
|
223
|
+
}
|
|
224
|
+
const field = entry?.field ?? '';
|
|
225
|
+
if (typeof field !== 'string')
|
|
226
|
+
throw unreadable('Field');
|
|
227
|
+
if ((0, parameter_readers_1.isExpression)(field)) {
|
|
228
|
+
if (isVersion1) {
|
|
229
|
+
throw new Error('A field to summarize is an expression. Replace this node by hand.');
|
|
230
|
+
}
|
|
231
|
+
continue;
|
|
232
|
+
}
|
|
233
|
+
const raw = `${prefix}${field}`;
|
|
234
|
+
const normalized = normalizeKey(raw);
|
|
235
|
+
if (isVersion1 && normalized !== raw) {
|
|
236
|
+
throw new Error(`The field "${field}" has a bracket, a quote, a dot or a space. The old version of the node keeps it in the output name and the new node changes it, so the output names would change. Replace this node by hand.`);
|
|
237
|
+
}
|
|
238
|
+
const earlier = normalizedToRaw.get(normalized);
|
|
239
|
+
if (earlier !== undefined && earlier !== raw) {
|
|
240
|
+
throw new Error('Two fields to summarize give the same output name after the new node cleans up the names. Replace this node by hand.');
|
|
241
|
+
}
|
|
242
|
+
normalizedToRaw.set(normalized, raw);
|
|
243
|
+
}
|
|
244
|
+
return {
|
|
245
|
+
typeVersion: node.typeVersion < 2.1 ? 1 : 1.1,
|
|
246
|
+
parameters: {
|
|
247
|
+
...(0, parameter_readers_1.pickDefined)(node.parameters, ['fieldsToSummarize']),
|
|
248
|
+
...withOptions(readOptions(node, ['disableDotNotation', 'outputFormat', 'skipEmptySplitFields'])),
|
|
249
|
+
},
|
|
250
|
+
};
|
|
251
|
+
}
|
|
252
|
+
//# sourceMappingURL=item-lists-legacy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-lists-legacy.js","sourceRoot":"","sources":["../../../../../src/modules/breaking-changes/migrations/node-removals/item-lists-legacy.ts"],"names":[],"mappings":";;;;;;AAEA,2DAI6B;AAC7B,4DAA2F;AAoB3F,MAAM,kBAAkB,GACvB,oJAAoJ,CAAC;AAGtJ,SAAS,sBAAsB,CAAC,IAAW,EAAE,OAAwB;IACpE,OAAO,IAAI,CAAC,WAAW,GAAG,GAAG,IAAI,OAAO,CAAC,WAAW,KAAK,IAAI,CAAC;AAC/D,CAAC;AAGD,SAAS,YAAY,CAAC,WAAmB;IACxC,IAAI,WAAW,IAAI,GAAG;QAAE,OAAO,SAAS,CAAC;IAEzC,MAAM,KAAK,GACV,WAAW,GAAG,GAAG;QAChB,CAAC,CAAC,sEAAsE;QACxE,CAAC,CAAC,oDAAoD,CAAC;IACzD,OAAO;QACN,6CAA6C,KAAK,0EAA0E;KAC5H,CAAC;AACH,CAAC;AAED,MAAM,UAAU,GAAG,CAAC,KAAa,EAAE,EAAE,CACpC,IAAI,KAAK,CAAC,IAAI,KAAK,yEAAyE,CAAC,CAAC;AAE/F,SAAS,UAAU,CAClB,UAA2B,EAC3B,GAAW,EACX,QAAg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K,CACd,cAAc,KAAK,+LAA+L,CAClN,CAAC;QACH,CAAC;QAID,MAAM,OAAO,GAAG,eAAe,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;QAChD,IAAI,OAAO,KAAK,SAAS,IAAI,OAAO,KAAK,GAAG,EAAE,CAAC;YAC9C,MAAM,IAAI,KAAK,CACd,sHAAsH,CACtH,CAAC;QACH,CAAC;QACD,eAAe,CAAC,GAAG,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;IACtC,CAAC;IAED,OAAO;QACN,WAAW,EAAE,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAC7C,UAAU,EAAE;YACX,GAAG,IAAA,+BAAW,EAAC,IAAI,CAAC,UAAU,EAAE,CAAC,mBAAmB,CAAC,CAAC;YACtD,GAAG,WAAW,CACb,WAAW,CAAC,IAAI,EAAE,CAAC,oBAAoB,EAAE,cAAc,EAAE,sBAAsB,CAAC,CAAC,CACjF;SACD;KACD,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.itemListsToTransformNodes = void 0;
|
|
4
|
+
const item_lists_checks_1 = require("./item-lists-checks");
|
|
5
|
+
const item_lists_legacy_1 = require("./item-lists-legacy");
|
|
6
|
+
const parameter_readers_1 = require("../parameter-readers");
|
|
7
|
+
const TRANSFORM_NODE = (name) => `n8n-nodes-base.${name}`;
|
|
8
|
+
const copyParameters = (...keys) => (node) => ({ parameters: (0, parameter_readers_1.pickDefined)(node.parameters, keys) });
|
|
9
|
+
const TARGETS = new Map(Object.entries({
|
|
10
|
+
limit: {
|
|
11
|
+
type: TRANSFORM_NODE('limit'),
|
|
12
|
+
typeVersion: 1,
|
|
13
|
+
parameters: ['maxItems', 'keep'],
|
|
14
|
+
legacy: copyParameters('maxItems', 'keep'),
|
|
15
|
+
},
|
|
16
|
+
sort: {
|
|
17
|
+
type: TRANSFORM_NODE('sort'),
|
|
18
|
+
typeVersion: 1,
|
|
19
|
+
parameters: ['type', 'sortFieldsUi', 'code', 'options'],
|
|
20
|
+
legacy: copyParameters('type', 'sortFieldsUi', 'code', 'options'),
|
|
21
|
+
},
|
|
22
|
+
concatenateItems: {
|
|
23
|
+
type: TRANSFORM_NODE('aggregate'),
|
|
24
|
+
typeVersion: 1,
|
|
25
|
+
parameters: [
|
|
26
|
+
'aggregate',
|
|
27
|
+
'fieldsToAggregate',
|
|
28
|
+
'destinationFieldName',
|
|
29
|
+
'include',
|
|
30
|
+
'fieldsToExclude',
|
|
31
|
+
'fieldsToInclude',
|
|
32
|
+
'options',
|
|
33
|
+
],
|
|
34
|
+
legacy: item_lists_legacy_1.legacyAggregate,
|
|
35
|
+
},
|
|
36
|
+
removeDuplicates: {
|
|
37
|
+
type: TRANSFORM_NODE('removeDuplicates'),
|
|
38
|
+
typeVersion: 1,
|
|
39
|
+
parameters: ['compare', 'fieldsToExclude', 'fieldsToCompare', 'options'],
|
|
40
|
+
legacy: item_lists_legacy_1.legacyRemoveDuplicates,
|
|
41
|
+
check: (node) => {
|
|
42
|
+
if (node.typeVersion >= 3.1) {
|
|
43
|
+
throw new Error('The old node can compare values of different types, such as numbers and text, but the new node stops with an error. Replace this node by hand.');
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
splitOutItems: {
|
|
48
|
+
type: TRANSFORM_NODE('splitOut'),
|
|
49
|
+
typeVersion: 1,
|
|
50
|
+
parameters: ['fieldToSplitOut', 'include', 'fieldsToInclude', 'options'],
|
|
51
|
+
legacy: item_lists_legacy_1.legacySplitOut,
|
|
52
|
+
check: item_lists_checks_1.assertNoEmptyFieldToSplitOut,
|
|
53
|
+
},
|
|
54
|
+
summarize: {
|
|
55
|
+
type: TRANSFORM_NODE('summarize'),
|
|
56
|
+
typeVersion: 1.1,
|
|
57
|
+
parameters: ['fieldsToSummarize', 'fieldsToSplitBy', 'options'],
|
|
58
|
+
legacy: item_lists_legacy_1.legacySummarize,
|
|
59
|
+
check: (node) => {
|
|
60
|
+
(0, item_lists_checks_1.assertNoSplitBy)(node);
|
|
61
|
+
(0, item_lists_checks_1.assertIncludeEmptyIsInert)(node);
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
}));
|
|
65
|
+
exports.itemListsToTransformNodes = {
|
|
66
|
+
ruleId: 'item-lists-removed-v3',
|
|
67
|
+
migrate: (node) => {
|
|
68
|
+
const operation = (0, parameter_readers_1.readString)(node.parameters, 'operation', 'splitOutItems', 'Operation');
|
|
69
|
+
const isLegacy = node.typeVersion < 3;
|
|
70
|
+
const target = isLegacy
|
|
71
|
+
? TARGETS.get(operation === 'aggregateItems' ? 'concatenateItems' : operation)
|
|
72
|
+
: TARGETS.get(operation);
|
|
73
|
+
if (!target || (isLegacy && operation === 'concatenateItems')) {
|
|
74
|
+
throw new Error(`Item Lists operation "${operation}" is not supported.`);
|
|
75
|
+
}
|
|
76
|
+
if (isLegacy) {
|
|
77
|
+
const { typeVersion = target.typeVersion, parameters, notes } = target.legacy(node);
|
|
78
|
+
return { node: { type: target.type, typeVersion, parameters }, notes };
|
|
79
|
+
}
|
|
80
|
+
target.check?.(node);
|
|
81
|
+
const parameters = (0, parameter_readers_1.pickDefined)(node.parameters, target.parameters);
|
|
82
|
+
return { node: { type: target.type, typeVersion: target.typeVersion, parameters } };
|
|
83
|
+
},
|
|
84
|
+
};
|
|
85
|
+
//# sourceMappingURL=item-lists.migration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-lists.migration.js","sourceRoot":"","sources":["../../../../../src/modules/breaking-changes/migrations/node-removals/item-lists.migration.ts"],"names":[],"mappings":";;;AAEA,2DAI6B;AAE7B,2DAK6B;AAE7B,4DAA+D;AAe/D,MAAM,cAAc,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,kBAAkB,IAAI,EAAE,CAAC;AAGlE,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CAAC;QAC1E,CAAC;QAED,IAAI,QAAQ,EAAE,CAAC;YACd,MAAM,EAAE,WAAW,GAAG,MAAM,CAAC,WAAW,EAAE,UAAU,EAAE,KAAK,EAAE,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;YACpF,OAAO,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,EAAE,KAAK,EAAE,CAAC;QACxE,CAAC;QAED,MAAM,CAAC,KAAK,EAAE,CAAC,IAAI,CAAC,CAAC;QAErB,MAAM,UAAU,GAAoB,IAAA,+BAAW,EAAC,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC;QACpF,OAAO,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,WAAW,EAAE,MAAM,CAAC,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IACrF,CAAC;CACD,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.readPdfToExtractFromFile = void 0;
|
|
4
|
+
const parameter_readers_1 = require("../parameter-readers");
|
|
5
|
+
exports.readPdfToExtractFromFile = {
|
|
6
|
+
ruleId: 'read-pdf-removed-v3',
|
|
7
|
+
migrate: (node) => {
|
|
8
|
+
const { encrypted, password } = node.parameters;
|
|
9
|
+
if ((0, parameter_readers_1.isExpression)(encrypted)) {
|
|
10
|
+
throw new Error('"Encrypted" is an expression, so the node cannot be migrated automatically.');
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
node: {
|
|
14
|
+
type: 'n8n-nodes-base.extractFromFile',
|
|
15
|
+
typeVersion: 1.2,
|
|
16
|
+
parameters: {
|
|
17
|
+
operation: 'pdf',
|
|
18
|
+
...(0, parameter_readers_1.pickDefined)(node.parameters, ['binaryPropertyName']),
|
|
19
|
+
options: {
|
|
20
|
+
keepSource: 'binary',
|
|
21
|
+
...(encrypted === true ? { password: password ?? '' } : {}),
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=read-pdf-to-extract-from-file.migration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"read-pdf-to-extract-from-file.migration.js","sourceRoot":"","sources":["../../../../../src/modules/breaking-changes/migrations/node-removals/read-pdf-to-extract-from-file.migration.ts"],"names":[],"mappings":";;;AACA,4DAAiE;AAqBpD,QAAA,wBAAwB,GAAkB;IACtD,MAAM,EAAE,qBAAqB;IAC7B,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE;QACjB,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC,UAAU,CAAC;QAChD,IAAI,IAAA,gCAAY,EAAC,SAAS,CAAC,EAAE,CAAC;YAC7B,MAAM,IAAI,KAAK,CACd,6EAA6E,CAC7E,CAAC;QACH,CAAC;QAED,OAAO;YACN,IAAI,EAAE;gBACL,IAAI,EAAE,gCAAgC;gBACtC,WAAW,EAAE,GAAG;gBAChB,UAAU,EAAE;oBACX,SAAS,EAAE,KAAK;oBAChB,GAAG,IAAA,+BAAW,EAAC,IAAI,CAAC,UAAU,EAAE,CAAC,oBAAoB,CAAC,CAAC;oBACvD,OAAO,EAAE;wBACR,UAAU,EAAE,QAAQ;wBAEpB,GAAG,CAAC,SAAS,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,QAAQ,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;qBAC3D;iBACD;aACD;SACD,CAAC;IACH,CAAC;CACD,CAAC"}
|