e308a25afdabd996c38b2207f68d5ebd909b2b2e
[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 _0x829c=['../../components/auth/service','../../components/interaction/service','./openchannelQueueReport.controller','get','isAuthenticated','/describe','describe','/:id','post','create','put','update','delete','destroy','exports','multer','path','connect-timeout','express','Router'];(function(_0x31e577,_0x292973){var _0x392638=function(_0x46010f){while(--_0x46010f){_0x31e577['push'](_0x31e577['shift']());}};_0x392638(++_0x292973);}(_0x829c,0x19f));var _0xc829=function(_0x3acf1c,_0x3cc874){_0x3acf1c=_0x3acf1c-0x0;var _0xbf9ec9=_0x829c[_0x3acf1c];return _0xbf9ec9;};'use strict';var multer=require(_0xc829('0x0'));var util=require('util');var path=require(_0xc829('0x1'));var timeout=require(_0xc829('0x2'));var express=require(_0xc829('0x3'));var router=express[_0xc829('0x4')]();var auth=require(_0xc829('0x5'));var interaction=require(_0xc829('0x6'));var config=require('../../config/environment');var controller=require(_0xc829('0x7'));router[_0xc829('0x8')]('/',auth[_0xc829('0x9')](),controller['index']);router[_0xc829('0x8')](_0xc829('0xa'),auth[_0xc829('0x9')](),controller[_0xc829('0xb')]);router[_0xc829('0x8')](_0xc829('0xc'),auth['isAuthenticated'](),controller['show']);router[_0xc829('0xd')]('/',auth['isAuthenticated'](),controller[_0xc829('0xe')]);router[_0xc829('0xf')]('/:id',auth[_0xc829('0x9')](),controller[_0xc829('0x10')]);router[_0xc829('0x11')](_0xc829('0xc'),auth[_0xc829('0x9')](),controller[_0xc829('0x12')]);module[_0xc829('0x13')]=router;