7cad9988ec6e3700fe37f14dd8965ce9ddf0e156
[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 _0xe061=['isAuthenticated','show','post','create','put','delete','destroy','exports','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailTransferReport.controller','get','index','/describe','describe','/:id'];(function(_0x185d42,_0x1ba831){var _0x484076=function(_0x2ee758){while(--_0x2ee758){_0x185d42['push'](_0x185d42['shift']());}};_0x484076(++_0x1ba831);}(_0xe061,0x86));var _0x1e06=function(_0xef359c,_0x51e29e){_0xef359c=_0xef359c-0x0;var _0x5aa4e4=_0xe061[_0xef359c];return _0x5aa4e4;};'use strict';var multer=require('multer');var util=require(_0x1e06('0x0'));var path=require(_0x1e06('0x1'));var timeout=require(_0x1e06('0x2'));var express=require('express');var router=express[_0x1e06('0x3')]();var auth=require(_0x1e06('0x4'));var interaction=require(_0x1e06('0x5'));var config=require(_0x1e06('0x6'));var controller=require(_0x1e06('0x7'));router[_0x1e06('0x8')]('/',auth['isAuthenticated'](),controller[_0x1e06('0x9')]);router[_0x1e06('0x8')](_0x1e06('0xa'),auth['isAuthenticated'](),controller[_0x1e06('0xb')]);router[_0x1e06('0x8')](_0x1e06('0xc'),auth[_0x1e06('0xd')](),controller[_0x1e06('0xe')]);router[_0x1e06('0xf')]('/',auth[_0x1e06('0xd')](),controller[_0x1e06('0x10')]);router[_0x1e06('0x11')](_0x1e06('0xc'),auth[_0x1e06('0xd')](),controller['update']);router[_0x1e06('0x12')](_0x1e06('0xc'),auth['isAuthenticated'](),controller[_0x1e06('0x13')]);module[_0x1e06('0x14')]=router;