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 _0xf9d5=['../../components/interaction/service','../../config/environment','./mailApplication.controller','get','/:id','isAuthenticated','show','put','update','delete','path','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x42bc91,_0x41f40a){var _0x3f5507=function(_0x20cfaf){while(--_0x20cfaf){_0x42bc91['push'](_0x42bc91['shift']());}};_0x3f5507(++_0x41f40a);}(_0xf9d5,0xfa));var _0x5f9d=function(_0x3ad6f1,_0x4d1e53){_0x3ad6f1=_0x3ad6f1-0x0;var _0x532dc7=_0xf9d5[_0x3ad6f1];return _0x532dc7;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x5f9d('0x0'));var timeout=require(_0x5f9d('0x1'));var express=require(_0x5f9d('0x2'));var router=express[_0x5f9d('0x3')]();var fs_extra=require(_0x5f9d('0x4'));var auth=require(_0x5f9d('0x5'));var interaction=require(_0x5f9d('0x6'));var config=require(_0x5f9d('0x7'));var controller=require(_0x5f9d('0x8'));router[_0x5f9d('0x9')](_0x5f9d('0xa'),auth[_0x5f9d('0xb')](),controller[_0x5f9d('0xc')]);router[_0x5f9d('0xd')](_0x5f9d('0xa'),auth[_0x5f9d('0xb')](),controller[_0x5f9d('0xe')]);router[_0x5f9d('0xf')](_0x5f9d('0xa'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;