Built motion from commit 4c281f94.|2.6.31
[motion2.git] / server / api / chatQueueReport / 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 _0xbe3d=['/describe','/:id','create','put','update','delete','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index'];(function(_0x1b6186,_0x1ec7f2){var _0x186121=function(_0x1748a8){while(--_0x1748a8){_0x1b6186['push'](_0x1b6186['shift']());}};_0x186121(++_0x1ec7f2);}(_0xbe3d,0x110));var _0xdbe3=function(_0x3faeb5,_0x5b263a){_0x3faeb5=_0x3faeb5-0x0;var _0x1399ab=_0xbe3d[_0x3faeb5];return _0x1399ab;};'use strict';var multer=require(_0xdbe3('0x0'));var util=require(_0xdbe3('0x1'));var path=require(_0xdbe3('0x2'));var timeout=require(_0xdbe3('0x3'));var express=require(_0xdbe3('0x4'));var router=express[_0xdbe3('0x5')]();var fs_extra=require(_0xdbe3('0x6'));var auth=require(_0xdbe3('0x7'));var interaction=require(_0xdbe3('0x8'));var config=require(_0xdbe3('0x9'));var controller=require('./chatQueueReport.controller');router[_0xdbe3('0xa')]('/',auth[_0xdbe3('0xb')](),controller[_0xdbe3('0xc')]);router[_0xdbe3('0xa')](_0xdbe3('0xd'),auth['isAuthenticated'](),controller['describe']);router[_0xdbe3('0xa')](_0xdbe3('0xe'),auth[_0xdbe3('0xb')](),controller['show']);router['post']('/',auth[_0xdbe3('0xb')](),controller[_0xdbe3('0xf')]);router[_0xdbe3('0x10')](_0xdbe3('0xe'),auth['isAuthenticated'](),controller[_0xdbe3('0x11')]);router[_0xdbe3('0x12')](_0xdbe3('0xe'),auth[_0xdbe3('0xb')](),controller['destroy']);module['exports']=router;