ms-analysis-reports-mcp-server
Version:
PMS analysis reports server handling maintenance reports, equipment analysis, compliance tracking, and performance metrics with ERP access for data extraction
35 lines (34 loc) • 986 B
TypeScript
/**
* Load cached IMO numbers from file
*/
export declare function loadCachedImos(): string[];
/**
* Save IMO numbers to cache file
*/
export declare function saveCachedImos(imos: string[], companyName: string): void;
/**
* Check if company should skip IMO validation (e.g., for development/testing)
*/
export declare function shouldSkipImoValidation(companyName: string): boolean;
/**
* Initialize IMO cache for the specified company
*/
export declare function initializeImoCache(companyName: string): Promise<void>;
/**
* Get company IMOs with intelligent fallback strategy
*/
export declare function getCompanyImosWithFallback(): string[];
/**
* Get cache status for monitoring/debugging
*/
export declare function getCacheStatus(): {
inMemory: boolean;
inMemoryCount: number;
fileExists: boolean;
lastUpdated?: string;
companyName?: string;
};
/**
* Clear all cached data (for testing/reset purposes)
*/
export declare function clearCache(): void;