703f86679ca1d4c00d4726f15c61789b55d39aa6
[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 _0x48e3=['multer','util','path','connect-timeout','express','Router','fs-extra','../../config/environment','get','isAuthenticated','index','/describe','describe','/index','getVoiceQueuesReport','show','post','create','put','/:id','update','delete','destroy'];(function(_0x1194ac,_0x1c1a80){var _0x384066=function(_0x593095){while(--_0x593095){_0x1194ac['push'](_0x1194ac['shift']());}};_0x384066(++_0x1c1a80);}(_0x48e3,0x114));var _0x348e=function(_0x400497,_0xea7271){_0x400497=_0x400497-0x0;var _0x344def=_0x48e3[_0x400497];return _0x344def;};'use strict';var multer=require(_0x348e('0x0'));var util=require(_0x348e('0x1'));var path=require(_0x348e('0x2'));var timeout=require(_0x348e('0x3'));var express=require(_0x348e('0x4'));var router=express[_0x348e('0x5')]();var fs_extra=require(_0x348e('0x6'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x348e('0x7'));var controller=require('./voiceQueueReport.controller');router[_0x348e('0x8')]('/',auth[_0x348e('0x9')](),controller[_0x348e('0xa')]);router['get'](_0x348e('0xb'),auth['isAuthenticated'](),controller[_0x348e('0xc')]);router['get'](_0x348e('0xd'),auth[_0x348e('0x9')](),controller[_0x348e('0xe')]);router[_0x348e('0x8')]('/:id',auth[_0x348e('0x9')](),controller[_0x348e('0xf')]);router[_0x348e('0x10')]('/',auth[_0x348e('0x9')](),controller[_0x348e('0x11')]);router[_0x348e('0x12')](_0x348e('0x13'),auth[_0x348e('0x9')](),controller[_0x348e('0x14')]);router[_0x348e('0x15')](_0x348e('0x13'),auth[_0x348e('0x9')](),controller[_0x348e('0x16')]);module['exports']=router;