Built motion from commit c116dc8b.|2.6.30
[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 _0xa013=['post','create','put','update','delete','destroy','exports','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','./voiceQueueReport.controller','get','isAuthenticated','index','/describe','/index','getVoiceQueuesReport','/:id'];(function(_0x4d742a,_0x1123e0){var _0x101474=function(_0x414291){while(--_0x414291){_0x4d742a['push'](_0x4d742a['shift']());}};_0x101474(++_0x1123e0);}(_0xa013,0x1ea));var _0x3a01=function(_0xd0b415,_0x149675){_0xd0b415=_0xd0b415-0x0;var _0x2bdf2c=_0xa013[_0xd0b415];return _0x2bdf2c;};'use strict';var multer=require('multer');var util=require(_0x3a01('0x0'));var path=require('path');var timeout=require(_0x3a01('0x1'));var express=require(_0x3a01('0x2'));var router=express[_0x3a01('0x3')]();var fs_extra=require(_0x3a01('0x4'));var auth=require(_0x3a01('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x3a01('0x6'));router[_0x3a01('0x7')]('/',auth[_0x3a01('0x8')](),controller[_0x3a01('0x9')]);router['get'](_0x3a01('0xa'),auth[_0x3a01('0x8')](),controller['describe']);router[_0x3a01('0x7')](_0x3a01('0xb'),auth[_0x3a01('0x8')](),controller[_0x3a01('0xc')]);router[_0x3a01('0x7')](_0x3a01('0xd'),auth['isAuthenticated'](),controller['show']);router[_0x3a01('0xe')]('/',auth[_0x3a01('0x8')](),controller[_0x3a01('0xf')]);router[_0x3a01('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x3a01('0x11')]);router[_0x3a01('0x12')](_0x3a01('0xd'),auth['isAuthenticated'](),controller[_0x3a01('0x13')]);module[_0x3a01('0x14')]=router;