49870897f786b9be1f6d0d4fbb69434f0923e04a
[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 _0x55c8=['post','update','delete','destroy','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','./mailQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show'];(function(_0x5b8b97,_0x6b4dfa){var _0x1fdf84=function(_0x2ced4c){while(--_0x2ced4c){_0x5b8b97['push'](_0x5b8b97['shift']());}};_0x1fdf84(++_0x6b4dfa);}(_0x55c8,0x7d));var _0x855c=function(_0x5704f0,_0x40fce3){_0x5704f0=_0x5704f0-0x0;var _0x22fade=_0x55c8[_0x5704f0];return _0x22fade;};'use strict';var multer=require('multer');var util=require(_0x855c('0x0'));var path=require(_0x855c('0x1'));var timeout=require(_0x855c('0x2'));var express=require(_0x855c('0x3'));var router=express[_0x855c('0x4')]();var fs_extra=require(_0x855c('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x855c('0x6'));var config=require('../../config/environment');var controller=require(_0x855c('0x7'));router[_0x855c('0x8')]('/',auth[_0x855c('0x9')](),controller[_0x855c('0xa')]);router[_0x855c('0x8')](_0x855c('0xb'),auth['isAuthenticated'](),controller[_0x855c('0xc')]);router[_0x855c('0x8')](_0x855c('0xd'),auth[_0x855c('0x9')](),controller[_0x855c('0xe')]);router[_0x855c('0xf')]('/',auth[_0x855c('0x9')](),controller['create']);router['put'](_0x855c('0xd'),auth[_0x855c('0x9')](),controller[_0x855c('0x10')]);router[_0x855c('0x11')](_0x855c('0xd'),auth[_0x855c('0x9')](),controller[_0x855c('0x12')]);module[_0x855c('0x13')]=router;