f406f4a704d66ddb34fb07080d886d6dba615eb3
[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 _0x4b26=['../../components/interaction/service','../../config/environment','./openchannelQueueReport.controller','get','isAuthenticated','index','/describe','describe','post','put','/:id','update','delete','exports','multer','util','connect-timeout','express','Router'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x4b26,0xa6));var _0x64b2=function(_0x34665d,_0x872c51){_0x34665d=_0x34665d-0x0;var _0x299f04=_0x4b26[_0x34665d];return _0x299f04;};'use strict';var multer=require(_0x64b2('0x0'));var util=require(_0x64b2('0x1'));var path=require('path');var timeout=require(_0x64b2('0x2'));var express=require(_0x64b2('0x3'));var router=express[_0x64b2('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x64b2('0x5'));var config=require(_0x64b2('0x6'));var controller=require(_0x64b2('0x7'));router[_0x64b2('0x8')]('/',auth[_0x64b2('0x9')](),controller[_0x64b2('0xa')]);router[_0x64b2('0x8')](_0x64b2('0xb'),auth[_0x64b2('0x9')](),controller[_0x64b2('0xc')]);router['get']('/:id',auth[_0x64b2('0x9')](),controller['show']);router[_0x64b2('0xd')]('/',auth['isAuthenticated'](),controller['create']);router[_0x64b2('0xe')](_0x64b2('0xf'),auth[_0x64b2('0x9')](),controller[_0x64b2('0x10')]);router[_0x64b2('0x11')](_0x64b2('0xf'),auth[_0x64b2('0x9')](),controller['destroy']);module[_0x64b2('0x12')]=router;