upsertTeamMemberUserTypes
This will update UserEntity.team, UserEntity.userType, UserEntity.connectionStatus to ConnectionEntity.State.ACCEPTED or insert a new record.
An upsert operation is a one that tries to update a record and if fails (not rows affected by change) inserts instead. In this case when trying to insert a member, we could already have the record, so we need to pass only the data needed.