Built motion from commit f74363e9.|2.6.34
[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 _0xe799=['/:id','delete','destroy','exports','util','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./voiceQueueReport.controller','get','isAuthenticated','index','describe','/index','getVoiceQueuesReport','show','create','put'];(function(_0x14906a,_0x551c80){var _0x4966bc=function(_0x19d823){while(--_0x19d823){_0x14906a['push'](_0x14906a['shift']());}};_0x4966bc(++_0x551c80);}(_0xe799,0x68));var _0x9e79=function(_0x4292d4,_0x49968c){_0x4292d4=_0x4292d4-0x0;var _0x3ab6a3=_0xe799[_0x4292d4];return _0x3ab6a3;};'use strict';var multer=require('multer');var util=require(_0x9e79('0x0'));var path=require('path');var timeout=require(_0x9e79('0x1'));var express=require(_0x9e79('0x2'));var router=express[_0x9e79('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x9e79('0x4'));var config=require(_0x9e79('0x5'));var controller=require(_0x9e79('0x6'));router[_0x9e79('0x7')]('/',auth[_0x9e79('0x8')](),controller[_0x9e79('0x9')]);router[_0x9e79('0x7')]('/describe',auth[_0x9e79('0x8')](),controller[_0x9e79('0xa')]);router[_0x9e79('0x7')](_0x9e79('0xb'),auth['isAuthenticated'](),controller[_0x9e79('0xc')]);router['get']('/:id',auth[_0x9e79('0x8')](),controller[_0x9e79('0xd')]);router['post']('/',auth[_0x9e79('0x8')](),controller[_0x9e79('0xe')]);router[_0x9e79('0xf')](_0x9e79('0x10'),auth[_0x9e79('0x8')](),controller['update']);router[_0x9e79('0x11')](_0x9e79('0x10'),auth[_0x9e79('0x8')](),controller[_0x9e79('0x12')]);module[_0x9e79('0x13')]=router;