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