Built motion from commit d1eab355.|2.6.28
[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 _0xcac0=['path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceQueueReport.controller','get','index','/describe','isAuthenticated','describe','/index','getVoiceQueuesReport','/:id','post','create','update','delete','destroy','exports','util'];(function(_0x4c866d,_0x3572c3){var _0x2a75e7=function(_0x1c7246){while(--_0x1c7246){_0x4c866d['push'](_0x4c866d['shift']());}};_0x2a75e7(++_0x3572c3);}(_0xcac0,0x1af));var _0x0cac=function(_0xc57d78,_0x5a2537){_0xc57d78=_0xc57d78-0x0;var _0x1e2262=_0xcac0[_0xc57d78];return _0x1e2262;};'use strict';var multer=require('multer');var util=require(_0x0cac('0x0'));var path=require(_0x0cac('0x1'));var timeout=require(_0x0cac('0x2'));var express=require(_0x0cac('0x3'));var router=express[_0x0cac('0x4')]();var fs_extra=require(_0x0cac('0x5'));var auth=require(_0x0cac('0x6'));var interaction=require(_0x0cac('0x7'));var config=require(_0x0cac('0x8'));var controller=require(_0x0cac('0x9'));router[_0x0cac('0xa')]('/',auth['isAuthenticated'](),controller[_0x0cac('0xb')]);router[_0x0cac('0xa')](_0x0cac('0xc'),auth[_0x0cac('0xd')](),controller[_0x0cac('0xe')]);router[_0x0cac('0xa')](_0x0cac('0xf'),auth['isAuthenticated'](),controller[_0x0cac('0x10')]);router[_0x0cac('0xa')](_0x0cac('0x11'),auth[_0x0cac('0xd')](),controller['show']);router[_0x0cac('0x12')]('/',auth[_0x0cac('0xd')](),controller[_0x0cac('0x13')]);router['put']('/:id',auth[_0x0cac('0xd')](),controller[_0x0cac('0x14')]);router[_0x0cac('0x15')]('/:id',auth[_0x0cac('0xd')](),controller[_0x0cac('0x16')]);module[_0x0cac('0x17')]=router;