5384ca794de92a5518fd719c47f3d19e0e77142f
[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 _0xf3b6=['/:id','isAuthenticated','show','post','update','delete','destroy','util','path','express','Router','../../components/auth/service','../../config/environment','./mailQueueReport.controller','get','index','describe'];(function(_0x5a776b,_0x46f785){var _0xbbef59=function(_0x38313e){while(--_0x38313e){_0x5a776b['push'](_0x5a776b['shift']());}};_0xbbef59(++_0x46f785);}(_0xf3b6,0x6d));var _0x6f3b=function(_0x1b0a04,_0x593ef2){_0x1b0a04=_0x1b0a04-0x0;var _0x15de3d=_0xf3b6[_0x1b0a04];return _0x15de3d;};'use strict';var multer=require('multer');var util=require(_0x6f3b('0x0'));var path=require(_0x6f3b('0x1'));var timeout=require('connect-timeout');var express=require(_0x6f3b('0x2'));var router=express[_0x6f3b('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x6f3b('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x6f3b('0x5'));var controller=require(_0x6f3b('0x6'));router[_0x6f3b('0x7')]('/',auth['isAuthenticated'](),controller[_0x6f3b('0x8')]);router[_0x6f3b('0x7')]('/describe',auth['isAuthenticated'](),controller[_0x6f3b('0x9')]);router[_0x6f3b('0x7')](_0x6f3b('0xa'),auth[_0x6f3b('0xb')](),controller[_0x6f3b('0xc')]);router[_0x6f3b('0xd')]('/',auth[_0x6f3b('0xb')](),controller['create']);router['put'](_0x6f3b('0xa'),auth[_0x6f3b('0xb')](),controller[_0x6f3b('0xe')]);router[_0x6f3b('0xf')]('/:id',auth['isAuthenticated'](),controller[_0x6f3b('0x10')]);module['exports']=router;