Built motion from commit 2b9af5da.|2.6.26
[motion2.git] / server / api / mailInteraction / index.js
index ab26c33..5cc49f7 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7b5b=['tracked','mail','mailinteraction:addtags','addTags','mailinteraction:update','update','delete','mailinteraction:destroy','express','Router','../../components/interaction/service','./mailInteraction.controller','get','/describe','isAuthenticated','/:id','/:id/messages','getMessages','/:id/download','download','post','create','addMessage','/:id/tags'];(function(_0x127155,_0x1ee347){var _0x3d99bf=function(_0x22bc2d){while(--_0x22bc2d){_0x127155['push'](_0x127155['shift']());}};_0x3d99bf(++_0x1ee347);}(_0x7b5b,0xc8));var _0xb7b5=function(_0x5484c1,_0x340530){_0x5484c1=_0x5484c1-0x0;var _0x587e5b=_0x7b5b[_0x5484c1];return _0x587e5b;};'use strict';var express=require(_0xb7b5('0x0'));var router=express[_0xb7b5('0x1')]();var auth=require('../../components/auth/service');var interaction=require(_0xb7b5('0x2'));var controller=require(_0xb7b5('0x3'));router[_0xb7b5('0x4')]('/',auth['isAuthenticated'](),controller['index']);router[_0xb7b5('0x4')](_0xb7b5('0x5'),auth[_0xb7b5('0x6')](),controller['describe']);router[_0xb7b5('0x4')](_0xb7b5('0x7'),auth[_0xb7b5('0x6')](),controller['show']);router[_0xb7b5('0x4')](_0xb7b5('0x8'),auth[_0xb7b5('0x6')](),controller[_0xb7b5('0x9')]);router['get'](_0xb7b5('0xa'),auth[_0xb7b5('0x6')](),controller[_0xb7b5('0xb')]);router[_0xb7b5('0xc')]('/',auth[_0xb7b5('0x6')](),controller[_0xb7b5('0xd')]);router[_0xb7b5('0xc')]('/:id/messages',auth['isAuthenticated'](),controller[_0xb7b5('0xe')]);router['post'](_0xb7b5('0xf'),auth[_0xb7b5('0x6')](),interaction[_0xb7b5('0x10')](_0xb7b5('0x11'),_0xb7b5('0x12')),controller[_0xb7b5('0x13')]);router['put'](_0xb7b5('0x7'),auth['isAuthenticated'](),interaction['tracked']('mail',_0xb7b5('0x14')),controller[_0xb7b5('0x15')]);router[_0xb7b5('0x16')](_0xb7b5('0x7'),auth['isAuthenticated'](),interaction[_0xb7b5('0x10')](_0xb7b5('0x11'),_0xb7b5('0x17')),controller['destroy']);router['delete'](_0xb7b5('0xf'),auth['isAuthenticated'](),controller['removeTags']);module['exports']=router;
\ No newline at end of file
+var _0x1c2f=['Router','./mailInteraction.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/messages','getMessages','download','post','create','addMessage','/:id/tags','mail','addTags','put','tracked','mailinteraction:update','update','delete','mailinteraction:destroy','destroy','removeTags','exports'];(function(_0xd4b99b,_0x21cb1a){var _0x42ce2b=function(_0x4b6228){while(--_0x4b6228){_0xd4b99b['push'](_0xd4b99b['shift']());}};_0x42ce2b(++_0x21cb1a);}(_0x1c2f,0x195));var _0xf1c2=function(_0x53a0d4,_0x2691f9){_0x53a0d4=_0x53a0d4-0x0;var _0x46c9d8=_0x1c2f[_0x53a0d4];return _0x46c9d8;};'use strict';var express=require('express');var router=express[_0xf1c2('0x0')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var controller=require(_0xf1c2('0x1'));router[_0xf1c2('0x2')]('/',auth[_0xf1c2('0x3')](),controller[_0xf1c2('0x4')]);router[_0xf1c2('0x2')](_0xf1c2('0x5'),auth[_0xf1c2('0x3')](),controller[_0xf1c2('0x6')]);router['get'](_0xf1c2('0x7'),auth[_0xf1c2('0x3')](),controller[_0xf1c2('0x8')]);router['get'](_0xf1c2('0x9'),auth[_0xf1c2('0x3')](),controller[_0xf1c2('0xa')]);router[_0xf1c2('0x2')]('/:id/download',auth[_0xf1c2('0x3')](),controller[_0xf1c2('0xb')]);router[_0xf1c2('0xc')]('/',auth[_0xf1c2('0x3')](),controller[_0xf1c2('0xd')]);router[_0xf1c2('0xc')]('/:id/messages',auth[_0xf1c2('0x3')](),controller[_0xf1c2('0xe')]);router[_0xf1c2('0xc')](_0xf1c2('0xf'),auth['isAuthenticated'](),interaction['tracked'](_0xf1c2('0x10'),'mailinteraction:addtags'),controller[_0xf1c2('0x11')]);router[_0xf1c2('0x12')](_0xf1c2('0x7'),auth[_0xf1c2('0x3')](),interaction[_0xf1c2('0x13')]('mail',_0xf1c2('0x14')),controller[_0xf1c2('0x15')]);router[_0xf1c2('0x16')]('/:id',auth['isAuthenticated'](),interaction[_0xf1c2('0x13')]('mail',_0xf1c2('0x17')),controller[_0xf1c2('0x18')]);router[_0xf1c2('0x16')](_0xf1c2('0xf'),auth[_0xf1c2('0x3')](),controller[_0xf1c2('0x19')]);module[_0xf1c2('0x1a')]=router;
\ No newline at end of file