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 _0x744b=['get','isAuthenticated','create','put','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceQueuesLog.controller'];(function(_0x12fc8d,_0x19ee33){var _0x3f9d04=function(_0x52e51c){while(--_0x52e51c){_0x12fc8d['push'](_0x12fc8d['shift']());}};_0x3f9d04(++_0x19ee33);}(_0x744b,0xed));var _0xb744=function(_0x1b1365,_0x205568){_0x1b1365=_0x1b1365-0x0;var _0x5edfd8=_0x744b[_0x1b1365];return _0x5edfd8;};'use strict';var multer=require(_0xb744('0x0'));var util=require(_0xb744('0x1'));var path=require(_0xb744('0x2'));var timeout=require(_0xb744('0x3'));var express=require(_0xb744('0x4'));var router=express[_0xb744('0x5')]();var auth=require(_0xb744('0x6'));var interaction=require(_0xb744('0x7'));var config=require(_0xb744('0x8'));var controller=require(_0xb744('0x9'));router[_0xb744('0xa')]('/',auth['isAuthenticated'](),controller['index']);router[_0xb744('0xa')]('/:id',auth[_0xb744('0xb')](),controller['show']);router['post']('/',auth[_0xb744('0xb')](),controller[_0xb744('0xc')]);router[_0xb744('0xd')](_0xb744('0xe'),auth[_0xb744('0xb')](),controller[_0xb744('0xf')]);router[_0xb744('0x10')](_0xb744('0xe'),auth[_0xb744('0xb')](),controller[_0xb744('0x11')]);module[_0xb744('0x12')]=router;