Built motion from commit 26159a51.|2.5.44
[motion2.git] / server / api / faxInteraction / index.js
index 8dffd4a..7a910c3 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfcb4=['fax','faxinteraction:update','faxinteraction:destroy','destroy','delete','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','describe','/:id','/:id/messages','getMessages','/:id/download','download','post','create','addMessage','/:id/tags','tracked','faxinteraction:addtags','addTags','put'];(function(_0x3a1e53,_0x18ecab){var _0x55b2e5=function(_0x26983d){while(--_0x26983d){_0x3a1e53['push'](_0x3a1e53['shift']());}};_0x55b2e5(++_0x18ecab);}(_0xfcb4,0x1d5));var _0x4fcb=function(_0x465028,_0x4570ac){_0x465028=_0x465028-0x0;var _0xb783d4=_0xfcb4[_0x465028];return _0xb783d4;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x4fcb('0x0'));var timeout=require('connect-timeout');var express=require(_0x4fcb('0x1'));var router=express[_0x4fcb('0x2')]();var fs_extra=require(_0x4fcb('0x3'));var auth=require(_0x4fcb('0x4'));var interaction=require(_0x4fcb('0x5'));var config=require(_0x4fcb('0x6'));var controller=require('./faxInteraction.controller');router[_0x4fcb('0x7')]('/',auth[_0x4fcb('0x8')](),controller[_0x4fcb('0x9')]);router[_0x4fcb('0x7')]('/describe',auth['isAuthenticated'](),controller[_0x4fcb('0xa')]);router[_0x4fcb('0x7')](_0x4fcb('0xb'),auth[_0x4fcb('0x8')](),controller['show']);router[_0x4fcb('0x7')](_0x4fcb('0xc'),auth[_0x4fcb('0x8')](),controller[_0x4fcb('0xd')]);router[_0x4fcb('0x7')](_0x4fcb('0xe'),auth[_0x4fcb('0x8')](),controller[_0x4fcb('0xf')]);router[_0x4fcb('0x10')]('/',auth[_0x4fcb('0x8')](),controller[_0x4fcb('0x11')]);router[_0x4fcb('0x10')](_0x4fcb('0xc'),auth[_0x4fcb('0x8')](),controller[_0x4fcb('0x12')]);router[_0x4fcb('0x10')](_0x4fcb('0x13'),auth[_0x4fcb('0x8')](),interaction[_0x4fcb('0x14')]('fax',_0x4fcb('0x15')),controller[_0x4fcb('0x16')]);router[_0x4fcb('0x17')](_0x4fcb('0xb'),auth[_0x4fcb('0x8')](),interaction[_0x4fcb('0x14')](_0x4fcb('0x18'),_0x4fcb('0x19')),controller['update']);router['delete'](_0x4fcb('0xb'),auth[_0x4fcb('0x8')](),interaction['tracked'](_0x4fcb('0x18'),_0x4fcb('0x1a')),controller[_0x4fcb('0x1b')]);router[_0x4fcb('0x1c')]('/:id/tags',auth[_0x4fcb('0x8')](),controller['removeTags']);module['exports']=router;
\ No newline at end of file
+var _0x619f=['get','/describe','isAuthenticated','describe','/:id','show','/:id/messages','/:id/download','post','create','addMessage','/:id/tags','tracked','put','faxinteraction:update','update','fax','delete','multer','util','path','express','fs-extra','../../components/auth/service','../../components/interaction/service','./faxInteraction.controller'];(function(_0x133ee2,_0x1365ff){var _0x28e86f=function(_0x162938){while(--_0x162938){_0x133ee2['push'](_0x133ee2['shift']());}};_0x28e86f(++_0x1365ff);}(_0x619f,0x14a));var _0xf619=function(_0x5151b4,_0x92bca5){_0x5151b4=_0x5151b4-0x0;var _0xe06c99=_0x619f[_0x5151b4];return _0xe06c99;};'use strict';var multer=require(_0xf619('0x0'));var util=require(_0xf619('0x1'));var path=require(_0xf619('0x2'));var timeout=require('connect-timeout');var express=require(_0xf619('0x3'));var router=express['Router']();var fs_extra=require(_0xf619('0x4'));var auth=require(_0xf619('0x5'));var interaction=require(_0xf619('0x6'));var config=require('../../config/environment');var controller=require(_0xf619('0x7'));router[_0xf619('0x8')]('/',auth['isAuthenticated'](),controller['index']);router[_0xf619('0x8')](_0xf619('0x9'),auth[_0xf619('0xa')](),controller[_0xf619('0xb')]);router[_0xf619('0x8')](_0xf619('0xc'),auth[_0xf619('0xa')](),controller[_0xf619('0xd')]);router['get'](_0xf619('0xe'),auth[_0xf619('0xa')](),controller['getMessages']);router[_0xf619('0x8')](_0xf619('0xf'),auth['isAuthenticated'](),controller['download']);router[_0xf619('0x10')]('/',auth[_0xf619('0xa')](),controller[_0xf619('0x11')]);router['post'](_0xf619('0xe'),auth[_0xf619('0xa')](),controller[_0xf619('0x12')]);router[_0xf619('0x10')](_0xf619('0x13'),auth['isAuthenticated'](),interaction[_0xf619('0x14')]('fax','faxinteraction:addtags'),controller['addTags']);router[_0xf619('0x15')](_0xf619('0xc'),auth[_0xf619('0xa')](),interaction['tracked']('fax',_0xf619('0x16')),controller[_0xf619('0x17')]);router['delete']('/:id',auth['isAuthenticated'](),interaction[_0xf619('0x14')](_0xf619('0x18'),'faxinteraction:destroy'),controller['destroy']);router[_0xf619('0x19')]('/:id/tags',auth[_0xf619('0xa')](),controller['removeTags']);module['exports']=router;
\ No newline at end of file