eee7d076aa6b16178bde5657a791f9dfaad1d928
[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 _0xd771=['destroy','exports','util','path','express','Router','fs-extra','../../components/auth/service','./chatQueueReport.controller','isAuthenticated','get','describe','show','post','put','/:id','update','delete'];(function(_0x397e68,_0x599e11){var _0xf1075a=function(_0x3a7ba6){while(--_0x3a7ba6){_0x397e68['push'](_0x397e68['shift']());}};_0xf1075a(++_0x599e11);}(_0xd771,0x110));var _0x1d77=function(_0x13b2ba,_0xbad6dd){_0x13b2ba=_0x13b2ba-0x0;var _0x57d016=_0xd771[_0x13b2ba];return _0x57d016;};'use strict';var multer=require('multer');var util=require(_0x1d77('0x0'));var path=require(_0x1d77('0x1'));var timeout=require('connect-timeout');var express=require(_0x1d77('0x2'));var router=express[_0x1d77('0x3')]();var fs_extra=require(_0x1d77('0x4'));var auth=require(_0x1d77('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x1d77('0x6'));router['get']('/',auth[_0x1d77('0x7')](),controller['index']);router[_0x1d77('0x8')]('/describe',auth['isAuthenticated'](),controller[_0x1d77('0x9')]);router[_0x1d77('0x8')]('/:id',auth[_0x1d77('0x7')](),controller[_0x1d77('0xa')]);router[_0x1d77('0xb')]('/',auth[_0x1d77('0x7')](),controller['create']);router[_0x1d77('0xc')](_0x1d77('0xd'),auth[_0x1d77('0x7')](),controller[_0x1d77('0xe')]);router[_0x1d77('0xf')](_0x1d77('0xd'),auth[_0x1d77('0x7')](),controller[_0x1d77('0x10')]);module[_0x1d77('0x11')]=router;