n8n
Version:
n8n Workflow Automation Tool
23 lines (22 loc) • 805 B
TypeScript
import type { ToolDescriptor } from '@n8n/agents';
import type { AgentSkill } from '@n8n/api-types';
import { User, WithTimestamps } from '@n8n/db';
import { type Relation } from '@n8n/typeorm';
import type { Agent } from './agent.entity';
import type { AgentJsonConfig } from '../json-config/agent-json-config';
export declare class AgentPublishedVersion extends WithTimestamps {
agentId: string;
agent: Relation<Agent>;
schema: AgentJsonConfig | null;
tools: Record<string, {
code: string;
descriptor: ToolDescriptor;
}> | null;
skills: Record<string, AgentSkill> | null;
publishedFromVersionId: string;
model: string | null;
provider: string | null;
credentialId: string | null;
publishedById: string | null;
publishedBy?: User | null;
}