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