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 _0x858a=['show','put','update','delete','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','/:id','isAuthenticated'];(function(_0x3a9fcf,_0x52c5a3){var _0x1ecfb8=function(_0x2f23b7){while(--_0x2f23b7){_0x3a9fcf['push'](_0x3a9fcf['shift']());}};_0x1ecfb8(++_0x52c5a3);}(_0x858a,0x83));var _0xa858=function(_0x53ccf2,_0x13cb67){_0x53ccf2=_0x53ccf2-0x0;var _0x5a2964=_0x858a[_0x53ccf2];return _0x5a2964;};'use strict';var multer=require(_0xa858('0x0'));var util=require(_0xa858('0x1'));var path=require(_0xa858('0x2'));var timeout=require(_0xa858('0x3'));var express=require(_0xa858('0x4'));var router=express[_0xa858('0x5')]();var fs_extra=require(_0xa858('0x6'));var auth=require(_0xa858('0x7'));var interaction=require(_0xa858('0x8'));var config=require(_0xa858('0x9'));var controller=require('./mailApplication.controller');router[_0xa858('0xa')](_0xa858('0xb'),auth[_0xa858('0xc')](),controller[_0xa858('0xd')]);router[_0xa858('0xe')](_0xa858('0xb'),auth[_0xa858('0xc')](),controller[_0xa858('0xf')]);router[_0xa858('0x10')]('/:id',auth[_0xa858('0xc')](),controller['destroy']);module[_0xa858('0x11')]=router;