UNPKG

watchtower-node-sdk

Version:

A TypeScript Node.js SDK for the Watchtower API, providing API key management, connection string generation, and more

25 lines (24 loc) 640 B
import { AnalysisResult } from '../analyze/types'; export interface PDFExportRequest { organization_apikey: string; app_apikey: string; tenant_apikey?: string; item_id: string; format?: 'A4' | 'Letter'; include_charts?: boolean; include_tables?: boolean; } export interface PDFExportResponse { pdf_data: string; created_at: string; page_count: number; analysis: AnalysisResult; } export interface PDFExportStatus { export_id: string; status: 'pending' | 'processing' | 'completed' | 'failed'; progress: number; created_at: string; completed_at?: string; error?: string; }