n8n
Version:
n8n Workflow Automation Tool
26 lines (25 loc) • 1.21 kB
TypeScript
import { Logger } from '@n8n/backend-common';
import { AgentChatIntegration, type AgentChatIntegrationContext, type PlatformActionParams, type PlatformContextQueryParams } from '../agent-chat-integration';
import type { IntegrationAction, IntegrationActionResult, IntegrationContextQuery } from '../integration-tools';
export declare class LinearIntegration extends AgentChatIntegration {
private readonly logger;
readonly type = "linear";
readonly credentialTypes: string[];
readonly displayLabel = "Linear";
readonly displayIcon = "linear";
readonly builderGuidance: {
capabilities: string[];
useIntegrationWhen: string[];
useNodeToolWhen: string[];
};
readonly contextQueries: IntegrationContextQuery[];
readonly actions: IntegrationAction[];
constructor(logger: Logger);
executeContextQuery(params: PlatformContextQueryParams): Promise<unknown>;
executeAction(params: PlatformActionParams): Promise<IntegrationActionResult | undefined>;
createAdapter(ctx: AgentChatIntegrationContext): Promise<unknown>;
private extractAccessToken;
private extractSigningSecret;
private extractMode;
private fetchDisplayName;
}