Built motion from commit 85328c08.|2.5.50
[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 _0xcd3a=['/:id','update','delete','exports','multer','util','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceQueueReport.controller','get','isAuthenticated','describe','getVoiceQueuesReport','create','put'];(function(_0x24b959,_0x5a8890){var _0x5644a4=function(_0x700cdb){while(--_0x700cdb){_0x24b959['push'](_0x24b959['shift']());}};_0x5644a4(++_0x5a8890);}(_0xcd3a,0x9c));var _0xacd3=function(_0x3d8466,_0x30f91e){_0x3d8466=_0x3d8466-0x0;var _0x102407=_0xcd3a[_0x3d8466];return _0x102407;};'use strict';var multer=require(_0xacd3('0x0'));var util=require(_0xacd3('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xacd3('0x2'));var router=express[_0xacd3('0x3')]();var fs_extra=require(_0xacd3('0x4'));var auth=require(_0xacd3('0x5'));var interaction=require(_0xacd3('0x6'));var config=require(_0xacd3('0x7'));var controller=require(_0xacd3('0x8'));router[_0xacd3('0x9')]('/',auth[_0xacd3('0xa')](),controller['index']);router[_0xacd3('0x9')]('/describe',auth[_0xacd3('0xa')](),controller[_0xacd3('0xb')]);router[_0xacd3('0x9')]('/index',auth[_0xacd3('0xa')](),controller[_0xacd3('0xc')]);router[_0xacd3('0x9')]('/:id',auth[_0xacd3('0xa')](),controller['show']);router['post']('/',auth[_0xacd3('0xa')](),controller[_0xacd3('0xd')]);router[_0xacd3('0xe')](_0xacd3('0xf'),auth[_0xacd3('0xa')](),controller[_0xacd3('0x10')]);router[_0xacd3('0x11')](_0xacd3('0xf'),auth[_0xacd3('0xa')](),controller['destroy']);module[_0xacd3('0x12')]=router;