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 _0xc809=['path','connect-timeout','express','../../components/interaction/service','../../config/environment','./voiceQueuesLog.controller','get','isAuthenticated','index','/:id','show','post','create','delete','destroy','multer','util'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xc809,0x1b8));var _0x9c80=function(_0x16f0e9,_0x332977){_0x16f0e9=_0x16f0e9-0x0;var _0x1cebda=_0xc809[_0x16f0e9];return _0x1cebda;};'use strict';var multer=require(_0x9c80('0x0'));var util=require(_0x9c80('0x1'));var path=require(_0x9c80('0x2'));var timeout=require(_0x9c80('0x3'));var express=require(_0x9c80('0x4'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x9c80('0x5'));var config=require(_0x9c80('0x6'));var controller=require(_0x9c80('0x7'));router[_0x9c80('0x8')]('/',auth[_0x9c80('0x9')](),controller[_0x9c80('0xa')]);router[_0x9c80('0x8')](_0x9c80('0xb'),auth['isAuthenticated'](),controller[_0x9c80('0xc')]);router[_0x9c80('0xd')]('/',auth['isAuthenticated'](),controller[_0x9c80('0xe')]);router['put'](_0x9c80('0xb'),auth[_0x9c80('0x9')](),controller['update']);router[_0x9c80('0xf')](_0x9c80('0xb'),auth[_0x9c80('0x9')](),controller[_0x9c80('0x10')]);module['exports']=router;