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