Built motion from commit (unavailable).|2.5.4
[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 _0x3c6b=['update','multer','path','Router','../../components/auth/service','./openchannelQueueReport.controller','isAuthenticated','index','/describe','describe','get','/:id','show','post','create','put'];(function(_0x11c9d7,_0x29c9f0){var _0x31bcbb=function(_0x21a706){while(--_0x21a706){_0x11c9d7['push'](_0x11c9d7['shift']());}};_0x31bcbb(++_0x29c9f0);}(_0x3c6b,0x191));var _0xb3c6=function(_0xbf6bb2,_0x55ce47){_0xbf6bb2=_0xbf6bb2-0x0;var _0x54e71f=_0x3c6b[_0xbf6bb2];return _0x54e71f;};'use strict';var multer=require(_0xb3c6('0x0'));var util=require('util');var path=require(_0xb3c6('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xb3c6('0x2')]();var auth=require(_0xb3c6('0x3'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xb3c6('0x4'));router['get']('/',auth[_0xb3c6('0x5')](),controller[_0xb3c6('0x6')]);router['get'](_0xb3c6('0x7'),auth['isAuthenticated'](),controller[_0xb3c6('0x8')]);router[_0xb3c6('0x9')](_0xb3c6('0xa'),auth[_0xb3c6('0x5')](),controller[_0xb3c6('0xb')]);router[_0xb3c6('0xc')]('/',auth[_0xb3c6('0x5')](),controller[_0xb3c6('0xd')]);router[_0xb3c6('0xe')]('/:id',auth['isAuthenticated'](),controller[_0xb3c6('0xf')]);router['delete'](_0xb3c6('0xa'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;