Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / faxMessage / index.js
index e944b39..c61a424 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x76dc=['path','connect-timeout','Router','fs-extra','../../components/interaction/service','get','isAuthenticated','index','describe','show','post','tracked','fax','faxmessage:create','create','put','/:id','update','/:id/accept','accept','/:id/reject','delete','destroy','multer','util'];(function(_0x14c3f2,_0xce04b2){var _0x32e760=function(_0x4a55e2){while(--_0x4a55e2){_0x14c3f2['push'](_0x14c3f2['shift']());}};_0x32e760(++_0xce04b2);}(_0x76dc,0x1f2));var _0xc76d=function(_0x3a2382,_0x65be0d){_0x3a2382=_0x3a2382-0x0;var _0x5f0297=_0x76dc[_0x3a2382];return _0x5f0297;};'use strict';var multer=require(_0xc76d('0x0'));var util=require(_0xc76d('0x1'));var path=require(_0xc76d('0x2'));var timeout=require(_0xc76d('0x3'));var express=require('express');var router=express[_0xc76d('0x4')]();var fs_extra=require(_0xc76d('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xc76d('0x6'));var config=require('../../config/environment');var controller=require('./faxMessage.controller');router[_0xc76d('0x7')]('/',auth[_0xc76d('0x8')](),controller[_0xc76d('0x9')]);router['get']('/describe',auth[_0xc76d('0x8')](),controller[_0xc76d('0xa')]);router[_0xc76d('0x7')]('/:id',auth['isAuthenticated'](),controller[_0xc76d('0xb')]);router[_0xc76d('0x7')]('/:id/download',auth[_0xc76d('0x8')](),controller['download']);router[_0xc76d('0xc')]('/',auth[_0xc76d('0x8')](),interaction[_0xc76d('0xd')](_0xc76d('0xe'),_0xc76d('0xf')),controller[_0xc76d('0x10')]);router[_0xc76d('0x11')](_0xc76d('0x12'),auth[_0xc76d('0x8')](),controller[_0xc76d('0x13')]);router[_0xc76d('0x11')](_0xc76d('0x14'),auth[_0xc76d('0x8')](),controller[_0xc76d('0x15')]);router['put'](_0xc76d('0x16'),auth[_0xc76d('0x8')](),controller['reject']);router[_0xc76d('0x17')](_0xc76d('0x12'),auth[_0xc76d('0x8')](),controller[_0xc76d('0x18')]);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(_0x130af1,_0x5ec669){var _0x51e977=function(_0x20a5f9){while(--_0x20a5f9){_0x130af1['push'](_0x130af1['shift']());}};_0x51e977(++_0x5ec669);}(_0xf72b,0x1d9));var _0xbf72=function(_0x42e97f,_0x9fe760){_0x42e97f=_0x42e97f-0x0;var _0x3a8d6b=_0xf72b[_0x42e97f];return _0x3a8d6b;};'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