Built motion from commit 25580385.|2.6.2
[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 _0x9e16=['express','fs-extra','../../components/interaction/service','get','isAuthenticated','index','/describe','describe','/:id','post','put','delete','destroy','exports','multer','path','connect-timeout'];(function(_0x571b13,_0x1c429e){var _0x797319=function(_0x3ac38c){while(--_0x3ac38c){_0x571b13['push'](_0x571b13['shift']());}};_0x797319(++_0x1c429e);}(_0x9e16,0x96));var _0x69e1=function(_0x22f276,_0x1f8b77){_0x22f276=_0x22f276-0x0;var _0x2dd66c=_0x9e16[_0x22f276];return _0x2dd66c;};'use strict';var multer=require(_0x69e1('0x0'));var util=require('util');var path=require(_0x69e1('0x1'));var timeout=require(_0x69e1('0x2'));var express=require(_0x69e1('0x3'));var router=express['Router']();var fs_extra=require(_0x69e1('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x69e1('0x5'));var config=require('../../config/environment');var controller=require('./mailQueueReport.controller');router[_0x69e1('0x6')]('/',auth[_0x69e1('0x7')](),controller[_0x69e1('0x8')]);router['get'](_0x69e1('0x9'),auth[_0x69e1('0x7')](),controller[_0x69e1('0xa')]);router[_0x69e1('0x6')](_0x69e1('0xb'),auth[_0x69e1('0x7')](),controller['show']);router[_0x69e1('0xc')]('/',auth[_0x69e1('0x7')](),controller['create']);router[_0x69e1('0xd')](_0x69e1('0xb'),auth[_0x69e1('0x7')](),controller['update']);router[_0x69e1('0xe')](_0x69e1('0xb'),auth[_0x69e1('0x7')](),controller[_0x69e1('0xf')]);module[_0x69e1('0x10')]=router;