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 _0xcbc2=['./mailServerOut.controller','isAuthenticated','index','get','/:id','show','post','create','put','update','destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x5bb562,_0x1fe14b){var _0x12ad19=function(_0x589e5a){while(--_0x589e5a){_0x5bb562['push'](_0x5bb562['shift']());}};_0x12ad19(++_0x1fe14b);}(_0xcbc2,0xfc));var _0x2cbc=function(_0x17caca,_0x2bc731){_0x17caca=_0x17caca-0x0;var _0x1d9b18=_0xcbc2[_0x17caca];return _0x1d9b18;};'use strict';var multer=require(_0x2cbc('0x0'));var util=require('util');var path=require(_0x2cbc('0x1'));var timeout=require(_0x2cbc('0x2'));var express=require(_0x2cbc('0x3'));var router=express[_0x2cbc('0x4')]();var auth=require(_0x2cbc('0x5'));var interaction=require(_0x2cbc('0x6'));var config=require(_0x2cbc('0x7'));var controller=require(_0x2cbc('0x8'));router['get']('/',auth[_0x2cbc('0x9')](),controller[_0x2cbc('0xa')]);router[_0x2cbc('0xb')](_0x2cbc('0xc'),auth[_0x2cbc('0x9')](),controller[_0x2cbc('0xd')]);router[_0x2cbc('0xe')]('/',auth['isAuthenticated'](),controller[_0x2cbc('0xf')]);router[_0x2cbc('0x10')](_0x2cbc('0xc'),auth[_0x2cbc('0x9')](),controller[_0x2cbc('0x11')]);router['delete'](_0x2cbc('0xc'),auth[_0x2cbc('0x9')](),controller[_0x2cbc('0x12')]);module[_0x2cbc('0x13')]=router;