Built motion from commit (unavailable).|2.5.29
[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 _0xe79a=['path','express','fs-extra','../../components/auth/service','../../components/interaction/service','./openchannelQueueReport.controller','get','isAuthenticated','index','describe','post','create','update','delete','/:id','destroy','exports','multer','util'];(function(_0x46a3e8,_0x2e1b35){var _0xf1442e=function(_0x37b5d4){while(--_0x37b5d4){_0x46a3e8['push'](_0x46a3e8['shift']());}};_0xf1442e(++_0x2e1b35);}(_0xe79a,0x1a0));var _0xae79=function(_0x529f79,_0x5b4c85){_0x529f79=_0x529f79-0x0;var _0x21e1d5=_0xe79a[_0x529f79];return _0x21e1d5;};'use strict';var multer=require(_0xae79('0x0'));var util=require(_0xae79('0x1'));var path=require(_0xae79('0x2'));var timeout=require('connect-timeout');var express=require(_0xae79('0x3'));var router=express['Router']();var fs_extra=require(_0xae79('0x4'));var auth=require(_0xae79('0x5'));var interaction=require(_0xae79('0x6'));var config=require('../../config/environment');var controller=require(_0xae79('0x7'));router[_0xae79('0x8')]('/',auth[_0xae79('0x9')](),controller[_0xae79('0xa')]);router[_0xae79('0x8')]('/describe',auth[_0xae79('0x9')](),controller[_0xae79('0xb')]);router[_0xae79('0x8')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0xae79('0xc')]('/',auth[_0xae79('0x9')](),controller[_0xae79('0xd')]);router['put']('/:id',auth[_0xae79('0x9')](),controller[_0xae79('0xe')]);router[_0xae79('0xf')](_0xae79('0x10'),auth['isAuthenticated'](),controller[_0xae79('0x11')]);module[_0xae79('0x12')]=router;