Built motion from commit (unavailable).|2.5.4
[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 _0x153f=['isAuthenticated','show','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','get','/:id'];(function(_0x2b7f1b,_0x387f51){var _0x170e50=function(_0x49a024){while(--_0x49a024){_0x2b7f1b['push'](_0x2b7f1b['shift']());}};_0x170e50(++_0x387f51);}(_0x153f,0x15b));var _0xf153=function(_0x31294d,_0x402504){_0x31294d=_0x31294d-0x0;var _0x5ed716=_0x153f[_0x31294d];return _0x5ed716;};'use strict';var multer=require(_0xf153('0x0'));var util=require(_0xf153('0x1'));var path=require(_0xf153('0x2'));var timeout=require(_0xf153('0x3'));var express=require(_0xf153('0x4'));var router=express[_0xf153('0x5')]();var auth=require(_0xf153('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xf153('0x7'));var controller=require('./mailApplication.controller');router[_0xf153('0x8')](_0xf153('0x9'),auth[_0xf153('0xa')](),controller[_0xf153('0xb')]);router[_0xf153('0xc')]('/:id',auth[_0xf153('0xa')](),controller[_0xf153('0xd')]);router[_0xf153('0xe')](_0xf153('0x9'),auth[_0xf153('0xa')](),controller[_0xf153('0xf')]);module[_0xf153('0x10')]=router;