Built motion from commit b5413ace.|2.6.9
[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 _0x23d2=['../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceQueueReport.controller','get','isAuthenticated','/describe','describe','getVoiceQueuesReport','/:id','show','post','create','put','delete','destroy','exports','util','express','Router'];(function(_0x39e051,_0x27ebae){var _0x2f0861=function(_0x5f35d9){while(--_0x5f35d9){_0x39e051['push'](_0x39e051['shift']());}};_0x2f0861(++_0x27ebae);}(_0x23d2,0xc5));var _0x223d=function(_0x388e6f,_0x6bbcbf){_0x388e6f=_0x388e6f-0x0;var _0x1c48a3=_0x23d2[_0x388e6f];return _0x1c48a3;};'use strict';var multer=require('multer');var util=require(_0x223d('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x223d('0x1'));var router=express[_0x223d('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0x223d('0x3'));var interaction=require(_0x223d('0x4'));var config=require(_0x223d('0x5'));var controller=require(_0x223d('0x6'));router[_0x223d('0x7')]('/',auth[_0x223d('0x8')](),controller['index']);router[_0x223d('0x7')](_0x223d('0x9'),auth[_0x223d('0x8')](),controller[_0x223d('0xa')]);router[_0x223d('0x7')]('/index',auth['isAuthenticated'](),controller[_0x223d('0xb')]);router[_0x223d('0x7')](_0x223d('0xc'),auth[_0x223d('0x8')](),controller[_0x223d('0xd')]);router[_0x223d('0xe')]('/',auth[_0x223d('0x8')](),controller[_0x223d('0xf')]);router[_0x223d('0x10')]('/:id',auth[_0x223d('0x8')](),controller['update']);router[_0x223d('0x11')](_0x223d('0xc'),auth['isAuthenticated'](),controller[_0x223d('0x12')]);module[_0x223d('0x13')]=router;