183c1b48bb3253c062fcf4dd191f3b79d931a9d0
[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 _0xeef3=['../../config/environment','./openchannelQueueReport.controller','get','isAuthenticated','index','/describe','describe','show','post','create','put','/:id','update','delete','destroy','exports','multer','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x260509,_0x436bc6){var _0x7dc09f=function(_0x49c0fe){while(--_0x49c0fe){_0x260509['push'](_0x260509['shift']());}};_0x7dc09f(++_0x436bc6);}(_0xeef3,0x19c));var _0x3eef=function(_0x1fd675,_0x165dfe){_0x1fd675=_0x1fd675-0x0;var _0x16b554=_0xeef3[_0x1fd675];return _0x16b554;};'use strict';var multer=require(_0x3eef('0x0'));var util=require('util');var path=require(_0x3eef('0x1'));var timeout=require(_0x3eef('0x2'));var express=require('express');var router=express[_0x3eef('0x3')]();var auth=require(_0x3eef('0x4'));var interaction=require(_0x3eef('0x5'));var config=require(_0x3eef('0x6'));var controller=require(_0x3eef('0x7'));router[_0x3eef('0x8')]('/',auth[_0x3eef('0x9')](),controller[_0x3eef('0xa')]);router['get'](_0x3eef('0xb'),auth['isAuthenticated'](),controller[_0x3eef('0xc')]);router[_0x3eef('0x8')]('/:id',auth[_0x3eef('0x9')](),controller[_0x3eef('0xd')]);router[_0x3eef('0xe')]('/',auth[_0x3eef('0x9')](),controller[_0x3eef('0xf')]);router[_0x3eef('0x10')](_0x3eef('0x11'),auth['isAuthenticated'](),controller[_0x3eef('0x12')]);router[_0x3eef('0x13')](_0x3eef('0x11'),auth[_0x3eef('0x9')](),controller[_0x3eef('0x14')]);module[_0x3eef('0x15')]=router;