Built motion from commit 85328c08.|2.5.50
[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 _0xcbc2=['/:id','update','delete','destroy','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelQueueReport.controller','get','isAuthenticated','/describe','describe','show','post','create','put'];(function(_0x2555d0,_0x4150a6){var _0x3bb486=function(_0x1eb89f){while(--_0x1eb89f){_0x2555d0['push'](_0x2555d0['shift']());}};_0x3bb486(++_0x4150a6);}(_0xcbc2,0x193));var _0x2cbc=function(_0x4084fe,_0x19aad9){_0x4084fe=_0x4084fe-0x0;var _0x598649=_0xcbc2[_0x4084fe];return _0x598649;};'use strict';var multer=require(_0x2cbc('0x0'));var util=require(_0x2cbc('0x1'));var path=require('path');var timeout=require(_0x2cbc('0x2'));var express=require(_0x2cbc('0x3'));var router=express[_0x2cbc('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x2cbc('0x5'));var interaction=require(_0x2cbc('0x6'));var config=require(_0x2cbc('0x7'));var controller=require(_0x2cbc('0x8'));router[_0x2cbc('0x9')]('/',auth[_0x2cbc('0xa')](),controller['index']);router[_0x2cbc('0x9')](_0x2cbc('0xb'),auth[_0x2cbc('0xa')](),controller[_0x2cbc('0xc')]);router[_0x2cbc('0x9')]('/:id',auth[_0x2cbc('0xa')](),controller[_0x2cbc('0xd')]);router[_0x2cbc('0xe')]('/',auth[_0x2cbc('0xa')](),controller[_0x2cbc('0xf')]);router[_0x2cbc('0x10')](_0x2cbc('0x11'),auth[_0x2cbc('0xa')](),controller[_0x2cbc('0x12')]);router[_0x2cbc('0x13')](_0x2cbc('0x11'),auth['isAuthenticated'](),controller[_0x2cbc('0x14')]);module['exports']=router;