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