Built motion from commit (unavailable).|2.5.9
[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 _0x8662=['get','isAuthenticated','index','show','post','create','put','/:id','update','delete','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./mailServerOut.controller'];(function(_0x98fc5c,_0x4f5dcf){var _0x3d4bd5=function(_0x45198b){while(--_0x45198b){_0x98fc5c['push'](_0x98fc5c['shift']());}};_0x3d4bd5(++_0x4f5dcf);}(_0x8662,0x102));var _0x2866=function(_0x142e6c,_0x1c93c5){_0x142e6c=_0x142e6c-0x0;var _0x669e6b=_0x8662[_0x142e6c];return _0x669e6b;};'use strict';var multer=require(_0x2866('0x0'));var util=require(_0x2866('0x1'));var path=require('path');var timeout=require(_0x2866('0x2'));var express=require(_0x2866('0x3'));var router=express[_0x2866('0x4')]();var auth=require(_0x2866('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x2866('0x6'));var controller=require(_0x2866('0x7'));router[_0x2866('0x8')]('/',auth[_0x2866('0x9')](),controller[_0x2866('0xa')]);router[_0x2866('0x8')]('/:id',auth[_0x2866('0x9')](),controller[_0x2866('0xb')]);router[_0x2866('0xc')]('/',auth[_0x2866('0x9')](),controller[_0x2866('0xd')]);router[_0x2866('0xe')](_0x2866('0xf'),auth[_0x2866('0x9')](),controller[_0x2866('0x10')]);router[_0x2866('0x11')](_0x2866('0xf'),auth[_0x2866('0x9')](),controller['destroy']);module[_0x2866('0x12')]=router;