January 31, 2024

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 with00 -> it replaces 00 with+

    • So numbers starting with 00 or + are same.
  • if the number starts with+ it does nothing

    • If a number starts with + it is checked directly using https://www.npmjs.com/package/libphonenumber-js without sanitizing the input.
  • if the number starts with single0 -> it removes leading zero

    • In this case the single 0 is removed and before passing to library https://www.npmjs.com/package/libphonenumber-js we add a prefix of + because the library expects the country code before the number.
  • 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 using https://www.npmjs.com/package/libphonenumber-js.

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