Built motion from commit 936e8062.|2.5.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 _0x76cc=['fs-extra','../../components/auth/service','../../config/environment','./mailQueueReport.controller','get','isAuthenticated','/:id','show','post','put','delete','destroy','exports','multer','util','connect-timeout','Router'];(function(_0x4c967e,_0x229605){var _0x92d2e3=function(_0x3f182b){while(--_0x3f182b){_0x4c967e['push'](_0x4c967e['shift']());}};_0x92d2e3(++_0x229605);}(_0x76cc,0xa6));var _0xc76c=function(_0x7ac2ee,_0x27bc13){_0x7ac2ee=_0x7ac2ee-0x0;var _0x3c93ad=_0x76cc[_0x7ac2ee];return _0x3c93ad;};'use strict';var multer=require(_0xc76c('0x0'));var util=require(_0xc76c('0x1'));var path=require('path');var timeout=require(_0xc76c('0x2'));var express=require('express');var router=express[_0xc76c('0x3')]();var fs_extra=require(_0xc76c('0x4'));var auth=require(_0xc76c('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xc76c('0x6'));var controller=require(_0xc76c('0x7'));router[_0xc76c('0x8')]('/',auth['isAuthenticated'](),controller['index']);router['get']('/describe',auth[_0xc76c('0x9')](),controller['describe']);router[_0xc76c('0x8')](_0xc76c('0xa'),auth[_0xc76c('0x9')](),controller[_0xc76c('0xb')]);router[_0xc76c('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0xc76c('0xd')](_0xc76c('0xa'),auth['isAuthenticated'](),controller['update']);router[_0xc76c('0xe')](_0xc76c('0xa'),auth[_0xc76c('0x9')](),controller[_0xc76c('0xf')]);module[_0xc76c('0x10')]=router;