Built motion from commit f623a78c.|2.6.31
[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 _0xcbcd=['/describe','describe','/index','/:id','show','post','update','delete','exports','multer','util','path','connect-timeout','Router','fs-extra','../../config/environment','./voiceQueueReport.controller','get','isAuthenticated','index'];(function(_0x2136a6,_0x35af63){var _0x55b948=function(_0x288a75){while(--_0x288a75){_0x2136a6['push'](_0x2136a6['shift']());}};_0x55b948(++_0x35af63);}(_0xcbcd,0x1c1));var _0xdcbc=function(_0x57474e,_0x4178b8){_0x57474e=_0x57474e-0x0;var _0xfaae8c=_0xcbcd[_0x57474e];return _0xfaae8c;};'use strict';var multer=require(_0xdcbc('0x0'));var util=require(_0xdcbc('0x1'));var path=require(_0xdcbc('0x2'));var timeout=require(_0xdcbc('0x3'));var express=require('express');var router=express[_0xdcbc('0x4')]();var fs_extra=require(_0xdcbc('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xdcbc('0x6'));var controller=require(_0xdcbc('0x7'));router[_0xdcbc('0x8')]('/',auth[_0xdcbc('0x9')](),controller[_0xdcbc('0xa')]);router['get'](_0xdcbc('0xb'),auth[_0xdcbc('0x9')](),controller[_0xdcbc('0xc')]);router['get'](_0xdcbc('0xd'),auth[_0xdcbc('0x9')](),controller['getVoiceQueuesReport']);router[_0xdcbc('0x8')](_0xdcbc('0xe'),auth[_0xdcbc('0x9')](),controller[_0xdcbc('0xf')]);router[_0xdcbc('0x10')]('/',auth[_0xdcbc('0x9')](),controller['create']);router['put']('/:id',auth[_0xdcbc('0x9')](),controller[_0xdcbc('0x11')]);router[_0xdcbc('0x12')](_0xdcbc('0xe'),auth[_0xdcbc('0x9')](),controller['destroy']);module[_0xdcbc('0x13')]=router;