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 _0x263a=['update','delete','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../config/environment','get','isAuthenticated','index','describe','/:id','create','put'];(function(_0x34fe68,_0x53835f){var _0x5d6c53=function(_0x4af394){while(--_0x4af394){_0x34fe68['push'](_0x34fe68['shift']());}};_0x5d6c53(++_0x53835f);}(_0x263a,0x112));var _0xa263=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x263a[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xa263('0x0'));var util=require(_0xa263('0x1'));var path=require(_0xa263('0x2'));var timeout=require(_0xa263('0x3'));var express=require('express');var router=express[_0xa263('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xa263('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xa263('0x6'));var controller=require('./mailSubstatus.controller');router[_0xa263('0x7')]('/',auth[_0xa263('0x8')](),controller[_0xa263('0x9')]);router['get']('/describe',auth[_0xa263('0x8')](),controller[_0xa263('0xa')]);router[_0xa263('0x7')](_0xa263('0xb'),auth[_0xa263('0x8')](),controller['show']);router['post']('/',auth[_0xa263('0x8')](),controller[_0xa263('0xc')]);router[_0xa263('0xd')]('/:id',auth[_0xa263('0x8')](),controller[_0xa263('0xe')]);router[_0xa263('0xf')](_0xa263('0xb'),auth[_0xa263('0x8')](),controller[_0xa263('0x10')]);module[_0xa263('0x11')]=router;