Built motion from commit b9b02fed.|2.6.5
[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 _0x84cf=['../../components/interaction/service','./voiceQueueReport.controller','get','/describe','describe','/index','isAuthenticated','/:id','show','post','create','put','update','delete','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0xcbbdca,_0x162952){var _0x435539=function(_0x508e6b){while(--_0x508e6b){_0xcbbdca['push'](_0xcbbdca['shift']());}};_0x435539(++_0x162952);}(_0x84cf,0x7d));var _0xf84c=function(_0x3fef29,_0x565d00){_0x3fef29=_0x3fef29-0x0;var _0x250dc1=_0x84cf[_0x3fef29];return _0x250dc1;};'use strict';var multer=require(_0xf84c('0x0'));var util=require('util');var path=require(_0xf84c('0x1'));var timeout=require(_0xf84c('0x2'));var express=require(_0xf84c('0x3'));var router=express[_0xf84c('0x4')]();var fs_extra=require(_0xf84c('0x5'));var auth=require(_0xf84c('0x6'));var interaction=require(_0xf84c('0x7'));var config=require('../../config/environment');var controller=require(_0xf84c('0x8'));router[_0xf84c('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0xf84c('0x9')](_0xf84c('0xa'),auth['isAuthenticated'](),controller[_0xf84c('0xb')]);router[_0xf84c('0x9')](_0xf84c('0xc'),auth[_0xf84c('0xd')](),controller['getVoiceQueuesReport']);router[_0xf84c('0x9')](_0xf84c('0xe'),auth[_0xf84c('0xd')](),controller[_0xf84c('0xf')]);router[_0xf84c('0x10')]('/',auth[_0xf84c('0xd')](),controller[_0xf84c('0x11')]);router[_0xf84c('0x12')](_0xf84c('0xe'),auth['isAuthenticated'](),controller[_0xf84c('0x13')]);router[_0xf84c('0x14')](_0xf84c('0xe'),auth[_0xf84c('0xd')](),controller['destroy']);module[_0xf84c('0x15')]=router;