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 _0xfb51=['delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailSubstatus.controller','index','/describe','isAuthenticated','describe','get','show','post','create','put','/:id','update'];(function(_0xe759c7,_0x3696ed){var _0xe39ae6=function(_0x122eb7){while(--_0x122eb7){_0xe759c7['push'](_0xe759c7['shift']());}};_0xe39ae6(++_0x3696ed);}(_0xfb51,0x19b));var _0x1fb5=function(_0x1391a8,_0x4e2f7f){_0x1391a8=_0x1391a8-0x0;var _0x1e3519=_0xfb51[_0x1391a8];return _0x1e3519;};'use strict';var multer=require(_0x1fb5('0x0'));var util=require(_0x1fb5('0x1'));var path=require(_0x1fb5('0x2'));var timeout=require(_0x1fb5('0x3'));var express=require(_0x1fb5('0x4'));var router=express[_0x1fb5('0x5')]();var auth=require(_0x1fb5('0x6'));var interaction=require(_0x1fb5('0x7'));var config=require(_0x1fb5('0x8'));var controller=require(_0x1fb5('0x9'));router['get']('/',auth['isAuthenticated'](),controller[_0x1fb5('0xa')]);router['get'](_0x1fb5('0xb'),auth[_0x1fb5('0xc')](),controller[_0x1fb5('0xd')]);router[_0x1fb5('0xe')]('/:id',auth[_0x1fb5('0xc')](),controller[_0x1fb5('0xf')]);router[_0x1fb5('0x10')]('/',auth['isAuthenticated'](),controller[_0x1fb5('0x11')]);router[_0x1fb5('0x12')](_0x1fb5('0x13'),auth[_0x1fb5('0xc')](),controller[_0x1fb5('0x14')]);router[_0x1fb5('0x15')](_0x1fb5('0x13'),auth[_0x1fb5('0xc')](),controller[_0x1fb5('0x16')]);module[_0x1fb5('0x17')]=router;