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 _0x750a=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailApplication.controller','get','/:id','isAuthenticated','show','put','destroy','exports','util','express'];(function(_0x24259d,_0x64a194){var _0x5a701=function(_0x204516){while(--_0x204516){_0x24259d['push'](_0x24259d['shift']());}};_0x5a701(++_0x64a194);}(_0x750a,0x140));var _0xa750=function(_0x260ade,_0x79aaa1){_0x260ade=_0x260ade-0x0;var _0x178c9e=_0x750a[_0x260ade];return _0x178c9e;};'use strict';var multer=require('multer');var util=require(_0xa750('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xa750('0x1'));var router=express[_0xa750('0x2')]();var auth=require(_0xa750('0x3'));var interaction=require(_0xa750('0x4'));var config=require(_0xa750('0x5'));var controller=require(_0xa750('0x6'));router[_0xa750('0x7')](_0xa750('0x8'),auth[_0xa750('0x9')](),controller[_0xa750('0xa')]);router[_0xa750('0xb')](_0xa750('0x8'),auth[_0xa750('0x9')](),controller['update']);router['delete'](_0xa750('0x8'),auth['isAuthenticated'](),controller[_0xa750('0xc')]);module[_0xa750('0xd')]=router;