dcc30ec5732085e367c72d69a86c158082521fe3
[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 _0x4e11=['connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailQueueReport.controller','isAuthenticated','index','get','describe','/:id','show','post','create','update','delete','destroy','exports','util'];(function(_0x1090f8,_0xd83a11){var _0x180524=function(_0x109ab8){while(--_0x109ab8){_0x1090f8['push'](_0x1090f8['shift']());}};_0x180524(++_0xd83a11);}(_0x4e11,0x167));var _0x14e1=function(_0x22fb54,_0x1d53c1){_0x22fb54=_0x22fb54-0x0;var _0x16dbf9=_0x4e11[_0x22fb54];return _0x16dbf9;};'use strict';var multer=require('multer');var util=require(_0x14e1('0x0'));var path=require('path');var timeout=require(_0x14e1('0x1'));var express=require(_0x14e1('0x2'));var router=express['Router']();var fs_extra=require(_0x14e1('0x3'));var auth=require(_0x14e1('0x4'));var interaction=require(_0x14e1('0x5'));var config=require(_0x14e1('0x6'));var controller=require(_0x14e1('0x7'));router['get']('/',auth[_0x14e1('0x8')](),controller[_0x14e1('0x9')]);router[_0x14e1('0xa')]('/describe',auth[_0x14e1('0x8')](),controller[_0x14e1('0xb')]);router['get'](_0x14e1('0xc'),auth['isAuthenticated'](),controller[_0x14e1('0xd')]);router[_0x14e1('0xe')]('/',auth[_0x14e1('0x8')](),controller[_0x14e1('0xf')]);router['put']('/:id',auth[_0x14e1('0x8')](),controller[_0x14e1('0x10')]);router[_0x14e1('0x11')](_0x14e1('0xc'),auth[_0x14e1('0x8')](),controller[_0x14e1('0x12')]);module[_0x14e1('0x13')]=router;