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 _0x5109=['delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailSubstatus.controller','get','isAuthenticated','describe','/:id','create','put','update'];(function(_0x4c542b,_0x36b69b){var _0x4b6616=function(_0x30ccbc){while(--_0x30ccbc){_0x4c542b['push'](_0x4c542b['shift']());}};_0x4b6616(++_0x36b69b);}(_0x5109,0x17f));var _0x9510=function(_0x59707d,_0x101e5d){_0x59707d=_0x59707d-0x0;var _0x5970fb=_0x5109[_0x59707d];return _0x5970fb;};'use strict';var multer=require('multer');var util=require(_0x9510('0x0'));var path=require(_0x9510('0x1'));var timeout=require(_0x9510('0x2'));var express=require(_0x9510('0x3'));var router=express[_0x9510('0x4')]();var auth=require(_0x9510('0x5'));var interaction=require(_0x9510('0x6'));var config=require(_0x9510('0x7'));var controller=require(_0x9510('0x8'));router[_0x9510('0x9')]('/',auth[_0x9510('0xa')](),controller['index']);router[_0x9510('0x9')]('/describe',auth[_0x9510('0xa')](),controller[_0x9510('0xb')]);router[_0x9510('0x9')](_0x9510('0xc'),auth[_0x9510('0xa')](),controller['show']);router['post']('/',auth[_0x9510('0xa')](),controller[_0x9510('0xd')]);router[_0x9510('0xe')](_0x9510('0xc'),auth[_0x9510('0xa')](),controller[_0x9510('0xf')]);router[_0x9510('0x10')](_0x9510('0xc'),auth[_0x9510('0xa')](),controller[_0x9510('0x11')]);module[_0x9510('0x12')]=router;