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 _0xc52d=['multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailSubstatus.controller','get','isAuthenticated','/describe','/:id','show','post','create','update','delete','destroy','exports'];(function(_0x2896a1,_0x20fa1f){var _0x5e5304=function(_0x175e4a){while(--_0x175e4a){_0x2896a1['push'](_0x2896a1['shift']());}};_0x5e5304(++_0x20fa1f);}(_0xc52d,0xf2));var _0xdc52=function(_0x3bf4fd,_0x570086){_0x3bf4fd=_0x3bf4fd-0x0;var _0xfb299=_0xc52d[_0x3bf4fd];return _0xfb299;};'use strict';var multer=require(_0xdc52('0x0'));var util=require(_0xdc52('0x1'));var path=require(_0xdc52('0x2'));var timeout=require(_0xdc52('0x3'));var express=require(_0xdc52('0x4'));var router=express[_0xdc52('0x5')]();var fs_extra=require(_0xdc52('0x6'));var auth=require(_0xdc52('0x7'));var interaction=require(_0xdc52('0x8'));var config=require(_0xdc52('0x9'));var controller=require(_0xdc52('0xa'));router[_0xdc52('0xb')]('/',auth[_0xdc52('0xc')](),controller['index']);router['get'](_0xdc52('0xd'),auth['isAuthenticated'](),controller['describe']);router[_0xdc52('0xb')](_0xdc52('0xe'),auth[_0xdc52('0xc')](),controller[_0xdc52('0xf')]);router[_0xdc52('0x10')]('/',auth['isAuthenticated'](),controller[_0xdc52('0x11')]);router['put']('/:id',auth[_0xdc52('0xc')](),controller[_0xdc52('0x12')]);router[_0xdc52('0x13')](_0xdc52('0xe'),auth[_0xdc52('0xc')](),controller[_0xdc52('0x14')]);module[_0xdc52('0x15')]=router;