Built motion from commit (unavailable).|2.3.93
[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 _0xb041=['describe','show','post','create','put','/:id','update','delete','destroy','exports','path','connect-timeout','Router','../../components/interaction/service','../../config/environment','./chatQueueReport.controller','isAuthenticated','get'];(function(_0x9b44dc,_0x45b7fe){var _0x36b06b=function(_0x512d9d){while(--_0x512d9d){_0x9b44dc['push'](_0x9b44dc['shift']());}};_0x36b06b(++_0x45b7fe);}(_0xb041,0xd0));var _0x1b04=function(_0x75baf1,_0x230249){_0x75baf1=_0x75baf1-0x0;var _0x4707cf=_0xb041[_0x75baf1];return _0x4707cf;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x1b04('0x0'));var timeout=require(_0x1b04('0x1'));var express=require('express');var router=express[_0x1b04('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0x1b04('0x3'));var config=require(_0x1b04('0x4'));var controller=require(_0x1b04('0x5'));router['get']('/',auth[_0x1b04('0x6')](),controller['index']);router[_0x1b04('0x7')]('/describe',auth[_0x1b04('0x6')](),controller[_0x1b04('0x8')]);router[_0x1b04('0x7')]('/:id',auth[_0x1b04('0x6')](),controller[_0x1b04('0x9')]);router[_0x1b04('0xa')]('/',auth['isAuthenticated'](),controller[_0x1b04('0xb')]);router[_0x1b04('0xc')](_0x1b04('0xd'),auth['isAuthenticated'](),controller[_0x1b04('0xe')]);router[_0x1b04('0xf')](_0x1b04('0xd'),auth[_0x1b04('0x6')](),controller[_0x1b04('0x10')]);module[_0x1b04('0x11')]=router;