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