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