import request from '@/utils/request' // 查询企业用户坐席列表 export function listCompanyVoiceCaller(query) { return request({ url: '/company/companyVoiceCaller/list', method: 'get', params: query }) } // 查询我的企业用户坐席列表 export function getMyCallerApiList(query) { return request({ url: '/company/companyVoiceCaller/myList', method: 'get', params: query }) } // 查询企业用户坐席详细 export function getCompanyVoiceCaller(callerId) { return request({ url: '/company/companyVoiceCaller/' + callerId, method: 'get' }) } // 新增企业用户坐席 export function addCompanyVoiceCaller(data) { return request({ url: '/company/companyVoiceCaller', method: 'post', data: data }) } // 修改企业用户坐席 export function updateCompanyVoiceCaller(data) { return request({ url: '/company/companyVoiceCaller', method: 'put', data: data }) } // 删除企业用户坐席 export function delCompanyVoiceCaller(callerId) { return request({ url: '/company/companyVoiceCaller/' + callerId, method: 'delete' }) } // 导出企业用户坐席 export function exportCompanyVoiceCaller(query) { return request({ url: '/company/companyVoiceCaller/export', method: 'get', params: query }) } export function getCallerList(query) { return request({ url: '/company/companyVoiceCaller/getCallerList' , method: 'get', params: query }) } export function bindCallerNo(data) { return request({ url: '/company/companyVoiceCaller/bindCallerNo', method: 'post', data: data }) }