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 _0xb2d6=['exports','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./mailSubstatus.controller','isAuthenticated','index','/describe','describe','get','post','create','put','/:id','update','delete'];(function(_0x4ca6a4,_0x5e9694){var _0x120555=function(_0x56888c){while(--_0x56888c){_0x4ca6a4['push'](_0x4ca6a4['shift']());}};_0x120555(++_0x5e9694);}(_0xb2d6,0x166));var _0x6b2d=function(_0x27ed06,_0x390241){_0x27ed06=_0x27ed06-0x0;var _0x49079a=_0xb2d6[_0x27ed06];return _0x49079a;};'use strict';var multer=require(_0x6b2d('0x0'));var util=require(_0x6b2d('0x1'));var path=require(_0x6b2d('0x2'));var timeout=require(_0x6b2d('0x3'));var express=require(_0x6b2d('0x4'));var router=express[_0x6b2d('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0x6b2d('0x6'));var config=require(_0x6b2d('0x7'));var controller=require(_0x6b2d('0x8'));router['get']('/',auth[_0x6b2d('0x9')](),controller[_0x6b2d('0xa')]);router['get'](_0x6b2d('0xb'),auth[_0x6b2d('0x9')](),controller[_0x6b2d('0xc')]);router[_0x6b2d('0xd')]('/:id',auth[_0x6b2d('0x9')](),controller['show']);router[_0x6b2d('0xe')]('/',auth[_0x6b2d('0x9')](),controller[_0x6b2d('0xf')]);router[_0x6b2d('0x10')](_0x6b2d('0x11'),auth[_0x6b2d('0x9')](),controller[_0x6b2d('0x12')]);router[_0x6b2d('0x13')](_0x6b2d('0x11'),auth[_0x6b2d('0x9')](),controller['destroy']);module[_0x6b2d('0x14')]=router;