@baruchiro/paperless-mcp
Version:
Model Context Protocol (MCP) server for interacting with Paperless-NGX document management system. Enables AI assistants to manage documents, tags, correspondents, and document types through the Paperless-NGX API.
17 lines (16 loc) • 525 B
TypeScript
import { MatchingAlgorithm } from "./types";
export declare const headersToObject: (headers: any) => Record<string, string>;
export interface NamedItem {
id: number;
name: string;
}
export declare function enhanceMatchingAlgorithm<T extends {
matching_algorithm: MatchingAlgorithm;
}>(obj: T): T & {
matching_algorithm: NamedItem;
};
export declare function enhanceMatchingAlgorithmArray<T extends {
matching_algorithm: MatchingAlgorithm;
}>(objects: T[]): (T & {
matching_algorithm: NamedItem;
})[];