Built motion from commit 753c950e.|2.5.42
[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 _0x9c3f=['post','put','update','delete','destroy','exports','multer','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./mailQueueReport.controller','get','isAuthenticated','index','describe','/:id','show'];(function(_0xfde41b,_0x3b91f8){var _0x536f19=function(_0xbbb57d){while(--_0xbbb57d){_0xfde41b['push'](_0xfde41b['shift']());}};_0x536f19(++_0x3b91f8);}(_0x9c3f,0x15a));var _0xf9c3=function(_0x38832a,_0x3c3603){_0x38832a=_0x38832a-0x0;var _0x12bde6=_0x9c3f[_0x38832a];return _0x12bde6;};'use strict';var multer=require(_0xf9c3('0x0'));var util=require('util');var path=require(_0xf9c3('0x1'));var timeout=require('connect-timeout');var express=require(_0xf9c3('0x2'));var router=express[_0xf9c3('0x3')]();var fs_extra=require(_0xf9c3('0x4'));var auth=require(_0xf9c3('0x5'));var interaction=require(_0xf9c3('0x6'));var config=require('../../config/environment');var controller=require(_0xf9c3('0x7'));router[_0xf9c3('0x8')]('/',auth[_0xf9c3('0x9')](),controller[_0xf9c3('0xa')]);router[_0xf9c3('0x8')]('/describe',auth[_0xf9c3('0x9')](),controller[_0xf9c3('0xb')]);router[_0xf9c3('0x8')](_0xf9c3('0xc'),auth['isAuthenticated'](),controller[_0xf9c3('0xd')]);router[_0xf9c3('0xe')]('/',auth['isAuthenticated'](),controller['create']);router[_0xf9c3('0xf')]('/:id',auth[_0xf9c3('0x9')](),controller[_0xf9c3('0x10')]);router[_0xf9c3('0x11')](_0xf9c3('0xc'),auth[_0xf9c3('0x9')](),controller[_0xf9c3('0x12')]);module[_0xf9c3('0x13')]=router;