e8f1f0bc850681aea25a557f1751db6be3eccd5e
[motion2.git] / server / api / voiceQueueReport / 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 _0xe2bc=['destroy','exports','multer','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','getVoiceQueuesReport','/:id','show','post','create','put','delete'];(function(_0x153f2a,_0x7da5a8){var _0x21013e=function(_0x20ff15){while(--_0x20ff15){_0x153f2a['push'](_0x153f2a['shift']());}};_0x21013e(++_0x7da5a8);}(_0xe2bc,0x1a6));var _0xce2b=function(_0x3fba9f,_0x3b7b9b){_0x3fba9f=_0x3fba9f-0x0;var _0x192cf1=_0xe2bc[_0x3fba9f];return _0x192cf1;};'use strict';var multer=require(_0xce2b('0x0'));var util=require('util');var path=require(_0xce2b('0x1'));var timeout=require('connect-timeout');var express=require(_0xce2b('0x2'));var router=express[_0xce2b('0x3')]();var auth=require(_0xce2b('0x4'));var interaction=require(_0xce2b('0x5'));var config=require(_0xce2b('0x6'));var controller=require('./voiceQueueReport.controller');router[_0xce2b('0x7')]('/',auth[_0xce2b('0x8')](),controller[_0xce2b('0x9')]);router[_0xce2b('0x7')](_0xce2b('0xa'),auth['isAuthenticated'](),controller[_0xce2b('0xb')]);router[_0xce2b('0x7')]('/index',auth[_0xce2b('0x8')](),controller[_0xce2b('0xc')]);router[_0xce2b('0x7')](_0xce2b('0xd'),auth[_0xce2b('0x8')](),controller[_0xce2b('0xe')]);router[_0xce2b('0xf')]('/',auth[_0xce2b('0x8')](),controller[_0xce2b('0x10')]);router[_0xce2b('0x11')]('/:id',auth[_0xce2b('0x8')](),controller['update']);router[_0xce2b('0x12')](_0xce2b('0xd'),auth[_0xce2b('0x8')](),controller[_0xce2b('0x13')]);module[_0xce2b('0x14')]=router;