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