Import - Improve phone validation (#12901)

Context : 
- Phones import is a bit complex if not all subfields are provided.
- Phones subfield validation are absent or different from BE validation.

Solution : 
- Normalize callingCode and countryCode validation (BE/FE)
- Ease phone import if only phoneNumber is provided
This commit is contained in:
Etienne
2025-07-04 23:07:24 +02:00
committed by GitHub
parent 1386f344dd
commit e8905be71a
10 changed files with 208 additions and 145 deletions

View File

@ -56856,6 +56856,7 @@ __metadata:
"@types/babel__preset-env": "npm:^7"
babel-plugin-module-resolver: "npm:^5.0.2"
glob: "npm:^11.0.1"
libphonenumber-js: "npm:^1.10.26"
tsx: "npm:^4.19.3"
zod: "npm:3.23.8"
languageName: unknown