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