b99c89736bf5e748b0bf2b5752feec0f3d1dd66a
[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 _0x6c6c=['get','describe','/:id','show','post','create','put','update','delete','exports','express','Router','fs-extra','../../components/interaction/service','../../config/environment','isAuthenticated'];(function(_0x155874,_0x120654){var _0x4d4943=function(_0x20795b){while(--_0x20795b){_0x155874['push'](_0x155874['shift']());}};_0x4d4943(++_0x120654);}(_0x6c6c,0xca));var _0xc6c6=function(_0x2f970c,_0x5f510a){_0x2f970c=_0x2f970c-0x0;var _0x55f0cb=_0x6c6c[_0x2f970c];return _0x55f0cb;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xc6c6('0x0'));var router=express[_0xc6c6('0x1')]();var fs_extra=require(_0xc6c6('0x2'));var auth=require('../../components/auth/service');var interaction=require(_0xc6c6('0x3'));var config=require(_0xc6c6('0x4'));var controller=require('./openchannelQueueReport.controller');router['get']('/',auth[_0xc6c6('0x5')](),controller['index']);router[_0xc6c6('0x6')]('/describe',auth['isAuthenticated'](),controller[_0xc6c6('0x7')]);router['get'](_0xc6c6('0x8'),auth[_0xc6c6('0x5')](),controller[_0xc6c6('0x9')]);router[_0xc6c6('0xa')]('/',auth[_0xc6c6('0x5')](),controller[_0xc6c6('0xb')]);router[_0xc6c6('0xc')](_0xc6c6('0x8'),auth['isAuthenticated'](),controller[_0xc6c6('0xd')]);router[_0xc6c6('0xe')](_0xc6c6('0x8'),auth[_0xc6c6('0x5')](),controller['destroy']);module[_0xc6c6('0xf')]=router;