8b73fd80d1cd15f9b500a498e4be36e51eebce5e
[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 _0x6c0d=['../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','update','delete','exports','multer','util','express','fs-extra','../../components/auth/service'];(function(_0x136619,_0x31c9b2){var _0x38c4a5=function(_0x10b74d){while(--_0x10b74d){_0x136619['push'](_0x136619['shift']());}};_0x38c4a5(++_0x31c9b2);}(_0x6c0d,0x177));var _0xd6c0=function(_0x4923a4,_0x54384c){_0x4923a4=_0x4923a4-0x0;var _0x41057d=_0x6c0d[_0x4923a4];return _0x41057d;};'use strict';var multer=require(_0xd6c0('0x0'));var util=require(_0xd6c0('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xd6c0('0x2'));var router=express['Router']();var fs_extra=require(_0xd6c0('0x3'));var auth=require(_0xd6c0('0x4'));var interaction=require(_0xd6c0('0x5'));var config=require(_0xd6c0('0x6'));var controller=require('./chatQueueReport.controller');router[_0xd6c0('0x7')]('/',auth[_0xd6c0('0x8')](),controller[_0xd6c0('0x9')]);router['get'](_0xd6c0('0xa'),auth[_0xd6c0('0x8')](),controller[_0xd6c0('0xb')]);router[_0xd6c0('0x7')](_0xd6c0('0xc'),auth[_0xd6c0('0x8')](),controller[_0xd6c0('0xd')]);router[_0xd6c0('0xe')]('/',auth[_0xd6c0('0x8')](),controller[_0xd6c0('0xf')]);router['put'](_0xd6c0('0xc'),auth[_0xd6c0('0x8')](),controller[_0xd6c0('0x10')]);router[_0xd6c0('0x11')](_0xd6c0('0xc'),auth[_0xd6c0('0x8')](),controller['destroy']);module[_0xd6c0('0x12')]=router;