Built motion from commit (unavailable).|2.5.23
[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 _0x38a3=['Router','../../components/interaction/service','../../config/environment','get','isAuthenticated','/describe','describe','/:id','show','post','put','update','delete','destroy','exports','util','path','connect-timeout','express'];(function(_0x1f2f3f,_0xa14b2){var _0x38309b=function(_0x3a531c){while(--_0x3a531c){_0x1f2f3f['push'](_0x1f2f3f['shift']());}};_0x38309b(++_0xa14b2);}(_0x38a3,0x1c4));var _0x338a=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x38a3[_0x321bb2];return _0x9c12ed;};'use strict';var multer=require('multer');var util=require(_0x338a('0x0'));var path=require(_0x338a('0x1'));var timeout=require(_0x338a('0x2'));var express=require(_0x338a('0x3'));var router=express[_0x338a('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x338a('0x5'));var config=require(_0x338a('0x6'));var controller=require('./chatQueueReport.controller');router[_0x338a('0x7')]('/',auth[_0x338a('0x8')](),controller['index']);router[_0x338a('0x7')](_0x338a('0x9'),auth[_0x338a('0x8')](),controller[_0x338a('0xa')]);router[_0x338a('0x7')](_0x338a('0xb'),auth[_0x338a('0x8')](),controller[_0x338a('0xc')]);router[_0x338a('0xd')]('/',auth[_0x338a('0x8')](),controller['create']);router[_0x338a('0xe')](_0x338a('0xb'),auth['isAuthenticated'](),controller[_0x338a('0xf')]);router[_0x338a('0x10')](_0x338a('0xb'),auth[_0x338a('0x8')](),controller[_0x338a('0x11')]);module[_0x338a('0x12')]=router;