Built motion from commit f7863d46.|2.5.41
[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 _0xfb23=['post','create','put','update','delete','exports','util','path','Router','fs-extra','../../config/environment','./mailQueueReport.controller','get','isAuthenticated','/describe','/:id','show'];(function(_0x13ae30,_0x48bc0f){var _0x174755=function(_0x11f9ce){while(--_0x11f9ce){_0x13ae30['push'](_0x13ae30['shift']());}};_0x174755(++_0x48bc0f);}(_0xfb23,0x116));var _0x3fb2=function(_0x57b665,_0x358fd2){_0x57b665=_0x57b665-0x0;var _0xebcaf5=_0xfb23[_0x57b665];return _0xebcaf5;};'use strict';var multer=require('multer');var util=require(_0x3fb2('0x0'));var path=require(_0x3fb2('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x3fb2('0x2')]();var fs_extra=require(_0x3fb2('0x3'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x3fb2('0x4'));var controller=require(_0x3fb2('0x5'));router[_0x3fb2('0x6')]('/',auth[_0x3fb2('0x7')](),controller['index']);router['get'](_0x3fb2('0x8'),auth[_0x3fb2('0x7')](),controller['describe']);router[_0x3fb2('0x6')](_0x3fb2('0x9'),auth['isAuthenticated'](),controller[_0x3fb2('0xa')]);router[_0x3fb2('0xb')]('/',auth['isAuthenticated'](),controller[_0x3fb2('0xc')]);router[_0x3fb2('0xd')](_0x3fb2('0x9'),auth['isAuthenticated'](),controller[_0x3fb2('0xe')]);router[_0x3fb2('0xf')](_0x3fb2('0x9'),auth[_0x3fb2('0x7')](),controller['destroy']);module[_0x3fb2('0x10')]=router;