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 _0x2554=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','./voiceQueuesLog.controller','get','isAuthenticated','show','post','create','put','/:id','update','delete','exports','util','path','express'];(function(_0x1c315d,_0xb9457d){var _0x5374b4=function(_0x1044a1){while(--_0x1044a1){_0x1c315d['push'](_0x1c315d['shift']());}};_0x5374b4(++_0xb9457d);}(_0x2554,0x141));var _0x4255=function(_0x1c2958,_0x2950a9){_0x1c2958=_0x1c2958-0x0;var _0xfc4df8=_0x2554[_0x1c2958];return _0xfc4df8;};'use strict';var multer=require('multer');var util=require(_0x4255('0x0'));var path=require(_0x4255('0x1'));var timeout=require('connect-timeout');var express=require(_0x4255('0x2'));var router=express[_0x4255('0x3')]();var fs_extra=require(_0x4255('0x4'));var auth=require(_0x4255('0x5'));var interaction=require(_0x4255('0x6'));var config=require('../../config/environment');var controller=require(_0x4255('0x7'));router[_0x4255('0x8')]('/',auth[_0x4255('0x9')](),controller['index']);router[_0x4255('0x8')]('/:id',auth[_0x4255('0x9')](),controller[_0x4255('0xa')]);router[_0x4255('0xb')]('/',auth[_0x4255('0x9')](),controller[_0x4255('0xc')]);router[_0x4255('0xd')](_0x4255('0xe'),auth[_0x4255('0x9')](),controller[_0x4255('0xf')]);router[_0x4255('0x10')](_0x4255('0xe'),auth[_0x4255('0x9')](),controller['destroy']);module[_0x4255('0x11')]=router;