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 _0xd37e=['put','exports','util','connect-timeout','express','../../components/interaction/service','./openchannelQueueReport.controller','get','isAuthenticated','index','describe','/:id','show','post','create'];(function(_0x57d359,_0x108843){var _0x33337f=function(_0x47a4b6){while(--_0x47a4b6){_0x57d359['push'](_0x57d359['shift']());}};_0x33337f(++_0x108843);}(_0xd37e,0x13d));var _0xed37=function(_0x11ea14,_0x5bddf5){_0x11ea14=_0x11ea14-0x0;var _0x5286f8=_0xd37e[_0x11ea14];return _0x5286f8;};'use strict';var multer=require('multer');var util=require(_0xed37('0x0'));var path=require('path');var timeout=require(_0xed37('0x1'));var express=require(_0xed37('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xed37('0x3'));var config=require('../../config/environment');var controller=require(_0xed37('0x4'));router[_0xed37('0x5')]('/',auth[_0xed37('0x6')](),controller[_0xed37('0x7')]);router['get']('/describe',auth['isAuthenticated'](),controller[_0xed37('0x8')]);router[_0xed37('0x5')](_0xed37('0x9'),auth[_0xed37('0x6')](),controller[_0xed37('0xa')]);router[_0xed37('0xb')]('/',auth[_0xed37('0x6')](),controller[_0xed37('0xc')]);router[_0xed37('0xd')](_0xed37('0x9'),auth[_0xed37('0x6')](),controller['update']);router['delete']('/:id',auth[_0xed37('0x6')](),controller['destroy']);module[_0xed37('0xe')]=router;