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 _0xe49a=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailApplication.controller','isAuthenticated','show','put','/:id','delete','destroy','exports','path','connect-timeout'];(function(_0x47ba5f,_0x2c0e07){var _0x1b18d9=function(_0x16fe9b){while(--_0x16fe9b){_0x47ba5f['push'](_0x47ba5f['shift']());}};_0x1b18d9(++_0x2c0e07);}(_0xe49a,0xa3));var _0xae49=function(_0x4cd9b6,_0x26e28){_0x4cd9b6=_0x4cd9b6-0x0;var _0x1304b2=_0xe49a[_0x4cd9b6];return _0x1304b2;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xae49('0x0'));var timeout=require(_0xae49('0x1'));var express=require('express');var router=express[_0xae49('0x2')]();var fs_extra=require(_0xae49('0x3'));var auth=require(_0xae49('0x4'));var interaction=require(_0xae49('0x5'));var config=require(_0xae49('0x6'));var controller=require(_0xae49('0x7'));router['get']('/:id',auth[_0xae49('0x8')](),controller[_0xae49('0x9')]);router[_0xae49('0xa')](_0xae49('0xb'),auth[_0xae49('0x8')](),controller['update']);router[_0xae49('0xc')](_0xae49('0xb'),auth[_0xae49('0x8')](),controller[_0xae49('0xd')]);module[_0xae49('0xe')]=router;