Propagated modules: - payment-terminals: MercadoPago + Clip TPV - ai: Role-based AI access (ADMIN, JEFE_TALLER, MECANICO, CLIENTE) - mcp: 18 ERP tools for AI assistants Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
18 lines
457 B
TypeScript
18 lines
457 B
TypeScript
// =====================================================
|
|
// Interfaces: MCP Context
|
|
// Modulo: MGN-022
|
|
// Version: 1.0.0
|
|
// =====================================================
|
|
|
|
export type CallerType = 'agent' | 'api' | 'webhook' | 'system' | 'test';
|
|
|
|
export interface McpContext {
|
|
tenantId: string;
|
|
userId?: string;
|
|
agentId?: string;
|
|
conversationId?: string;
|
|
callerType: CallerType;
|
|
permissions: string[];
|
|
metadata?: Record<string, any>;
|
|
}
|