1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x14e6=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailTransferReport.controller','isAuthenticated','get','/describe','show','post','create','put','update','delete','/:id','destroy','exports','connect-timeout'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x14e6,0xfb));var _0x614e=function(_0x36d2a1,_0x176456){_0x36d2a1=_0x36d2a1-0x0;var _0x5de65d=_0x14e6[_0x36d2a1];return _0x5de65d;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x614e('0x0'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x614e('0x1'));var auth=require(_0x614e('0x2'));var interaction=require(_0x614e('0x3'));var config=require(_0x614e('0x4'));var controller=require(_0x614e('0x5'));router['get']('/',auth[_0x614e('0x6')](),controller['index']);router[_0x614e('0x7')](_0x614e('0x8'),auth[_0x614e('0x6')](),controller['describe']);router[_0x614e('0x7')]('/:id',auth[_0x614e('0x6')](),controller[_0x614e('0x9')]);router[_0x614e('0xa')]('/',auth[_0x614e('0x6')](),controller[_0x614e('0xb')]);router[_0x614e('0xc')]('/:id',auth[_0x614e('0x6')](),controller[_0x614e('0xd')]);router[_0x614e('0xe')](_0x614e('0xf'),auth[_0x614e('0x6')](),controller[_0x614e('0x10')]);module[_0x614e('0x11')]=router;