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 _0xbe1d=['../../config/environment','./openchannelQueueReport.controller','get','isAuthenticated','index','/:id','update','delete','destroy','exports','multer','util','express','fs-extra','../../components/auth/service'];(function(_0x4ecdb6,_0x5b3bb4){var _0x22b179=function(_0x298f40){while(--_0x298f40){_0x4ecdb6['push'](_0x4ecdb6['shift']());}};_0x22b179(++_0x5b3bb4);}(_0xbe1d,0xbe));var _0xdbe1=function(_0x2493f7,_0x49c670){_0x2493f7=_0x2493f7-0x0;var _0x594ab2=_0xbe1d[_0x2493f7];return _0x594ab2;};'use strict';var multer=require(_0xdbe1('0x0'));var util=require(_0xdbe1('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xdbe1('0x2'));var router=express['Router']();var fs_extra=require(_0xdbe1('0x3'));var auth=require(_0xdbe1('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xdbe1('0x5'));var controller=require(_0xdbe1('0x6'));router[_0xdbe1('0x7')]('/',auth[_0xdbe1('0x8')](),controller[_0xdbe1('0x9')]);router[_0xdbe1('0x7')]('/describe',auth[_0xdbe1('0x8')](),controller['describe']);router[_0xdbe1('0x7')](_0xdbe1('0xa'),auth[_0xdbe1('0x8')](),controller['show']);router['post']('/',auth['isAuthenticated'](),controller['create']);router['put'](_0xdbe1('0xa'),auth[_0xdbe1('0x8')](),controller[_0xdbe1('0xb')]);router[_0xdbe1('0xc')]('/:id',auth['isAuthenticated'](),controller[_0xdbe1('0xd')]);module[_0xdbe1('0xe')]=router;