d68a4558bc8f50b113310089fb58ff5c2079ee59
[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 _0xf491=['create','update','destroy','exports','multer','util','path','connect-timeout','express','../../config/environment','./mailQueueReport.controller','get','isAuthenticated','/describe','describe','show','post'];(function(_0x142d4f,_0x16c78d){var _0x41b068=function(_0x48f917){while(--_0x48f917){_0x142d4f['push'](_0x142d4f['shift']());}};_0x41b068(++_0x16c78d);}(_0xf491,0x6a));var _0x1f49=function(_0x1961aa,_0xd9e760){_0x1961aa=_0x1961aa-0x0;var _0x597cb9=_0xf491[_0x1961aa];return _0x597cb9;};'use strict';var multer=require(_0x1f49('0x0'));var util=require(_0x1f49('0x1'));var path=require(_0x1f49('0x2'));var timeout=require(_0x1f49('0x3'));var express=require(_0x1f49('0x4'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x1f49('0x5'));var controller=require(_0x1f49('0x6'));router[_0x1f49('0x7')]('/',auth[_0x1f49('0x8')](),controller['index']);router[_0x1f49('0x7')](_0x1f49('0x9'),auth[_0x1f49('0x8')](),controller[_0x1f49('0xa')]);router[_0x1f49('0x7')]('/:id',auth[_0x1f49('0x8')](),controller[_0x1f49('0xb')]);router[_0x1f49('0xc')]('/',auth[_0x1f49('0x8')](),controller[_0x1f49('0xd')]);router['put']('/:id',auth[_0x1f49('0x8')](),controller[_0x1f49('0xe')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x1f49('0xf')]);module[_0x1f49('0x10')]=router;