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 _0x6d1f=['../../config/environment','./voiceDialReport.controller','isAuthenticated','get','/describe','describe','show','create','put','/:id','update','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x2694f6,_0x31b042){var _0x13ab43=function(_0x243a5e){while(--_0x243a5e){_0x2694f6['push'](_0x2694f6['shift']());}};_0x13ab43(++_0x31b042);}(_0x6d1f,0xdc));var _0xf6d1=function(_0x11b7e0,_0x5b1e81){_0x11b7e0=_0x11b7e0-0x0;var _0x2ab091=_0x6d1f[_0x11b7e0];return _0x2ab091;};'use strict';var multer=require(_0xf6d1('0x0'));var util=require(_0xf6d1('0x1'));var path=require(_0xf6d1('0x2'));var timeout=require(_0xf6d1('0x3'));var express=require(_0xf6d1('0x4'));var router=express[_0xf6d1('0x5')]();var auth=require(_0xf6d1('0x6'));var interaction=require(_0xf6d1('0x7'));var config=require(_0xf6d1('0x8'));var controller=require(_0xf6d1('0x9'));router['get']('/',auth[_0xf6d1('0xa')](),controller['index']);router[_0xf6d1('0xb')](_0xf6d1('0xc'),auth['isAuthenticated'](),controller[_0xf6d1('0xd')]);router[_0xf6d1('0xb')]('/:id',auth[_0xf6d1('0xa')](),controller[_0xf6d1('0xe')]);router['post']('/',auth[_0xf6d1('0xa')](),controller[_0xf6d1('0xf')]);router[_0xf6d1('0x10')](_0xf6d1('0x11'),auth[_0xf6d1('0xa')](),controller[_0xf6d1('0x12')]);router['delete'](_0xf6d1('0x11'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;