Skip to main content
Glama

MCP Inflow Ingredients

types.ts1.87 kB
/** * TypeScript type definitions for Inflow Inventory MCP Server * These types are used for JSDoc comments in JavaScript files */ /** * Inflow API configuration */ export interface InflowConfig { apiKey: string; companyId: string; apiUrl?: string; apiVersion?: string; } /** * Generic API response wrapper */ export interface MCPResponse<T = any> { success: boolean; data?: T; error?: string; status?: number; details?: any; } /** * Inflow Product (Ingredient) */ export interface InflowProduct { productId: string; name: string; sku?: string; description?: string; isActive?: boolean; barcode?: string; categoryId?: string; cost?: any; defaultPrice?: any; inventoryLines?: InventoryLine[]; defaultImage?: any; images?: any[]; [key: string]: any; // Allow additional fields } /** * Inventory line for a product */ export interface InventoryLine { inventoryLineId: string; locationId?: string; quantity?: number; [key: string]: any; } /** * Product inventory summary */ export interface ProductSummary { id: string; productId: string; locationId?: string; quantityOnHand: string; quantityOnOrder: string; quantityAvailable: string; quantityReserved: string; quantityPicked: string; quantityInTransit: string; quantityBuildable: string; [key: string]: any; } /** * Stock adjustment */ export interface StockAdjustment { stockAdjustmentId: string; locationId: string; adjustmentReasonId?: string; adjustmentDate?: string; notes?: string; lines: StockAdjustmentLine[]; [key: string]: any; } /** * Stock adjustment line item */ export interface StockAdjustmentLine { productId: string; quantity: number; [key: string]: any; } /** * MCP Tool result format */ export interface MCPToolResult { content: Array<{ type: string; text: string; }>; }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/intelligent-staffing-systems/mcp-inflow-ingredients'

If you have feedback or need assistance with the MCP directory API, please join our Discord server