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 _0x63fb=['/:id/downloads','downloads','/:id/transcribe','downloadTranscribe','post','create','runTranscribe','put','update','delete','destroy','multer','path','connect-timeout','express','fs-extra','../../components/auth/service','./voiceRecording.controller','get','isAuthenticated','index','/describe','/:id','/:id/download','download'];(function(_0x189eaa,_0x1991f6){var _0x12c6a3=function(_0x224416){while(--_0x224416){_0x189eaa['push'](_0x189eaa['shift']());}};_0x12c6a3(++_0x1991f6);}(_0x63fb,0x1b4));var _0xb63f=function(_0x27ce04,_0x404ea4){_0x27ce04=_0x27ce04-0x0;var _0x19d4ce=_0x63fb[_0x27ce04];return _0x19d4ce;};'use strict';var multer=require(_0xb63f('0x0'));var util=require('util');var path=require(_0xb63f('0x1'));var timeout=require(_0xb63f('0x2'));var express=require(_0xb63f('0x3'));var router=express['Router']();var fs_extra=require(_0xb63f('0x4'));var auth=require(_0xb63f('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xb63f('0x6'));router[_0xb63f('0x7')]('/',auth[_0xb63f('0x8')](),controller[_0xb63f('0x9')]);router[_0xb63f('0x7')](_0xb63f('0xa'),auth[_0xb63f('0x8')](),controller['describe']);router['get'](_0xb63f('0xb'),auth[_0xb63f('0x8')](),controller['show']);router[_0xb63f('0x7')](_0xb63f('0xc'),auth[_0xb63f('0x8')](),controller[_0xb63f('0xd')]);router[_0xb63f('0x7')](_0xb63f('0xe'),controller[_0xb63f('0xf')]);router[_0xb63f('0x7')](_0xb63f('0x10'),auth[_0xb63f('0x8')](),controller[_0xb63f('0x11')]);router[_0xb63f('0x12')]('/',auth[_0xb63f('0x8')](),controller[_0xb63f('0x13')]);router[_0xb63f('0x12')]('/:id/transcribe',auth['isAuthenticated'](),controller[_0xb63f('0x14')]);router[_0xb63f('0x15')]('/:id',auth[_0xb63f('0x8')](),controller[_0xb63f('0x16')]);router[_0xb63f('0x17')](_0xb63f('0xb'),auth[_0xb63f('0x8')](),controller[_0xb63f('0x18')]);module['exports']=router;