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 _0x5ec6=['../../config/environment','get','isAuthenticated','show','/:id','delete','multer','util','path','express','../../components/auth/service'];(function(_0x141637,_0x22b302){var _0xc3371a=function(_0x2e7f49){while(--_0x2e7f49){_0x141637['push'](_0x141637['shift']());}};_0xc3371a(++_0x22b302);}(_0x5ec6,0x7f));var _0x65ec=function(_0x28f4d5,_0x3f2a02){_0x28f4d5=_0x28f4d5-0x0;var _0x576308=_0x5ec6[_0x28f4d5];return _0x576308;};'use strict';var multer=require(_0x65ec('0x0'));var util=require(_0x65ec('0x1'));var path=require(_0x65ec('0x2'));var timeout=require('connect-timeout');var express=require(_0x65ec('0x3'));var router=express['Router']();var auth=require(_0x65ec('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x65ec('0x5'));var controller=require('./mailApplication.controller');router[_0x65ec('0x6')]('/:id',auth[_0x65ec('0x7')](),controller[_0x65ec('0x8')]);router['put'](_0x65ec('0x9'),auth[_0x65ec('0x7')](),controller['update']);router[_0x65ec('0xa')](_0x65ec('0x9'),auth[_0x65ec('0x7')](),controller['destroy']);module['exports']=router;