def launch(self, data: dict): return SchedulerCommand(self._session).launch(data.get('team_id'), data.get('month'), data.get('year'))
def terminate(self, data: dict): return SchedulerCommand(self._session).terminate( data.get('team_id'), data.get('month'), data.get('year'))
def update_vacation(self, data: dict): vacation = to_vacation(data.get('vacation')) return SchedulerCommand(self._session).update_vacation(vacation)
def append_vacation(self, data: dict): vacation = to_vacation(data.get('vacation')) return SchedulerCommand(self._session).append_vacation( data.get('team-id'), vacation)
def save_basic_setting(self, data: dict): scheduler = to_scheduler(data) return SchedulerCommand(self._session).save_basic_setting(scheduler)
def remove_request(self, id: str): SchedulerCommand(self._session).remove_request(id)
def public_monthly_setting(self, data: dict): monthly_setting = to_monthly_setting(data) return SchedulerCommand( self._session).public_monthly_setting(monthly_setting)