Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / api / squareMessage / index.js
index f4d3224..4298286 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1c02=['update','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','index','get','/:id','show','post','isAuthenticated','create'];(function(_0x226254,_0x417c73){var _0x154074=function(_0x2150f5){while(--_0x2150f5){_0x226254['push'](_0x226254['shift']());}};_0x154074(++_0x417c73);}(_0x1c02,0x1ef));var _0x21c0=function(_0x2d65e3,_0x4f1f02){_0x2d65e3=_0x2d65e3-0x0;var _0x20610f=_0x1c02[_0x2d65e3];return _0x20610f;};'use strict';var multer=require(_0x21c0('0x0'));var util=require(_0x21c0('0x1'));var path=require(_0x21c0('0x2'));var timeout=require('connect-timeout');var express=require(_0x21c0('0x3'));var router=express[_0x21c0('0x4')]();var auth=require(_0x21c0('0x5'));var interaction=require(_0x21c0('0x6'));var config=require(_0x21c0('0x7'));var controller=require('./squareMessage.controller');router['get']('/',auth['isAuthenticated'](),controller[_0x21c0('0x8')]);router[_0x21c0('0x9')](_0x21c0('0xa'),auth['isAuthenticated'](),controller[_0x21c0('0xb')]);router[_0x21c0('0xc')]('/',auth[_0x21c0('0xd')](),controller[_0x21c0('0xe')]);router['put']('/:id',auth[_0x21c0('0xd')](),controller[_0x21c0('0xf')]);router['delete'](_0x21c0('0xa'),auth[_0x21c0('0xd')](),controller['destroy']);module[_0x21c0('0x10')]=router;
\ No newline at end of file
+var _0x4fc2=['show','post','create','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../config/environment','./squareMessage.controller','isAuthenticated','index','/:id'];(function(_0x2e2292,_0x1891b8){var _0x4f77ab=function(_0x3e5cb6){while(--_0x3e5cb6){_0x2e2292['push'](_0x2e2292['shift']());}};_0x4f77ab(++_0x1891b8);}(_0x4fc2,0x111));var _0x24fc=function(_0x100df4,_0x24b037){_0x100df4=_0x100df4-0x0;var _0x1af638=_0x4fc2[_0x100df4];return _0x1af638;};'use strict';var multer=require(_0x24fc('0x0'));var util=require(_0x24fc('0x1'));var path=require(_0x24fc('0x2'));var timeout=require(_0x24fc('0x3'));var express=require('express');var router=express[_0x24fc('0x4')]();var fs_extra=require(_0x24fc('0x5'));var auth=require(_0x24fc('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x24fc('0x7'));var controller=require(_0x24fc('0x8'));router['get']('/',auth[_0x24fc('0x9')](),controller[_0x24fc('0xa')]);router['get'](_0x24fc('0xb'),auth[_0x24fc('0x9')](),controller[_0x24fc('0xc')]);router[_0x24fc('0xd')]('/',auth[_0x24fc('0x9')](),controller[_0x24fc('0xe')]);router['put'](_0x24fc('0xb'),auth[_0x24fc('0x9')](),controller[_0x24fc('0xf')]);router[_0x24fc('0x10')](_0x24fc('0xb'),auth[_0x24fc('0x9')](),controller[_0x24fc('0x11')]);module[_0x24fc('0x12')]=router;
\ No newline at end of file