2dcd2bac34ab61ed6c20f731853412696a96ab21
[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 _0x46c6=['/describe','describe','/:id','post','create','put','update','delete','multer','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./mailTransferReport.controller','get','isAuthenticated','index'];(function(_0x2641f9,_0x26715f){var _0x585741=function(_0x2d1462){while(--_0x2d1462){_0x2641f9['push'](_0x2641f9['shift']());}};_0x585741(++_0x26715f);}(_0x46c6,0x170));var _0x646c=function(_0x819464,_0x46fc91){_0x819464=_0x819464-0x0;var _0x49dcc0=_0x46c6[_0x819464];return _0x49dcc0;};'use strict';var multer=require(_0x646c('0x0'));var util=require('util');var path=require(_0x646c('0x1'));var timeout=require(_0x646c('0x2'));var express=require(_0x646c('0x3'));var router=express[_0x646c('0x4')]();var fs_extra=require(_0x646c('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x646c('0x6'));var config=require(_0x646c('0x7'));var controller=require(_0x646c('0x8'));router[_0x646c('0x9')]('/',auth[_0x646c('0xa')](),controller[_0x646c('0xb')]);router['get'](_0x646c('0xc'),auth[_0x646c('0xa')](),controller[_0x646c('0xd')]);router['get'](_0x646c('0xe'),auth[_0x646c('0xa')](),controller['show']);router[_0x646c('0xf')]('/',auth['isAuthenticated'](),controller[_0x646c('0x10')]);router[_0x646c('0x11')](_0x646c('0xe'),auth['isAuthenticated'](),controller[_0x646c('0x12')]);router[_0x646c('0x13')](_0x646c('0xe'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;