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