Built motion from commit (unavailable).|2.5.7
[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 _0x8b8b=['multer','path','Router','../../components/auth/service','../../config/environment','./openchannelQueueReport.controller','get','isAuthenticated','/describe','describe','show','post','create','put','update','destroy'];(function(_0x5a7be4,_0x2cb2f9){var _0x228aba=function(_0x7b444d){while(--_0x7b444d){_0x5a7be4['push'](_0x5a7be4['shift']());}};_0x228aba(++_0x2cb2f9);}(_0x8b8b,0xa0));var _0xb8b8=function(_0x1b6521,_0x4e3597){_0x1b6521=_0x1b6521-0x0;var _0x4d30b0=_0x8b8b[_0x1b6521];return _0x4d30b0;};'use strict';var multer=require(_0xb8b8('0x0'));var util=require('util');var path=require(_0xb8b8('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xb8b8('0x2')]();var auth=require(_0xb8b8('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0xb8b8('0x4'));var controller=require(_0xb8b8('0x5'));router[_0xb8b8('0x6')]('/',auth[_0xb8b8('0x7')](),controller['index']);router['get'](_0xb8b8('0x8'),auth[_0xb8b8('0x7')](),controller[_0xb8b8('0x9')]);router['get']('/:id',auth[_0xb8b8('0x7')](),controller[_0xb8b8('0xa')]);router[_0xb8b8('0xb')]('/',auth[_0xb8b8('0x7')](),controller[_0xb8b8('0xc')]);router[_0xb8b8('0xd')]('/:id',auth[_0xb8b8('0x7')](),controller[_0xb8b8('0xe')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0xb8b8('0xf')]);module['exports']=router;