Built motion from commit b0a9a629.|2.6.33
[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 _0xd2d6=['isAuthenticated','/:id','show','post','put','delete','destroy','multer','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','./mailQueueReport.controller','get','index'];(function(_0x3e020a,_0x13288a){var _0xb67446=function(_0x9d949f){while(--_0x9d949f){_0x3e020a['push'](_0x3e020a['shift']());}};_0xb67446(++_0x13288a);}(_0xd2d6,0x97));var _0x6d2d=function(_0x45811d,_0x4c81b1){_0x45811d=_0x45811d-0x0;var _0x3ee425=_0xd2d6[_0x45811d];return _0x3ee425;};'use strict';var multer=require(_0x6d2d('0x0'));var util=require('util');var path=require(_0x6d2d('0x1'));var timeout=require(_0x6d2d('0x2'));var express=require(_0x6d2d('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x6d2d('0x4'));var interaction=require(_0x6d2d('0x5'));var config=require('../../config/environment');var controller=require(_0x6d2d('0x6'));router[_0x6d2d('0x7')]('/',auth['isAuthenticated'](),controller[_0x6d2d('0x8')]);router[_0x6d2d('0x7')]('/describe',auth[_0x6d2d('0x9')](),controller['describe']);router[_0x6d2d('0x7')](_0x6d2d('0xa'),auth[_0x6d2d('0x9')](),controller[_0x6d2d('0xb')]);router[_0x6d2d('0xc')]('/',auth[_0x6d2d('0x9')](),controller['create']);router[_0x6d2d('0xd')](_0x6d2d('0xa'),auth['isAuthenticated'](),controller['update']);router[_0x6d2d('0xe')](_0x6d2d('0xa'),auth[_0x6d2d('0x9')](),controller[_0x6d2d('0xf')]);module['exports']=router;