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