4f5314783213543cddac1b786bf22e6f4de79cd1
[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 _0x163f=['multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./chatQueueReport.controller','get','index','isAuthenticated','describe','/:id','show','create','put','update','delete','destroy','exports'];(function(_0x3b166b,_0x2c8ba1){var _0x579602=function(_0x8d7abc){while(--_0x8d7abc){_0x3b166b['push'](_0x3b166b['shift']());}};_0x579602(++_0x2c8ba1);}(_0x163f,0x143));var _0xf163=function(_0x1d24eb,_0x12295b){_0x1d24eb=_0x1d24eb-0x0;var _0x1dc576=_0x163f[_0x1d24eb];return _0x1dc576;};'use strict';var multer=require(_0xf163('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xf163('0x1'));var express=require(_0xf163('0x2'));var router=express[_0xf163('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xf163('0x4'));var interaction=require(_0xf163('0x5'));var config=require('../../config/environment');var controller=require(_0xf163('0x6'));router[_0xf163('0x7')]('/',auth['isAuthenticated'](),controller[_0xf163('0x8')]);router[_0xf163('0x7')]('/describe',auth[_0xf163('0x9')](),controller[_0xf163('0xa')]);router[_0xf163('0x7')](_0xf163('0xb'),auth[_0xf163('0x9')](),controller[_0xf163('0xc')]);router['post']('/',auth[_0xf163('0x9')](),controller[_0xf163('0xd')]);router[_0xf163('0xe')](_0xf163('0xb'),auth[_0xf163('0x9')](),controller[_0xf163('0xf')]);router[_0xf163('0x10')](_0xf163('0xb'),auth[_0xf163('0x9')](),controller[_0xf163('0x11')]);module[_0xf163('0x12')]=router;