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 _0x921c=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/:id','create','put','update','delete','destroy','exports','multer','connect-timeout','express'];(function(_0x2a5f58,_0x718b86){var _0x1ef4aa=function(_0x4aad4f){while(--_0x4aad4f){_0x2a5f58['push'](_0x2a5f58['shift']());}};_0x1ef4aa(++_0x718b86);}(_0x921c,0x1b7));var _0xc921=function(_0x25a5ab,_0x3273b7){_0x25a5ab=_0x25a5ab-0x0;var _0x51bcd2=_0x921c[_0x25a5ab];return _0x51bcd2;};'use strict';var multer=require(_0xc921('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xc921('0x1'));var express=require(_0xc921('0x2'));var router=express[_0xc921('0x3')]();var fs_extra=require(_0xc921('0x4'));var auth=require(_0xc921('0x5'));var interaction=require(_0xc921('0x6'));var config=require(_0xc921('0x7'));var controller=require('./chatQueueReport.controller');router[_0xc921('0x8')]('/',auth['isAuthenticated'](),controller['index']);router[_0xc921('0x8')]('/describe',auth[_0xc921('0x9')](),controller['describe']);router[_0xc921('0x8')](_0xc921('0xa'),auth[_0xc921('0x9')](),controller['show']);router['post']('/',auth[_0xc921('0x9')](),controller[_0xc921('0xb')]);router[_0xc921('0xc')]('/:id',auth[_0xc921('0x9')](),controller[_0xc921('0xd')]);router[_0xc921('0xe')](_0xc921('0xa'),auth[_0xc921('0x9')](),controller[_0xc921('0xf')]);module[_0xc921('0x10')]=router;