1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0xc803=['put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../config/environment','get','isAuthenticated','/describe','describe','/:id','show','/:id/download','download','/:id/downloads','downloads','/:id/transcribe','downloadTranscribe','post','runTranscribe'];(function(_0x1fd0b0,_0x28626c){var _0x5df9d3=function(_0x5cb49a){while(--_0x5cb49a){_0x1fd0b0['push'](_0x1fd0b0['shift']());}};_0x5df9d3(++_0x28626c);}(_0xc803,0xa1));var _0x3c80=function(_0x3f8417,_0x12e9f8){_0x3f8417=_0x3f8417-0x0;var _0x3e78f4=_0xc803[_0x3f8417];return _0x3e78f4;};'use strict';var multer=require(_0x3c80('0x0'));var util=require(_0x3c80('0x1'));var path=require(_0x3c80('0x2'));var timeout=require(_0x3c80('0x3'));var express=require(_0x3c80('0x4'));var router=express['Router']();var auth=require(_0x3c80('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x3c80('0x6'));var controller=require('./voiceRecording.controller');router[_0x3c80('0x7')]('/',auth[_0x3c80('0x8')](),controller['index']);router[_0x3c80('0x7')](_0x3c80('0x9'),auth[_0x3c80('0x8')](),controller[_0x3c80('0xa')]);router['get'](_0x3c80('0xb'),auth[_0x3c80('0x8')](),controller[_0x3c80('0xc')]);router['get'](_0x3c80('0xd'),auth[_0x3c80('0x8')](),controller[_0x3c80('0xe')]);router[_0x3c80('0x7')](_0x3c80('0xf'),controller[_0x3c80('0x10')]);router[_0x3c80('0x7')](_0x3c80('0x11'),auth[_0x3c80('0x8')](),controller[_0x3c80('0x12')]);router[_0x3c80('0x13')]('/',auth[_0x3c80('0x8')](),controller['create']);router[_0x3c80('0x13')](_0x3c80('0x11'),auth[_0x3c80('0x8')](),controller[_0x3c80('0x14')]);router[_0x3c80('0x15')](_0x3c80('0xb'),auth['isAuthenticated'](),controller[_0x3c80('0x16')]);router[_0x3c80('0x17')](_0x3c80('0xb'),auth['isAuthenticated'](),controller[_0x3c80('0x18')]);module[_0x3c80('0x19')]=router;