Built motion from commit efa66e19.|2.6.22
[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 _0xaab8=['/describe','describe','show','post','create','put','/:id','update','delete','exports','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatQueueReport.controller','isAuthenticated','get'];(function(_0x670d1f,_0x11e072){var _0x2c77a3=function(_0xd0529f){while(--_0xd0529f){_0x670d1f['push'](_0x670d1f['shift']());}};_0x2c77a3(++_0x11e072);}(_0xaab8,0x14a));var _0x8aab=function(_0x4daaf2,_0x377b13){_0x4daaf2=_0x4daaf2-0x0;var _0x572015=_0xaab8[_0x4daaf2];return _0x572015;};'use strict';var multer=require('multer');var util=require(_0x8aab('0x0'));var path=require('path');var timeout=require(_0x8aab('0x1'));var express=require(_0x8aab('0x2'));var router=express[_0x8aab('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x8aab('0x4'));var interaction=require(_0x8aab('0x5'));var config=require(_0x8aab('0x6'));var controller=require(_0x8aab('0x7'));router['get']('/',auth[_0x8aab('0x8')](),controller['index']);router[_0x8aab('0x9')](_0x8aab('0xa'),auth['isAuthenticated'](),controller[_0x8aab('0xb')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0x8aab('0xc')]);router[_0x8aab('0xd')]('/',auth[_0x8aab('0x8')](),controller[_0x8aab('0xe')]);router[_0x8aab('0xf')](_0x8aab('0x10'),auth[_0x8aab('0x8')](),controller[_0x8aab('0x11')]);router[_0x8aab('0x12')](_0x8aab('0x10'),auth[_0x8aab('0x8')](),controller['destroy']);module[_0x8aab('0x13')]=router;