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 _0x1f8a=['get','isAuthenticated','index','/:id','show','post','create','update','delete','destroy','exports','multer','util','path','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailServerOut.controller'];(function(_0x5b086e,_0x5eb6c0){var _0x3e2c2c=function(_0x1c5de7){while(--_0x1c5de7){_0x5b086e['push'](_0x5b086e['shift']());}};_0x3e2c2c(++_0x5eb6c0);}(_0x1f8a,0x128));var _0xa1f8=function(_0x5e9eae,_0xfb382f){_0x5e9eae=_0x5e9eae-0x0;var _0x18209e=_0x1f8a[_0x5e9eae];return _0x18209e;};'use strict';var multer=require(_0xa1f8('0x0'));var util=require(_0xa1f8('0x1'));var path=require(_0xa1f8('0x2'));var timeout=require('connect-timeout');var express=require(_0xa1f8('0x3'));var router=express['Router']();var auth=require(_0xa1f8('0x4'));var interaction=require(_0xa1f8('0x5'));var config=require(_0xa1f8('0x6'));var controller=require(_0xa1f8('0x7'));router[_0xa1f8('0x8')]('/',auth[_0xa1f8('0x9')](),controller[_0xa1f8('0xa')]);router[_0xa1f8('0x8')](_0xa1f8('0xb'),auth['isAuthenticated'](),controller[_0xa1f8('0xc')]);router[_0xa1f8('0xd')]('/',auth[_0xa1f8('0x9')](),controller[_0xa1f8('0xe')]);router['put'](_0xa1f8('0xb'),auth[_0xa1f8('0x9')](),controller[_0xa1f8('0xf')]);router[_0xa1f8('0x10')](_0xa1f8('0xb'),auth[_0xa1f8('0x9')](),controller[_0xa1f8('0x11')]);module[_0xa1f8('0x12')]=router;