4e6763a308a7c1fa34e492b474d9850a4f5bba26
[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 _0xf613=['path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelQueueReport.controller','get','isAuthenticated','/describe','describe','/:id','show','post','update','delete','destroy','multer','util'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xf613,0x70));var _0x3f61=function(_0x4bb722,_0x1db86e){_0x4bb722=_0x4bb722-0x0;var _0x407977=_0xf613[_0x4bb722];return _0x407977;};'use strict';var multer=require(_0x3f61('0x0'));var util=require(_0x3f61('0x1'));var path=require(_0x3f61('0x2'));var timeout=require('connect-timeout');var express=require(_0x3f61('0x3'));var router=express[_0x3f61('0x4')]();var auth=require(_0x3f61('0x5'));var interaction=require(_0x3f61('0x6'));var config=require(_0x3f61('0x7'));var controller=require(_0x3f61('0x8'));router[_0x3f61('0x9')]('/',auth[_0x3f61('0xa')](),controller['index']);router['get'](_0x3f61('0xb'),auth['isAuthenticated'](),controller[_0x3f61('0xc')]);router[_0x3f61('0x9')](_0x3f61('0xd'),auth[_0x3f61('0xa')](),controller[_0x3f61('0xe')]);router[_0x3f61('0xf')]('/',auth[_0x3f61('0xa')](),controller['create']);router['put']('/:id',auth['isAuthenticated'](),controller[_0x3f61('0x10')]);router[_0x3f61('0x11')](_0x3f61('0xd'),auth[_0x3f61('0xa')](),controller[_0x3f61('0x12')]);module['exports']=router;