Built motion from commit (unavailable).|2.5.3
[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 _0xa98f=['isAuthenticated','/describe','describe','post','create','/:id','update','delete','destroy','exports','multer','util','Router','../../config/environment','./openchannelQueueReport.controller','get'];(function(_0xc9729c,_0xd2010e){var _0x2351e9=function(_0x1e0969){while(--_0x1e0969){_0xc9729c['push'](_0xc9729c['shift']());}};_0x2351e9(++_0xd2010e);}(_0xa98f,0x6a));var _0xfa98=function(_0x323419,_0x2a6172){_0x323419=_0x323419-0x0;var _0x4c0be7=_0xa98f[_0x323419];return _0x4c0be7;};'use strict';var multer=require(_0xfa98('0x0'));var util=require(_0xfa98('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xfa98('0x2')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xfa98('0x3'));var controller=require(_0xfa98('0x4'));router[_0xfa98('0x5')]('/',auth[_0xfa98('0x6')](),controller['index']);router[_0xfa98('0x5')](_0xfa98('0x7'),auth[_0xfa98('0x6')](),controller[_0xfa98('0x8')]);router[_0xfa98('0x5')]('/:id',auth[_0xfa98('0x6')](),controller['show']);router[_0xfa98('0x9')]('/',auth[_0xfa98('0x6')](),controller[_0xfa98('0xa')]);router['put'](_0xfa98('0xb'),auth['isAuthenticated'](),controller[_0xfa98('0xc')]);router[_0xfa98('0xd')]('/:id',auth[_0xfa98('0x6')](),controller[_0xfa98('0xe')]);module[_0xfa98('0xf')]=router;