bc32758dce96cf4f488a4f6ab64980081ee25f4f
[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 _0xc228=['put','update','destroy','multer','path','connect-timeout','express','Router','fs-extra','../../config/environment','./chatQueueReport.controller','get','isAuthenticated','/describe','/:id','show','post','create'];(function(_0xb8cfbe,_0x2e81b6){var _0x227d51=function(_0x5cb1ff){while(--_0x5cb1ff){_0xb8cfbe['push'](_0xb8cfbe['shift']());}};_0x227d51(++_0x2e81b6);}(_0xc228,0x93));var _0x8c22=function(_0x10620b,_0x499fb5){_0x10620b=_0x10620b-0x0;var _0x59e078=_0xc228[_0x10620b];return _0x59e078;};'use strict';var multer=require(_0x8c22('0x0'));var util=require('util');var path=require(_0x8c22('0x1'));var timeout=require(_0x8c22('0x2'));var express=require(_0x8c22('0x3'));var router=express[_0x8c22('0x4')]();var fs_extra=require(_0x8c22('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x8c22('0x6'));var controller=require(_0x8c22('0x7'));router[_0x8c22('0x8')]('/',auth[_0x8c22('0x9')](),controller['index']);router[_0x8c22('0x8')](_0x8c22('0xa'),auth[_0x8c22('0x9')](),controller['describe']);router[_0x8c22('0x8')](_0x8c22('0xb'),auth[_0x8c22('0x9')](),controller[_0x8c22('0xc')]);router[_0x8c22('0xd')]('/',auth['isAuthenticated'](),controller[_0x8c22('0xe')]);router[_0x8c22('0xf')]('/:id',auth[_0x8c22('0x9')](),controller[_0x8c22('0x10')]);router['delete']('/:id',auth[_0x8c22('0x9')](),controller[_0x8c22('0x11')]);module['exports']=router;