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 _0xa89d=['/describe','isAuthenticated','describe','show','post','create','/:id','delete','destroy','multer','util','express','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index'];(function(_0x37e51b,_0x461f33){var _0x4f351f=function(_0x24f9cb){while(--_0x24f9cb){_0x37e51b['push'](_0x37e51b['shift']());}};_0x4f351f(++_0x461f33);}(_0xa89d,0x1a1));var _0xda89=function(_0xa12b9b,_0x3a8f46){_0xa12b9b=_0xa12b9b-0x0;var _0x1bd0ff=_0xa89d[_0xa12b9b];return _0x1bd0ff;};'use strict';var multer=require(_0xda89('0x0'));var util=require(_0xda89('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xda89('0x2'));var router=express['Router']();var auth=require(_0xda89('0x3'));var interaction=require(_0xda89('0x4'));var config=require(_0xda89('0x5'));var controller=require('./voiceDialReport.controller');router[_0xda89('0x6')]('/',auth['isAuthenticated'](),controller[_0xda89('0x7')]);router[_0xda89('0x6')](_0xda89('0x8'),auth[_0xda89('0x9')](),controller[_0xda89('0xa')]);router[_0xda89('0x6')]('/:id',auth[_0xda89('0x9')](),controller[_0xda89('0xb')]);router[_0xda89('0xc')]('/',auth[_0xda89('0x9')](),controller[_0xda89('0xd')]);router['put'](_0xda89('0xe'),auth[_0xda89('0x9')](),controller['update']);router[_0xda89('0xf')](_0xda89('0xe'),auth[_0xda89('0x9')](),controller[_0xda89('0x10')]);module['exports']=router;