9067c3243d1f4b737e3482d3a1246e48caf49e8c
[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 _0xc853=['put','delete','destroy','multer','util','path','express','Router','../../components/interaction/service','./chatQueueReport.controller','isAuthenticated','/describe','describe','/:id','show','post','create'];(function(_0x42cae2,_0x284ef8){var _0x5f256f=function(_0x41abc8){while(--_0x41abc8){_0x42cae2['push'](_0x42cae2['shift']());}};_0x5f256f(++_0x284ef8);}(_0xc853,0xf1));var _0x3c85=function(_0x5d0db5,_0x148cba){_0x5d0db5=_0x5d0db5-0x0;var _0x2c13e1=_0xc853[_0x5d0db5];return _0x2c13e1;};'use strict';var multer=require(_0x3c85('0x0'));var util=require(_0x3c85('0x1'));var path=require(_0x3c85('0x2'));var timeout=require('connect-timeout');var express=require(_0x3c85('0x3'));var router=express[_0x3c85('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x3c85('0x5'));var config=require('../../config/environment');var controller=require(_0x3c85('0x6'));router['get']('/',auth[_0x3c85('0x7')](),controller['index']);router['get'](_0x3c85('0x8'),auth[_0x3c85('0x7')](),controller[_0x3c85('0x9')]);router['get'](_0x3c85('0xa'),auth['isAuthenticated'](),controller[_0x3c85('0xb')]);router[_0x3c85('0xc')]('/',auth['isAuthenticated'](),controller[_0x3c85('0xd')]);router[_0x3c85('0xe')](_0x3c85('0xa'),auth[_0x3c85('0x7')](),controller['update']);router[_0x3c85('0xf')]('/:id',auth[_0x3c85('0x7')](),controller[_0x3c85('0x10')]);module['exports']=router;