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 _0xa027=['destroy','exports','multer','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./voiceQueuesLog.controller','get','index','show','isAuthenticated','create','put','/:id','update','delete'];(function(_0x245ff8,_0x2e81f8){var _0x5a4faa=function(_0x26af9e){while(--_0x26af9e){_0x245ff8['push'](_0x245ff8['shift']());}};_0x5a4faa(++_0x2e81f8);}(_0xa027,0x1dd));var _0x7a02=function(_0x226cf8,_0x1892e6){_0x226cf8=_0x226cf8-0x0;var _0x14d135=_0xa027[_0x226cf8];return _0x14d135;};'use strict';var multer=require(_0x7a02('0x0'));var util=require('util');var path=require(_0x7a02('0x1'));var timeout=require(_0x7a02('0x2'));var express=require(_0x7a02('0x3'));var router=express[_0x7a02('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x7a02('0x5'));var config=require(_0x7a02('0x6'));var controller=require(_0x7a02('0x7'));router[_0x7a02('0x8')]('/',auth['isAuthenticated'](),controller[_0x7a02('0x9')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0x7a02('0xa')]);router['post']('/',auth[_0x7a02('0xb')](),controller[_0x7a02('0xc')]);router[_0x7a02('0xd')](_0x7a02('0xe'),auth[_0x7a02('0xb')](),controller[_0x7a02('0xf')]);router[_0x7a02('0x10')](_0x7a02('0xe'),auth[_0x7a02('0xb')](),controller[_0x7a02('0x11')]);module[_0x7a02('0x12')]=router;