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