Built motion from commit 5ae82ce5.|2.6.7
[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 _0xcfe4=['multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./voiceQueueReport.controller','get','index','/describe','describe','/:id','isAuthenticated','show','post','create','put','delete','exports'];(function(_0x197d5c,_0x1936b0){var _0x13dc71=function(_0x332d07){while(--_0x332d07){_0x197d5c['push'](_0x197d5c['shift']());}};_0x13dc71(++_0x1936b0);}(_0xcfe4,0x9a));var _0x4cfe=function(_0x4819cc,_0x4bb9f2){_0x4819cc=_0x4819cc-0x0;var _0x31851d=_0xcfe4[_0x4819cc];return _0x31851d;};'use strict';var multer=require(_0x4cfe('0x0'));var util=require(_0x4cfe('0x1'));var path=require(_0x4cfe('0x2'));var timeout=require(_0x4cfe('0x3'));var express=require(_0x4cfe('0x4'));var router=express[_0x4cfe('0x5')]();var fs_extra=require(_0x4cfe('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x4cfe('0x7'));var config=require(_0x4cfe('0x8'));var controller=require(_0x4cfe('0x9'));router[_0x4cfe('0xa')]('/',auth['isAuthenticated'](),controller[_0x4cfe('0xb')]);router[_0x4cfe('0xa')](_0x4cfe('0xc'),auth['isAuthenticated'](),controller[_0x4cfe('0xd')]);router[_0x4cfe('0xa')]('/index',auth['isAuthenticated'](),controller['getVoiceQueuesReport']);router[_0x4cfe('0xa')](_0x4cfe('0xe'),auth[_0x4cfe('0xf')](),controller[_0x4cfe('0x10')]);router[_0x4cfe('0x11')]('/',auth[_0x4cfe('0xf')](),controller[_0x4cfe('0x12')]);router[_0x4cfe('0x13')](_0x4cfe('0xe'),auth['isAuthenticated'](),controller['update']);router[_0x4cfe('0x14')](_0x4cfe('0xe'),auth[_0x4cfe('0xf')](),controller['destroy']);module[_0x4cfe('0x15')]=router;