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 _0xbffb=['update','delete','destroy','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceDialReport.controller','get','/describe','isAuthenticated','describe','/:id','post','create','put'];(function(_0xdc8924,_0x54303a){var _0x38978d=function(_0x42ac25){while(--_0x42ac25){_0xdc8924['push'](_0xdc8924['shift']());}};_0x38978d(++_0x54303a);}(_0xbffb,0x1d2));var _0xbbff=function(_0x522a17,_0xda5277){_0x522a17=_0x522a17-0x0;var _0xafaa0c=_0xbffb[_0x522a17];return _0xafaa0c;};'use strict';var multer=require(_0xbbff('0x0'));var util=require(_0xbbff('0x1'));var path=require(_0xbbff('0x2'));var timeout=require(_0xbbff('0x3'));var express=require(_0xbbff('0x4'));var router=express['Router']();var auth=require(_0xbbff('0x5'));var interaction=require(_0xbbff('0x6'));var config=require(_0xbbff('0x7'));var controller=require(_0xbbff('0x8'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0xbbff('0x9')](_0xbbff('0xa'),auth[_0xbbff('0xb')](),controller[_0xbbff('0xc')]);router[_0xbbff('0x9')](_0xbbff('0xd'),auth[_0xbbff('0xb')](),controller['show']);router[_0xbbff('0xe')]('/',auth[_0xbbff('0xb')](),controller[_0xbbff('0xf')]);router[_0xbbff('0x10')]('/:id',auth[_0xbbff('0xb')](),controller[_0xbbff('0x11')]);router[_0xbbff('0x12')](_0xbbff('0xd'),auth[_0xbbff('0xb')](),controller[_0xbbff('0x13')]);module[_0xbbff('0x14')]=router;