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 _0xf6da=['express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceQueuesLog.controller','get','index','isAuthenticated','post','create','put','/:id','delete','destroy','exports','multer','util','path','connect-timeout'];(function(_0xda3277,_0x51e7ac){var _0x46e373=function(_0x3e534b){while(--_0x3e534b){_0xda3277['push'](_0xda3277['shift']());}};_0x46e373(++_0x51e7ac);}(_0xf6da,0x65));var _0xaf6d=function(_0x15ed9e,_0x477dfc){_0x15ed9e=_0x15ed9e-0x0;var _0x594504=_0xf6da[_0x15ed9e];return _0x594504;};'use strict';var multer=require(_0xaf6d('0x0'));var util=require(_0xaf6d('0x1'));var path=require(_0xaf6d('0x2'));var timeout=require(_0xaf6d('0x3'));var express=require(_0xaf6d('0x4'));var router=express[_0xaf6d('0x5')]();var fs_extra=require(_0xaf6d('0x6'));var auth=require(_0xaf6d('0x7'));var interaction=require(_0xaf6d('0x8'));var config=require(_0xaf6d('0x9'));var controller=require(_0xaf6d('0xa'));router[_0xaf6d('0xb')]('/',auth['isAuthenticated'](),controller[_0xaf6d('0xc')]);router[_0xaf6d('0xb')]('/:id',auth[_0xaf6d('0xd')](),controller['show']);router[_0xaf6d('0xe')]('/',auth[_0xaf6d('0xd')](),controller[_0xaf6d('0xf')]);router[_0xaf6d('0x10')](_0xaf6d('0x11'),auth[_0xaf6d('0xd')](),controller['update']);router[_0xaf6d('0x12')]('/:id',auth[_0xaf6d('0xd')](),controller[_0xaf6d('0x13')]);module[_0xaf6d('0x14')]=router;