Built motion from commit 616d3211.|2.6.4
[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 _0x0d4a=['update','delete','destroy','exports','multer','path','express','Router','../../components/interaction/service','../../config/environment','isAuthenticated','get','/index','getVoiceQueuesReport','show','post','create','put','/:id'];(function(_0x2d5f4e,_0x52aa49){var _0x21c382=function(_0x5e498d){while(--_0x5e498d){_0x2d5f4e['push'](_0x2d5f4e['shift']());}};_0x21c382(++_0x52aa49);}(_0x0d4a,0x76));var _0xa0d4=function(_0x1136a6,_0x45d170){_0x1136a6=_0x1136a6-0x0;var _0x1756be=_0x0d4a[_0x1136a6];return _0x1756be;};'use strict';var multer=require(_0xa0d4('0x0'));var util=require('util');var path=require(_0xa0d4('0x1'));var timeout=require('connect-timeout');var express=require(_0xa0d4('0x2'));var router=express[_0xa0d4('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xa0d4('0x4'));var config=require(_0xa0d4('0x5'));var controller=require('./voiceQueueReport.controller');router['get']('/',auth[_0xa0d4('0x6')](),controller['index']);router[_0xa0d4('0x7')]('/describe',auth[_0xa0d4('0x6')](),controller['describe']);router[_0xa0d4('0x7')](_0xa0d4('0x8'),auth[_0xa0d4('0x6')](),controller[_0xa0d4('0x9')]);router[_0xa0d4('0x7')]('/:id',auth['isAuthenticated'](),controller[_0xa0d4('0xa')]);router[_0xa0d4('0xb')]('/',auth[_0xa0d4('0x6')](),controller[_0xa0d4('0xc')]);router[_0xa0d4('0xd')](_0xa0d4('0xe'),auth['isAuthenticated'](),controller[_0xa0d4('0xf')]);router[_0xa0d4('0x10')](_0xa0d4('0xe'),auth[_0xa0d4('0x6')](),controller[_0xa0d4('0x11')]);module[_0xa0d4('0x12')]=router;