Built motion from commit (unavailable).|2.5.11
[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 _0x005f=['connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./mailServerOut.controller','get','isAuthenticated','index','show','post','create','put','/:id','update','delete','destroy','multer','path'];(function(_0x96d59a,_0x87df53){var _0x920118=function(_0x83c189){while(--_0x83c189){_0x96d59a['push'](_0x96d59a['shift']());}};_0x920118(++_0x87df53);}(_0x005f,0x1d9));var _0xf005=function(_0x174e20,_0x95186c){_0x174e20=_0x174e20-0x0;var _0x4bf624=_0x005f[_0x174e20];return _0x4bf624;};'use strict';var multer=require(_0xf005('0x0'));var util=require('util');var path=require(_0xf005('0x1'));var timeout=require(_0xf005('0x2'));var express=require(_0xf005('0x3'));var router=express[_0xf005('0x4')]();var auth=require(_0xf005('0x5'));var interaction=require(_0xf005('0x6'));var config=require('../../config/environment');var controller=require(_0xf005('0x7'));router[_0xf005('0x8')]('/',auth[_0xf005('0x9')](),controller[_0xf005('0xa')]);router[_0xf005('0x8')]('/:id',auth[_0xf005('0x9')](),controller[_0xf005('0xb')]);router[_0xf005('0xc')]('/',auth['isAuthenticated'](),controller[_0xf005('0xd')]);router[_0xf005('0xe')](_0xf005('0xf'),auth[_0xf005('0x9')](),controller[_0xf005('0x10')]);router[_0xf005('0x11')](_0xf005('0xf'),auth[_0xf005('0x9')](),controller[_0xf005('0x12')]);module['exports']=router;