Built motion from commit fe909640.|2.6.8
[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 _0xfa52=['express','fs-extra','../../components/auth/service','../../config/environment','./openchannelQueueReport.controller','get','index','isAuthenticated','post','create','put','/:id','update','destroy','exports','multer','path'];(function(_0x2c3bf5,_0x4f9734){var _0x23f40=function(_0x2a5a74){while(--_0x2a5a74){_0x2c3bf5['push'](_0x2c3bf5['shift']());}};_0x23f40(++_0x4f9734);}(_0xfa52,0x163));var _0x2fa5=function(_0x2a3ebb,_0x3744ed){_0x2a3ebb=_0x2a3ebb-0x0;var _0x1e40c1=_0xfa52[_0x2a3ebb];return _0x1e40c1;};'use strict';var multer=require(_0x2fa5('0x0'));var util=require('util');var path=require(_0x2fa5('0x1'));var timeout=require('connect-timeout');var express=require(_0x2fa5('0x2'));var router=express['Router']();var fs_extra=require(_0x2fa5('0x3'));var auth=require(_0x2fa5('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x2fa5('0x5'));var controller=require(_0x2fa5('0x6'));router[_0x2fa5('0x7')]('/',auth['isAuthenticated'](),controller[_0x2fa5('0x8')]);router[_0x2fa5('0x7')]('/describe',auth[_0x2fa5('0x9')](),controller['describe']);router[_0x2fa5('0x7')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0x2fa5('0xa')]('/',auth[_0x2fa5('0x9')](),controller[_0x2fa5('0xb')]);router[_0x2fa5('0xc')](_0x2fa5('0xd'),auth[_0x2fa5('0x9')](),controller[_0x2fa5('0xe')]);router['delete']('/:id',auth[_0x2fa5('0x9')](),controller[_0x2fa5('0xf')]);module[_0x2fa5('0x10')]=router;