Built motion from commit (unavailable).|2.6.0
[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 _0x8e63=['../../config/environment','./mailQueueReport.controller','get','index','/describe','isAuthenticated','/:id','show','post','update','destroy','exports','util','express','Router','fs-extra'];(function(_0x3545d9,_0x1fc90c){var _0x415ec0=function(_0x39c83b){while(--_0x39c83b){_0x3545d9['push'](_0x3545d9['shift']());}};_0x415ec0(++_0x1fc90c);}(_0x8e63,0x7c));var _0x38e6=function(_0x18b1d7,_0x29686c){_0x18b1d7=_0x18b1d7-0x0;var _0x17c10e=_0x8e63[_0x18b1d7];return _0x17c10e;};'use strict';var multer=require('multer');var util=require(_0x38e6('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x38e6('0x1'));var router=express[_0x38e6('0x2')]();var fs_extra=require(_0x38e6('0x3'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x38e6('0x4'));var controller=require(_0x38e6('0x5'));router[_0x38e6('0x6')]('/',auth['isAuthenticated'](),controller[_0x38e6('0x7')]);router[_0x38e6('0x6')](_0x38e6('0x8'),auth[_0x38e6('0x9')](),controller['describe']);router['get'](_0x38e6('0xa'),auth[_0x38e6('0x9')](),controller[_0x38e6('0xb')]);router[_0x38e6('0xc')]('/',auth[_0x38e6('0x9')](),controller['create']);router['put'](_0x38e6('0xa'),auth['isAuthenticated'](),controller[_0x38e6('0xd')]);router['delete'](_0x38e6('0xa'),auth[_0x38e6('0x9')](),controller[_0x38e6('0xe')]);module[_0x38e6('0xf')]=router;