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 _0x803f=['get','isAuthenticated','index','/describe','/:id','post','create','put','update','delete','multer','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x18d76e,_0xbdba80){var _0x3d397b=function(_0x34a4e8){while(--_0x34a4e8){_0x18d76e['push'](_0x18d76e['shift']());}};_0x3d397b(++_0xbdba80);}(_0x803f,0x64));var _0xf803=function(_0x2eea34,_0x34f8ef){_0x2eea34=_0x2eea34-0x0;var _0x461c8f=_0x803f[_0x2eea34];return _0x461c8f;};'use strict';var multer=require(_0xf803('0x0'));var util=require('util');var path=require(_0xf803('0x1'));var timeout=require(_0xf803('0x2'));var express=require('express');var router=express[_0xf803('0x3')]();var fs_extra=require(_0xf803('0x4'));var auth=require(_0xf803('0x5'));var interaction=require(_0xf803('0x6'));var config=require(_0xf803('0x7'));var controller=require('./voiceDialReport.controller');router[_0xf803('0x8')]('/',auth[_0xf803('0x9')](),controller[_0xf803('0xa')]);router['get'](_0xf803('0xb'),auth[_0xf803('0x9')](),controller['describe']);router[_0xf803('0x8')](_0xf803('0xc'),auth[_0xf803('0x9')](),controller['show']);router[_0xf803('0xd')]('/',auth['isAuthenticated'](),controller[_0xf803('0xe')]);router[_0xf803('0xf')]('/:id',auth[_0xf803('0x9')](),controller[_0xf803('0x10')]);router[_0xf803('0x11')](_0xf803('0xc'),auth[_0xf803('0x9')](),controller['destroy']);module['exports']=router;