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 _0xfb88=['post','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','/describe','/:id','show'];(function(_0x4da9cf,_0x5958f8){var _0x2a8ce7=function(_0x198d5e){while(--_0x198d5e){_0x4da9cf['push'](_0x4da9cf['shift']());}};_0x2a8ce7(++_0x5958f8);}(_0xfb88,0x17b));var _0x8fb8=function(_0x2de952,_0x5e36c0){_0x2de952=_0x2de952-0x0;var _0x4d69df=_0xfb88[_0x2de952];return _0x4d69df;};'use strict';var multer=require(_0x8fb8('0x0'));var util=require(_0x8fb8('0x1'));var path=require('path');var timeout=require(_0x8fb8('0x2'));var express=require(_0x8fb8('0x3'));var router=express[_0x8fb8('0x4')]();var auth=require(_0x8fb8('0x5'));var interaction=require(_0x8fb8('0x6'));var config=require('../../config/environment');var controller=require('./chatQueueReport.controller');router[_0x8fb8('0x7')]('/',auth[_0x8fb8('0x8')](),controller['index']);router[_0x8fb8('0x7')](_0x8fb8('0x9'),auth['isAuthenticated'](),controller['describe']);router[_0x8fb8('0x7')](_0x8fb8('0xa'),auth[_0x8fb8('0x8')](),controller[_0x8fb8('0xb')]);router[_0x8fb8('0xc')]('/',auth[_0x8fb8('0x8')](),controller['create']);router['put']('/:id',auth[_0x8fb8('0x8')](),controller[_0x8fb8('0xd')]);router[_0x8fb8('0xe')](_0x8fb8('0xa'),auth[_0x8fb8('0x8')](),controller[_0x8fb8('0xf')]);module[_0x8fb8('0x10')]=router;