feat(delivery): add POST /delivery/parsePDF SSE route
- Accepts multipart/form-data PDF, streams LLM extraction via SSE - Uses libllmorbiter (OpenRouterProvider) with API key from companysetting keys.openrouter - Extracts manifest basedata, notes, and line items from invoices/delivery notes - Events: status, llm_call, tool_call, usage, progress, result, error - Extends generateApiDocs.js: multipart field table + x-sse-events table support - Docs: docs/api/routes/delivery/parsePDF.md (auto-generated)
This commit is contained in:
12
package.json
12
package.json
@@ -20,15 +20,17 @@
|
||||
"crypto": "^1.0.1",
|
||||
"dotenv": "^17.4.2",
|
||||
"express": "^5.2.1",
|
||||
"google-auth-library": "^11.0.0",
|
||||
"google-auth-library": "^11.0.2",
|
||||
"ink": "^7.1.1",
|
||||
"ink-text-input": "^6.0.0",
|
||||
"jsonwebtoken": "^9.0.3",
|
||||
"jszip": "^3.10.1",
|
||||
"jszip": "^3.10.2",
|
||||
"libdashstore": "file:../dashdbschema",
|
||||
"mssql": "^12.7.0",
|
||||
"react": "^19.2.8",
|
||||
"sharp": "^0.35.3"
|
||||
"libllmorbiter": "file:../llmorbiter",
|
||||
"multer": "^2.4.0",
|
||||
"mssql": "^12.7.2",
|
||||
"react": "^19.3.0",
|
||||
"sharp": "^0.35.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"swagger-jsdoc": "^6.3.0"
|
||||
|
||||
Reference in New Issue
Block a user