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 _0xff36=['show','put','isAuthenticated','update','/:id','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailApplication.controller','get'];(function(_0x204589,_0x2f84cd){var _0x40af9c=function(_0x2ac7de){while(--_0x2ac7de){_0x204589['push'](_0x204589['shift']());}};_0x40af9c(++_0x2f84cd);}(_0xff36,0x127));var _0x6ff3=function(_0x2deedd,_0x20df1c){_0x2deedd=_0x2deedd-0x0;var _0x5018d8=_0xff36[_0x2deedd];return _0x5018d8;};'use strict';var multer=require(_0x6ff3('0x0'));var util=require(_0x6ff3('0x1'));var path=require(_0x6ff3('0x2'));var timeout=require('connect-timeout');var express=require(_0x6ff3('0x3'));var router=express[_0x6ff3('0x4')]();var fs_extra=require(_0x6ff3('0x5'));var auth=require(_0x6ff3('0x6'));var interaction=require(_0x6ff3('0x7'));var config=require(_0x6ff3('0x8'));var controller=require(_0x6ff3('0x9'));router[_0x6ff3('0xa')]('/:id',auth['isAuthenticated'](),controller[_0x6ff3('0xb')]);router[_0x6ff3('0xc')]('/:id',auth[_0x6ff3('0xd')](),controller[_0x6ff3('0xe')]);router['delete'](_0x6ff3('0xf'),auth[_0x6ff3('0xd')](),controller[_0x6ff3('0x10')]);module[_0x6ff3('0x11')]=router;