Built motion from commit ddca4d0d.|2.5.47
[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 _0x4b30=['path','Router','fs-extra','../../components/auth/service','../../components/interaction/service','isAuthenticated','/describe','describe','/:id','show','post','create','put','delete','exports','multer','util'];(function(_0x40a045,_0x516f0e){var _0x1a687c=function(_0x48c9fe){while(--_0x48c9fe){_0x40a045['push'](_0x40a045['shift']());}};_0x1a687c(++_0x516f0e);}(_0x4b30,0x1c9));var _0x04b3=function(_0x3bd6c4,_0x2f5e7e){_0x3bd6c4=_0x3bd6c4-0x0;var _0x43018a=_0x4b30[_0x3bd6c4];return _0x43018a;};'use strict';var multer=require(_0x04b3('0x0'));var util=require(_0x04b3('0x1'));var path=require(_0x04b3('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x04b3('0x3')]();var fs_extra=require(_0x04b3('0x4'));var auth=require(_0x04b3('0x5'));var interaction=require(_0x04b3('0x6'));var config=require('../../config/environment');var controller=require('./chatQueueReport.controller');router['get']('/',auth[_0x04b3('0x7')](),controller['index']);router['get'](_0x04b3('0x8'),auth[_0x04b3('0x7')](),controller[_0x04b3('0x9')]);router['get'](_0x04b3('0xa'),auth[_0x04b3('0x7')](),controller[_0x04b3('0xb')]);router[_0x04b3('0xc')]('/',auth[_0x04b3('0x7')](),controller[_0x04b3('0xd')]);router[_0x04b3('0xe')](_0x04b3('0xa'),auth[_0x04b3('0x7')](),controller['update']);router[_0x04b3('0xf')]('/:id',auth[_0x04b3('0x7')](),controller['destroy']);module[_0x04b3('0x10')]=router;