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 _0x1bc7=['/describe','describe','/:id','post','put','delete','destroy','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceAgentReport.controller','get','isAuthenticated','index'];(function(_0x243b59,_0x3f9495){var _0x3e1676=function(_0x354052){while(--_0x354052){_0x243b59['push'](_0x243b59['shift']());}};_0x3e1676(++_0x3f9495);}(_0x1bc7,0xbb));var _0x71bc=function(_0x100f55,_0x37b466){_0x100f55=_0x100f55-0x0;var _0xc39600=_0x1bc7[_0x100f55];return _0xc39600;};'use strict';var multer=require('multer');var util=require(_0x71bc('0x0'));var path=require(_0x71bc('0x1'));var timeout=require('connect-timeout');var express=require(_0x71bc('0x2'));var router=express[_0x71bc('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x71bc('0x4'));var interaction=require(_0x71bc('0x5'));var config=require(_0x71bc('0x6'));var controller=require(_0x71bc('0x7'));router[_0x71bc('0x8')]('/',auth[_0x71bc('0x9')](),controller[_0x71bc('0xa')]);router[_0x71bc('0x8')](_0x71bc('0xb'),auth['isAuthenticated'](),controller[_0x71bc('0xc')]);router[_0x71bc('0x8')](_0x71bc('0xd'),auth[_0x71bc('0x9')](),controller['show']);router[_0x71bc('0xe')]('/',auth['isAuthenticated'](),controller['create']);router[_0x71bc('0xf')](_0x71bc('0xd'),auth[_0x71bc('0x9')](),controller['update']);router[_0x71bc('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x71bc('0x11')]);module['exports']=router;