Built motion from commit a679711e.|2.6.15
[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 _0x47c4=['./voiceQueueReport.controller','get','isAuthenticated','/describe','describe','/index','/:id','post','create','put','update','delete','destroy','multer','util','path','connect-timeout','fs-extra','../../components/auth/service'];(function(_0x1ebeea,_0x2f54f4){var _0x576465=function(_0x47fc77){while(--_0x47fc77){_0x1ebeea['push'](_0x1ebeea['shift']());}};_0x576465(++_0x2f54f4);}(_0x47c4,0xf1));var _0x447c=function(_0x4d29eb,_0x5ba766){_0x4d29eb=_0x4d29eb-0x0;var _0x53cadb=_0x47c4[_0x4d29eb];return _0x53cadb;};'use strict';var multer=require(_0x447c('0x0'));var util=require(_0x447c('0x1'));var path=require(_0x447c('0x2'));var timeout=require(_0x447c('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x447c('0x4'));var auth=require(_0x447c('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x447c('0x6'));router[_0x447c('0x7')]('/',auth[_0x447c('0x8')](),controller['index']);router[_0x447c('0x7')](_0x447c('0x9'),auth[_0x447c('0x8')](),controller[_0x447c('0xa')]);router[_0x447c('0x7')](_0x447c('0xb'),auth[_0x447c('0x8')](),controller['getVoiceQueuesReport']);router[_0x447c('0x7')](_0x447c('0xc'),auth[_0x447c('0x8')](),controller['show']);router[_0x447c('0xd')]('/',auth[_0x447c('0x8')](),controller[_0x447c('0xe')]);router[_0x447c('0xf')]('/:id',auth[_0x447c('0x8')](),controller[_0x447c('0x10')]);router[_0x447c('0x11')](_0x447c('0xc'),auth['isAuthenticated'](),controller[_0x447c('0x12')]);module['exports']=router;