23f46a37649d865ba8df5dfd8d66d365af387c20
[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 _0x53af=['destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../config/environment','./openchannelQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','update','delete'];(function(_0x3cd61f,_0x410b2f){var _0x366ae5=function(_0x1e2565){while(--_0x1e2565){_0x3cd61f['push'](_0x3cd61f['shift']());}};_0x366ae5(++_0x410b2f);}(_0x53af,0x9c));var _0xf53a=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x53af[_0x321bb2];return _0x9c12ed;};'use strict';var multer=require(_0xf53a('0x0'));var util=require(_0xf53a('0x1'));var path=require(_0xf53a('0x2'));var timeout=require(_0xf53a('0x3'));var express=require(_0xf53a('0x4'));var router=express['Router']();var fs_extra=require(_0xf53a('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xf53a('0x6'));var controller=require(_0xf53a('0x7'));router[_0xf53a('0x8')]('/',auth[_0xf53a('0x9')](),controller[_0xf53a('0xa')]);router[_0xf53a('0x8')](_0xf53a('0xb'),auth['isAuthenticated'](),controller[_0xf53a('0xc')]);router[_0xf53a('0x8')](_0xf53a('0xd'),auth[_0xf53a('0x9')](),controller[_0xf53a('0xe')]);router[_0xf53a('0xf')]('/',auth[_0xf53a('0x9')](),controller[_0xf53a('0x10')]);router[_0xf53a('0x11')](_0xf53a('0xd'),auth[_0xf53a('0x9')](),controller[_0xf53a('0x12')]);router[_0xf53a('0x13')](_0xf53a('0xd'),auth[_0xf53a('0x9')](),controller[_0xf53a('0x14')]);module[_0xf53a('0x15')]=router;