Built motion from commit b5996064.|2.6.21
[motion2.git] / server / api / mailTransferReport / 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 _0x4b9d=['connect-timeout','express','Router','fs-extra','../../components/auth/service','./mailTransferReport.controller','get','/describe','/:id','isAuthenticated','post','create','put','update','delete','destroy','exports','multer','util','path'];(function(_0x30fdf9,_0x89096d){var _0x3c43bb=function(_0x40a755){while(--_0x40a755){_0x30fdf9['push'](_0x30fdf9['shift']());}};_0x3c43bb(++_0x89096d);}(_0x4b9d,0x1dd));var _0xd4b9=function(_0x21aec3,_0x5c97e9){_0x21aec3=_0x21aec3-0x0;var _0x288bbc=_0x4b9d[_0x21aec3];return _0x288bbc;};'use strict';var multer=require(_0xd4b9('0x0'));var util=require(_0xd4b9('0x1'));var path=require(_0xd4b9('0x2'));var timeout=require(_0xd4b9('0x3'));var express=require(_0xd4b9('0x4'));var router=express[_0xd4b9('0x5')]();var fs_extra=require(_0xd4b9('0x6'));var auth=require(_0xd4b9('0x7'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xd4b9('0x8'));router[_0xd4b9('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0xd4b9('0x9')](_0xd4b9('0xa'),auth['isAuthenticated'](),controller['describe']);router[_0xd4b9('0x9')](_0xd4b9('0xb'),auth[_0xd4b9('0xc')](),controller['show']);router[_0xd4b9('0xd')]('/',auth[_0xd4b9('0xc')](),controller[_0xd4b9('0xe')]);router[_0xd4b9('0xf')](_0xd4b9('0xb'),auth[_0xd4b9('0xc')](),controller[_0xd4b9('0x10')]);router[_0xd4b9('0x11')](_0xd4b9('0xb'),auth[_0xd4b9('0xc')](),controller[_0xd4b9('0x12')]);module[_0xd4b9('0x13')]=router;