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 _0xb874=['show','post','put','update','delete','destroy','exports','multer','util','express','Router','../../components/auth/service','../../config/environment','./openchannelQueueReport.controller','isAuthenticated','get','/describe','describe','/:id'];(function(_0x55e3b3,_0xaf7df0){var _0x2c358d=function(_0x4e3d7){while(--_0x4e3d7){_0x55e3b3['push'](_0x55e3b3['shift']());}};_0x2c358d(++_0xaf7df0);}(_0xb874,0x15d));var _0x4b87=function(_0x502c7d,_0x2f1285){_0x502c7d=_0x502c7d-0x0;var _0x30b7ed=_0xb874[_0x502c7d];return _0x30b7ed;};'use strict';var multer=require(_0x4b87('0x0'));var util=require(_0x4b87('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x4b87('0x2'));var router=express[_0x4b87('0x3')]();var auth=require(_0x4b87('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x4b87('0x5'));var controller=require(_0x4b87('0x6'));router['get']('/',auth[_0x4b87('0x7')](),controller['index']);router[_0x4b87('0x8')](_0x4b87('0x9'),auth['isAuthenticated'](),controller[_0x4b87('0xa')]);router[_0x4b87('0x8')](_0x4b87('0xb'),auth[_0x4b87('0x7')](),controller[_0x4b87('0xc')]);router[_0x4b87('0xd')]('/',auth[_0x4b87('0x7')](),controller['create']);router[_0x4b87('0xe')](_0x4b87('0xb'),auth[_0x4b87('0x7')](),controller[_0x4b87('0xf')]);router[_0x4b87('0x10')](_0x4b87('0xb'),auth[_0x4b87('0x7')](),controller[_0x4b87('0x11')]);module[_0x4b87('0x12')]=router;