/** * Versioned command envelope (reused from support-service's command pattern). * Every externally-visible mutation carries a schema name + numeric version + * an idempotency key. Kept dependency-free here (a type); the service defines a * class-validator DTO that conforms to it. */ export interface CommandEnvelope
> { schemaName: string; schemaVersion: number; idempotencyKey: string; payload: P; }