42efdf3972fce17da125f005ceb6f9b1357b991b
[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 _0x63e4=['/describe','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./openchannelQueueReport.controller','isAuthenticated','index','get'];(function(_0xbca1b1,_0x33f0ce){var _0x4e1686=function(_0x58a80c){while(--_0x58a80c){_0xbca1b1['push'](_0xbca1b1['shift']());}};_0x4e1686(++_0x33f0ce);}(_0x63e4,0x112));var _0x463e=function(_0x44a186,_0x57f021){_0x44a186=_0x44a186-0x0;var _0x701e4b=_0x63e4[_0x44a186];return _0x701e4b;};'use strict';var multer=require(_0x463e('0x0'));var util=require(_0x463e('0x1'));var path=require(_0x463e('0x2'));var timeout=require(_0x463e('0x3'));var express=require(_0x463e('0x4'));var router=express[_0x463e('0x5')]();var auth=require(_0x463e('0x6'));var interaction=require(_0x463e('0x7'));var config=require('../../config/environment');var controller=require(_0x463e('0x8'));router['get']('/',auth[_0x463e('0x9')](),controller[_0x463e('0xa')]);router[_0x463e('0xb')](_0x463e('0xc'),auth[_0x463e('0x9')](),controller['describe']);router['get'](_0x463e('0xd'),auth[_0x463e('0x9')](),controller[_0x463e('0xe')]);router[_0x463e('0xf')]('/',auth[_0x463e('0x9')](),controller[_0x463e('0x10')]);router[_0x463e('0x11')]('/:id',auth[_0x463e('0x9')](),controller[_0x463e('0x12')]);router[_0x463e('0x13')](_0x463e('0xd'),auth[_0x463e('0x9')](),controller[_0x463e('0x14')]);module[_0x463e('0x15')]=router;