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