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 _0xb260=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','/:id','put','isAuthenticated','update','delete','destroy','exports','util','path','connect-timeout'];(function(_0x241e61,_0x51e5ea){var _0x409de4=function(_0x1ccc72){while(--_0x1ccc72){_0x241e61['push'](_0x241e61['shift']());}};_0x409de4(++_0x51e5ea);}(_0xb260,0x14d));var _0x0b26=function(_0x1eda1f,_0x2df05b){_0x1eda1f=_0x1eda1f-0x0;var _0x4bf863=_0xb260[_0x1eda1f];return _0x4bf863;};'use strict';var multer=require('multer');var util=require(_0x0b26('0x0'));var path=require(_0x0b26('0x1'));var timeout=require(_0x0b26('0x2'));var express=require('express');var router=express[_0x0b26('0x3')]();var fs_extra=require(_0x0b26('0x4'));var auth=require(_0x0b26('0x5'));var interaction=require(_0x0b26('0x6'));var config=require(_0x0b26('0x7'));var controller=require('./mailApplication.controller');router[_0x0b26('0x8')](_0x0b26('0x9'),auth['isAuthenticated'](),controller['show']);router[_0x0b26('0xa')]('/:id',auth[_0x0b26('0xb')](),controller[_0x0b26('0xc')]);router[_0x0b26('0xd')](_0x0b26('0x9'),auth['isAuthenticated'](),controller[_0x0b26('0xe')]);module[_0x0b26('0xf')]=router;