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 _0xeba1=['exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','./mailApplication.controller','/:id','isAuthenticated','show','put','update','delete'];(function(_0x1b11a0,_0x336a59){var _0x5cd0f0=function(_0x432a29){while(--_0x432a29){_0x1b11a0['push'](_0x1b11a0['shift']());}};_0x5cd0f0(++_0x336a59);}(_0xeba1,0x1c1));var _0x1eba=function(_0x24efed,_0xf8689f){_0x24efed=_0x24efed-0x0;var _0x4d99da=_0xeba1[_0x24efed];return _0x4d99da;};'use strict';var multer=require(_0x1eba('0x0'));var util=require(_0x1eba('0x1'));var path=require(_0x1eba('0x2'));var timeout=require(_0x1eba('0x3'));var express=require(_0x1eba('0x4'));var router=express[_0x1eba('0x5')]();var fs_extra=require(_0x1eba('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x1eba('0x7'));var config=require('../../config/environment');var controller=require(_0x1eba('0x8'));router['get'](_0x1eba('0x9'),auth[_0x1eba('0xa')](),controller[_0x1eba('0xb')]);router[_0x1eba('0xc')](_0x1eba('0x9'),auth[_0x1eba('0xa')](),controller[_0x1eba('0xd')]);router[_0x1eba('0xe')]('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0x1eba('0xf')]=router;