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 _0xa4b7=['connect-timeout','express','Router','fs-extra','../../components/interaction/service','./voiceQueuesLog.controller','get','isAuthenticated','index','/:id','post','create','put','update','delete','multer'];(function(_0x461887,_0x20c794){var _0x3734c4=function(_0xc00b9c){while(--_0xc00b9c){_0x461887['push'](_0x461887['shift']());}};_0x3734c4(++_0x20c794);}(_0xa4b7,0xbf));var _0x7a4b=function(_0x584ee3,_0x1d2e62){_0x584ee3=_0x584ee3-0x0;var _0x25bc23=_0xa4b7[_0x584ee3];return _0x25bc23;};'use strict';var multer=require(_0x7a4b('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x7a4b('0x1'));var express=require(_0x7a4b('0x2'));var router=express[_0x7a4b('0x3')]();var fs_extra=require(_0x7a4b('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x7a4b('0x5'));var config=require('../../config/environment');var controller=require(_0x7a4b('0x6'));router[_0x7a4b('0x7')]('/',auth[_0x7a4b('0x8')](),controller[_0x7a4b('0x9')]);router[_0x7a4b('0x7')](_0x7a4b('0xa'),auth[_0x7a4b('0x8')](),controller['show']);router[_0x7a4b('0xb')]('/',auth[_0x7a4b('0x8')](),controller[_0x7a4b('0xc')]);router[_0x7a4b('0xd')](_0x7a4b('0xa'),auth[_0x7a4b('0x8')](),controller[_0x7a4b('0xe')]);router[_0x7a4b('0xf')](_0x7a4b('0xa'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;