a89e7d2eb9588b1dcc2488fecd4c91eb9c186970
[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 _0x5f0f=['../../components/interaction/service','../../config/environment','./openchannelQueueReport.controller','get','isAuthenticated','index','describe','/:id','post','create','put','delete','destroy','exports','util','express','Router','../../components/auth/service'];(function(_0xa5cc56,_0x482df1){var _0x52b569=function(_0x34be4c){while(--_0x34be4c){_0xa5cc56['push'](_0xa5cc56['shift']());}};_0x52b569(++_0x482df1);}(_0x5f0f,0xe6));var _0xf5f0=function(_0x866e1c,_0x549974){_0x866e1c=_0x866e1c-0x0;var _0x59697e=_0x5f0f[_0x866e1c];return _0x59697e;};'use strict';var multer=require('multer');var util=require(_0xf5f0('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xf5f0('0x1'));var router=express[_0xf5f0('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0xf5f0('0x3'));var interaction=require(_0xf5f0('0x4'));var config=require(_0xf5f0('0x5'));var controller=require(_0xf5f0('0x6'));router[_0xf5f0('0x7')]('/',auth[_0xf5f0('0x8')](),controller[_0xf5f0('0x9')]);router[_0xf5f0('0x7')]('/describe',auth['isAuthenticated'](),controller[_0xf5f0('0xa')]);router[_0xf5f0('0x7')](_0xf5f0('0xb'),auth[_0xf5f0('0x8')](),controller['show']);router[_0xf5f0('0xc')]('/',auth[_0xf5f0('0x8')](),controller[_0xf5f0('0xd')]);router[_0xf5f0('0xe')](_0xf5f0('0xb'),auth[_0xf5f0('0x8')](),controller['update']);router[_0xf5f0('0xf')](_0xf5f0('0xb'),auth[_0xf5f0('0x8')](),controller[_0xf5f0('0x10')]);module[_0xf5f0('0x11')]=router;