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 _0xfa20=['exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailMessage.controller','isAuthenticated','index','/describe','describe','get','/:id','show','/:id/download','post','tracked','mail','mailmessage:create','create','put','update','/:id/accept','/:id/reject','reject','delete','destroy'];(function(_0x41e743,_0x587cd2){var _0x5ece6b=function(_0x2f4d3b){while(--_0x2f4d3b){_0x41e743['push'](_0x41e743['shift']());}};_0x5ece6b(++_0x587cd2);}(_0xfa20,0x141));var _0x0fa2=function(_0x54a8d3,_0x12b8b7){_0x54a8d3=_0x54a8d3-0x0;var _0x5eec0e=_0xfa20[_0x54a8d3];return _0x5eec0e;};'use strict';var multer=require(_0x0fa2('0x0'));var util=require(_0x0fa2('0x1'));var path=require(_0x0fa2('0x2'));var timeout=require(_0x0fa2('0x3'));var express=require(_0x0fa2('0x4'));var router=express[_0x0fa2('0x5')]();var fs_extra=require(_0x0fa2('0x6'));var auth=require(_0x0fa2('0x7'));var interaction=require(_0x0fa2('0x8'));var config=require(_0x0fa2('0x9'));var controller=require(_0x0fa2('0xa'));router['get']('/',auth[_0x0fa2('0xb')](),controller[_0x0fa2('0xc')]);router['get'](_0x0fa2('0xd'),auth[_0x0fa2('0xb')](),controller[_0x0fa2('0xe')]);router[_0x0fa2('0xf')](_0x0fa2('0x10'),auth[_0x0fa2('0xb')](),controller[_0x0fa2('0x11')]);router[_0x0fa2('0xf')](_0x0fa2('0x12'),auth[_0x0fa2('0xb')](),controller['download']);router[_0x0fa2('0x13')]('/',auth[_0x0fa2('0xb')](),interaction[_0x0fa2('0x14')](_0x0fa2('0x15'),_0x0fa2('0x16')),controller[_0x0fa2('0x17')]);router[_0x0fa2('0x18')](_0x0fa2('0x10'),auth['isAuthenticated'](),controller[_0x0fa2('0x19')]);router['put'](_0x0fa2('0x1a'),auth['isAuthenticated'](),controller['accept']);router['put'](_0x0fa2('0x1b'),auth[_0x0fa2('0xb')](),controller[_0x0fa2('0x1c')]);router[_0x0fa2('0x1d')](_0x0fa2('0x10'),auth[_0x0fa2('0xb')](),controller[_0x0fa2('0x1e')]);module[_0x0fa2('0x1f')]=router;