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 _0x4483=['update','destroy','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','/:id','isAuthenticated','show','put'];(function(_0x4f61a1,_0x35820b){var _0xae8b64=function(_0x4f784c){while(--_0x4f784c){_0x4f61a1['push'](_0x4f61a1['shift']());}};_0xae8b64(++_0x35820b);}(_0x4483,0x1a3));var _0x3448=function(_0x136b59,_0x4ea4d0){_0x136b59=_0x136b59-0x0;var _0x3ffda0=_0x4483[_0x136b59];return _0x3ffda0;};'use strict';var multer=require(_0x3448('0x0'));var util=require(_0x3448('0x1'));var path=require(_0x3448('0x2'));var timeout=require('connect-timeout');var express=require(_0x3448('0x3'));var router=express[_0x3448('0x4')]();var auth=require(_0x3448('0x5'));var interaction=require(_0x3448('0x6'));var config=require(_0x3448('0x7'));var controller=require('./mailApplication.controller');router[_0x3448('0x8')](_0x3448('0x9'),auth[_0x3448('0xa')](),controller[_0x3448('0xb')]);router[_0x3448('0xc')](_0x3448('0x9'),auth[_0x3448('0xa')](),controller[_0x3448('0xd')]);router['delete']('/:id',auth[_0x3448('0xa')](),controller[_0x3448('0xe')]);module[_0x3448('0xf')]=router;