Built motion from commit f74363e9.|2.6.34
[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 _0xa0dc=['./openchannelQueueReport.controller','isAuthenticated','index','get','describe','post','put','/:id','update','delete','destroy','exports','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment'];(function(_0x524cba,_0x42bb89){var _0x19ae3a=function(_0x304016){while(--_0x304016){_0x524cba['push'](_0x524cba['shift']());}};_0x19ae3a(++_0x42bb89);}(_0xa0dc,0x13e));var _0xca0d=function(_0x1944ba,_0x568d89){_0x1944ba=_0x1944ba-0x0;var _0x4deca0=_0xa0dc[_0x1944ba];return _0x4deca0;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0xca0d('0x0'));var express=require(_0xca0d('0x1'));var router=express['Router']();var fs_extra=require(_0xca0d('0x2'));var auth=require('../../components/auth/service');var interaction=require(_0xca0d('0x3'));var config=require(_0xca0d('0x4'));var controller=require(_0xca0d('0x5'));router['get']('/',auth[_0xca0d('0x6')](),controller[_0xca0d('0x7')]);router[_0xca0d('0x8')]('/describe',auth[_0xca0d('0x6')](),controller[_0xca0d('0x9')]);router[_0xca0d('0x8')]('/:id',auth[_0xca0d('0x6')](),controller['show']);router[_0xca0d('0xa')]('/',auth['isAuthenticated'](),controller['create']);router[_0xca0d('0xb')](_0xca0d('0xc'),auth[_0xca0d('0x6')](),controller[_0xca0d('0xd')]);router[_0xca0d('0xe')]('/:id',auth[_0xca0d('0x6')](),controller[_0xca0d('0xf')]);module[_0xca0d('0x10')]=router;