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 _0xda55=['../../components/auth/service','../../components/interaction/service','./mailServerOut.controller','isAuthenticated','get','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','express','Router','fs-extra'];(function(_0x517e84,_0x5dc975){var _0x23f39a=function(_0x1321c2){while(--_0x1321c2){_0x517e84['push'](_0x517e84['shift']());}};_0x23f39a(++_0x5dc975);}(_0xda55,0x6d));var _0x5da5=function(_0x456011,_0x5a8d20){_0x456011=_0x456011-0x0;var _0x27935a=_0xda55[_0x456011];return _0x27935a;};'use strict';var multer=require(_0x5da5('0x0'));var util=require(_0x5da5('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x5da5('0x2'));var router=express[_0x5da5('0x3')]();var fs_extra=require(_0x5da5('0x4'));var auth=require(_0x5da5('0x5'));var interaction=require(_0x5da5('0x6'));var config=require('../../config/environment');var controller=require(_0x5da5('0x7'));router['get']('/',auth[_0x5da5('0x8')](),controller['index']);router[_0x5da5('0x9')](_0x5da5('0xa'),auth[_0x5da5('0x8')](),controller[_0x5da5('0xb')]);router[_0x5da5('0xc')]('/',auth[_0x5da5('0x8')](),controller[_0x5da5('0xd')]);router[_0x5da5('0xe')]('/:id',auth[_0x5da5('0x8')](),controller[_0x5da5('0xf')]);router[_0x5da5('0x10')](_0x5da5('0xa'),auth[_0x5da5('0x8')](),controller[_0x5da5('0x11')]);module[_0x5da5('0x12')]=router;