import { apiClient } from './client'; export interface TareaConContribuyente { id: string; contribuyenteId: string; contribuyenteRfc: string; contribuyenteRazonSocial: string; nombre: string; descripcion: string | null; recurrencia: string; diaSemana: number | null; diaMes: number | null; soloSupervisorCompleta: boolean; esDefault: boolean; active: boolean; orden: number; createdAt: string; auxiliarAsignadoId?: string | null; periodoActual: { id: string; periodo: string; fechaLimite: string; completada: boolean; completadaAt: string | null; completadaPor: string | null; notas: string | null; } | null; } export const getMisTareas = () => apiClient.get('/tareas/mis-tareas').then(r => r.data);