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 _0x7492=['index','/describe','describe','/:id','create','put','update','destroy','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatQueueReport.controller','get','isAuthenticated'];(function(_0x3987af,_0x3153a5){var _0xe598cd=function(_0x2500dc){while(--_0x2500dc){_0x3987af['push'](_0x3987af['shift']());}};_0xe598cd(++_0x3153a5);}(_0x7492,0x125));var _0x2749=function(_0x386780,_0x2d991d){_0x386780=_0x386780-0x0;var _0x184750=_0x7492[_0x386780];return _0x184750;};'use strict';var multer=require(_0x2749('0x0'));var util=require(_0x2749('0x1'));var path=require(_0x2749('0x2'));var timeout=require(_0x2749('0x3'));var express=require(_0x2749('0x4'));var router=express['Router']();var auth=require(_0x2749('0x5'));var interaction=require(_0x2749('0x6'));var config=require(_0x2749('0x7'));var controller=require(_0x2749('0x8'));router[_0x2749('0x9')]('/',auth[_0x2749('0xa')](),controller[_0x2749('0xb')]);router[_0x2749('0x9')](_0x2749('0xc'),auth[_0x2749('0xa')](),controller[_0x2749('0xd')]);router['get'](_0x2749('0xe'),auth['isAuthenticated'](),controller['show']);router['post']('/',auth['isAuthenticated'](),controller[_0x2749('0xf')]);router[_0x2749('0x10')](_0x2749('0xe'),auth[_0x2749('0xa')](),controller[_0x2749('0x11')]);router['delete']('/:id',auth[_0x2749('0xa')](),controller[_0x2749('0x12')]);module['exports']=router;