91baeae809933ecc43affcfebdb6e52a1e382ec0
[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 _0xbf47=['express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailQueueReport.controller','get','isAuthenticated','index','/describe','show','post','create','put','/:id','destroy','exports','util','path'];(function(_0x1806e0,_0x2dcc71){var _0x51388c=function(_0x372eae){while(--_0x372eae){_0x1806e0['push'](_0x1806e0['shift']());}};_0x51388c(++_0x2dcc71);}(_0xbf47,0xa9));var _0x7bf4=function(_0x110707,_0x2509ba){_0x110707=_0x110707-0x0;var _0x551463=_0xbf47[_0x110707];return _0x551463;};'use strict';var multer=require('multer');var util=require(_0x7bf4('0x0'));var path=require(_0x7bf4('0x1'));var timeout=require('connect-timeout');var express=require(_0x7bf4('0x2'));var router=express[_0x7bf4('0x3')]();var auth=require(_0x7bf4('0x4'));var interaction=require(_0x7bf4('0x5'));var config=require(_0x7bf4('0x6'));var controller=require(_0x7bf4('0x7'));router[_0x7bf4('0x8')]('/',auth[_0x7bf4('0x9')](),controller[_0x7bf4('0xa')]);router[_0x7bf4('0x8')](_0x7bf4('0xb'),auth[_0x7bf4('0x9')](),controller['describe']);router[_0x7bf4('0x8')]('/:id',auth[_0x7bf4('0x9')](),controller[_0x7bf4('0xc')]);router[_0x7bf4('0xd')]('/',auth['isAuthenticated'](),controller[_0x7bf4('0xe')]);router[_0x7bf4('0xf')]('/:id',auth[_0x7bf4('0x9')](),controller['update']);router['delete'](_0x7bf4('0x10'),auth[_0x7bf4('0x9')](),controller[_0x7bf4('0x11')]);module[_0x7bf4('0x12')]=router;