Built motion from commit (unavailable).|2.5.25
[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 _0x5b13=['./openchannelQueueReport.controller','get','index','isAuthenticated','/:id','show','put','update','delete','destroy','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x11dc39,_0x14f755){var _0x35689f=function(_0x3c702c){while(--_0x3c702c){_0x11dc39['push'](_0x11dc39['shift']());}};_0x35689f(++_0x14f755);}(_0x5b13,0x13c));var _0x35b1=function(_0x1b8b05,_0x2a7d60){_0x1b8b05=_0x1b8b05-0x0;var _0xfe6fc7=_0x5b13[_0x1b8b05];return _0xfe6fc7;};'use strict';var multer=require('multer');var util=require(_0x35b1('0x0'));var path=require(_0x35b1('0x1'));var timeout=require('connect-timeout');var express=require(_0x35b1('0x2'));var router=express[_0x35b1('0x3')]();var auth=require(_0x35b1('0x4'));var interaction=require(_0x35b1('0x5'));var config=require(_0x35b1('0x6'));var controller=require(_0x35b1('0x7'));router[_0x35b1('0x8')]('/',auth['isAuthenticated'](),controller[_0x35b1('0x9')]);router[_0x35b1('0x8')]('/describe',auth[_0x35b1('0xa')](),controller['describe']);router[_0x35b1('0x8')](_0x35b1('0xb'),auth['isAuthenticated'](),controller[_0x35b1('0xc')]);router['post']('/',auth[_0x35b1('0xa')](),controller['create']);router[_0x35b1('0xd')](_0x35b1('0xb'),auth['isAuthenticated'](),controller[_0x35b1('0xe')]);router[_0x35b1('0xf')]('/:id',auth[_0x35b1('0xa')](),controller[_0x35b1('0x10')]);module['exports']=router;