Built motion from commit c738b9ac.|2.6.25
[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 _0xfb8c=['destroy','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','get','index','isAuthenticated','describe','/:id','show','post','put','update','delete'];(function(_0xa259a0,_0x5dac5a){var _0x3de334=function(_0x485627){while(--_0x485627){_0xa259a0['push'](_0xa259a0['shift']());}};_0x3de334(++_0x5dac5a);}(_0xfb8c,0x1bb));var _0xcfb8=function(_0x15765a,_0x144428){_0x15765a=_0x15765a-0x0;var _0x1fb6c9=_0xfb8c[_0x15765a];return _0x1fb6c9;};'use strict';var multer=require('multer');var util=require(_0xcfb8('0x0'));var path=require('path');var timeout=require(_0xcfb8('0x1'));var express=require(_0xcfb8('0x2'));var router=express[_0xcfb8('0x3')]();var fs_extra=require(_0xcfb8('0x4'));var auth=require(_0xcfb8('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./openchannelQueueReport.controller');router[_0xcfb8('0x6')]('/',auth['isAuthenticated'](),controller[_0xcfb8('0x7')]);router['get']('/describe',auth[_0xcfb8('0x8')](),controller[_0xcfb8('0x9')]);router[_0xcfb8('0x6')](_0xcfb8('0xa'),auth['isAuthenticated'](),controller[_0xcfb8('0xb')]);router[_0xcfb8('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0xcfb8('0xd')](_0xcfb8('0xa'),auth[_0xcfb8('0x8')](),controller[_0xcfb8('0xe')]);router[_0xcfb8('0xf')](_0xcfb8('0xa'),auth[_0xcfb8('0x8')](),controller[_0xcfb8('0x10')]);module['exports']=router;