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 _0xa2af=['Router','fs-extra','../../components/interaction/service','isAuthenticated','show','put','/:id','update','delete','destroy','exports','multer','util','connect-timeout','express'];(function(_0x15a634,_0x4feb86){var _0xf4f7a0=function(_0x31d9fe){while(--_0x31d9fe){_0x15a634['push'](_0x15a634['shift']());}};_0xf4f7a0(++_0x4feb86);}(_0xa2af,0x74));var _0xfa2a=function(_0x4ccfa,_0x68cef5){_0x4ccfa=_0x4ccfa-0x0;var _0x1f0af7=_0xa2af[_0x4ccfa];return _0x1f0af7;};'use strict';var multer=require(_0xfa2a('0x0'));var util=require(_0xfa2a('0x1'));var path=require('path');var timeout=require(_0xfa2a('0x2'));var express=require(_0xfa2a('0x3'));var router=express[_0xfa2a('0x4')]();var fs_extra=require(_0xfa2a('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xfa2a('0x6'));var config=require('../../config/environment');var controller=require('./mailApplication.controller');router['get']('/:id',auth[_0xfa2a('0x7')](),controller[_0xfa2a('0x8')]);router[_0xfa2a('0x9')](_0xfa2a('0xa'),auth[_0xfa2a('0x7')](),controller[_0xfa2a('0xb')]);router[_0xfa2a('0xc')](_0xfa2a('0xa'),auth[_0xfa2a('0x7')](),controller[_0xfa2a('0xd')]);module[_0xfa2a('0xe')]=router;