626aabf4fa4f5b9cb927e5770e09a624694c1bf0
[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 _0xab76=['create','put','update','delete','destroy','multer','util','path','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./chatQueueReport.controller','get','isAuthenticated','index','/describe','/:id','post'];(function(_0x5d4e04,_0x375507){var _0x48bf45=function(_0x5482b2){while(--_0x5482b2){_0x5d4e04['push'](_0x5d4e04['shift']());}};_0x48bf45(++_0x375507);}(_0xab76,0x181));var _0x6ab7=function(_0x2d7f0e,_0x3e6fbd){_0x2d7f0e=_0x2d7f0e-0x0;var _0x110b07=_0xab76[_0x2d7f0e];return _0x110b07;};'use strict';var multer=require(_0x6ab7('0x0'));var util=require(_0x6ab7('0x1'));var path=require(_0x6ab7('0x2'));var timeout=require('connect-timeout');var express=require(_0x6ab7('0x3'));var router=express[_0x6ab7('0x4')]();var fs_extra=require(_0x6ab7('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x6ab7('0x6'));var config=require(_0x6ab7('0x7'));var controller=require(_0x6ab7('0x8'));router[_0x6ab7('0x9')]('/',auth[_0x6ab7('0xa')](),controller[_0x6ab7('0xb')]);router['get'](_0x6ab7('0xc'),auth[_0x6ab7('0xa')](),controller['describe']);router[_0x6ab7('0x9')](_0x6ab7('0xd'),auth[_0x6ab7('0xa')](),controller['show']);router[_0x6ab7('0xe')]('/',auth[_0x6ab7('0xa')](),controller[_0x6ab7('0xf')]);router[_0x6ab7('0x10')](_0x6ab7('0xd'),auth[_0x6ab7('0xa')](),controller[_0x6ab7('0x11')]);router[_0x6ab7('0x12')](_0x6ab7('0xd'),auth['isAuthenticated'](),controller[_0x6ab7('0x13')]);module['exports']=router;