Built motion from commit 9d7072cc.|2.5.39
[motion2.git] / server / api / openchannelQueueReport / 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 _0xc1c6=['/describe','describe','/:id','show','post','create','put','delete','destroy','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelQueueReport.controller','isAuthenticated','index','get'];(function(_0x3498ad,_0x18888b){var _0x46fc8e=function(_0xdb9d4a){while(--_0xdb9d4a){_0x3498ad['push'](_0x3498ad['shift']());}};_0x46fc8e(++_0x18888b);}(_0xc1c6,0x16e));var _0x6c1c=function(_0x30a72c,_0x2ddb15){_0x30a72c=_0x30a72c-0x0;var _0x3830ba=_0xc1c6[_0x30a72c];return _0x3830ba;};'use strict';var multer=require('multer');var util=require(_0x6c1c('0x0'));var path=require(_0x6c1c('0x1'));var timeout=require('connect-timeout');var express=require(_0x6c1c('0x2'));var router=express[_0x6c1c('0x3')]();var fs_extra=require(_0x6c1c('0x4'));var auth=require(_0x6c1c('0x5'));var interaction=require(_0x6c1c('0x6'));var config=require(_0x6c1c('0x7'));var controller=require(_0x6c1c('0x8'));router['get']('/',auth[_0x6c1c('0x9')](),controller[_0x6c1c('0xa')]);router[_0x6c1c('0xb')](_0x6c1c('0xc'),auth['isAuthenticated'](),controller[_0x6c1c('0xd')]);router['get'](_0x6c1c('0xe'),auth[_0x6c1c('0x9')](),controller[_0x6c1c('0xf')]);router[_0x6c1c('0x10')]('/',auth['isAuthenticated'](),controller[_0x6c1c('0x11')]);router[_0x6c1c('0x12')](_0x6c1c('0xe'),auth[_0x6c1c('0x9')](),controller['update']);router[_0x6c1c('0x13')]('/:id',auth[_0x6c1c('0x9')](),controller[_0x6c1c('0x14')]);module['exports']=router;