Built motion from commit fe909640.|2.6.8
[motion2.git] / server / api / mailApplication / 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 _0xc73a=['destroy','exports','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailApplication.controller','get','/:id','isAuthenticated','show','put','update','delete'];(function(_0x311c35,_0x534915){var _0x5cc50c=function(_0x3ad680){while(--_0x3ad680){_0x311c35['push'](_0x311c35['shift']());}};_0x5cc50c(++_0x534915);}(_0xc73a,0x6e));var _0xac73=function(_0x3597e0,_0x2cf71b){_0x3597e0=_0x3597e0-0x0;var _0x3f02cf=_0xc73a[_0x3597e0];return _0x3f02cf;};'use strict';var multer=require('multer');var util=require(_0xac73('0x0'));var path=require('path');var timeout=require(_0xac73('0x1'));var express=require(_0xac73('0x2'));var router=express[_0xac73('0x3')]();var fs_extra=require(_0xac73('0x4'));var auth=require(_0xac73('0x5'));var interaction=require(_0xac73('0x6'));var config=require(_0xac73('0x7'));var controller=require(_0xac73('0x8'));router[_0xac73('0x9')](_0xac73('0xa'),auth[_0xac73('0xb')](),controller[_0xac73('0xc')]);router[_0xac73('0xd')](_0xac73('0xa'),auth[_0xac73('0xb')](),controller[_0xac73('0xe')]);router[_0xac73('0xf')]('/:id',auth['isAuthenticated'](),controller[_0xac73('0x10')]);module[_0xac73('0x11')]=router;