Built motion from commit 43538d75.|2.5.35
[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 _0x023c=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','post','create','put','update','delete','destroy','exports','multer','express'];(function(_0x3aed44,_0x374ed2){var _0x596a93=function(_0x28d35f){while(--_0x28d35f){_0x3aed44['push'](_0x3aed44['shift']());}};_0x596a93(++_0x374ed2);}(_0x023c,0xe5));var _0xc023=function(_0x2f8d77,_0x2f68e9){_0x2f8d77=_0x2f8d77-0x0;var _0x4e5dee=_0x023c[_0x2f8d77];return _0x4e5dee;};'use strict';var multer=require(_0xc023('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xc023('0x1'));var router=express[_0xc023('0x2')]();var fs_extra=require(_0xc023('0x3'));var auth=require(_0xc023('0x4'));var interaction=require(_0xc023('0x5'));var config=require(_0xc023('0x6'));var controller=require(_0xc023('0x7'));router[_0xc023('0x8')]('/',auth[_0xc023('0x9')](),controller[_0xc023('0xa')]);router[_0xc023('0x8')](_0xc023('0xb'),auth['isAuthenticated'](),controller[_0xc023('0xc')]);router[_0xc023('0x8')](_0xc023('0xd'),auth[_0xc023('0x9')](),controller['show']);router[_0xc023('0xe')]('/',auth[_0xc023('0x9')](),controller[_0xc023('0xf')]);router[_0xc023('0x10')]('/:id',auth[_0xc023('0x9')](),controller[_0xc023('0x11')]);router[_0xc023('0x12')](_0xc023('0xd'),auth[_0xc023('0x9')](),controller[_0xc023('0x13')]);module[_0xc023('0x14')]=router;