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