UNPKG

syia-mcp-vessel-accounts

Version:

MCP server for vessel account management including EyeShare API integration, vessel expenses, and purchase orders

28 lines (27 loc) 1.34 kB
/** * Utility functions for filtering Purchase Order Lines data * Provides functionality to extract only specified fields from PoLines arrays */ /** * Fields to be included in filtered PoLines response */ export declare const FILTERED_PO_LINES_FIELDS: readonly ["AccountCode", "CostCentre", "Extra4", "QtyWrittenOff", "PoNumber", "Line", "Item", "Description", "Ordered", "Received", "Invoiced", "OriginalPrice", "DiscountPercentage", "Unit", "CurrencyCode", "Reserved", "InvoicedNow", "InvoicedUnitPrice"]; /** * Filters a single PoLine object to include only specified fields * @param poLine - The original PoLine object * @returns Filtered PoLine object with only specified fields */ export declare function filterPoLine(poLine: any): any; /** * Filters an array of PoLines to include only specified fields * @param poLines - Array of PoLine objects * @returns Array of filtered PoLine objects */ export declare function filterPoLines(poLines: any[]): any[]; /** * Filters purchase order data to include only specified PoLines fields * Processes the entire purchase order structure and filters PoLines arrays * @param purchaseOrderData - The complete purchase order response data * @returns Purchase order data with filtered PoLines */ export declare function filterPurchaseOrderPoLines(purchaseOrderData: any): any;