ecdcc9ed9ef389f7154c8dc3d9b08162455917a3
[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 _0x01db=['/describe','describe','show','post','create','put','/:id','update','delete','destroy','exports','multer','util','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailQueueReport.controller','isAuthenticated','index','get'];(function(_0x2dea24,_0x2fc021){var _0x309d58=function(_0x2eb89f){while(--_0x2eb89f){_0x2dea24['push'](_0x2dea24['shift']());}};_0x309d58(++_0x2fc021);}(_0x01db,0x9e));var _0xb01d=function(_0x3c4b23,_0x39bc7b){_0x3c4b23=_0x3c4b23-0x0;var _0x28f166=_0x01db[_0x3c4b23];return _0x28f166;};'use strict';var multer=require(_0xb01d('0x0'));var util=require(_0xb01d('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xb01d('0x2'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xb01d('0x3'));var interaction=require(_0xb01d('0x4'));var config=require(_0xb01d('0x5'));var controller=require(_0xb01d('0x6'));router['get']('/',auth[_0xb01d('0x7')](),controller[_0xb01d('0x8')]);router[_0xb01d('0x9')](_0xb01d('0xa'),auth['isAuthenticated'](),controller[_0xb01d('0xb')]);router['get']('/:id',auth[_0xb01d('0x7')](),controller[_0xb01d('0xc')]);router[_0xb01d('0xd')]('/',auth[_0xb01d('0x7')](),controller[_0xb01d('0xe')]);router[_0xb01d('0xf')](_0xb01d('0x10'),auth['isAuthenticated'](),controller[_0xb01d('0x11')]);router[_0xb01d('0x12')](_0xb01d('0x10'),auth[_0xb01d('0x7')](),controller[_0xb01d('0x13')]);module[_0xb01d('0x14')]=router;