/** * API Report System import { getErrorMessage } from './../../types/common'; * * Tracks API failures, webhook issues, and workflow problems. * Generates api-report.md for debugging. */ export interface ApiReportEntry { timestamp: string; type: "webhook" | "api" | "workflow" | "board" | "column" | "assignment" | "ticket_creation"; status: "success" | "failure" | "warning"; endpoint?: string; method?: string; issueKey?: string; error?: string; details?: Record; resolved?: boolean; resolvedAt?: string; } /** * Report API event */ export declare function reportApiEvent(entry: Omit): Promise; /** * Report success */ export declare function reportSuccess(type: ApiReportEntry["type"], details?: { endpoint?: string; method?: string; issueKey?: string; [key: string]: unknown; }): Promise; /** * Report failure */ export declare function reportFailure(type: ApiReportEntry["type"], error: string, details?: { endpoint?: string; method?: string; issueKey?: string; [key: string]: unknown; }): Promise; /** * Report warning */ export declare function reportWarning(type: ApiReportEntry["type"], details?: { endpoint?: string; method?: string; issueKey?: string; error?: string; [key: string]: unknown; }): Promise; /** * Mark entry as resolved */ export declare function markResolved(issueKey: string, type?: ApiReportEntry["type"]): Promise; /** * Get unresolved failures */ export declare function getUnresolvedFailures(): Promise; //# sourceMappingURL=api-report.d.ts.map