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