9b8dda6a463e833778298f3ddc812c8387700b95
[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 _0xa2d6=['multer','util','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailQueueReport.controller','get','isAuthenticated','index','/describe','describe','show','put','/:id','update','delete','destroy','exports'];(function(_0x1c2ea4,_0x16ac04){var _0x575866=function(_0x47272b){while(--_0x47272b){_0x1c2ea4['push'](_0x1c2ea4['shift']());}};_0x575866(++_0x16ac04);}(_0xa2d6,0x1cc));var _0x6a2d=function(_0x2dbbe2,_0x11424b){_0x2dbbe2=_0x2dbbe2-0x0;var _0x2e3147=_0xa2d6[_0x2dbbe2];return _0x2e3147;};'use strict';var multer=require(_0x6a2d('0x0'));var util=require(_0x6a2d('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x6a2d('0x2'));var router=express[_0x6a2d('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x6a2d('0x4'));var interaction=require(_0x6a2d('0x5'));var config=require(_0x6a2d('0x6'));var controller=require(_0x6a2d('0x7'));router[_0x6a2d('0x8')]('/',auth[_0x6a2d('0x9')](),controller[_0x6a2d('0xa')]);router[_0x6a2d('0x8')](_0x6a2d('0xb'),auth[_0x6a2d('0x9')](),controller[_0x6a2d('0xc')]);router[_0x6a2d('0x8')]('/:id',auth[_0x6a2d('0x9')](),controller[_0x6a2d('0xd')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0x6a2d('0xe')](_0x6a2d('0xf'),auth[_0x6a2d('0x9')](),controller[_0x6a2d('0x10')]);router[_0x6a2d('0x11')](_0x6a2d('0xf'),auth['isAuthenticated'](),controller[_0x6a2d('0x12')]);module[_0x6a2d('0x13')]=router;