UNPKG

bc-webclient-mcp

Version:

Model Context Protocol (MCP) server for Microsoft Dynamics 365 Business Central via WebUI protocol. Enables AI assistants to interact with BC through the web client protocol, supporting Card, List, and Document pages with full line item support and server

31 lines 888 B
/** * Utility functions for pageContextId handling * * PageContextId format: "sessionId:page:pageId:timestamp" */ export interface PageContextParts { sessionId: string; pageId: string; timestamp?: string; } /** * Parse a pageContextId into its component parts */ export declare function parsePageContextId(pageContextId: string): PageContextParts; /** * Build a pageContextId from components */ export declare function buildPageContextId(sessionId: string, pageId: string | number, timestamp?: number): string; /** * Ensure we have the necessary page identifiers, extracting from pageContextId if needed */ export declare function ensurePageIdentifiers(args: { pageContextId?: string; pageId?: string | number; sessionId?: string; }): { pageContextId?: string; pageId?: string; sessionId?: string; }; //# sourceMappingURL=pageContext.d.ts.map