Built motion from commit (unavailable).|2.4.3
[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 _0xb88a=['connect-timeout','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/describe','describe','/index','getVoiceQueuesReport','show','post','create','put','/:id','update','delete','destroy','multer'];(function(_0x48b738,_0x204ad0){var _0x5e855e=function(_0x7fa7c8){while(--_0x7fa7c8){_0x48b738['push'](_0x48b738['shift']());}};_0x5e855e(++_0x204ad0);}(_0xb88a,0x1df));var _0xab88=function(_0x4628bf,_0xf4f69d){_0x4628bf=_0x4628bf-0x0;var _0x4aaa6c=_0xb88a[_0x4628bf];return _0x4aaa6c;};'use strict';var multer=require(_0xab88('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xab88('0x1'));var express=require('express');var router=express[_0xab88('0x2')]();var auth=require(_0xab88('0x3'));var interaction=require(_0xab88('0x4'));var config=require('../../config/environment');var controller=require('./voiceQueueReport.controller');router[_0xab88('0x5')]('/',auth[_0xab88('0x6')](),controller[_0xab88('0x7')]);router[_0xab88('0x5')](_0xab88('0x8'),auth[_0xab88('0x6')](),controller[_0xab88('0x9')]);router[_0xab88('0x5')](_0xab88('0xa'),auth['isAuthenticated'](),controller[_0xab88('0xb')]);router[_0xab88('0x5')]('/:id',auth[_0xab88('0x6')](),controller[_0xab88('0xc')]);router[_0xab88('0xd')]('/',auth[_0xab88('0x6')](),controller[_0xab88('0xe')]);router[_0xab88('0xf')](_0xab88('0x10'),auth['isAuthenticated'](),controller[_0xab88('0x11')]);router[_0xab88('0x12')]('/:id',auth[_0xab88('0x6')](),controller[_0xab88('0x13')]);module['exports']=router;