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 _0xe950=['exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','./mailSubstatus.controller','isAuthenticated','/describe','describe','get','/:id','show','update','delete','destroy'];(function(_0x2b5eae,_0x55010d){var _0x5f3ac9=function(_0x397bfc){while(--_0x397bfc){_0x2b5eae['push'](_0x2b5eae['shift']());}};_0x5f3ac9(++_0x55010d);}(_0xe950,0xb5));var _0x0e95=function(_0x161e04,_0x5a7eb6){_0x161e04=_0x161e04-0x0;var _0x373028=_0xe950[_0x161e04];return _0x373028;};'use strict';var multer=require(_0x0e95('0x0'));var util=require(_0x0e95('0x1'));var path=require(_0x0e95('0x2'));var timeout=require(_0x0e95('0x3'));var express=require(_0x0e95('0x4'));var router=express['Router']();var auth=require(_0x0e95('0x5'));var interaction=require(_0x0e95('0x6'));var config=require('../../config/environment');var controller=require(_0x0e95('0x7'));router['get']('/',auth[_0x0e95('0x8')](),controller['index']);router['get'](_0x0e95('0x9'),auth[_0x0e95('0x8')](),controller[_0x0e95('0xa')]);router[_0x0e95('0xb')](_0x0e95('0xc'),auth['isAuthenticated'](),controller[_0x0e95('0xd')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router['put'](_0x0e95('0xc'),auth['isAuthenticated'](),controller[_0x0e95('0xe')]);router[_0x0e95('0xf')](_0x0e95('0xc'),auth[_0x0e95('0x8')](),controller[_0x0e95('0x10')]);module[_0x0e95('0x11')]=router;