Built motion from commit b0a9a629.|2.6.33
[motion2.git] / server / api / squareOdbc / index.js
index 198b711..622ccec 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8f65=['destroy','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./squareOdbc.controller','get','isAuthenticated','/:id','show','/:id/test','15s','test','create','put','update'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x8f65,0x131));var _0x58f6=function(_0x4852b7,_0x25434e){_0x4852b7=_0x4852b7-0x0;var _0x38524d=_0x8f65[_0x4852b7];return _0x38524d;};'use strict';var multer=require(_0x58f6('0x0'));var util=require(_0x58f6('0x1'));var path=require('path');var timeout=require(_0x58f6('0x2'));var express=require(_0x58f6('0x3'));var router=express[_0x58f6('0x4')]();var auth=require(_0x58f6('0x5'));var interaction=require(_0x58f6('0x6'));var config=require('../../config/environment');var controller=require(_0x58f6('0x7'));router[_0x58f6('0x8')]('/',auth[_0x58f6('0x9')](),controller['index']);router['get'](_0x58f6('0xa'),auth[_0x58f6('0x9')](),controller[_0x58f6('0xb')]);router['get'](_0x58f6('0xc'),auth[_0x58f6('0x9')](),timeout(_0x58f6('0xd')),controller[_0x58f6('0xe')]);router['post']('/',auth['isAuthenticated'](),controller[_0x58f6('0xf')]);router[_0x58f6('0x10')](_0x58f6('0xa'),auth['isAuthenticated'](),controller[_0x58f6('0x11')]);router['delete'](_0x58f6('0xa'),auth['isAuthenticated'](),controller[_0x58f6('0x12')]);module['exports']=router;
\ No newline at end of file
+var _0xf35c=['post','put','delete','/:id','destroy','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./squareOdbc.controller','get','isAuthenticated','show','test'];(function(_0x3f59b1,_0x25cdbe){var _0x11d2e8=function(_0x37b3fc){while(--_0x37b3fc){_0x3f59b1['push'](_0x3f59b1['shift']());}};_0x11d2e8(++_0x25cdbe);}(_0xf35c,0xe2));var _0xcf35=function(_0x574f56,_0x24404f){_0x574f56=_0x574f56-0x0;var _0x2e8c7e=_0xf35c[_0x574f56];return _0x2e8c7e;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xcf35('0x0'));var timeout=require(_0xcf35('0x1'));var express=require(_0xcf35('0x2'));var router=express[_0xcf35('0x3')]();var fs_extra=require(_0xcf35('0x4'));var auth=require(_0xcf35('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xcf35('0x6'));var controller=require(_0xcf35('0x7'));router[_0xcf35('0x8')]('/',auth[_0xcf35('0x9')](),controller['index']);router[_0xcf35('0x8')]('/:id',auth['isAuthenticated'](),controller[_0xcf35('0xa')]);router['get']('/:id/test',auth['isAuthenticated'](),timeout('15s'),controller[_0xcf35('0xb')]);router[_0xcf35('0xc')]('/',auth[_0xcf35('0x9')](),controller['create']);router[_0xcf35('0xd')]('/:id',auth['isAuthenticated'](),controller['update']);router[_0xcf35('0xe')](_0xcf35('0xf'),auth[_0xcf35('0x9')](),controller[_0xcf35('0x10')]);module['exports']=router;
\ No newline at end of file