Built motion from commit (unavailable).|2.5.6
[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 _0xdc4c=['post','create','update','delete','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./openchannelQueueReport.controller','get','isAuthenticated','/describe','/:id','show'];(function(_0x478c3c,_0x3d530e){var _0x3a0711=function(_0x3bc563){while(--_0x3bc563){_0x478c3c['push'](_0x478c3c['shift']());}};_0x3a0711(++_0x3d530e);}(_0xdc4c,0xa4));var _0xcdc4=function(_0x56d6a0,_0x34b7da){_0x56d6a0=_0x56d6a0-0x0;var _0x2a1111=_0xdc4c[_0x56d6a0];return _0x2a1111;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xcdc4('0x0'));var timeout=require(_0xcdc4('0x1'));var express=require(_0xcdc4('0x2'));var router=express[_0xcdc4('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0xcdc4('0x4'));var config=require(_0xcdc4('0x5'));var controller=require(_0xcdc4('0x6'));router[_0xcdc4('0x7')]('/',auth[_0xcdc4('0x8')](),controller['index']);router[_0xcdc4('0x7')](_0xcdc4('0x9'),auth[_0xcdc4('0x8')](),controller['describe']);router[_0xcdc4('0x7')](_0xcdc4('0xa'),auth[_0xcdc4('0x8')](),controller[_0xcdc4('0xb')]);router[_0xcdc4('0xc')]('/',auth[_0xcdc4('0x8')](),controller[_0xcdc4('0xd')]);router['put']('/:id',auth[_0xcdc4('0x8')](),controller[_0xcdc4('0xe')]);router[_0xcdc4('0xf')](_0xcdc4('0xa'),auth[_0xcdc4('0x8')](),controller['destroy']);module['exports']=router;