| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- import request from '@/utils/request'
- // 查询aiSIP外呼通话记录列表
- export function listAiSipCallPhone(query) {
- return request({
- url: '/company/aiSipCall/phone/list',
- method: 'get',
- params: query
- })
- }
- // 查询aiSIP外呼通话记录详细
- export function getAiSipCallPhone(id) {
- return request({
- url: '/company/aiSipCall/phone/' + id,
- method: 'get'
- })
- }
- // 新增aiSIP外呼通话记录
- export function addAiSipCallPhone(data) {
- return request({
- url: '/company/aiSipCall/phone',
- method: 'post',
- data: data
- })
- }
- // 修改aiSIP外呼通话记录
- export function updateAiSipCallPhone(data) {
- return request({
- url: '/company/aiSipCall/phone',
- method: 'put',
- data: data
- })
- }
- // 删除aiSIP外呼通话记录
- export function delAiSipCallPhone(id) {
- return request({
- url: '/company/aiSipCall/phone/' + id,
- method: 'delete'
- })
- }
- // 导出aiSIP外呼通话记录
- export function exportAiSipCallPhone(query) {
- return request({
- url: '/company/aiSipCall/phone/export',
- method: 'get',
- params: query
- })
- }
- // 同步aiSIP外呼通话记录
- export function manualPull() {
- return request({
- url: '/company/aiSipCall/phone/manualPull',
- method: 'get'
- })
- }
- // 播放/下载录音(后端返回二进制流,RequestBody 取 wavfile)
- export function playAndDownload(data, config = {}) {
- return request({
- url: '/company/aiSipCall/phone/playAndDownload',
- method: 'post',
- data: data,
- responseType: 'blob',
- timeout: 600000,
- ...config
- })
- }
- // 查询sip执行详情
- export function listCVO(query) {
- return request({
- url: '/company/aiSipCall/phone/listCVO',
- method: 'get',
- params: query
- })
- }
- // 统计详情列表
- export function statisticalManagement(data) {
- return request({
- url: '/company/aiSipCall/phone/statisticalManagement',
- method: 'post',
- data: data
- })
- }
- // 导出aiSIP外呼通话记录
- export function exportStatisticalManagement(query) {
- return request({
- url: '/company/aiSipCall/phone/exportStatisticalManagement',
- method: 'get',
- params: query
- })
- }
- // 自动化任务sip执行计划详情列表
- export function companySopList(query) {
- return request({
- url: '/company/aiSipCall/phone/companySopList',
- method: 'get',
- params: query
- })
- }
|