Phone number validation changes for Transactional API
Route: Transactional SMS endpoints
New phone number validations are added for the Transactional endpoints.
-
if the number starts with
00-> it replaces00with+- So numbers starting with
00or+are same.
- So numbers starting with
-
if the number starts with
+it does nothing- If a number starts with
+it is checked directly usinghttps://www.npmjs.com/package/libphonenumber-jswithout sanitizing the input.
- If a number starts with
-
if the number starts with single
0-> it removes leading zero- In this case the single
0is removed and before passing to libraryhttps://www.npmjs.com/package/libphonenumber-jswe add a prefix of+because the library expects the country code before the number.
- In this case the single
-
Any other string of digits are assumed to be a national number
- In this case we add a prefix of
+before checking the validity of number usinghttps://www.npmjs.com/package/libphonenumber-js.
- In this case we add a prefix of
Added new features and their permissions for User Management endpoints
Route: Send invitation to user
Added new features and their permissions for the invited users access. The added features are mentioned below:
smtp_api:- smtp
- api_keys
- authorized_ips
sales_platform:- manage_owned_deals_tasks_companies
- manage_others_deals_tasks_companies
- reports
- settings
senders_domains_dedicated_ips:- senders_management
- domains_management
- dedicated_ips_management
push_notifications:- view
- create_edit_delete
- send
- settings