9395caba7741f186aa90e0c8da6bea3c697dd23c
[motion2.git] / server / api / openchannelQueueReport / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xfec9=['delete','destroy','exports','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./openchannelQueueReport.controller','get','isAuthenticated','/describe','describe','/:id','post','create','put','update'];(function(_0x2bfd47,_0x519460){var _0x2d72e7=function(_0x2a62dd){while(--_0x2a62dd){_0x2bfd47['push'](_0x2bfd47['shift']());}};_0x2d72e7(++_0x519460);}(_0xfec9,0x133));var _0x9fec=function(_0x19409d,_0xf48905){_0x19409d=_0x19409d-0x0;var _0x5de146=_0xfec9[_0x19409d];return _0x5de146;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x9fec('0x0'));var timeout=require('connect-timeout');var express=require(_0x9fec('0x1'));var router=express[_0x9fec('0x2')]();var fs_extra=require(_0x9fec('0x3'));var auth=require(_0x9fec('0x4'));var interaction=require(_0x9fec('0x5'));var config=require('../../config/environment');var controller=require(_0x9fec('0x6'));router[_0x9fec('0x7')]('/',auth[_0x9fec('0x8')](),controller['index']);router[_0x9fec('0x7')](_0x9fec('0x9'),auth[_0x9fec('0x8')](),controller[_0x9fec('0xa')]);router[_0x9fec('0x7')](_0x9fec('0xb'),auth[_0x9fec('0x8')](),controller['show']);router[_0x9fec('0xc')]('/',auth['isAuthenticated'](),controller[_0x9fec('0xd')]);router[_0x9fec('0xe')](_0x9fec('0xb'),auth['isAuthenticated'](),controller[_0x9fec('0xf')]);router[_0x9fec('0x10')](_0x9fec('0xb'),auth[_0x9fec('0x8')](),controller[_0x9fec('0x11')]);module[_0x9fec('0x12')]=router;