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 _0x0f75=['multer','path','Router','../../components/interaction/service','./mailTransferReport.controller','get','isAuthenticated','index','describe','show','post','create','put','update','delete','/:id','destroy','exports'];(function(_0x5a7d5f,_0x5695cb){var _0x5dcded=function(_0x13f053){while(--_0x13f053){_0x5a7d5f['push'](_0x5a7d5f['shift']());}};_0x5dcded(++_0x5695cb);}(_0x0f75,0xa2));var _0x50f7=function(_0x300107,_0x4be4fe){_0x300107=_0x300107-0x0;var _0xb7ac2f=_0x0f75[_0x300107];return _0xb7ac2f;};'use strict';var multer=require(_0x50f7('0x0'));var util=require('util');var path=require(_0x50f7('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x50f7('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0x50f7('0x3'));var config=require('../../config/environment');var controller=require(_0x50f7('0x4'));router[_0x50f7('0x5')]('/',auth[_0x50f7('0x6')](),controller[_0x50f7('0x7')]);router[_0x50f7('0x5')]('/describe',auth[_0x50f7('0x6')](),controller[_0x50f7('0x8')]);router['get']('/:id',auth[_0x50f7('0x6')](),controller[_0x50f7('0x9')]);router[_0x50f7('0xa')]('/',auth['isAuthenticated'](),controller[_0x50f7('0xb')]);router[_0x50f7('0xc')]('/:id',auth[_0x50f7('0x6')](),controller[_0x50f7('0xd')]);router[_0x50f7('0xe')](_0x50f7('0xf'),auth[_0x50f7('0x6')](),controller[_0x50f7('0x10')]);module[_0x50f7('0x11')]=router;