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 _0xa66a=['util','path','express','fs-extra','../../components/auth/service','../../components/interaction/service','./openchannelQueueReport.controller','get','isAuthenticated','index','describe','/:id','create','put','update','delete','destroy','exports','multer'];(function(_0x35406e,_0x3716d4){var _0x5752f6=function(_0xb952a7){while(--_0xb952a7){_0x35406e['push'](_0x35406e['shift']());}};_0x5752f6(++_0x3716d4);}(_0xa66a,0x1c7));var _0xaa66=function(_0x1b4b05,_0x2de009){_0x1b4b05=_0x1b4b05-0x0;var _0x51036a=_0xa66a[_0x1b4b05];return _0x51036a;};'use strict';var multer=require(_0xaa66('0x0'));var util=require(_0xaa66('0x1'));var path=require(_0xaa66('0x2'));var timeout=require('connect-timeout');var express=require(_0xaa66('0x3'));var router=express['Router']();var fs_extra=require(_0xaa66('0x4'));var auth=require(_0xaa66('0x5'));var interaction=require(_0xaa66('0x6'));var config=require('../../config/environment');var controller=require(_0xaa66('0x7'));router[_0xaa66('0x8')]('/',auth[_0xaa66('0x9')](),controller[_0xaa66('0xa')]);router[_0xaa66('0x8')]('/describe',auth[_0xaa66('0x9')](),controller[_0xaa66('0xb')]);router[_0xaa66('0x8')](_0xaa66('0xc'),auth[_0xaa66('0x9')](),controller['show']);router['post']('/',auth[_0xaa66('0x9')](),controller[_0xaa66('0xd')]);router[_0xaa66('0xe')](_0xaa66('0xc'),auth[_0xaa66('0x9')](),controller[_0xaa66('0xf')]);router[_0xaa66('0x10')]('/:id',auth[_0xaa66('0x9')](),controller[_0xaa66('0x11')]);module[_0xaa66('0x12')]=router;