- Add new /api/eoi/validate-document endpoint to check document existence - Automatically clean up orphaned database records when documents don't exist in Documenso - Update EOISection component to validate documents on mount - Enhanced delete-generated-document endpoint to handle already-deleted documents - Updated check-signature-status endpoint with validation logic - Prevents EOI section from showing when document no longer exists - Self-healing system that fixes data inconsistencies automatically Key improvements: - Validates document existence before showing EOI management UI - Cleans up documensoID, signature links, and status fields when document is missing - Graceful handling of 404 errors from Documenso API - Background validation with user-friendly notifications - Prevents phantom EOI states that appear generated but don't exist |
||
|---|---|---|
| .. | ||
| eoi | ||
| files | ||
| create-interest.ts | ||
| delete-interest.ts | ||
| eoi-send-to-sales.ts | ||
| get-berths.ts | ||
| get-interest-berths.ts | ||
| get-interest-by-id.ts | ||
| get-interests.ts | ||
| link-berth-recommendations-to-interest.ts | ||
| link-berths-to-interest.ts | ||
| request-more-info-to-sales.ts | ||
| request-more-information.ts | ||
| unlink-berth-recommendations-from-interest.ts | ||
| unlink-berths-from-interest.ts | ||
| update-interest.ts | ||