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 _0x7a62=['multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./voiceQueuesLog.controller','get','isAuthenticated','/:id','show','post','put','update','exports'];(function(_0x51ede7,_0x5dd1d1){var _0x3bceb4=function(_0x2768d7){while(--_0x2768d7){_0x51ede7['push'](_0x51ede7['shift']());}};_0x3bceb4(++_0x5dd1d1);}(_0x7a62,0x1b0));var _0x27a6=function(_0x3dae38,_0x358865){_0x3dae38=_0x3dae38-0x0;var _0x21ec8d=_0x7a62[_0x3dae38];return _0x21ec8d;};'use strict';var multer=require(_0x27a6('0x0'));var util=require(_0x27a6('0x1'));var path=require(_0x27a6('0x2'));var timeout=require(_0x27a6('0x3'));var express=require(_0x27a6('0x4'));var router=express[_0x27a6('0x5')]();var fs_extra=require(_0x27a6('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x27a6('0x7'));var config=require(_0x27a6('0x8'));var controller=require(_0x27a6('0x9'));router[_0x27a6('0xa')]('/',auth[_0x27a6('0xb')](),controller['index']);router['get'](_0x27a6('0xc'),auth[_0x27a6('0xb')](),controller[_0x27a6('0xd')]);router[_0x27a6('0xe')]('/',auth[_0x27a6('0xb')](),controller['create']);router[_0x27a6('0xf')]('/:id',auth['isAuthenticated'](),controller[_0x27a6('0x10')]);router['delete']('/:id',auth[_0x27a6('0xb')](),controller['destroy']);module[_0x27a6('0x11')]=router;