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 _0x757a=['../../components/auth/service','../../components/interaction/service','../../config/environment','./mailApplication.controller','get','/:id','show','put','isAuthenticated','update','delete','exports','util','path'];(function(_0x39cd3c,_0xa21102){var _0x47a0ae=function(_0x330b05){while(--_0x330b05){_0x39cd3c['push'](_0x39cd3c['shift']());}};_0x47a0ae(++_0xa21102);}(_0x757a,0xde));var _0xa757=function(_0x3cff09,_0x9c1ab9){_0x3cff09=_0x3cff09-0x0;var _0x2a9a11=_0x757a[_0x3cff09];return _0x2a9a11;};'use strict';var multer=require('multer');var util=require(_0xa757('0x0'));var path=require(_0xa757('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0xa757('0x2'));var interaction=require(_0xa757('0x3'));var config=require(_0xa757('0x4'));var controller=require(_0xa757('0x5'));router[_0xa757('0x6')](_0xa757('0x7'),auth['isAuthenticated'](),controller[_0xa757('0x8')]);router[_0xa757('0x9')]('/:id',auth[_0xa757('0xa')](),controller[_0xa757('0xb')]);router[_0xa757('0xc')](_0xa757('0x7'),auth[_0xa757('0xa')](),controller['destroy']);module[_0xa757('0xd')]=router;