7ff0e03dbbe3f93c1c384a7b20e1cbc7385cb8bf
[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 _0xd22f=['create','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../config/environment','isAuthenticated','index','get','describe','/:id','post'];(function(_0x2614e1,_0x50d107){var _0x50a01d=function(_0x13cf3a){while(--_0x13cf3a){_0x2614e1['push'](_0x2614e1['shift']());}};_0x50a01d(++_0x50d107);}(_0xd22f,0x125));var _0xfd22=function(_0x1969a7,_0x5a133a){_0x1969a7=_0x1969a7-0x0;var _0x3d665f=_0xd22f[_0x1969a7];return _0x3d665f;};'use strict';var multer=require(_0xfd22('0x0'));var util=require(_0xfd22('0x1'));var path=require(_0xfd22('0x2'));var timeout=require(_0xfd22('0x3'));var express=require(_0xfd22('0x4'));var router=express[_0xfd22('0x5')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xfd22('0x6'));var controller=require('./chatQueueReport.controller');router['get']('/',auth[_0xfd22('0x7')](),controller[_0xfd22('0x8')]);router[_0xfd22('0x9')]('/describe',auth['isAuthenticated'](),controller[_0xfd22('0xa')]);router[_0xfd22('0x9')](_0xfd22('0xb'),auth[_0xfd22('0x7')](),controller['show']);router[_0xfd22('0xc')]('/',auth[_0xfd22('0x7')](),controller[_0xfd22('0xd')]);router['put'](_0xfd22('0xb'),auth[_0xfd22('0x7')](),controller[_0xfd22('0xe')]);router[_0xfd22('0xf')]('/:id',auth['isAuthenticated'](),controller[_0xfd22('0x10')]);module[_0xfd22('0x11')]=router;