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 _0xf185=['connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./voiceQueuesLog.controller','get','isAuthenticated','index','/:id','post','create','put','update','multer','path'];(function(_0x266b7e,_0x508736){var _0x541984=function(_0x3cdc2f){while(--_0x3cdc2f){_0x266b7e['push'](_0x266b7e['shift']());}};_0x541984(++_0x508736);}(_0xf185,0x1be));var _0x5f18=function(_0x4094f7,_0x35ce70){_0x4094f7=_0x4094f7-0x0;var _0x4a3475=_0xf185[_0x4094f7];return _0x4a3475;};'use strict';var multer=require(_0x5f18('0x0'));var util=require('util');var path=require(_0x5f18('0x1'));var timeout=require(_0x5f18('0x2'));var express=require(_0x5f18('0x3'));var router=express[_0x5f18('0x4')]();var auth=require(_0x5f18('0x5'));var interaction=require(_0x5f18('0x6'));var config=require('../../config/environment');var controller=require(_0x5f18('0x7'));router[_0x5f18('0x8')]('/',auth[_0x5f18('0x9')](),controller[_0x5f18('0xa')]);router['get'](_0x5f18('0xb'),auth[_0x5f18('0x9')](),controller['show']);router[_0x5f18('0xc')]('/',auth['isAuthenticated'](),controller[_0x5f18('0xd')]);router[_0x5f18('0xe')]('/:id',auth[_0x5f18('0x9')](),controller[_0x5f18('0xf')]);router['delete'](_0x5f18('0xb'),auth[_0x5f18('0x9')](),controller['destroy']);module['exports']=router;