1f23a458cc0259fb2a67c82c275f17e7ab76de01
[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 _0xc441=['/:id','show','post','create','put','delete','destroy','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe'];(function(_0x136c79,_0x2451f0){var _0x3ab14f=function(_0x386db3){while(--_0x386db3){_0x136c79['push'](_0x136c79['shift']());}};_0x3ab14f(++_0x2451f0);}(_0xc441,0x1d4));var _0x1c44=function(_0x56ad44,_0x4855be){_0x56ad44=_0x56ad44-0x0;var _0x708169=_0xc441[_0x56ad44];return _0x708169;};'use strict';var multer=require(_0x1c44('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x1c44('0x1'));var express=require(_0x1c44('0x2'));var router=express[_0x1c44('0x3')]();var auth=require(_0x1c44('0x4'));var interaction=require(_0x1c44('0x5'));var config=require(_0x1c44('0x6'));var controller=require('./chatQueueReport.controller');router[_0x1c44('0x7')]('/',auth[_0x1c44('0x8')](),controller[_0x1c44('0x9')]);router[_0x1c44('0x7')](_0x1c44('0xa'),auth[_0x1c44('0x8')](),controller[_0x1c44('0xb')]);router['get'](_0x1c44('0xc'),auth[_0x1c44('0x8')](),controller[_0x1c44('0xd')]);router[_0x1c44('0xe')]('/',auth[_0x1c44('0x8')](),controller[_0x1c44('0xf')]);router[_0x1c44('0x10')](_0x1c44('0xc'),auth[_0x1c44('0x8')](),controller['update']);router[_0x1c44('0x11')](_0x1c44('0xc'),auth['isAuthenticated'](),controller[_0x1c44('0x12')]);module[_0x1c44('0x13')]=router;