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 _0x30c7=['index','/:id','isAuthenticated','post','create','put','delete','destroy','exports','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceAgentReport.controller','get'];(function(_0x100519,_0x50dd2c){var _0x1dd752=function(_0x451bb7){while(--_0x451bb7){_0x100519['push'](_0x100519['shift']());}};_0x1dd752(++_0x50dd2c);}(_0x30c7,0x1d1));var _0x730c=function(_0x16a25e,_0x23cb8e){_0x16a25e=_0x16a25e-0x0;var _0x54f0fc=_0x30c7[_0x16a25e];return _0x54f0fc;};'use strict';var multer=require('multer');var util=require(_0x730c('0x0'));var path=require(_0x730c('0x1'));var timeout=require(_0x730c('0x2'));var express=require(_0x730c('0x3'));var router=express['Router']();var fs_extra=require(_0x730c('0x4'));var auth=require(_0x730c('0x5'));var interaction=require(_0x730c('0x6'));var config=require(_0x730c('0x7'));var controller=require(_0x730c('0x8'));router[_0x730c('0x9')]('/',auth['isAuthenticated'](),controller[_0x730c('0xa')]);router[_0x730c('0x9')]('/describe',auth['isAuthenticated'](),controller['describe']);router[_0x730c('0x9')](_0x730c('0xb'),auth[_0x730c('0xc')](),controller['show']);router[_0x730c('0xd')]('/',auth[_0x730c('0xc')](),controller[_0x730c('0xe')]);router[_0x730c('0xf')](_0x730c('0xb'),auth[_0x730c('0xc')](),controller['update']);router[_0x730c('0x10')]('/:id',auth[_0x730c('0xc')](),controller[_0x730c('0x11')]);module[_0x730c('0x12')]=router;