- 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)
26 lines
No EOL
871 B
JSON
26 lines
No EOL
871 B
JSON
{
|
|
"success": true,
|
|
"request": {
|
|
"id": "75b4408d-1bbd-464f-a9ea-2b4e5075a817",
|
|
"ref": "TEST-1761582838435",
|
|
"title": "Contrat CDDU - Test Local",
|
|
"status": "pending",
|
|
"created_at": "2025-10-27T16:34:07.361187+00:00"
|
|
},
|
|
"signers": [
|
|
{
|
|
"signerId": "95c4ccdc-1a26-4426-a56f-653758159b54",
|
|
"role": "Employeur",
|
|
"name": "Odentas Paie",
|
|
"email": "paie@odentas.fr",
|
|
"signatureUrl": "https://espace-paie.odentas.fr/signer/75b4408d-1bbd-464f-a9ea-2b4e5075a817/95c4ccdc-1a26-4426-a56f-653758159b54"
|
|
},
|
|
{
|
|
"signerId": "d481f070-2ac6-4f82-aff3-862783904d5d",
|
|
"role": "Salarié",
|
|
"name": "Renaud Breviere",
|
|
"email": "renaud.breviere@gmail.com",
|
|
"signatureUrl": "https://espace-paie.odentas.fr/signer/75b4408d-1bbd-464f-a9ea-2b4e5075a817/d481f070-2ac6-4f82-aff3-862783904d5d"
|
|
}
|
|
]
|
|
} |