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 _0x038f=['Router','fs-extra','../../components/interaction/service','../../config/environment','./mailApplication.controller','get','/:id','put','update','delete','isAuthenticated','destroy','path','express'];(function(_0x3eb5f8,_0x4ba4f7){var _0x5238d3=function(_0x5ea851){while(--_0x5ea851){_0x3eb5f8['push'](_0x3eb5f8['shift']());}};_0x5238d3(++_0x4ba4f7);}(_0x038f,0x1a2));var _0xf038=function(_0x20e7e3,_0x1529be){_0x20e7e3=_0x20e7e3-0x0;var _0x14b9de=_0x038f[_0x20e7e3];return _0x14b9de;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xf038('0x0'));var timeout=require('connect-timeout');var express=require(_0xf038('0x1'));var router=express[_0xf038('0x2')]();var fs_extra=require(_0xf038('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xf038('0x4'));var config=require(_0xf038('0x5'));var controller=require(_0xf038('0x6'));router[_0xf038('0x7')](_0xf038('0x8'),auth['isAuthenticated'](),controller['show']);router[_0xf038('0x9')](_0xf038('0x8'),auth['isAuthenticated'](),controller[_0xf038('0xa')]);router[_0xf038('0xb')](_0xf038('0x8'),auth[_0xf038('0xc')](),controller[_0xf038('0xd')]);module['exports']=router;