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