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