Built motion from commit ffdca78c.|2.6.24
[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 _0x4181=['/describe','describe','/index','getVoiceQueuesReport','/:id','post','create','put','update','delete','destroy','multer','util','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get'];(function(_0x327967,_0x42727c){var _0xbca8a0=function(_0xacfc50){while(--_0xacfc50){_0x327967['push'](_0x327967['shift']());}};_0xbca8a0(++_0x42727c);}(_0x4181,0x197));var _0x1418=function(_0x433692,_0x2f3bce){_0x433692=_0x433692-0x0;var _0x521cc6=_0x4181[_0x433692];return _0x521cc6;};'use strict';var multer=require(_0x1418('0x0'));var util=require(_0x1418('0x1'));var path=require('path');var timeout=require(_0x1418('0x2'));var express=require('express');var router=express[_0x1418('0x3')]();var fs_extra=require(_0x1418('0x4'));var auth=require(_0x1418('0x5'));var interaction=require(_0x1418('0x6'));var config=require(_0x1418('0x7'));var controller=require('./voiceQueueReport.controller');router['get']('/',auth[_0x1418('0x8')](),controller[_0x1418('0x9')]);router[_0x1418('0xa')](_0x1418('0xb'),auth['isAuthenticated'](),controller[_0x1418('0xc')]);router['get'](_0x1418('0xd'),auth[_0x1418('0x8')](),controller[_0x1418('0xe')]);router[_0x1418('0xa')](_0x1418('0xf'),auth[_0x1418('0x8')](),controller['show']);router[_0x1418('0x10')]('/',auth[_0x1418('0x8')](),controller[_0x1418('0x11')]);router[_0x1418('0x12')](_0x1418('0xf'),auth['isAuthenticated'](),controller[_0x1418('0x13')]);router[_0x1418('0x14')]('/:id',auth[_0x1418('0x8')](),controller[_0x1418('0x15')]);module['exports']=router;