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 _0x0a9f=['update','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailApplication.controller','isAuthenticated','show','put','/:id'];(function(_0x2d34d6,_0x397ff9){var _0x1d3d12=function(_0x558800){while(--_0x558800){_0x2d34d6['push'](_0x2d34d6['shift']());}};_0x1d3d12(++_0x397ff9);}(_0x0a9f,0xe2));var _0xf0a9=function(_0x3fe393,_0x234a3a){_0x3fe393=_0x3fe393-0x0;var _0x534d14=_0x0a9f[_0x3fe393];return _0x534d14;};'use strict';var multer=require(_0xf0a9('0x0'));var util=require(_0xf0a9('0x1'));var path=require(_0xf0a9('0x2'));var timeout=require(_0xf0a9('0x3'));var express=require(_0xf0a9('0x4'));var router=express[_0xf0a9('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xf0a9('0x6'));var interaction=require(_0xf0a9('0x7'));var config=require(_0xf0a9('0x8'));var controller=require(_0xf0a9('0x9'));router['get']('/:id',auth[_0xf0a9('0xa')](),controller[_0xf0a9('0xb')]);router[_0xf0a9('0xc')](_0xf0a9('0xd'),auth[_0xf0a9('0xa')](),controller[_0xf0a9('0xe')]);router['delete'](_0xf0a9('0xd'),auth['isAuthenticated'](),controller['destroy']);module[_0xf0a9('0xf')]=router;