Built motion from commit (unavailable).|2.5.13
[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 _0x3a32=['../../config/environment','get','isAuthenticated','index','/:id','show','post','destroy','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0xa12891,_0x38e8b6){var _0x13d4b0=function(_0x2156f3){while(--_0x2156f3){_0xa12891['push'](_0xa12891['shift']());}};_0x13d4b0(++_0x38e8b6);}(_0x3a32,0x1e8));var _0x23a3=function(_0x397cfb,_0xb8f317){_0x397cfb=_0x397cfb-0x0;var _0x15fed9=_0x3a32[_0x397cfb];return _0x15fed9;};'use strict';var multer=require(_0x23a3('0x0'));var util=require(_0x23a3('0x1'));var path=require(_0x23a3('0x2'));var timeout=require(_0x23a3('0x3'));var express=require(_0x23a3('0x4'));var router=express[_0x23a3('0x5')]();var auth=require(_0x23a3('0x6'));var interaction=require(_0x23a3('0x7'));var config=require(_0x23a3('0x8'));var controller=require('./chatQueueReport.controller');router[_0x23a3('0x9')]('/',auth[_0x23a3('0xa')](),controller[_0x23a3('0xb')]);router['get']('/describe',auth[_0x23a3('0xa')](),controller['describe']);router['get'](_0x23a3('0xc'),auth[_0x23a3('0xa')](),controller[_0x23a3('0xd')]);router[_0x23a3('0xe')]('/',auth[_0x23a3('0xa')](),controller['create']);router['put'](_0x23a3('0xc'),auth['isAuthenticated'](),controller['update']);router['delete'](_0x23a3('0xc'),auth[_0x23a3('0xa')](),controller[_0x23a3('0xf')]);module['exports']=router;