feat: marca Uriel Jareth Consulting, API segura para agentes, aprobacion humana y webhooks HMAC

This commit is contained in:
urieljareth
2026-11-25 00:55:18 -06:00
parent 75180b0fe4
commit 0d4f19f35d
111 changed files with 7167 additions and 1272 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ from fastapi import APIRouter, Depends, File, UploadFile
from asyncpg import Connection
from app.dependencies import get_db
from app.auth import require_auth
from app.auth import require_staff_human
router = APIRouter(prefix="/import", tags=["Import"])
@@ -17,7 +17,7 @@ REQUIRED_COLUMNS = {"nombre", "fase", "tipoPago", "precioBase", "categoria"}
@router.post("/catalogo")
async def import_catalogo_csv(
file: UploadFile = File(...),
_auth: dict = Depends(require_auth),
_auth: dict = Depends(require_staff_human),
db: Connection = Depends(get_db),
):
content = await file.read()