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