Built motion from commit (unavailable).|2.5.0
[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 _0x74a2=['index','/describe','describe','show','post','create','delete','/:id','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatQueueReport.controller','get','isAuthenticated'];(function(_0x28f4f2,_0x1910c7){var _0x2e8567=function(_0x354018){while(--_0x354018){_0x28f4f2['push'](_0x28f4f2['shift']());}};_0x2e8567(++_0x1910c7);}(_0x74a2,0x15e));var _0x274a=function(_0xc55d64,_0x133f2d){_0xc55d64=_0xc55d64-0x0;var _0x4194f6=_0x74a2[_0xc55d64];return _0x4194f6;};'use strict';var multer=require('multer');var util=require(_0x274a('0x0'));var path=require(_0x274a('0x1'));var timeout=require(_0x274a('0x2'));var express=require('express');var router=express[_0x274a('0x3')]();var auth=require(_0x274a('0x4'));var interaction=require(_0x274a('0x5'));var config=require(_0x274a('0x6'));var controller=require(_0x274a('0x7'));router[_0x274a('0x8')]('/',auth[_0x274a('0x9')](),controller[_0x274a('0xa')]);router[_0x274a('0x8')](_0x274a('0xb'),auth['isAuthenticated'](),controller[_0x274a('0xc')]);router[_0x274a('0x8')]('/:id',auth[_0x274a('0x9')](),controller[_0x274a('0xd')]);router[_0x274a('0xe')]('/',auth[_0x274a('0x9')](),controller[_0x274a('0xf')]);router['put']('/:id',auth['isAuthenticated'](),controller['update']);router[_0x274a('0x10')](_0x274a('0x11'),auth[_0x274a('0x9')](),controller['destroy']);module['exports']=router;