UNPKG

n8n

Version:

n8n Workflow Automation Tool

23 lines (22 loc) 1.11 kB
import { ChatIntegrationRegistry } from './agent-chat-integration'; import { ChatIntegrationService } from './chat-integration.service'; import type { IntegrationAction, IntegrationActionExecutor, IntegrationActionResult, IntegrationMessageContext, IntegrationToolConnectionDescriptor } from './integration-tools'; export declare class ChatIntegrationActionExecutor implements IntegrationActionExecutor { private readonly chatIntegrationService; private readonly integrationRegistry; private readonly componentMapper; constructor(chatIntegrationService: ChatIntegrationService, integrationRegistry: ChatIntegrationRegistry); execute(params: { descriptor: IntegrationToolConnectionDescriptor; action: IntegrationAction; input: Record<string, unknown>; awaitResponse: boolean; runId?: string; toolCallId?: string; currentMessageContext?: IntegrationMessageContext; }): Promise<IntegrationActionResult>; private respondInCurrentThread; private sendDirectMessage; private sendChannelMessage; private toPostable; }