Built motion from commit 3e059bc2.|2.5.32
[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 _0x4501=['Router','fs-extra','../../components/auth/service','../../config/environment','./mailQueueReport.controller','get','index','isAuthenticated','/:id','post','create','put','update','delete','destroy','multer','path','connect-timeout','express'];(function(_0x36981f,_0x35de12){var _0x4c1845=function(_0xe1ff6b){while(--_0xe1ff6b){_0x36981f['push'](_0x36981f['shift']());}};_0x4c1845(++_0x35de12);}(_0x4501,0x1b1));var _0x1450=function(_0x283a25,_0x1cbe5c){_0x283a25=_0x283a25-0x0;var _0x5d6af5=_0x4501[_0x283a25];return _0x5d6af5;};'use strict';var multer=require(_0x1450('0x0'));var util=require('util');var path=require(_0x1450('0x1'));var timeout=require(_0x1450('0x2'));var express=require(_0x1450('0x3'));var router=express[_0x1450('0x4')]();var fs_extra=require(_0x1450('0x5'));var auth=require(_0x1450('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x1450('0x7'));var controller=require(_0x1450('0x8'));router[_0x1450('0x9')]('/',auth['isAuthenticated'](),controller[_0x1450('0xa')]);router[_0x1450('0x9')]('/describe',auth[_0x1450('0xb')](),controller['describe']);router['get'](_0x1450('0xc'),auth[_0x1450('0xb')](),controller['show']);router[_0x1450('0xd')]('/',auth[_0x1450('0xb')](),controller[_0x1450('0xe')]);router[_0x1450('0xf')](_0x1450('0xc'),auth[_0x1450('0xb')](),controller[_0x1450('0x10')]);router[_0x1450('0x11')](_0x1450('0xc'),auth[_0x1450('0xb')](),controller[_0x1450('0x12')]);module['exports']=router;