Built motion from commit bab6f49e.|2.6.17
[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 _0x7db2=['express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceQueueReport.controller','get','isAuthenticated','index','/describe','describe','create','put','/:id','update','delete','destroy','exports','util','connect-timeout'];(function(_0x3632a2,_0x13f03d){var _0x17ed34=function(_0x2d7ba8){while(--_0x2d7ba8){_0x3632a2['push'](_0x3632a2['shift']());}};_0x17ed34(++_0x13f03d);}(_0x7db2,0x8a));var _0x27db=function(_0x16d539,_0x27492c){_0x16d539=_0x16d539-0x0;var _0x22a301=_0x7db2[_0x16d539];return _0x22a301;};'use strict';var multer=require('multer');var util=require(_0x27db('0x0'));var path=require('path');var timeout=require(_0x27db('0x1'));var express=require(_0x27db('0x2'));var router=express['Router']();var fs_extra=require(_0x27db('0x3'));var auth=require(_0x27db('0x4'));var interaction=require(_0x27db('0x5'));var config=require(_0x27db('0x6'));var controller=require(_0x27db('0x7'));router[_0x27db('0x8')]('/',auth[_0x27db('0x9')](),controller[_0x27db('0xa')]);router[_0x27db('0x8')](_0x27db('0xb'),auth[_0x27db('0x9')](),controller[_0x27db('0xc')]);router[_0x27db('0x8')]('/index',auth[_0x27db('0x9')](),controller['getVoiceQueuesReport']);router['get']('/:id',auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0x27db('0x9')](),controller[_0x27db('0xd')]);router[_0x27db('0xe')](_0x27db('0xf'),auth[_0x27db('0x9')](),controller[_0x27db('0x10')]);router[_0x27db('0x11')](_0x27db('0xf'),auth[_0x27db('0x9')](),controller[_0x27db('0x12')]);module[_0x27db('0x13')]=router;