Built motion from commit bab6f49e.|2.6.17
[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 _0x3022=['show','post','put','update','delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','./mailQueueReport.controller','get','isAuthenticated','index','describe','/:id'];(function(_0x1de841,_0x278c7c){var _0x19bce4=function(_0x573f8e){while(--_0x573f8e){_0x1de841['push'](_0x1de841['shift']());}};_0x19bce4(++_0x278c7c);}(_0x3022,0x1e7));var _0x2302=function(_0x32f7d7,_0x54231b){_0x32f7d7=_0x32f7d7-0x0;var _0x133d09=_0x3022[_0x32f7d7];return _0x133d09;};'use strict';var multer=require(_0x2302('0x0'));var util=require(_0x2302('0x1'));var path=require(_0x2302('0x2'));var timeout=require('connect-timeout');var express=require(_0x2302('0x3'));var router=express[_0x2302('0x4')]();var fs_extra=require(_0x2302('0x5'));var auth=require(_0x2302('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x2302('0x7'));router[_0x2302('0x8')]('/',auth[_0x2302('0x9')](),controller[_0x2302('0xa')]);router[_0x2302('0x8')]('/describe',auth['isAuthenticated'](),controller[_0x2302('0xb')]);router['get'](_0x2302('0xc'),auth[_0x2302('0x9')](),controller[_0x2302('0xd')]);router[_0x2302('0xe')]('/',auth[_0x2302('0x9')](),controller['create']);router[_0x2302('0xf')](_0x2302('0xc'),auth[_0x2302('0x9')](),controller[_0x2302('0x10')]);router[_0x2302('0x11')]('/:id',auth[_0x2302('0x9')](),controller[_0x2302('0x12')]);module[_0x2302('0x13')]=router;