Built motion from commit e0fa946e.|2.6.5
[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 _0x1c75=['update','delete','exports','multer','connect-timeout','express','Router','fs-extra','../../config/environment','./mailQueueReport.controller','get','isAuthenticated','index','describe','/:id','post','create','put'];(function(_0x314699,_0x573072){var _0x1e9a6c=function(_0x55c051){while(--_0x55c051){_0x314699['push'](_0x314699['shift']());}};_0x1e9a6c(++_0x573072);}(_0x1c75,0xc9));var _0x51c7=function(_0x326722,_0x299750){_0x326722=_0x326722-0x0;var _0x3327a9=_0x1c75[_0x326722];return _0x3327a9;};'use strict';var multer=require(_0x51c7('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x51c7('0x1'));var express=require(_0x51c7('0x2'));var router=express[_0x51c7('0x3')]();var fs_extra=require(_0x51c7('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x51c7('0x5'));var controller=require(_0x51c7('0x6'));router[_0x51c7('0x7')]('/',auth[_0x51c7('0x8')](),controller[_0x51c7('0x9')]);router[_0x51c7('0x7')]('/describe',auth['isAuthenticated'](),controller[_0x51c7('0xa')]);router['get'](_0x51c7('0xb'),auth[_0x51c7('0x8')](),controller['show']);router[_0x51c7('0xc')]('/',auth[_0x51c7('0x8')](),controller[_0x51c7('0xd')]);router[_0x51c7('0xe')](_0x51c7('0xb'),auth[_0x51c7('0x8')](),controller[_0x51c7('0xf')]);router[_0x51c7('0x10')](_0x51c7('0xb'),auth[_0x51c7('0x8')](),controller['destroy']);module[_0x51c7('0x11')]=router;