n8n
Version:
n8n Workflow Automation Tool
17 lines (16 loc) • 763 B
TypeScript
import type { ModuleInterface } from '@n8n/decorators';
export declare class InsightsModule implements ModuleInterface {
init(): Promise<void>;
entities(): Promise<(typeof import("./database/entities/insights-metadata.js").InsightsMetadata | typeof import("./database/entities/insights-raw.js").InsightsRaw | typeof import("./database/entities/insights-by-period.js").InsightsByPeriod)[]>;
settings(): Promise<{
summary: boolean;
dashboard: boolean;
dateRanges: {
key: 'day' | 'week' | '2weeks' | 'month' | 'quarter' | '6months' | 'year';
licensed: boolean;
granularity: 'hour' | 'day' | 'week';
}[];
earliestDataDate: string | null;
}>;
shutdown(): Promise<void>;
}