Built motion from commit 85328c08.|2.5.50
[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 _0xffff=['multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./mailApplication.controller','get','/:id','isAuthenticated','show','put','update','delete','destroy','exports'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0xffff,0x10a));var _0xffff=function(_0xeea203,_0x3ef746){_0xeea203=_0xeea203-0x0;var _0x443429=_0xffff[_0xeea203];return _0x443429;};'use strict';var multer=require(_0xffff('0x0'));var util=require(_0xffff('0x1'));var path=require(_0xffff('0x2'));var timeout=require(_0xffff('0x3'));var express=require(_0xffff('0x4'));var router=express[_0xffff('0x5')]();var fs_extra=require(_0xffff('0x6'));var auth=require(_0xffff('0x7'));var interaction=require(_0xffff('0x8'));var config=require('../../config/environment');var controller=require(_0xffff('0x9'));router[_0xffff('0xa')](_0xffff('0xb'),auth[_0xffff('0xc')](),controller[_0xffff('0xd')]);router[_0xffff('0xe')](_0xffff('0xb'),auth[_0xffff('0xc')](),controller[_0xffff('0xf')]);router[_0xffff('0x10')](_0xffff('0xb'),auth[_0xffff('0xc')](),controller[_0xffff('0x11')]);module[_0xffff('0x12')]=router;