75ffa21abdbf671f7cd2d4447273d1c51db2ff5b
[motion2.git] / server / api / mailQueueReport / 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 _0x88cf=['util','express','Router','../../config/environment','./mailQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','post','create','update','delete','destroy','exports'];(function(_0x1428d9,_0xded63c){var _0x438019=function(_0x31c37d){while(--_0x31c37d){_0x1428d9['push'](_0x1428d9['shift']());}};_0x438019(++_0xded63c);}(_0x88cf,0x77));var _0xf88c=function(_0x3a42ab,_0x4cf94f){_0x3a42ab=_0x3a42ab-0x0;var _0x22c6be=_0x88cf[_0x3a42ab];return _0x22c6be;};'use strict';var multer=require('multer');var util=require(_0xf88c('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xf88c('0x1'));var router=express[_0xf88c('0x2')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xf88c('0x3'));var controller=require(_0xf88c('0x4'));router[_0xf88c('0x5')]('/',auth[_0xf88c('0x6')](),controller[_0xf88c('0x7')]);router['get'](_0xf88c('0x8'),auth['isAuthenticated'](),controller[_0xf88c('0x9')]);router['get'](_0xf88c('0xa'),auth['isAuthenticated'](),controller['show']);router[_0xf88c('0xb')]('/',auth[_0xf88c('0x6')](),controller[_0xf88c('0xc')]);router['put']('/:id',auth['isAuthenticated'](),controller[_0xf88c('0xd')]);router[_0xf88c('0xe')](_0xf88c('0xa'),auth['isAuthenticated'](),controller[_0xf88c('0xf')]);module[_0xf88c('0x10')]=router;