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 _0xa852=['/:id','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','get','isAuthenticated','index','/describe','show','post','create','put','update','delete'];(function(_0x54c4dd,_0x526f13){var _0x1c7e82=function(_0x426edd){while(--_0x426edd){_0x54c4dd['push'](_0x54c4dd['shift']());}};_0x1c7e82(++_0x526f13);}(_0xa852,0x110));var _0x2a85=function(_0x35eaff,_0x1ff59c){_0x35eaff=_0x35eaff-0x0;var _0x35e6f1=_0xa852[_0x35eaff];return _0x35e6f1;};'use strict';var multer=require(_0x2a85('0x0'));var util=require('util');var path=require(_0x2a85('0x1'));var timeout=require(_0x2a85('0x2'));var express=require(_0x2a85('0x3'));var router=express[_0x2a85('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x2a85('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./chatQueueReport.controller');router[_0x2a85('0x6')]('/',auth[_0x2a85('0x7')](),controller[_0x2a85('0x8')]);router[_0x2a85('0x6')](_0x2a85('0x9'),auth[_0x2a85('0x7')](),controller['describe']);router['get']('/:id',auth[_0x2a85('0x7')](),controller[_0x2a85('0xa')]);router[_0x2a85('0xb')]('/',auth[_0x2a85('0x7')](),controller[_0x2a85('0xc')]);router[_0x2a85('0xd')]('/:id',auth[_0x2a85('0x7')](),controller[_0x2a85('0xe')]);router[_0x2a85('0xf')](_0x2a85('0x10'),auth[_0x2a85('0x7')](),controller['destroy']);module[_0x2a85('0x11')]=router;