fc17dcc4bc348b8ac01394dee052d23e66674c22
[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 _0xe315=['update','delete','destroy','exports','multer','util','express','../../components/interaction/service','isAuthenticated','index','get','/describe','/:id','show','post','create'];(function(_0x6c0123,_0x4c8d3b){var _0x5a87d2=function(_0x1ff614){while(--_0x1ff614){_0x6c0123['push'](_0x6c0123['shift']());}};_0x5a87d2(++_0x4c8d3b);}(_0xe315,0x144));var _0x5e31=function(_0x2083e6,_0x5a997a){_0x2083e6=_0x2083e6-0x0;var _0x3b1aae=_0xe315[_0x2083e6];return _0x3b1aae;};'use strict';var multer=require(_0x5e31('0x0'));var util=require(_0x5e31('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x5e31('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x5e31('0x3'));var config=require('../../config/environment');var controller=require('./chatQueueReport.controller');router['get']('/',auth[_0x5e31('0x4')](),controller[_0x5e31('0x5')]);router[_0x5e31('0x6')](_0x5e31('0x7'),auth[_0x5e31('0x4')](),controller['describe']);router[_0x5e31('0x6')](_0x5e31('0x8'),auth['isAuthenticated'](),controller[_0x5e31('0x9')]);router[_0x5e31('0xa')]('/',auth[_0x5e31('0x4')](),controller[_0x5e31('0xb')]);router['put'](_0x5e31('0x8'),auth['isAuthenticated'](),controller[_0x5e31('0xc')]);router[_0x5e31('0xd')](_0x5e31('0x8'),auth[_0x5e31('0x4')](),controller[_0x5e31('0xe')]);module[_0x5e31('0xf')]=router;