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 _0xc1b4=['../../config/environment','./mailSubstatus.controller','isAuthenticated','index','get','/:id','show','post','create','put','delete','destroy','exports','util','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x21a8d6,_0x431ba4){var _0x46c3ab=function(_0x2b1b2c){while(--_0x2b1b2c){_0x21a8d6['push'](_0x21a8d6['shift']());}};_0x46c3ab(++_0x431ba4);}(_0xc1b4,0xc1));var _0x4c1b=function(_0x3370a5,_0x30ed57){_0x3370a5=_0x3370a5-0x0;var _0x392bef=_0xc1b4[_0x3370a5];return _0x392bef;};'use strict';var multer=require('multer');var util=require(_0x4c1b('0x0'));var path=require('path');var timeout=require(_0x4c1b('0x1'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x4c1b('0x2'));var auth=require(_0x4c1b('0x3'));var interaction=require(_0x4c1b('0x4'));var config=require(_0x4c1b('0x5'));var controller=require(_0x4c1b('0x6'));router['get']('/',auth[_0x4c1b('0x7')](),controller[_0x4c1b('0x8')]);router[_0x4c1b('0x9')]('/describe',auth[_0x4c1b('0x7')](),controller['describe']);router['get'](_0x4c1b('0xa'),auth[_0x4c1b('0x7')](),controller[_0x4c1b('0xb')]);router[_0x4c1b('0xc')]('/',auth[_0x4c1b('0x7')](),controller[_0x4c1b('0xd')]);router[_0x4c1b('0xe')](_0x4c1b('0xa'),auth[_0x4c1b('0x7')](),controller['update']);router[_0x4c1b('0xf')](_0x4c1b('0xa'),auth['isAuthenticated'](),controller[_0x4c1b('0x10')]);module[_0x4c1b('0x11')]=router;