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 _0xde1a=['/describe','describe','show','post','create','put','/:id','update','delete','multer','util','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index'];(function(_0x1ffef3,_0x411b8c){var _0x37e914=function(_0x12bac9){while(--_0x12bac9){_0x1ffef3['push'](_0x1ffef3['shift']());}};_0x37e914(++_0x411b8c);}(_0xde1a,0x172));var _0xade1=function(_0x2cb890,_0x3e64af){_0x2cb890=_0x2cb890-0x0;var _0x1d5a66=_0xde1a[_0x2cb890];return _0x1d5a66;};'use strict';var multer=require(_0xade1('0x0'));var util=require(_0xade1('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xade1('0x2'));var router=express[_0xade1('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xade1('0x4'));var interaction=require(_0xade1('0x5'));var config=require(_0xade1('0x6'));var controller=require('./chatQueueReport.controller');router[_0xade1('0x7')]('/',auth[_0xade1('0x8')](),controller[_0xade1('0x9')]);router[_0xade1('0x7')](_0xade1('0xa'),auth[_0xade1('0x8')](),controller[_0xade1('0xb')]);router[_0xade1('0x7')]('/:id',auth['isAuthenticated'](),controller[_0xade1('0xc')]);router[_0xade1('0xd')]('/',auth[_0xade1('0x8')](),controller[_0xade1('0xe')]);router[_0xade1('0xf')](_0xade1('0x10'),auth[_0xade1('0x8')](),controller[_0xade1('0x11')]);router[_0xade1('0x12')](_0xade1('0x10'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;