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 _0x0141=['connect-timeout','express','fs-extra','../../config/environment','./openchannelQueueReport.controller','isAuthenticated','get','describe','/:id','post','create','put','update','delete','destroy','exports','util'];(function(_0x1a06c4,_0x17d0e0){var _0x1bf57b=function(_0x2c11fa){while(--_0x2c11fa){_0x1a06c4['push'](_0x1a06c4['shift']());}};_0x1bf57b(++_0x17d0e0);}(_0x0141,0x186));var _0x1014=function(_0x1c50fa,_0x1f68da){_0x1c50fa=_0x1c50fa-0x0;var _0x5ae043=_0x0141[_0x1c50fa];return _0x5ae043;};'use strict';var multer=require('multer');var util=require(_0x1014('0x0'));var path=require('path');var timeout=require(_0x1014('0x1'));var express=require(_0x1014('0x2'));var router=express['Router']();var fs_extra=require(_0x1014('0x3'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x1014('0x4'));var controller=require(_0x1014('0x5'));router['get']('/',auth[_0x1014('0x6')](),controller['index']);router[_0x1014('0x7')]('/describe',auth[_0x1014('0x6')](),controller[_0x1014('0x8')]);router['get'](_0x1014('0x9'),auth[_0x1014('0x6')](),controller['show']);router[_0x1014('0xa')]('/',auth[_0x1014('0x6')](),controller[_0x1014('0xb')]);router[_0x1014('0xc')](_0x1014('0x9'),auth[_0x1014('0x6')](),controller[_0x1014('0xd')]);router[_0x1014('0xe')]('/:id',auth[_0x1014('0x6')](),controller[_0x1014('0xf')]);module[_0x1014('0x10')]=router;