Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / mailInteraction / index.js
index a902329..fa03a0f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf507=['/:id','mail','mailinteraction:update','update','delete','removeTags','exports','express','../../components/auth/service','../../components/interaction/service','./mailInteraction.controller','get','isAuthenticated','/describe','describe','show','/:id/messages','/:id/download','post','addMessage','/:id/tags','tracked','mailinteraction:addtags','addTags','put'];(function(_0x460909,_0x4198df){var _0x217900=function(_0xc174c9){while(--_0xc174c9){_0x460909['push'](_0x460909['shift']());}};_0x217900(++_0x4198df);}(_0xf507,0x101));var _0x7f50=function(_0x3327e2,_0x251554){_0x3327e2=_0x3327e2-0x0;var _0x59fb5c=_0xf507[_0x3327e2];return _0x59fb5c;};'use strict';var express=require(_0x7f50('0x0'));var router=express['Router']();var auth=require(_0x7f50('0x1'));var interaction=require(_0x7f50('0x2'));var controller=require(_0x7f50('0x3'));router[_0x7f50('0x4')]('/',auth[_0x7f50('0x5')](),controller['index']);router[_0x7f50('0x4')](_0x7f50('0x6'),auth[_0x7f50('0x5')](),controller[_0x7f50('0x7')]);router['get']('/:id',auth[_0x7f50('0x5')](),controller[_0x7f50('0x8')]);router[_0x7f50('0x4')](_0x7f50('0x9'),auth[_0x7f50('0x5')](),controller['getMessages']);router['get'](_0x7f50('0xa'),auth[_0x7f50('0x5')](),controller['download']);router['post']('/',auth[_0x7f50('0x5')](),controller['create']);router[_0x7f50('0xb')](_0x7f50('0x9'),auth[_0x7f50('0x5')](),controller[_0x7f50('0xc')]);router[_0x7f50('0xb')](_0x7f50('0xd'),auth[_0x7f50('0x5')](),interaction[_0x7f50('0xe')]('mail',_0x7f50('0xf')),controller[_0x7f50('0x10')]);router[_0x7f50('0x11')](_0x7f50('0x12'),auth[_0x7f50('0x5')](),interaction['tracked'](_0x7f50('0x13'),_0x7f50('0x14')),controller[_0x7f50('0x15')]);router[_0x7f50('0x16')](_0x7f50('0x12'),auth[_0x7f50('0x5')](),interaction['tracked'](_0x7f50('0x13'),'mailinteraction:destroy'),controller['destroy']);router['delete']('/:id/tags',auth[_0x7f50('0x5')](),controller[_0x7f50('0x17')]);module[_0x7f50('0x18')]=router;
\ No newline at end of file
+var _0x56bd=['update','delete','tracked','mailinteraction:destroy','destroy','removeTags','express','Router','../../components/auth/service','../../components/interaction/service','./mailInteraction.controller','isAuthenticated','index','get','/describe','describe','/:id','show','/:id/messages','getMessages','download','post','create','addMessage','/:id/tags','mail','mailinteraction:addtags','addTags','put'];(function(_0x53dfa3,_0x1d4132){var _0x44dd97=function(_0x4d08fd){while(--_0x4d08fd){_0x53dfa3['push'](_0x53dfa3['shift']());}};_0x44dd97(++_0x1d4132);}(_0x56bd,0x1f3));var _0xd56b=function(_0x1df3ea,_0x421b66){_0x1df3ea=_0x1df3ea-0x0;var _0x2f1d1c=_0x56bd[_0x1df3ea];return _0x2f1d1c;};'use strict';var express=require(_0xd56b('0x0'));var router=express[_0xd56b('0x1')]();var auth=require(_0xd56b('0x2'));var interaction=require(_0xd56b('0x3'));var controller=require(_0xd56b('0x4'));router['get']('/',auth[_0xd56b('0x5')](),controller[_0xd56b('0x6')]);router[_0xd56b('0x7')](_0xd56b('0x8'),auth['isAuthenticated'](),controller[_0xd56b('0x9')]);router[_0xd56b('0x7')](_0xd56b('0xa'),auth[_0xd56b('0x5')](),controller[_0xd56b('0xb')]);router[_0xd56b('0x7')](_0xd56b('0xc'),auth[_0xd56b('0x5')](),controller[_0xd56b('0xd')]);router['get']('/:id/download',auth['isAuthenticated'](),controller[_0xd56b('0xe')]);router[_0xd56b('0xf')]('/',auth[_0xd56b('0x5')](),controller[_0xd56b('0x10')]);router['post'](_0xd56b('0xc'),auth[_0xd56b('0x5')](),controller[_0xd56b('0x11')]);router[_0xd56b('0xf')](_0xd56b('0x12'),auth[_0xd56b('0x5')](),interaction['tracked'](_0xd56b('0x13'),_0xd56b('0x14')),controller[_0xd56b('0x15')]);router[_0xd56b('0x16')](_0xd56b('0xa'),auth[_0xd56b('0x5')](),interaction['tracked'](_0xd56b('0x13'),'mailinteraction:update'),controller[_0xd56b('0x17')]);router[_0xd56b('0x18')](_0xd56b('0xa'),auth[_0xd56b('0x5')](),interaction[_0xd56b('0x19')]('mail',_0xd56b('0x1a')),controller[_0xd56b('0x1b')]);router[_0xd56b('0x18')]('/:id/tags',auth[_0xd56b('0x5')](),controller[_0xd56b('0x1c')]);module['exports']=router;
\ No newline at end of file