Built motion from commit 8271bb6f.|2.6.28
[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 _0xae30=['exports','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','get','/describe','describe','isAuthenticated','show','create','/:id','delete'];(function(_0x56482c,_0x16118d){var _0x5aae7a=function(_0x52512f){while(--_0x52512f){_0x56482c['push'](_0x56482c['shift']());}};_0x5aae7a(++_0x16118d);}(_0xae30,0xbc));var _0x0ae3=function(_0x1a6659,_0xcc8b76){_0x1a6659=_0x1a6659-0x0;var _0x53aeb8=_0xae30[_0x1a6659];return _0x53aeb8;};'use strict';var multer=require('multer');var util=require(_0x0ae3('0x0'));var path=require(_0x0ae3('0x1'));var timeout=require(_0x0ae3('0x2'));var express=require(_0x0ae3('0x3'));var router=express[_0x0ae3('0x4')]();var fs_extra=require(_0x0ae3('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x0ae3('0x6'));var config=require(_0x0ae3('0x7'));var controller=require('./openchannelQueueReport.controller');router[_0x0ae3('0x8')]('/',auth['isAuthenticated'](),controller['index']);router[_0x0ae3('0x8')](_0x0ae3('0x9'),auth['isAuthenticated'](),controller[_0x0ae3('0xa')]);router[_0x0ae3('0x8')]('/:id',auth[_0x0ae3('0xb')](),controller[_0x0ae3('0xc')]);router['post']('/',auth[_0x0ae3('0xb')](),controller[_0x0ae3('0xd')]);router['put'](_0x0ae3('0xe'),auth[_0x0ae3('0xb')](),controller['update']);router[_0x0ae3('0xf')](_0x0ae3('0xe'),auth[_0x0ae3('0xb')](),controller['destroy']);module[_0x0ae3('0x10')]=router;