/** * Gestoria (accountant) tools for the Frihet MCP server — Wave Fase 1 (5 tools). * * Tools: * 1. gestoria_message_send — send a message in a contextual thread * 2. gestoria_messages_list — list messages in a thread (paged backwards) * 3. gestoria_template_create — create a document request template * 4. gestoria_template_bulk_send — bulk send template to N client workspaces * 5. gestoria_aging_consolidated — cross-client AR aging report * * REST surface: /v1/gestoria/* * * Backend status (post-Wave Fase 1, May 2026): * - Frihet-ERP PR #383 — `gestoriaBulkSendRequests` callable (eu-west1) MERGED. * - Frihet-ERP PR #384 — consolidated AR aging tab (branch live, await merge). * - Frihet-ERP PR #385 — contextual messaging (branch live, await merge). * * The MCP layer talks REST (`api.frihet.io/v1/gestoria/*`). The REST shell * proxies to Firebase callables + Firestore reads. Until the REST shell ships, * tools will surface 404 errors with clear messages — clients can retry post-deploy. * * App Check: mcp.frihet.io worker is App Check enforced. Region: callables * auto-resolve eu-west1 via existing client routing. */ import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import type { IFrihetClient } from "../client-interface.js"; export declare function registerGestoriaTools(server: McpServer, client: IFrihetClient): void; //# sourceMappingURL=gestoria.d.ts.map