f3c0c71a867d31c29465ef2d2a8433117769dbfa
[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 _0x21b2=['index','/describe','isAuthenticated','/:id','post','create','delete','util','path','connect-timeout','../../components/auth/service','../../config/environment','get'];(function(_0x4d98b8,_0x539839){var _0x5e271b=function(_0x280ac6){while(--_0x280ac6){_0x4d98b8['push'](_0x4d98b8['shift']());}};_0x5e271b(++_0x539839);}(_0x21b2,0x118));var _0x221b=function(_0x49b207,_0x408ade){_0x49b207=_0x49b207-0x0;var _0x2dc8fa=_0x21b2[_0x49b207];return _0x2dc8fa;};'use strict';var multer=require('multer');var util=require(_0x221b('0x0'));var path=require(_0x221b('0x1'));var timeout=require(_0x221b('0x2'));var express=require('express');var router=express['Router']();var auth=require(_0x221b('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x221b('0x4'));var controller=require('./chatQueueReport.controller');router[_0x221b('0x5')]('/',auth['isAuthenticated'](),controller[_0x221b('0x6')]);router[_0x221b('0x5')](_0x221b('0x7'),auth[_0x221b('0x8')](),controller['describe']);router[_0x221b('0x5')](_0x221b('0x9'),auth[_0x221b('0x8')](),controller['show']);router[_0x221b('0xa')]('/',auth[_0x221b('0x8')](),controller[_0x221b('0xb')]);router['put'](_0x221b('0x9'),auth[_0x221b('0x8')](),controller['update']);router[_0x221b('0xc')]('/:id',auth[_0x221b('0x8')](),controller['destroy']);module['exports']=router;