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 _0x606c=['util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailApplication.controller','get','/:id','isAuthenticated','show','put','update','delete','destroy','exports','multer'];(function(_0x53a00d,_0x462437){var _0x28b7f6=function(_0x4f6ef3){while(--_0x4f6ef3){_0x53a00d['push'](_0x53a00d['shift']());}};_0x28b7f6(++_0x462437);}(_0x606c,0x17b));var _0xc606=function(_0x4c06a3,_0x1e6b6f){_0x4c06a3=_0x4c06a3-0x0;var _0x7ff53c=_0x606c[_0x4c06a3];return _0x7ff53c;};'use strict';var multer=require(_0xc606('0x0'));var util=require(_0xc606('0x1'));var path=require(_0xc606('0x2'));var timeout=require('connect-timeout');var express=require(_0xc606('0x3'));var router=express[_0xc606('0x4')]();var fs_extra=require(_0xc606('0x5'));var auth=require(_0xc606('0x6'));var interaction=require(_0xc606('0x7'));var config=require(_0xc606('0x8'));var controller=require(_0xc606('0x9'));router[_0xc606('0xa')](_0xc606('0xb'),auth[_0xc606('0xc')](),controller[_0xc606('0xd')]);router[_0xc606('0xe')](_0xc606('0xb'),auth[_0xc606('0xc')](),controller[_0xc606('0xf')]);router[_0xc606('0x10')](_0xc606('0xb'),auth[_0xc606('0xc')](),controller[_0xc606('0x11')]);module[_0xc606('0x12')]=router;