// groupRepository.ts

// @ts-ignore
import Repository from './Repository';

const commandResource = '/control';

import {dictEmptyValToNull} from '@/utils';

export default {
  runRecorderCommand(recorderId: any, commandId: any, parameters: any) {
    return Repository.post(`${commandResource}?recorder_id=${recorderId}&command_id=${commandId}`,
      {parameters: dictEmptyValToNull(parameters)});
  },

};
