Built motion from commit b5413ace.|2.6.9
[motion2.git] / server / api / faxInteraction / index.js
index 7e9214c..7e1d760 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5b45=['put','fax','update','faxinteraction:destroy','delete','removeTags','multer','util','path','connect-timeout','express','Router','../../config/environment','./faxInteraction.controller','isAuthenticated','get','/describe','describe','/:id','show','/:id/messages','getMessages','download','post','addMessage','faxinteraction:addtags','addTags'];(function(_0x4e3932,_0x2f7e21){var _0x551655=function(_0xc0e25c){while(--_0xc0e25c){_0x4e3932['push'](_0x4e3932['shift']());}};_0x551655(++_0x2f7e21);}(_0x5b45,0x114));var _0x55b4=function(_0x53b133,_0x176261){_0x53b133=_0x53b133-0x0;var _0x5647e0=_0x5b45[_0x53b133];return _0x5647e0;};'use strict';var multer=require(_0x55b4('0x0'));var util=require(_0x55b4('0x1'));var path=require(_0x55b4('0x2'));var timeout=require(_0x55b4('0x3'));var express=require(_0x55b4('0x4'));var router=express[_0x55b4('0x5')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x55b4('0x6'));var controller=require(_0x55b4('0x7'));router['get']('/',auth[_0x55b4('0x8')](),controller['index']);router[_0x55b4('0x9')](_0x55b4('0xa'),auth[_0x55b4('0x8')](),controller[_0x55b4('0xb')]);router[_0x55b4('0x9')](_0x55b4('0xc'),auth[_0x55b4('0x8')](),controller[_0x55b4('0xd')]);router[_0x55b4('0x9')](_0x55b4('0xe'),auth['isAuthenticated'](),controller[_0x55b4('0xf')]);router[_0x55b4('0x9')]('/:id/download',auth[_0x55b4('0x8')](),controller[_0x55b4('0x10')]);router['post']('/',auth[_0x55b4('0x8')](),controller['create']);router[_0x55b4('0x11')]('/:id/messages',auth[_0x55b4('0x8')](),controller[_0x55b4('0x12')]);router[_0x55b4('0x11')]('/:id/tags',auth['isAuthenticated'](),interaction['tracked']('fax',_0x55b4('0x13')),controller[_0x55b4('0x14')]);router[_0x55b4('0x15')](_0x55b4('0xc'),auth['isAuthenticated'](),interaction['tracked'](_0x55b4('0x16'),'faxinteraction:update'),controller[_0x55b4('0x17')]);router['delete'](_0x55b4('0xc'),auth['isAuthenticated'](),interaction['tracked'](_0x55b4('0x16'),_0x55b4('0x18')),controller['destroy']);router[_0x55b4('0x19')]('/:id/tags',auth['isAuthenticated'](),controller[_0x55b4('0x1a')]);module['exports']=router;
\ No newline at end of file
+var _0x9fbb=['getMessages','/:id/download','post','create','/:id/messages','addMessage','/:id/tags','fax','faxinteraction:addtags','addTags','put','delete','faxinteraction:destroy','destroy','exports','multer','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxInteraction.controller','get','index','describe','/:id','isAuthenticated'];(function(_0x277cf4,_0x288ad3){var _0x13ef6d=function(_0x46c747){while(--_0x46c747){_0x277cf4['push'](_0x277cf4['shift']());}};_0x13ef6d(++_0x288ad3);}(_0x9fbb,0x1eb));var _0xb9fb=function(_0x4ec3bc,_0x588a4a){_0x4ec3bc=_0x4ec3bc-0x0;var _0x15a3c4=_0x9fbb[_0x4ec3bc];return _0x15a3c4;};'use strict';var multer=require(_0xb9fb('0x0'));var util=require('util');var path=require(_0xb9fb('0x1'));var timeout=require('connect-timeout');var express=require(_0xb9fb('0x2'));var router=express[_0xb9fb('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xb9fb('0x4'));var interaction=require(_0xb9fb('0x5'));var config=require(_0xb9fb('0x6'));var controller=require(_0xb9fb('0x7'));router[_0xb9fb('0x8')]('/',auth['isAuthenticated'](),controller[_0xb9fb('0x9')]);router[_0xb9fb('0x8')]('/describe',auth['isAuthenticated'](),controller[_0xb9fb('0xa')]);router['get'](_0xb9fb('0xb'),auth[_0xb9fb('0xc')](),controller['show']);router[_0xb9fb('0x8')]('/:id/messages',auth[_0xb9fb('0xc')](),controller[_0xb9fb('0xd')]);router['get'](_0xb9fb('0xe'),auth[_0xb9fb('0xc')](),controller['download']);router[_0xb9fb('0xf')]('/',auth[_0xb9fb('0xc')](),controller[_0xb9fb('0x10')]);router[_0xb9fb('0xf')](_0xb9fb('0x11'),auth[_0xb9fb('0xc')](),controller[_0xb9fb('0x12')]);router[_0xb9fb('0xf')](_0xb9fb('0x13'),auth[_0xb9fb('0xc')](),interaction['tracked'](_0xb9fb('0x14'),_0xb9fb('0x15')),controller[_0xb9fb('0x16')]);router[_0xb9fb('0x17')]('/:id',auth[_0xb9fb('0xc')](),interaction['tracked']('fax','faxinteraction:update'),controller['update']);router[_0xb9fb('0x18')](_0xb9fb('0xb'),auth['isAuthenticated'](),interaction['tracked'](_0xb9fb('0x14'),_0xb9fb('0x19')),controller[_0xb9fb('0x1a')]);router[_0xb9fb('0x18')](_0xb9fb('0x13'),auth[_0xb9fb('0xc')](),controller['removeTags']);module[_0xb9fb('0x1b')]=router;
\ No newline at end of file