040352a0872faad49a8d9176a7755a5de7947491
[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 _0xc32b=['util','path','express','fs-extra','../../components/auth/service','./openchannelQueueReport.controller','index','get','/describe','isAuthenticated','/:id','post','create','put','update','destroy','exports','multer'];(function(_0x401ccd,_0x140815){var _0x5a57ad=function(_0x8ad698){while(--_0x8ad698){_0x401ccd['push'](_0x401ccd['shift']());}};_0x5a57ad(++_0x140815);}(_0xc32b,0x6b));var _0xbc32=function(_0x25e92c,_0xb3e60d){_0x25e92c=_0x25e92c-0x0;var _0x1006a5=_0xc32b[_0x25e92c];return _0x1006a5;};'use strict';var multer=require(_0xbc32('0x0'));var util=require(_0xbc32('0x1'));var path=require(_0xbc32('0x2'));var timeout=require('connect-timeout');var express=require(_0xbc32('0x3'));var router=express['Router']();var fs_extra=require(_0xbc32('0x4'));var auth=require(_0xbc32('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xbc32('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0xbc32('0x7')]);router[_0xbc32('0x8')](_0xbc32('0x9'),auth[_0xbc32('0xa')](),controller['describe']);router[_0xbc32('0x8')](_0xbc32('0xb'),auth[_0xbc32('0xa')](),controller['show']);router[_0xbc32('0xc')]('/',auth[_0xbc32('0xa')](),controller[_0xbc32('0xd')]);router[_0xbc32('0xe')](_0xbc32('0xb'),auth[_0xbc32('0xa')](),controller[_0xbc32('0xf')]);router['delete'](_0xbc32('0xb'),auth[_0xbc32('0xa')](),controller[_0xbc32('0x10')]);module[_0xbc32('0x11')]=router;