Built motion from commit (unavailable).|2.5.21
[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 _0xd4c3=['update','delete','destroy','exports','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/describe','describe','/:id','post','create','put'];(function(_0x394236,_0x301505){var _0x441817=function(_0x447cac){while(--_0x447cac){_0x394236['push'](_0x394236['shift']());}};_0x441817(++_0x301505);}(_0xd4c3,0x180));var _0x3d4c=function(_0x3eb4a9,_0x359d73){_0x3eb4a9=_0x3eb4a9-0x0;var _0x48dbad=_0xd4c3[_0x3eb4a9];return _0x48dbad;};'use strict';var multer=require(_0x3d4c('0x0'));var util=require(_0x3d4c('0x1'));var path=require('path');var timeout=require(_0x3d4c('0x2'));var express=require(_0x3d4c('0x3'));var router=express['Router']();var auth=require(_0x3d4c('0x4'));var interaction=require(_0x3d4c('0x5'));var config=require(_0x3d4c('0x6'));var controller=require('./mailQueueReport.controller');router['get']('/',auth[_0x3d4c('0x7')](),controller[_0x3d4c('0x8')]);router[_0x3d4c('0x9')](_0x3d4c('0xa'),auth[_0x3d4c('0x7')](),controller[_0x3d4c('0xb')]);router[_0x3d4c('0x9')](_0x3d4c('0xc'),auth[_0x3d4c('0x7')](),controller['show']);router[_0x3d4c('0xd')]('/',auth[_0x3d4c('0x7')](),controller[_0x3d4c('0xe')]);router[_0x3d4c('0xf')](_0x3d4c('0xc'),auth[_0x3d4c('0x7')](),controller[_0x3d4c('0x10')]);router[_0x3d4c('0x11')](_0x3d4c('0xc'),auth[_0x3d4c('0x7')](),controller[_0x3d4c('0x12')]);module[_0x3d4c('0x13')]=router;