Built motion from commit f7863d46.|2.5.41
[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 _0xf93d=['Router','../../components/auth/service','../../config/environment','get','index','/describe','isAuthenticated','describe','/:id','show','post','create','put','delete','destroy','exports','util','connect-timeout','express'];(function(_0x3edba5,_0x1458a8){var _0x50f416=function(_0x346211){while(--_0x346211){_0x3edba5['push'](_0x3edba5['shift']());}};_0x50f416(++_0x1458a8);}(_0xf93d,0x107));var _0xdf93=function(_0x4c882b,_0x874780){_0x4c882b=_0x4c882b-0x0;var _0x1c6642=_0xf93d[_0x4c882b];return _0x1c6642;};'use strict';var multer=require('multer');var util=require(_0xdf93('0x0'));var path=require('path');var timeout=require(_0xdf93('0x1'));var express=require(_0xdf93('0x2'));var router=express[_0xdf93('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xdf93('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xdf93('0x5'));var controller=require('./openchannelQueueReport.controller');router[_0xdf93('0x6')]('/',auth['isAuthenticated'](),controller[_0xdf93('0x7')]);router[_0xdf93('0x6')](_0xdf93('0x8'),auth[_0xdf93('0x9')](),controller[_0xdf93('0xa')]);router['get'](_0xdf93('0xb'),auth[_0xdf93('0x9')](),controller[_0xdf93('0xc')]);router[_0xdf93('0xd')]('/',auth[_0xdf93('0x9')](),controller[_0xdf93('0xe')]);router[_0xdf93('0xf')](_0xdf93('0xb'),auth['isAuthenticated'](),controller['update']);router[_0xdf93('0x10')](_0xdf93('0xb'),auth[_0xdf93('0x9')](),controller[_0xdf93('0x11')]);module[_0xdf93('0x12')]=router;