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