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 _0xcd18=['multer','util','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','update','delete','destroy'];(function(_0x32ae56,_0xfc7556){var _0x370735=function(_0x390f19){while(--_0x390f19){_0x32ae56['push'](_0x32ae56['shift']());}};_0x370735(++_0xfc7556);}(_0xcd18,0xb4));var _0x8cd1=function(_0x373436,_0x39d99c){_0x373436=_0x373436-0x0;var _0x5bba01=_0xcd18[_0x373436];return _0x5bba01;};'use strict';var multer=require(_0x8cd1('0x0'));var util=require(_0x8cd1('0x1'));var path=require('path');var timeout=require(_0x8cd1('0x2'));var express=require(_0x8cd1('0x3'));var router=express['Router']();var fs_extra=require(_0x8cd1('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x8cd1('0x5'));var config=require(_0x8cd1('0x6'));var controller=require('./voiceDialReport.controller');router[_0x8cd1('0x7')]('/',auth[_0x8cd1('0x8')](),controller[_0x8cd1('0x9')]);router[_0x8cd1('0x7')](_0x8cd1('0xa'),auth[_0x8cd1('0x8')](),controller[_0x8cd1('0xb')]);router['get'](_0x8cd1('0xc'),auth[_0x8cd1('0x8')](),controller[_0x8cd1('0xd')]);router[_0x8cd1('0xe')]('/',auth[_0x8cd1('0x8')](),controller[_0x8cd1('0xf')]);router[_0x8cd1('0x10')](_0x8cd1('0xc'),auth['isAuthenticated'](),controller[_0x8cd1('0x11')]);router[_0x8cd1('0x12')]('/:id',auth[_0x8cd1('0x8')](),controller[_0x8cd1('0x13')]);module['exports']=router;