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 _0x9d81=['Router','../../components/auth/service','../../config/environment','./openchannelQueueReport.controller','isAuthenticated','index','get','/describe','describe','/:id','post','put','exports','multer','util','path','connect-timeout'];(function(_0x4a6ee7,_0x19ff8a){var _0x2a672b=function(_0x48b4f7){while(--_0x48b4f7){_0x4a6ee7['push'](_0x4a6ee7['shift']());}};_0x2a672b(++_0x19ff8a);}(_0x9d81,0x95));var _0x19d8=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0x9d81[_0x2c91e9];return _0x13f0ff;};'use strict';var multer=require(_0x19d8('0x0'));var util=require(_0x19d8('0x1'));var path=require(_0x19d8('0x2'));var timeout=require(_0x19d8('0x3'));var express=require('express');var router=express[_0x19d8('0x4')]();var auth=require(_0x19d8('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x19d8('0x6'));var controller=require(_0x19d8('0x7'));router['get']('/',auth[_0x19d8('0x8')](),controller[_0x19d8('0x9')]);router[_0x19d8('0xa')](_0x19d8('0xb'),auth['isAuthenticated'](),controller[_0x19d8('0xc')]);router[_0x19d8('0xa')](_0x19d8('0xd'),auth[_0x19d8('0x8')](),controller['show']);router[_0x19d8('0xe')]('/',auth[_0x19d8('0x8')](),controller['create']);router[_0x19d8('0xf')](_0x19d8('0xd'),auth['isAuthenticated'](),controller['update']);router['delete'](_0x19d8('0xd'),auth[_0x19d8('0x8')](),controller['destroy']);module[_0x19d8('0x10')]=router;