Built motion from commit 753c950e.|2.5.42
[motion2.git] / server / api / chatQueueReport / 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 _0xbe53=['Router','fs-extra','../../components/interaction/service','isAuthenticated','get','/describe','show','post','/:id','update','delete','destroy','multer','util','path','express'];(function(_0x264b9c,_0x35969e){var _0x5401ca=function(_0x2d3ea3){while(--_0x2d3ea3){_0x264b9c['push'](_0x264b9c['shift']());}};_0x5401ca(++_0x35969e);}(_0xbe53,0xbc));var _0x3be5=function(_0x594662,_0x147cac){_0x594662=_0x594662-0x0;var _0x2d23c7=_0xbe53[_0x594662];return _0x2d23c7;};'use strict';var multer=require(_0x3be5('0x0'));var util=require(_0x3be5('0x1'));var path=require(_0x3be5('0x2'));var timeout=require('connect-timeout');var express=require(_0x3be5('0x3'));var router=express[_0x3be5('0x4')]();var fs_extra=require(_0x3be5('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x3be5('0x6'));var config=require('../../config/environment');var controller=require('./chatQueueReport.controller');router['get']('/',auth[_0x3be5('0x7')](),controller['index']);router[_0x3be5('0x8')](_0x3be5('0x9'),auth[_0x3be5('0x7')](),controller['describe']);router[_0x3be5('0x8')]('/:id',auth[_0x3be5('0x7')](),controller[_0x3be5('0xa')]);router[_0x3be5('0xb')]('/',auth[_0x3be5('0x7')](),controller['create']);router['put'](_0x3be5('0xc'),auth[_0x3be5('0x7')](),controller[_0x3be5('0xd')]);router[_0x3be5('0xe')](_0x3be5('0xc'),auth[_0x3be5('0x7')](),controller[_0x3be5('0xf')]);module['exports']=router;