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 _0xcc3d=['post','put','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../config/environment','./mailSubstatus.controller','get','index','isAuthenticated','/:id'];(function(_0x1c4dec,_0x486d59){var _0x5f01ed=function(_0x2739d4){while(--_0x2739d4){_0x1c4dec['push'](_0x1c4dec['shift']());}};_0x5f01ed(++_0x486d59);}(_0xcc3d,0x143));var _0xdcc3=function(_0xf5f6c1,_0x3e3348){_0xf5f6c1=_0xf5f6c1-0x0;var _0x2a7968=_0xcc3d[_0xf5f6c1];return _0x2a7968;};'use strict';var multer=require(_0xdcc3('0x0'));var util=require(_0xdcc3('0x1'));var path=require(_0xdcc3('0x2'));var timeout=require(_0xdcc3('0x3'));var express=require(_0xdcc3('0x4'));var router=express[_0xdcc3('0x5')]();var fs_extra=require(_0xdcc3('0x6'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xdcc3('0x7'));var controller=require(_0xdcc3('0x8'));router[_0xdcc3('0x9')]('/',auth['isAuthenticated'](),controller[_0xdcc3('0xa')]);router['get']('/describe',auth[_0xdcc3('0xb')](),controller['describe']);router[_0xdcc3('0x9')](_0xdcc3('0xc'),auth[_0xdcc3('0xb')](),controller['show']);router[_0xdcc3('0xd')]('/',auth[_0xdcc3('0xb')](),controller['create']);router[_0xdcc3('0xe')](_0xdcc3('0xc'),auth[_0xdcc3('0xb')](),controller['update']);router['delete'](_0xdcc3('0xc'),auth[_0xdcc3('0xb')](),controller['destroy']);module[_0xdcc3('0xf')]=router;