9732fef810500b5e69b0be0e149e1d8c262f8dfd
[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 _0xc557=['../../config/environment','./mailQueueReport.controller','isAuthenticated','/describe','describe','get','/:id','show','post','put','update','delete','destroy','exports','multer','util','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x5ce7b2,_0x4b4a94){var _0x54b5b1=function(_0xe602dd){while(--_0xe602dd){_0x5ce7b2['push'](_0x5ce7b2['shift']());}};_0x54b5b1(++_0x4b4a94);}(_0xc557,0x8c));var _0x7c55=function(_0x2820fc,_0x481318){_0x2820fc=_0x2820fc-0x0;var _0x1e1508=_0xc557[_0x2820fc];return _0x1e1508;};'use strict';var multer=require(_0x7c55('0x0'));var util=require(_0x7c55('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x7c55('0x2'));var router=express[_0x7c55('0x3')]();var fs_extra=require(_0x7c55('0x4'));var auth=require(_0x7c55('0x5'));var interaction=require(_0x7c55('0x6'));var config=require(_0x7c55('0x7'));var controller=require(_0x7c55('0x8'));router['get']('/',auth[_0x7c55('0x9')](),controller['index']);router['get'](_0x7c55('0xa'),auth[_0x7c55('0x9')](),controller[_0x7c55('0xb')]);router[_0x7c55('0xc')](_0x7c55('0xd'),auth[_0x7c55('0x9')](),controller[_0x7c55('0xe')]);router[_0x7c55('0xf')]('/',auth['isAuthenticated'](),controller['create']);router[_0x7c55('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x7c55('0x11')]);router[_0x7c55('0x12')](_0x7c55('0xd'),auth['isAuthenticated'](),controller[_0x7c55('0x13')]);module[_0x7c55('0x14')]=router;