UNPKG

purchase-mcp-server

Version:

Purchase and budget management server handling requisitions, purchase orders, expenses, budgets, and vendor management with ERP access for data extraction

21 lines (20 loc) 1.98 kB
import { ToolArguments, ToolResponse } from "../types/index.js"; export declare function fetchQADetails(imo: string, qaId: number): Promise<any>; export declare function getComponentData(componentId: string): Promise<string>; export declare function addComponentData(answer: string, imo: string): Promise<string>; export declare function getVesselQnASnapshot(imo: string, questionNo: string): Promise<any>; export declare function getVesselQnASnapshotHandler(arguments_: ToolArguments): Promise<ToolResponse>; export declare function insertDataLinkToMongoDB(link: string, type: string, sessionId: string, imo: string, vesselName: string): Promise<void>; export declare function getArtifact(toolName: string, link: string): Promise<any>; export declare function convertUnixDates(document: any): Promise<any>; export declare function getDataLink(data: any[]): Promise<string>; export declare function convertToCsvTable(documents: any[]): Promise<string>; export declare function getListOfArtifacts(toolName: string, linkData: Array<{ title: string; url: string | null; }>): Promise<ToolResponse>; export declare function fetchQADetailsAndCreateResponse(imo: string | undefined, questionNo: number, functionName: string, linkHeader: string, session_id?: string): Promise<ToolResponse>; export declare function processTypesenseResults(searchResult: any, toolName: string, title: string, session_id: string | undefined, linkHeader: string, artifactTitle?: string): Promise<ToolResponse>; export declare function formatTypesenseResults(searchResult: any, toolName: string, title: string, dataLink: string, artifactTitle?: string): Promise<ToolResponse>; export declare function processTypesenseExportResults(documents: any[], toolName: string, title: string, artifactTitle: string, session_id: string, linkHeader: string, imo: string, vesselName: string | null): Promise<ToolResponse>; export declare function updateTypesenseFilterWithCompanyImos(filter: string): Promise<string>;