Built motion from commit e6806ed6.|2.6.0
[motion2.git] / server / api / faxMessage / index.js
index 7400edc..a4309a7 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x74b1=['post','tracked','fax','faxmessage:create','create','put','/:id','update','/:id/accept','accept','/:id/reject','reject','destroy','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','isAuthenticated','index','get','describe','download'];(function(_0x241d0d,_0x4970c6){var _0x191b8f=function(_0x28942f){while(--_0x28942f){_0x241d0d['push'](_0x241d0d['shift']());}};_0x191b8f(++_0x4970c6);}(_0x74b1,0xb5));var _0x174b=function(_0x127c7b,_0x1f65e7){_0x127c7b=_0x127c7b-0x0;var _0x1708eb=_0x74b1[_0x127c7b];return _0x1708eb;};'use strict';var multer=require(_0x174b('0x0'));var util=require(_0x174b('0x1'));var path=require('path');var timeout=require(_0x174b('0x2'));var express=require(_0x174b('0x3'));var router=express['Router']();var auth=require(_0x174b('0x4'));var interaction=require(_0x174b('0x5'));var config=require('../../config/environment');var controller=require('./faxMessage.controller');router['get']('/',auth[_0x174b('0x6')](),controller[_0x174b('0x7')]);router[_0x174b('0x8')]('/describe',auth[_0x174b('0x6')](),controller[_0x174b('0x9')]);router['get']('/:id',auth[_0x174b('0x6')](),controller['show']);router[_0x174b('0x8')]('/:id/download',auth['isAuthenticated'](),controller[_0x174b('0xa')]);router[_0x174b('0xb')]('/',auth[_0x174b('0x6')](),interaction[_0x174b('0xc')](_0x174b('0xd'),_0x174b('0xe')),controller[_0x174b('0xf')]);router[_0x174b('0x10')](_0x174b('0x11'),auth['isAuthenticated'](),controller[_0x174b('0x12')]);router[_0x174b('0x10')](_0x174b('0x13'),auth[_0x174b('0x6')](),controller[_0x174b('0x14')]);router[_0x174b('0x10')](_0x174b('0x15'),auth[_0x174b('0x6')](),controller[_0x174b('0x16')]);router['delete'](_0x174b('0x11'),auth[_0x174b('0x6')](),controller[_0x174b('0x17')]);module['exports']=router;
\ No newline at end of file
+var _0xf72b=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxMessage.controller','get','isAuthenticated','/describe','describe','/:id','show','/:id/download','post','tracked','fax','faxmessage:create','create','put','update','/:id/accept','accept','reject','delete','destroy','exports','multer','path','express'];(function(_0x25fd85,_0x47db9f){var _0x2efb3f=function(_0x547f3d){while(--_0x547f3d){_0x25fd85['push'](_0x25fd85['shift']());}};_0x2efb3f(++_0x47db9f);}(_0xf72b,0x1d9));var _0xbf72=function(_0x7edb52,_0x348ad5){_0x7edb52=_0x7edb52-0x0;var _0x549a0e=_0xf72b[_0x7edb52];return _0x549a0e;};'use strict';var multer=require(_0xbf72('0x0'));var util=require('util');var path=require(_0xbf72('0x1'));var timeout=require('connect-timeout');var express=require(_0xbf72('0x2'));var router=express[_0xbf72('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xbf72('0x4'));var interaction=require(_0xbf72('0x5'));var config=require(_0xbf72('0x6'));var controller=require(_0xbf72('0x7'));router[_0xbf72('0x8')]('/',auth[_0xbf72('0x9')](),controller['index']);router[_0xbf72('0x8')](_0xbf72('0xa'),auth[_0xbf72('0x9')](),controller[_0xbf72('0xb')]);router[_0xbf72('0x8')](_0xbf72('0xc'),auth['isAuthenticated'](),controller[_0xbf72('0xd')]);router['get'](_0xbf72('0xe'),auth[_0xbf72('0x9')](),controller['download']);router[_0xbf72('0xf')]('/',auth[_0xbf72('0x9')](),interaction[_0xbf72('0x10')](_0xbf72('0x11'),_0xbf72('0x12')),controller[_0xbf72('0x13')]);router[_0xbf72('0x14')](_0xbf72('0xc'),auth['isAuthenticated'](),controller[_0xbf72('0x15')]);router[_0xbf72('0x14')](_0xbf72('0x16'),auth['isAuthenticated'](),controller[_0xbf72('0x17')]);router['put']('/:id/reject',auth['isAuthenticated'](),controller[_0xbf72('0x18')]);router[_0xbf72('0x19')](_0xbf72('0xc'),auth[_0xbf72('0x9')](),controller[_0xbf72('0x1a')]);module[_0xbf72('0x1b')]=router;
\ No newline at end of file