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 _0x1239=['update','delete','destroy','exports','multer','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceQueuesLog.controller','isAuthenticated','get','/:id','show','create'];(function(_0x294f3d,_0x1b0f82){var _0x2c8f6c=function(_0x2303e6){while(--_0x2303e6){_0x294f3d['push'](_0x294f3d['shift']());}};_0x2c8f6c(++_0x1b0f82);}(_0x1239,0x19c));var _0x9123=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x1239[_0x2dafbe];return _0x58a45a;};'use strict';var multer=require(_0x9123('0x0'));var util=require(_0x9123('0x1'));var path=require(_0x9123('0x2'));var timeout=require(_0x9123('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0x9123('0x4'));var interaction=require(_0x9123('0x5'));var config=require(_0x9123('0x6'));var controller=require(_0x9123('0x7'));router['get']('/',auth[_0x9123('0x8')](),controller['index']);router[_0x9123('0x9')](_0x9123('0xa'),auth[_0x9123('0x8')](),controller[_0x9123('0xb')]);router['post']('/',auth[_0x9123('0x8')](),controller[_0x9123('0xc')]);router['put']('/:id',auth[_0x9123('0x8')](),controller[_0x9123('0xd')]);router[_0x9123('0xe')](_0x9123('0xa'),auth[_0x9123('0x8')](),controller[_0x9123('0xf')]);module[_0x9123('0x10')]=router;