Built motion from commit (unavailable).|2.5.16
[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 _0xcaaf=['../../components/auth/service','../../config/environment','isAuthenticated','index','get','/describe','describe','put','/:id','update','delete','destroy','multer','path','Router'];(function(_0x1a2c1c,_0x9c265d){var _0x208254=function(_0x4e9790){while(--_0x4e9790){_0x1a2c1c['push'](_0x1a2c1c['shift']());}};_0x208254(++_0x9c265d);}(_0xcaaf,0x66));var _0xfcaa=function(_0x164d72,_0x169722){_0x164d72=_0x164d72-0x0;var _0x10aaf3=_0xcaaf[_0x164d72];return _0x10aaf3;};'use strict';var multer=require(_0xfcaa('0x0'));var util=require('util');var path=require(_0xfcaa('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xfcaa('0x2')]();var auth=require(_0xfcaa('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0xfcaa('0x4'));var controller=require('./voiceQueueReport.controller');router['get']('/',auth[_0xfcaa('0x5')](),controller[_0xfcaa('0x6')]);router[_0xfcaa('0x7')](_0xfcaa('0x8'),auth[_0xfcaa('0x5')](),controller[_0xfcaa('0x9')]);router[_0xfcaa('0x7')]('/index',auth[_0xfcaa('0x5')](),controller['getVoiceQueuesReport']);router[_0xfcaa('0x7')]('/:id',auth[_0xfcaa('0x5')](),controller['show']);router['post']('/',auth[_0xfcaa('0x5')](),controller['create']);router[_0xfcaa('0xa')](_0xfcaa('0xb'),auth[_0xfcaa('0x5')](),controller[_0xfcaa('0xc')]);router[_0xfcaa('0xd')](_0xfcaa('0xb'),auth[_0xfcaa('0x5')](),controller[_0xfcaa('0xe')]);module['exports']=router;