n8n
Version:
n8n Workflow Automation Tool
23 lines (22 loc) • 1.21 kB
TypeScript
import { AgentChatIntegration, type AgentChatIntegrationContext, type PlatformActionParams, type PlatformContextQueryParams, type UnauthenticatedWebhookResponse } from '../agent-chat-integration';
import type { IntegrationAction, IntegrationActionResult, IntegrationContextQuery } from '../integration-tools';
export declare class SlackIntegration extends AgentChatIntegration {
readonly type = "slack";
readonly credentialTypes: string[];
readonly displayLabel = "Slack";
readonly displayIcon = "slack";
readonly builderGuidance: {
capabilities: string[];
useIntegrationWhen: string[];
useNodeToolWhen: string[];
};
readonly supportedComponents: string[];
readonly contextQueries: IntegrationContextQuery[];
readonly actions: IntegrationAction[];
executeContextQuery(params: PlatformContextQueryParams): Promise<unknown>;
executeAction(params: PlatformActionParams): Promise<IntegrationActionResult | undefined>;
createAdapter(ctx: AgentChatIntegrationContext): Promise<unknown>;
handleUnauthenticatedWebhook(body: unknown): UnauthenticatedWebhookResponse | undefined;
private extractBotToken;
private extractSigningSecret;
}