Built motion from commit (unavailable).|2.5.6
[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 _0x2ba3=['exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatQueueReport.controller','isAuthenticated','index','get','/describe','describe','post','put','delete','destroy'];(function(_0x19950b,_0x53d0d7){var _0x3c6b41=function(_0x3924ad){while(--_0x3924ad){_0x19950b['push'](_0x19950b['shift']());}};_0x3c6b41(++_0x53d0d7);}(_0x2ba3,0x11e));var _0x32ba=function(_0xf25c6d,_0x364392){_0xf25c6d=_0xf25c6d-0x0;var _0x57fecf=_0x2ba3[_0xf25c6d];return _0x57fecf;};'use strict';var multer=require(_0x32ba('0x0'));var util=require(_0x32ba('0x1'));var path=require('path');var timeout=require(_0x32ba('0x2'));var express=require(_0x32ba('0x3'));var router=express[_0x32ba('0x4')]();var auth=require(_0x32ba('0x5'));var interaction=require(_0x32ba('0x6'));var config=require(_0x32ba('0x7'));var controller=require(_0x32ba('0x8'));router['get']('/',auth[_0x32ba('0x9')](),controller[_0x32ba('0xa')]);router[_0x32ba('0xb')](_0x32ba('0xc'),auth['isAuthenticated'](),controller[_0x32ba('0xd')]);router[_0x32ba('0xb')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0x32ba('0xe')]('/',auth['isAuthenticated'](),controller['create']);router[_0x32ba('0xf')]('/:id',auth['isAuthenticated'](),controller['update']);router[_0x32ba('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x32ba('0x11')]);module[_0x32ba('0x12')]=router;