- Remplacement de DocuSeal par solution souveraine Odentas Sign - Système d'authentification OTP pour signataires (bcryptjs + JWT) - 8 routes API: send-otp, verify-otp, sign, pdf-url, positions, status, webhook, signers - Interface moderne avec canvas de signature et animations (framer-motion, confetti) - Système de templates pour auto-détection des positions de signature (CDDU, RG, avenants) - PDF viewer avec @react-pdf-viewer (compatible Next.js) - Stockage S3: source/, signatures/, evidence/, signed/, certs/ - Tables Supabase: sign_requests, signers, sign_positions, sign_events, sign_assets - Evidence bundle automatique (JSON metadata + timestamps) - Templates emails: OTP et completion - Scripts Lambda prêts: pades-sign (KMS seal) et tsaStamp (RFC3161) - Mode test détecté automatiquement (emails whitelist) - Tests complets avec PDF CDDU réel (2 signataires)
34 lines
809 B
JSON
34 lines
809 B
JSON
{
|
|
"templateName": "contrat_cddu",
|
|
"description": "Contrat CDDU (CDD d'usage) - Intermittents du spectacle",
|
|
"pdfPattern": "contrat_cddu_.*\\.pdf",
|
|
"pageCount": 3,
|
|
"positions": [
|
|
{
|
|
"role": "Employeur",
|
|
"label": "Signature Employeur",
|
|
"page": 3,
|
|
"x": 70,
|
|
"y": 120,
|
|
"width": 180,
|
|
"height": 70,
|
|
"comment": "Bas de page 3, côté gauche"
|
|
},
|
|
{
|
|
"role": "Salarié",
|
|
"label": "Signature Salarié",
|
|
"page": 3,
|
|
"x": 350,
|
|
"y": 120,
|
|
"width": 180,
|
|
"height": 70,
|
|
"comment": "Bas de page 3, côté droite"
|
|
}
|
|
],
|
|
"metadata": {
|
|
"createdAt": "2025-10-27",
|
|
"version": "1.0",
|
|
"basedOn": "Template DocuSeal existant",
|
|
"notes": "Positions approximatives, à ajuster après test réel"
|
|
}
|
|
}
|