Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / mailServerOut / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x4cbb=['post','isAuthenticated','create','put','update','delete','destroy','exports','multer','util','Router','./mailServerOut.controller','get','index','/:id','show'];(function(_0x1a24f8,_0xf25039){var _0x232269=function(_0x437b18){while(--_0x437b18){_0x1a24f8['push'](_0x1a24f8['shift']());}};_0x232269(++_0xf25039);}(_0x4cbb,0xc8));var _0xb4cb=function(_0x17c487,_0x2b72f1){_0x17c487=_0x17c487-0x0;var _0x3feeb8=_0x4cbb[_0x17c487];return _0x3feeb8;};'use strict';var multer=require(_0xb4cb('0x0'));var util=require(_0xb4cb('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xb4cb('0x2')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xb4cb('0x3'));router[_0xb4cb('0x4')]('/',auth['isAuthenticated'](),controller[_0xb4cb('0x5')]);router[_0xb4cb('0x4')](_0xb4cb('0x6'),auth['isAuthenticated'](),controller[_0xb4cb('0x7')]);router[_0xb4cb('0x8')]('/',auth[_0xb4cb('0x9')](),controller[_0xb4cb('0xa')]);router[_0xb4cb('0xb')]('/:id',auth['isAuthenticated'](),controller[_0xb4cb('0xc')]);router[_0xb4cb('0xd')](_0xb4cb('0x6'),auth['isAuthenticated'](),controller[_0xb4cb('0xe')]);module[_0xb4cb('0xf')]=router;