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 _0xce80=['util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','show','put','update','/:id','destroy','exports','multer'];(function(_0x30da35,_0x280ba8){var _0x4f47bb=function(_0x1c0121){while(--_0x1c0121){_0x30da35['push'](_0x30da35['shift']());}};_0x4f47bb(++_0x280ba8);}(_0xce80,0x1a8));var _0x0ce8=function(_0x34e34f,_0x3634eb){_0x34e34f=_0x34e34f-0x0;var _0x231874=_0xce80[_0x34e34f];return _0x231874;};'use strict';var multer=require(_0x0ce8('0x0'));var util=require(_0x0ce8('0x1'));var path=require('path');var timeout=require(_0x0ce8('0x2'));var express=require(_0x0ce8('0x3'));var router=express[_0x0ce8('0x4')]();var fs_extra=require(_0x0ce8('0x5'));var auth=require(_0x0ce8('0x6'));var interaction=require(_0x0ce8('0x7'));var config=require(_0x0ce8('0x8'));var controller=require('./mailApplication.controller');router[_0x0ce8('0x9')]('/:id',auth[_0x0ce8('0xa')](),controller[_0x0ce8('0xb')]);router[_0x0ce8('0xc')]('/:id',auth[_0x0ce8('0xa')](),controller[_0x0ce8('0xd')]);router['delete'](_0x0ce8('0xe'),auth[_0x0ce8('0xa')](),controller[_0x0ce8('0xf')]);module[_0x0ce8('0x10')]=router;