Built motion from commit (unavailable).|2.4.21
[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 _0xc287=['path','connect-timeout','express','../../config/environment','./mailQueueReport.controller','isAuthenticated','/describe','/:id','show','post','create','delete','destroy','exports','multer','util'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xc287,0x17e));var _0x7c28=function(_0x2fe457,_0x1c58d6){_0x2fe457=_0x2fe457-0x0;var _0x40dac7=_0xc287[_0x2fe457];return _0x40dac7;};'use strict';var multer=require(_0x7c28('0x0'));var util=require(_0x7c28('0x1'));var path=require(_0x7c28('0x2'));var timeout=require(_0x7c28('0x3'));var express=require(_0x7c28('0x4'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x7c28('0x5'));var controller=require(_0x7c28('0x6'));router['get']('/',auth[_0x7c28('0x7')](),controller['index']);router['get'](_0x7c28('0x8'),auth[_0x7c28('0x7')](),controller['describe']);router['get'](_0x7c28('0x9'),auth[_0x7c28('0x7')](),controller[_0x7c28('0xa')]);router[_0x7c28('0xb')]('/',auth[_0x7c28('0x7')](),controller[_0x7c28('0xc')]);router['put'](_0x7c28('0x9'),auth[_0x7c28('0x7')](),controller['update']);router[_0x7c28('0xd')](_0x7c28('0x9'),auth[_0x7c28('0x7')](),controller[_0x7c28('0xe')]);module[_0x7c28('0xf')]=router;