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