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 _0x6f28=['util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/describe','describe','/:id','show','post','create','put','update','delete','destroy'];(function(_0x9ce40c,_0x5ea968){var _0x2ef180=function(_0x449961){while(--_0x449961){_0x9ce40c['push'](_0x9ce40c['shift']());}};_0x2ef180(++_0x5ea968);}(_0x6f28,0x1a4));var _0x86f2=function(_0x1a72b8,_0x1e4f4b){_0x1a72b8=_0x1a72b8-0x0;var _0x39f72d=_0x6f28[_0x1a72b8];return _0x39f72d;};'use strict';var multer=require('multer');var util=require(_0x86f2('0x0'));var path=require(_0x86f2('0x1'));var timeout=require(_0x86f2('0x2'));var express=require('express');var router=express[_0x86f2('0x3')]();var fs_extra=require(_0x86f2('0x4'));var auth=require(_0x86f2('0x5'));var interaction=require(_0x86f2('0x6'));var config=require(_0x86f2('0x7'));var controller=require('./mailSubstatus.controller');router[_0x86f2('0x8')]('/',auth[_0x86f2('0x9')](),controller['index']);router['get'](_0x86f2('0xa'),auth[_0x86f2('0x9')](),controller[_0x86f2('0xb')]);router[_0x86f2('0x8')](_0x86f2('0xc'),auth[_0x86f2('0x9')](),controller[_0x86f2('0xd')]);router[_0x86f2('0xe')]('/',auth['isAuthenticated'](),controller[_0x86f2('0xf')]);router[_0x86f2('0x10')](_0x86f2('0xc'),auth[_0x86f2('0x9')](),controller[_0x86f2('0x11')]);router[_0x86f2('0x12')](_0x86f2('0xc'),auth['isAuthenticated'](),controller[_0x86f2('0x13')]);module['exports']=router;