...

  1. Verificate sms - from person. Invoke verification module to verify OTP (OTP Verification)

  2. Update mpi

    1. Add to table person_auth_methods row with type = third_person, value = id (confidantthird_person_id), alias (from payload), is_primary = False

    2. Start date: start_date = Current_date()

    3. End date: if (person.age < 18) {  end_date = min(birth_date + 18y - 1d, start_date + third_person_term);} else {  end_date = start_date + third_person_term;}

...