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 _0xbaff=['isAuthenticated','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','./mailApplication.controller','get','show','put','/:id','update','delete'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xbaff,0x17d));var _0xfbaf=function(_0x50b300,_0x4a68b8){_0x50b300=_0x50b300-0x0;var _0x21c025=_0xbaff[_0x50b300];return _0x21c025;};'use strict';var multer=require(_0xfbaf('0x0'));var util=require(_0xfbaf('0x1'));var path=require(_0xfbaf('0x2'));var timeout=require(_0xfbaf('0x3'));var express=require(_0xfbaf('0x4'));var router=express['Router']();var fs_extra=require(_0xfbaf('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xfbaf('0x6'));var config=require(_0xfbaf('0x7'));var controller=require(_0xfbaf('0x8'));router[_0xfbaf('0x9')]('/:id',auth['isAuthenticated'](),controller[_0xfbaf('0xa')]);router[_0xfbaf('0xb')](_0xfbaf('0xc'),auth['isAuthenticated'](),controller[_0xfbaf('0xd')]);router[_0xfbaf('0xe')]('/:id',auth[_0xfbaf('0xf')](),controller[_0xfbaf('0x10')]);module[_0xfbaf('0x11')]=router;