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