90bb072d007c3dbbbd93b51b8f2a7c3ad26db87f
[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 _0x49a0=['./chatQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','update','delete','destroy','exports','path','Router','../../components/interaction/service','../../config/environment'];(function(_0x46e63e,_0x35c646){var _0x4d8cff=function(_0x320c27){while(--_0x320c27){_0x46e63e['push'](_0x46e63e['shift']());}};_0x4d8cff(++_0x35c646);}(_0x49a0,0x18b));var _0x049a=function(_0x2c80c1,_0xf479b3){_0x2c80c1=_0x2c80c1-0x0;var _0x375cd8=_0x49a0[_0x2c80c1];return _0x375cd8;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x049a('0x0'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x049a('0x1')]();var auth=require('../../components/auth/service');var interaction=require(_0x049a('0x2'));var config=require(_0x049a('0x3'));var controller=require(_0x049a('0x4'));router[_0x049a('0x5')]('/',auth[_0x049a('0x6')](),controller[_0x049a('0x7')]);router['get'](_0x049a('0x8'),auth[_0x049a('0x6')](),controller[_0x049a('0x9')]);router[_0x049a('0x5')](_0x049a('0xa'),auth[_0x049a('0x6')](),controller[_0x049a('0xb')]);router[_0x049a('0xc')]('/',auth[_0x049a('0x6')](),controller[_0x049a('0xd')]);router[_0x049a('0xe')]('/:id',auth[_0x049a('0x6')](),controller[_0x049a('0xf')]);router[_0x049a('0x10')](_0x049a('0xa'),auth['isAuthenticated'](),controller[_0x049a('0x11')]);module[_0x049a('0x12')]=router;