perhaps this function could be merged with `resumeScheduleAndActions` and only have one named `resume`.
The same for pause.