Filter origins by visit type when scheduling the next visits
We have separate task queues and workers for each visit type, so it makes sense to split this endpoint along these lines too, at least for now.
Depends on !168 (closed) Depends on !172 (closed)
Test Plan
updated tests for the new arguments
Migrated from D4855 (view on Phabricator)