Built motion from commit (unavailable).|2.4.17
[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 _0x2750=['multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailApplication.controller','get','/:id','show','put','isAuthenticated','delete'];(function(_0x112fe3,_0x16b642){var _0x1ec903=function(_0x1539eb){while(--_0x1539eb){_0x112fe3['push'](_0x112fe3['shift']());}};_0x1ec903(++_0x16b642);}(_0x2750,0x13b));var _0x0275=function(_0x1798f3,_0x40fee7){_0x1798f3=_0x1798f3-0x0;var _0x5496d7=_0x2750[_0x1798f3];return _0x5496d7;};'use strict';var multer=require(_0x0275('0x0'));var util=require('util');var path=require(_0x0275('0x1'));var timeout=require(_0x0275('0x2'));var express=require(_0x0275('0x3'));var router=express[_0x0275('0x4')]();var auth=require(_0x0275('0x5'));var interaction=require(_0x0275('0x6'));var config=require(_0x0275('0x7'));var controller=require(_0x0275('0x8'));router[_0x0275('0x9')](_0x0275('0xa'),auth['isAuthenticated'](),controller[_0x0275('0xb')]);router[_0x0275('0xc')](_0x0275('0xa'),auth[_0x0275('0xd')](),controller['update']);router[_0x0275('0xe')](_0x0275('0xa'),auth[_0x0275('0xd')](),controller['destroy']);module['exports']=router;