Built motion from commit 639a1a7f.|2.6.19
[motion2.git] / server / api / faxMessage / index.js
index b995cf3..fe0580f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa571=['download','post','tracked','fax','put','/:id/accept','accept','/:id/reject','reject','delete','multer','util','path','connect-timeout','Router','fs-extra','../../config/environment','get','isAuthenticated','index','/describe','/:id','/:id/download'];(function(_0x38b1ec,_0x465a5b){var _0x8cbe8f=function(_0x2a80c3){while(--_0x2a80c3){_0x38b1ec['push'](_0x38b1ec['shift']());}};_0x8cbe8f(++_0x465a5b);}(_0xa571,0x107));var _0x1a57=function(_0x53ef7c,_0x53e487){_0x53ef7c=_0x53ef7c-0x0;var _0x3f956a=_0xa571[_0x53ef7c];return _0x3f956a;};'use strict';var multer=require(_0x1a57('0x0'));var util=require(_0x1a57('0x1'));var path=require(_0x1a57('0x2'));var timeout=require(_0x1a57('0x3'));var express=require('express');var router=express[_0x1a57('0x4')]();var fs_extra=require(_0x1a57('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x1a57('0x6'));var controller=require('./faxMessage.controller');router[_0x1a57('0x7')]('/',auth[_0x1a57('0x8')](),controller[_0x1a57('0x9')]);router[_0x1a57('0x7')](_0x1a57('0xa'),auth[_0x1a57('0x8')](),controller['describe']);router[_0x1a57('0x7')](_0x1a57('0xb'),auth[_0x1a57('0x8')](),controller['show']);router[_0x1a57('0x7')](_0x1a57('0xc'),auth[_0x1a57('0x8')](),controller[_0x1a57('0xd')]);router[_0x1a57('0xe')]('/',auth[_0x1a57('0x8')](),interaction[_0x1a57('0xf')](_0x1a57('0x10'),'faxmessage:create'),controller['create']);router[_0x1a57('0x11')](_0x1a57('0xb'),auth[_0x1a57('0x8')](),controller['update']);router[_0x1a57('0x11')](_0x1a57('0x12'),auth['isAuthenticated'](),controller[_0x1a57('0x13')]);router['put'](_0x1a57('0x14'),auth[_0x1a57('0x8')](),controller[_0x1a57('0x15')]);router[_0x1a57('0x16')]('/:id',auth[_0x1a57('0x8')](),controller['destroy']);module['exports']=router;
\ No newline at end of file
+var _0xe5b5=['fax','update','put','/:id/accept','accept','/:id/reject','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxMessage.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','tracked'];(function(_0x2f64d8,_0x293825){var _0x14afaa=function(_0x1d08f8){while(--_0x1d08f8){_0x2f64d8['push'](_0x2f64d8['shift']());}};_0x14afaa(++_0x293825);}(_0xe5b5,0x12b));var _0x5e5b=function(_0x121b1a,_0x42fdb7){_0x121b1a=_0x121b1a-0x0;var _0x2d89a6=_0xe5b5[_0x121b1a];return _0x2d89a6;};'use strict';var multer=require(_0x5e5b('0x0'));var util=require(_0x5e5b('0x1'));var path=require(_0x5e5b('0x2'));var timeout=require(_0x5e5b('0x3'));var express=require(_0x5e5b('0x4'));var router=express[_0x5e5b('0x5')]();var fs_extra=require(_0x5e5b('0x6'));var auth=require(_0x5e5b('0x7'));var interaction=require(_0x5e5b('0x8'));var config=require(_0x5e5b('0x9'));var controller=require(_0x5e5b('0xa'));router[_0x5e5b('0xb')]('/',auth[_0x5e5b('0xc')](),controller[_0x5e5b('0xd')]);router[_0x5e5b('0xb')](_0x5e5b('0xe'),auth[_0x5e5b('0xc')](),controller[_0x5e5b('0xf')]);router[_0x5e5b('0xb')](_0x5e5b('0x10'),auth[_0x5e5b('0xc')](),controller[_0x5e5b('0x11')]);router[_0x5e5b('0xb')]('/:id/download',auth[_0x5e5b('0xc')](),controller['download']);router[_0x5e5b('0x12')]('/',auth[_0x5e5b('0xc')](),interaction[_0x5e5b('0x13')](_0x5e5b('0x14'),'faxmessage:create'),controller['create']);router['put'](_0x5e5b('0x10'),auth[_0x5e5b('0xc')](),controller[_0x5e5b('0x15')]);router[_0x5e5b('0x16')](_0x5e5b('0x17'),auth[_0x5e5b('0xc')](),controller[_0x5e5b('0x18')]);router['put'](_0x5e5b('0x19'),auth[_0x5e5b('0xc')](),controller['reject']);router[_0x5e5b('0x1a')]('/:id',auth['isAuthenticated'](),controller[_0x5e5b('0x1b')]);module[_0x5e5b('0x1c')]=router;
\ No newline at end of file